From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/AUTHORS | 2 +- qtjava/COPYING | 12 +- qtjava/ChangeLog | 218 +- qtjava/INSTALL | 4 +- qtjava/TODO | 2 +- qtjava/configure.in.in | 6 +- qtjava/designer/juic/common/QtClasses.xml | 1144 +++++------ qtjava/designer/juic/common/classes.xsl | 88 +- qtjava/designer/juic/common/main.xsl | 22 +- qtjava/designer/juic/common/util.xsl | 6 +- qtjava/designer/juic/java/JavaClasses.xml | 1144 +++++------ qtjava/designer/juic/java/definitions.xsl | 36 +- qtjava/designer/juic/java/methods.xsl | 26 +- qtjava/designer/juic/java/properties.xsl | 34 +- qtjava/designer/juic/java/put.xsl | 20 +- qtjava/designer/juic/java/util.xsl | 6 +- qtjava/javalib.kdevprj | 2074 ++++++++++---------- qtjava/javalib/Makefile.am | 4 +- qtjava/javalib/docs/en/index-2.html | 6 +- qtjava/javalib/docs/en/index.html | 2 +- qtjava/javalib/docs/en/index.sgml | 2 +- qtjava/javalib/examples/aclock/AnalogClock.java | 30 +- .../examples/addressbook/ABCentralWidget.java | 98 +- .../javalib/examples/addressbook/ABMainWindow.java | 24 +- qtjava/javalib/examples/addressbook/Main.java | 2 +- .../examples/application/ApplicationWindow.java | 68 +- qtjava/javalib/examples/application/Main.java | 4 +- qtjava/javalib/examples/biff/Biff.java | 22 +- qtjava/javalib/examples/biff/Main.java | 2 +- .../examples/buttongroups/ButtonsGroups.java | 48 +- qtjava/javalib/examples/buttongroups/Main.java | 2 +- qtjava/javalib/examples/checklists/CheckLists.java | 62 +- qtjava/javalib/examples/checklists/Main.java | 2 +- qtjava/javalib/examples/cursor/CursorView.java | 24 +- qtjava/javalib/examples/dclock/DigitalClock.java | 14 +- qtjava/javalib/examples/dclock/Main.java | 2 +- qtjava/javalib/examples/demo/sql/BookForm.java | 84 +- .../javalib/examples/demo/sql/ConnectDialog.java | 64 +- qtjava/javalib/examples/demo/sql/EditBookForm.java | 136 +- qtjava/javalib/examples/demo/sql/Main.java | 2 +- qtjava/javalib/examples/demo/widgets/Main.java | 2 +- .../javalib/examples/demo/widgets/WidgetsBase.java | 416 ++-- qtjava/javalib/examples/dragdrop/DropSite.java | 60 +- qtjava/javalib/examples/dragdrop/Main.java | 28 +- qtjava/javalib/examples/dragdrop/SecretDrag.java | 10 +- qtjava/javalib/examples/dragdrop/SecretSource.java | 10 +- qtjava/javalib/examples/dragdrop/trolltech.bmp | Bin 30054 -> 30055 bytes qtjava/javalib/examples/dragdrop/trolltech.gif | Bin 42629 -> 42635 bytes .../javalib/examples/drawlines/ConnectWidget.java | 30 +- qtjava/javalib/examples/forever/Forever.java | 24 +- qtjava/javalib/examples/hello/Hello.java | 18 +- qtjava/javalib/examples/hello/Main.java | 6 +- qtjava/javalib/examples/helpviewer/HelpWindow.java | 114 +- qtjava/javalib/examples/helpviewer/Main.java | 12 +- qtjava/javalib/examples/iconview/ListenDND.java | 22 +- qtjava/javalib/examples/layout/ExampleWidget.java | 48 +- qtjava/javalib/examples/lineedits/LineEdits.java | 58 +- qtjava/javalib/examples/lineedits/Main.java | 2 +- qtjava/javalib/examples/listbox/ListBoxDemo.java | 62 +- qtjava/javalib/examples/listbox/Main.java | 2 +- qtjava/javalib/examples/mdi/ApplicationWindow.java | 90 +- qtjava/javalib/examples/mdi/MDIWindow.java | 38 +- qtjava/javalib/examples/mdi/Main.java | 2 +- qtjava/javalib/examples/menu/MenuExample.java | 70 +- qtjava/javalib/examples/menu/README | 2 +- .../javalib/examples/picture/PictureDisplay.java | 36 +- qtjava/javalib/examples/picture/car_orig.pic | Bin 1872 -> 1874 bytes qtjava/javalib/examples/popup/Frame.java | 48 +- qtjava/javalib/examples/progressbar/Main.java | 2 +- .../javalib/examples/progressbar/ProgressBar.java | 34 +- qtjava/javalib/examples/qfd/FontDisplayer.java | 66 +- qtjava/javalib/examples/qfd/Main.java | 8 +- qtjava/javalib/examples/qmag/MagWidget.java | 82 +- .../javalib/examples/qwerty/ANSI_X3.110-1983.map | 44 +- qtjava/javalib/examples/qwerty/Editor.java | 126 +- qtjava/javalib/examples/qwerty/IBM277.map | 36 +- qtjava/javalib/examples/qwerty/IBM277.txt | 2 +- qtjava/javalib/examples/qwerty/Main.java | 4 +- qtjava/javalib/examples/rangecontrols/Main.java | 2 +- .../examples/rangecontrols/RangeControls.java | 48 +- qtjava/javalib/examples/richtext/Main.java | 2 +- qtjava/javalib/examples/richtext/MyRichText.java | 24 +- qtjava/javalib/examples/richtext/marble.png | Bin 26015 -> 26018 bytes qtjava/javalib/examples/rot13/Rot13.java | 14 +- qtjava/javalib/examples/scribble/Main.java | 6 +- qtjava/javalib/examples/scribble/Scribble.java | 72 +- .../examples/showimg/ImageIconProvider.java | 12 +- .../javalib/examples/showimg/ImageTextEditor.java | 56 +- qtjava/javalib/examples/showimg/ImageViewer.java | 144 +- qtjava/javalib/examples/showimg/Main.java | 14 +- qtjava/javalib/examples/showimg/README | 2 +- qtjava/javalib/examples/sound/SoundPlayer.java | 36 +- qtjava/javalib/examples/splitter/Test.java | 20 +- qtjava/javalib/examples/tabdialog/Main.java | 2 +- qtjava/javalib/examples/tabdialog/TabDialog.java | 70 +- .../examples/table/small-table-demo/Main.java | 16 +- qtjava/javalib/examples/textedit/Main.java | 2 +- qtjava/javalib/examples/textedit/TextEdit.java | 178 +- qtjava/javalib/examples/textedit/example.html | 208 +- qtjava/javalib/examples/tux/MoveMe.java | 24 +- qtjava/javalib/examples/widgets/MyWidgetView.java | 8 +- qtjava/javalib/examples/widgets/README | 2 +- qtjava/javalib/examples/widgets/WidgetView.java | 372 ++-- qtjava/javalib/examples/widgets/trolltech.bmp | Bin 13366 -> 13368 bytes qtjava/javalib/examples/widgets/trolltech.gif | Bin 42629 -> 42635 bytes qtjava/javalib/examples/widgets/tt-logo.png | Bin 4547 -> 4548 bytes qtjava/javalib/examples/wizard/Main.java | 2 +- qtjava/javalib/examples/wizard/Wizard.java | 116 +- qtjava/javalib/org/kde/qt/Invocation.java | 14 +- qtjava/javalib/org/kde/qt/Makefile.am | 2 +- qtjava/javalib/org/kde/qt/QAccel.java | 52 +- qtjava/javalib/org/kde/qt/QAccelSignals.java | 2 +- qtjava/javalib/org/kde/qt/QAction.java | 102 +- qtjava/javalib/org/kde/qt/QActionGroup.java | 46 +- qtjava/javalib/org/kde/qt/QActionGroupSignals.java | 4 +- qtjava/javalib/org/kde/qt/QActionSignals.java | 2 +- qtjava/javalib/org/kde/qt/QApplication.java | 120 +- qtjava/javalib/org/kde/qt/QApplicationSignals.java | 2 +- qtjava/javalib/org/kde/qt/QAsyncIO.java | 12 +- qtjava/javalib/org/kde/qt/QAuServer.java | 12 +- qtjava/javalib/org/kde/qt/QBig5Codec.java | 12 +- qtjava/javalib/org/kde/qt/QBitmap.java | 102 +- qtjava/javalib/org/kde/qt/QBoxLayout.java | 106 +- qtjava/javalib/org/kde/qt/QBrush.java | 52 +- qtjava/javalib/org/kde/qt/QBuffer.java | 16 +- qtjava/javalib/org/kde/qt/QButton.java | 64 +- qtjava/javalib/org/kde/qt/QButtonGroup.java | 94 +- qtjava/javalib/org/kde/qt/QButtonGroupSignals.java | 2 +- qtjava/javalib/org/kde/qt/QButtonSignals.java | 2 +- qtjava/javalib/org/kde/qt/QCanvas.java | 102 +- qtjava/javalib/org/kde/qt/QCanvasEllipse.java | 28 +- qtjava/javalib/org/kde/qt/QCanvasItem.java | 16 +- qtjava/javalib/org/kde/qt/QCanvasLine.java | 20 +- qtjava/javalib/org/kde/qt/QCanvasPixmap.java | 22 +- qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java | 32 +- qtjava/javalib/org/kde/qt/QCanvasPolygon.java | 18 +- .../javalib/org/kde/qt/QCanvasPolygonalItem.java | 20 +- qtjava/javalib/org/kde/qt/QCanvasRectangle.java | 34 +- qtjava/javalib/org/kde/qt/QCanvasSignals.java | 2 +- qtjava/javalib/org/kde/qt/QCanvasSpline.java | 16 +- qtjava/javalib/org/kde/qt/QCanvasSprite.java | 24 +- qtjava/javalib/org/kde/qt/QCanvasText.java | 36 +- qtjava/javalib/org/kde/qt/QCanvasView.java | 68 +- qtjava/javalib/org/kde/qt/QCheckBox.java | 40 +- qtjava/javalib/org/kde/qt/QCheckListItem.java | 94 +- qtjava/javalib/org/kde/qt/QCheckTableItem.java | 18 +- qtjava/javalib/org/kde/qt/QChildEvent.java | 12 +- qtjava/javalib/org/kde/qt/QClassInfo.java | 10 +- qtjava/javalib/org/kde/qt/QClipboard.java | 30 +- qtjava/javalib/org/kde/qt/QCloseEvent.java | 10 +- qtjava/javalib/org/kde/qt/QColor.java | 58 +- qtjava/javalib/org/kde/qt/QColorDialog.java | 18 +- qtjava/javalib/org/kde/qt/QColorDrag.java | 48 +- qtjava/javalib/org/kde/qt/QColorGroup.java | 72 +- qtjava/javalib/org/kde/qt/QComboBox.java | 100 +- qtjava/javalib/org/kde/qt/QComboBoxSignals.java | 2 +- qtjava/javalib/org/kde/qt/QComboTableItem.java | 24 +- qtjava/javalib/org/kde/qt/QContextMenuEvent.java | 20 +- qtjava/javalib/org/kde/qt/QCursor.java | 68 +- qtjava/javalib/org/kde/qt/QCustomEvent.java | 12 +- qtjava/javalib/org/kde/qt/QCustomMenuItem.java | 10 +- qtjava/javalib/org/kde/qt/QDataBrowser.java | 46 +- qtjava/javalib/org/kde/qt/QDataBrowserSignals.java | 16 +- qtjava/javalib/org/kde/qt/QDataPump.java | 12 +- qtjava/javalib/org/kde/qt/QDataSink.java | 4 +- qtjava/javalib/org/kde/qt/QDataSource.java | 6 +- qtjava/javalib/org/kde/qt/QDataStream.java | 66 +- qtjava/javalib/org/kde/qt/QDataTable.java | 110 +- qtjava/javalib/org/kde/qt/QDataTableSignals.java | 16 +- qtjava/javalib/org/kde/qt/QDataView.java | 40 +- qtjava/javalib/org/kde/qt/QDateEdit.java | 54 +- qtjava/javalib/org/kde/qt/QDateEditSignals.java | 2 +- qtjava/javalib/org/kde/qt/QDateTimeEdit.java | 54 +- qtjava/javalib/org/kde/qt/QDateTimeEditBase.java | 6 +- .../javalib/org/kde/qt/QDateTimeEditSignals.java | 2 +- qtjava/javalib/org/kde/qt/QDesktopWidget.java | 42 +- .../javalib/org/kde/qt/QDesktopWidgetSignals.java | 2 +- qtjava/javalib/org/kde/qt/QDial.java | 74 +- qtjava/javalib/org/kde/qt/QDialSignals.java | 2 +- qtjava/javalib/org/kde/qt/QDialog.java | 62 +- qtjava/javalib/org/kde/qt/QDir.java | 64 +- qtjava/javalib/org/kde/qt/QDockArea.java | 54 +- qtjava/javalib/org/kde/qt/QDockWindow.java | 90 +- qtjava/javalib/org/kde/qt/QDockWindowSignals.java | 2 +- qtjava/javalib/org/kde/qt/QDomAttr.java | 18 +- qtjava/javalib/org/kde/qt/QDomCDATASection.java | 16 +- qtjava/javalib/org/kde/qt/QDomCharacterData.java | 16 +- qtjava/javalib/org/kde/qt/QDomComment.java | 16 +- qtjava/javalib/org/kde/qt/QDomDocument.java | 82 +- .../javalib/org/kde/qt/QDomDocumentFragment.java | 16 +- qtjava/javalib/org/kde/qt/QDomDocumentType.java | 20 +- qtjava/javalib/org/kde/qt/QDomElement.java | 28 +- qtjava/javalib/org/kde/qt/QDomEntity.java | 16 +- qtjava/javalib/org/kde/qt/QDomEntityReference.java | 16 +- qtjava/javalib/org/kde/qt/QDomImplementation.java | 24 +- qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java | 34 +- qtjava/javalib/org/kde/qt/QDomNode.java | 84 +- qtjava/javalib/org/kde/qt/QDomNotation.java | 16 +- .../org/kde/qt/QDomProcessingInstruction.java | 16 +- qtjava/javalib/org/kde/qt/QDomText.java | 18 +- qtjava/javalib/org/kde/qt/QDoubleValidator.java | 30 +- qtjava/javalib/org/kde/qt/QDragEnterEvent.java | 10 +- qtjava/javalib/org/kde/qt/QDragLeaveEvent.java | 10 +- qtjava/javalib/org/kde/qt/QDragManager.java | 6 +- qtjava/javalib/org/kde/qt/QDragMoveEvent.java | 22 +- qtjava/javalib/org/kde/qt/QDragObject.java | 20 +- qtjava/javalib/org/kde/qt/QDragResponseEvent.java | 10 +- qtjava/javalib/org/kde/qt/QDropEvent.java | 22 +- qtjava/javalib/org/kde/qt/QDropSite.java | 10 +- qtjava/javalib/org/kde/qt/QEditorFactory.java | 28 +- qtjava/javalib/org/kde/qt/QErrorMessage.java | 20 +- qtjava/javalib/org/kde/qt/QEucJpCodec.java | 12 +- qtjava/javalib/org/kde/qt/QEucKrCodec.java | 12 +- qtjava/javalib/org/kde/qt/QEvent.java | 10 +- qtjava/javalib/org/kde/qt/QEventLoop.java | 32 +- qtjava/javalib/org/kde/qt/QEventLoopSignals.java | 2 +- qtjava/javalib/org/kde/qt/QFile.java | 16 +- qtjava/javalib/org/kde/qt/QFileDialog.java | 134 +- qtjava/javalib/org/kde/qt/QFileDialogSignals.java | 2 +- qtjava/javalib/org/kde/qt/QFileIconProvider.java | 26 +- qtjava/javalib/org/kde/qt/QFileInfo.java | 42 +- qtjava/javalib/org/kde/qt/QFilePreview.java | 6 +- qtjava/javalib/org/kde/qt/QFocusData.java | 16 +- qtjava/javalib/org/kde/qt/QFocusEvent.java | 10 +- qtjava/javalib/org/kde/qt/QFont.java | 52 +- qtjava/javalib/org/kde/qt/QFontDatabase.java | 16 +- qtjava/javalib/org/kde/qt/QFontDialog.java | 18 +- qtjava/javalib/org/kde/qt/QFontInfo.java | 22 +- qtjava/javalib/org/kde/qt/QFontMetrics.java | 48 +- qtjava/javalib/org/kde/qt/QFrame.java | 48 +- qtjava/javalib/org/kde/qt/QFtp.java | 46 +- qtjava/javalib/org/kde/qt/QFtpSignals.java | 4 +- qtjava/javalib/org/kde/qt/QGL.java | 10 +- qtjava/javalib/org/kde/qt/QGLColormap.java | 20 +- qtjava/javalib/org/kde/qt/QGLContext.java | 38 +- qtjava/javalib/org/kde/qt/QGLFormat.java | 30 +- qtjava/javalib/org/kde/qt/QGLWidget.java | 142 +- qtjava/javalib/org/kde/qt/QGb18030Codec.java | 12 +- qtjava/javalib/org/kde/qt/QGbkCodec.java | 12 +- qtjava/javalib/org/kde/qt/QGrid.java | 56 +- qtjava/javalib/org/kde/qt/QGridLayout.java | 140 +- qtjava/javalib/org/kde/qt/QGridView.java | 12 +- qtjava/javalib/org/kde/qt/QGroupBox.java | 94 +- qtjava/javalib/org/kde/qt/QGroupBoxSignals.java | 2 +- qtjava/javalib/org/kde/qt/QHBox.java | 46 +- qtjava/javalib/org/kde/qt/QHBoxLayout.java | 66 +- qtjava/javalib/org/kde/qt/QHButtonGroup.java | 42 +- qtjava/javalib/org/kde/qt/QHGroupBox.java | 42 +- qtjava/javalib/org/kde/qt/QHeader.java | 84 +- qtjava/javalib/org/kde/qt/QHeaderSignals.java | 2 +- qtjava/javalib/org/kde/qt/QHebrewCodec.java | 10 +- qtjava/javalib/org/kde/qt/QHideEvent.java | 10 +- qtjava/javalib/org/kde/qt/QHostAddress.java | 38 +- qtjava/javalib/org/kde/qt/QHttp.java | 80 +- qtjava/javalib/org/kde/qt/QHttpHeader.java | 4 +- qtjava/javalib/org/kde/qt/QHttpRequestHeader.java | 40 +- qtjava/javalib/org/kde/qt/QHttpResponseHeader.java | 16 +- qtjava/javalib/org/kde/qt/QHttpSignals.java | 6 +- qtjava/javalib/org/kde/qt/QIMEvent.java | 10 +- qtjava/javalib/org/kde/qt/QIODevice.java | 4 +- qtjava/javalib/org/kde/qt/QIODeviceInterface.java | 2 +- qtjava/javalib/org/kde/qt/QIODeviceSource.java | 18 +- qtjava/javalib/org/kde/qt/QIconDrag.java | 22 +- qtjava/javalib/org/kde/qt/QIconDragItem.java | 12 +- qtjava/javalib/org/kde/qt/QIconSet.java | 58 +- qtjava/javalib/org/kde/qt/QIconView.java | 132 +- qtjava/javalib/org/kde/qt/QIconViewItem.java | 108 +- qtjava/javalib/org/kde/qt/QIconViewSignals.java | 36 +- qtjava/javalib/org/kde/qt/QImage.java | 160 +- qtjava/javalib/org/kde/qt/QImageConsumer.java | 8 +- qtjava/javalib/org/kde/qt/QImageDecoder.java | 18 +- qtjava/javalib/org/kde/qt/QImageDrag.java | 50 +- qtjava/javalib/org/kde/qt/QImageFormat.java | 6 +- qtjava/javalib/org/kde/qt/QImageFormatType.java | 6 +- qtjava/javalib/org/kde/qt/QImageIO.java | 32 +- qtjava/javalib/org/kde/qt/QImageTextKeyLang.java | 20 +- qtjava/javalib/org/kde/qt/QInputDialog.java | 22 +- qtjava/javalib/org/kde/qt/QIntValidator.java | 30 +- qtjava/javalib/org/kde/qt/QJisCodec.java | 12 +- qtjava/javalib/org/kde/qt/QJpUnicodeConv.java | 12 +- qtjava/javalib/org/kde/qt/QKeyEvent.java | 28 +- qtjava/javalib/org/kde/qt/QKeySequence.java | 52 +- qtjava/javalib/org/kde/qt/QLCDNumber.java | 48 +- qtjava/javalib/org/kde/qt/QLCDNumberSignals.java | 2 +- qtjava/javalib/org/kde/qt/QLabel.java | 88 +- qtjava/javalib/org/kde/qt/QLayout.java | 46 +- qtjava/javalib/org/kde/qt/QLayoutItem.java | 22 +- .../javalib/org/kde/qt/QLayoutItemInterface.java | 18 +- qtjava/javalib/org/kde/qt/QLibrary.java | 12 +- qtjava/javalib/org/kde/qt/QLineEdit.java | 94 +- qtjava/javalib/org/kde/qt/QLineEditSignals.java | 2 +- qtjava/javalib/org/kde/qt/QListBox.java | 116 +- qtjava/javalib/org/kde/qt/QListBoxItem.java | 16 +- qtjava/javalib/org/kde/qt/QListBoxPixmap.java | 48 +- qtjava/javalib/org/kde/qt/QListBoxSignals.java | 34 +- qtjava/javalib/org/kde/qt/QListBoxText.java | 40 +- qtjava/javalib/org/kde/qt/QListView.java | 128 +- qtjava/javalib/org/kde/qt/QListViewItem.java | 260 +-- qtjava/javalib/org/kde/qt/QListViewSignals.java | 44 +- qtjava/javalib/org/kde/qt/QLocalFs.java | 24 +- qtjava/javalib/org/kde/qt/QMainWindow.java | 138 +- qtjava/javalib/org/kde/qt/QMainWindowSignals.java | 6 +- qtjava/javalib/org/kde/qt/QMenuBar.java | 186 +- qtjava/javalib/org/kde/qt/QMenuBarSignals.java | 2 +- qtjava/javalib/org/kde/qt/QMenuData.java | 136 +- qtjava/javalib/org/kde/qt/QMenuDataInterface.java | 122 +- qtjava/javalib/org/kde/qt/QMenuItem.java | 24 +- qtjava/javalib/org/kde/qt/QMessageBox.java | 156 +- qtjava/javalib/org/kde/qt/QMetaData.java | 10 +- qtjava/javalib/org/kde/qt/QMetaEnum.java | 10 +- qtjava/javalib/org/kde/qt/QMetaObject.java | 40 +- qtjava/javalib/org/kde/qt/QMetaProperty.java | 18 +- qtjava/javalib/org/kde/qt/QMimeSource.java | 4 +- qtjava/javalib/org/kde/qt/QMimeSourceFactory.java | 30 +- .../javalib/org/kde/qt/QMimeSourceInterface.java | 2 +- qtjava/javalib/org/kde/qt/QMouseEvent.java | 20 +- qtjava/javalib/org/kde/qt/QMoveEvent.java | 14 +- qtjava/javalib/org/kde/qt/QMovie.java | 86 +- qtjava/javalib/org/kde/qt/QMultiLineEdit.java | 26 +- qtjava/javalib/org/kde/qt/QNetworkOperation.java | 18 +- qtjava/javalib/org/kde/qt/QNetworkProtocol.java | 44 +- .../org/kde/qt/QNetworkProtocolSignals.java | 20 +- qtjava/javalib/org/kde/qt/QObject.java | 90 +- .../javalib/org/kde/qt/QObjectCleanupHandler.java | 16 +- qtjava/javalib/org/kde/qt/QObjectSignals.java | 4 +- qtjava/javalib/org/kde/qt/QPaintDevice.java | 20 +- .../javalib/org/kde/qt/QPaintDeviceInterface.java | 2 +- qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java | 10 +- qtjava/javalib/org/kde/qt/QPaintEvent.java | 44 +- qtjava/javalib/org/kde/qt/QPainter.java | 282 +-- qtjava/javalib/org/kde/qt/QPalette.java | 70 +- qtjava/javalib/org/kde/qt/QPen.java | 54 +- qtjava/javalib/org/kde/qt/QPicture.java | 40 +- qtjava/javalib/org/kde/qt/QPixmap.java | 162 +- qtjava/javalib/org/kde/qt/QPoint.java | 28 +- qtjava/javalib/org/kde/qt/QPointArray.java | 58 +- qtjava/javalib/org/kde/qt/QPolygonScanner.java | 16 +- qtjava/javalib/org/kde/qt/QPopupMenu.java | 200 +- qtjava/javalib/org/kde/qt/QPopupMenuSignals.java | 2 +- qtjava/javalib/org/kde/qt/QPrintDialog.java | 38 +- qtjava/javalib/org/kde/qt/QPrinter.java | 22 +- qtjava/javalib/org/kde/qt/QProcess.java | 66 +- qtjava/javalib/org/kde/qt/QProcessSignals.java | 2 +- qtjava/javalib/org/kde/qt/QProgressBar.java | 62 +- qtjava/javalib/org/kde/qt/QProgressDialog.java | 84 +- .../javalib/org/kde/qt/QProgressDialogSignals.java | 2 +- qtjava/javalib/org/kde/qt/QPushButton.java | 68 +- qtjava/javalib/org/kde/qt/QRadioButton.java | 40 +- qtjava/javalib/org/kde/qt/QRangeControl.java | 16 +- .../javalib/org/kde/qt/QRangeControlInterface.java | 2 +- qtjava/javalib/org/kde/qt/QRect.java | 84 +- qtjava/javalib/org/kde/qt/QRegExp.java | 38 +- qtjava/javalib/org/kde/qt/QRegExpValidator.java | 34 +- qtjava/javalib/org/kde/qt/QRegion.java | 98 +- qtjava/javalib/org/kde/qt/QResizeEvent.java | 14 +- qtjava/javalib/org/kde/qt/QScrollBar.java | 72 +- qtjava/javalib/org/kde/qt/QScrollBarSignals.java | 2 +- qtjava/javalib/org/kde/qt/QScrollView.java | 160 +- qtjava/javalib/org/kde/qt/QScrollViewSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSemiModal.java | 36 +- qtjava/javalib/org/kde/qt/QServerSocket.java | 8 +- qtjava/javalib/org/kde/qt/QSessionManager.java | 6 +- qtjava/javalib/org/kde/qt/QSettings.java | 16 +- qtjava/javalib/org/kde/qt/QShowEvent.java | 10 +- qtjava/javalib/org/kde/qt/QSignal.java | 42 +- qtjava/javalib/org/kde/qt/QSignalMapper.java | 26 +- .../javalib/org/kde/qt/QSignalMapperSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSignalSignals.java | 4 +- qtjava/javalib/org/kde/qt/QSimpleRichText.java | 62 +- qtjava/javalib/org/kde/qt/QSize.java | 34 +- qtjava/javalib/org/kde/qt/QSizeGrip.java | 28 +- qtjava/javalib/org/kde/qt/QSizePolicy.java | 38 +- qtjava/javalib/org/kde/qt/QSjisCodec.java | 12 +- qtjava/javalib/org/kde/qt/QSlider.java | 76 +- qtjava/javalib/org/kde/qt/QSliderSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSocket.java | 34 +- qtjava/javalib/org/kde/qt/QSocketDevice.java | 38 +- qtjava/javalib/org/kde/qt/QSocketNotifier.java | 34 +- .../javalib/org/kde/qt/QSocketNotifierSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSocketSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSound.java | 24 +- qtjava/javalib/org/kde/qt/QSpacerItem.java | 34 +- qtjava/javalib/org/kde/qt/QSpinBox.java | 74 +- qtjava/javalib/org/kde/qt/QSpinBoxSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSpinWidget.java | 48 +- qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSplashScreen.java | 38 +- .../javalib/org/kde/qt/QSplashScreenSignals.java | 2 +- qtjava/javalib/org/kde/qt/QSplitter.java | 66 +- qtjava/javalib/org/kde/qt/QSql.java | 10 +- qtjava/javalib/org/kde/qt/QSqlCursor.java | 108 +- qtjava/javalib/org/kde/qt/QSqlDatabase.java | 78 +- qtjava/javalib/org/kde/qt/QSqlDriver.java | 24 +- qtjava/javalib/org/kde/qt/QSqlEditorFactory.java | 30 +- qtjava/javalib/org/kde/qt/QSqlError.java | 40 +- qtjava/javalib/org/kde/qt/QSqlField.java | 34 +- qtjava/javalib/org/kde/qt/QSqlFieldInfo.java | 96 +- qtjava/javalib/org/kde/qt/QSqlForm.java | 44 +- qtjava/javalib/org/kde/qt/QSqlIndex.java | 34 +- qtjava/javalib/org/kde/qt/QSqlPropertyMap.java | 18 +- qtjava/javalib/org/kde/qt/QSqlQuery.java | 66 +- qtjava/javalib/org/kde/qt/QSqlQueryInterface.java | 26 +- qtjava/javalib/org/kde/qt/QSqlRecord.java | 32 +- qtjava/javalib/org/kde/qt/QSqlRecordInfo.java | 22 +- qtjava/javalib/org/kde/qt/QSqlResult.java | 8 +- qtjava/javalib/org/kde/qt/QStatusBar.java | 40 +- qtjava/javalib/org/kde/qt/QStatusBarSignals.java | 2 +- qtjava/javalib/org/kde/qt/QStoredDrag.java | 24 +- qtjava/javalib/org/kde/qt/QStyle.java | 94 +- qtjava/javalib/org/kde/qt/QStyleFactory.java | 12 +- qtjava/javalib/org/kde/qt/QStyleOption.java | 96 +- qtjava/javalib/org/kde/qt/QStyleSheet.java | 36 +- qtjava/javalib/org/kde/qt/QStyleSheetItem.java | 24 +- qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java | 12 +- qtjava/javalib/org/kde/qt/QTab.java | 36 +- qtjava/javalib/org/kde/qt/QTabBar.java | 74 +- qtjava/javalib/org/kde/qt/QTabBarSignals.java | 2 +- qtjava/javalib/org/kde/qt/QTabDialog.java | 84 +- qtjava/javalib/org/kde/qt/QTabDialogSignals.java | 4 +- qtjava/javalib/org/kde/qt/QTabWidget.java | 106 +- qtjava/javalib/org/kde/qt/QTabWidgetSignals.java | 4 +- qtjava/javalib/org/kde/qt/QTable.java | 132 +- qtjava/javalib/org/kde/qt/QTableItem.java | 36 +- qtjava/javalib/org/kde/qt/QTableSelection.java | 20 +- qtjava/javalib/org/kde/qt/QTableSignals.java | 12 +- qtjava/javalib/org/kde/qt/QTabletEvent.java | 14 +- qtjava/javalib/org/kde/qt/QTextBrowser.java | 28 +- qtjava/javalib/org/kde/qt/QTextBrowserSignals.java | 2 +- qtjava/javalib/org/kde/qt/QTextCodec.java | 34 +- qtjava/javalib/org/kde/qt/QTextDecoder.java | 4 +- qtjava/javalib/org/kde/qt/QTextDrag.java | 48 +- qtjava/javalib/org/kde/qt/QTextEdit.java | 154 +- qtjava/javalib/org/kde/qt/QTextEditSignals.java | 8 +- qtjava/javalib/org/kde/qt/QTextEncoder.java | 4 +- qtjava/javalib/org/kde/qt/QTextIStream.java | 16 +- qtjava/javalib/org/kde/qt/QTextOStream.java | 16 +- qtjava/javalib/org/kde/qt/QTextStream.java | 80 +- qtjava/javalib/org/kde/qt/QTextView.java | 48 +- qtjava/javalib/org/kde/qt/QTimeEdit.java | 54 +- qtjava/javalib/org/kde/qt/QTimeEditSignals.java | 2 +- qtjava/javalib/org/kde/qt/QTimer.java | 36 +- qtjava/javalib/org/kde/qt/QTimerEvent.java | 10 +- qtjava/javalib/org/kde/qt/QTimerSignals.java | 2 +- qtjava/javalib/org/kde/qt/QToolBar.java | 86 +- qtjava/javalib/org/kde/qt/QToolBox.java | 58 +- qtjava/javalib/org/kde/qt/QToolBoxSignals.java | 2 +- qtjava/javalib/org/kde/qt/QToolButton.java | 82 +- qtjava/javalib/org/kde/qt/QToolTip.java | 32 +- qtjava/javalib/org/kde/qt/QToolTipGroup.java | 20 +- .../javalib/org/kde/qt/QToolTipGroupSignals.java | 2 +- qtjava/javalib/org/kde/qt/QTranslator.java | 34 +- qtjava/javalib/org/kde/qt/QTranslatorMessage.java | 54 +- qtjava/javalib/org/kde/qt/QTsciiCodec.java | 10 +- qtjava/javalib/org/kde/qt/QUriDrag.java | 56 +- qtjava/javalib/org/kde/qt/QUrl.java | 36 +- qtjava/javalib/org/kde/qt/QUrlInfo.java | 42 +- qtjava/javalib/org/kde/qt/QUrlInterface.java | 4 +- qtjava/javalib/org/kde/qt/QUrlOperator.java | 64 +- qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java | 20 +- qtjava/javalib/org/kde/qt/QUtf16Codec.java | 14 +- qtjava/javalib/org/kde/qt/QUtf8Codec.java | 12 +- qtjava/javalib/org/kde/qt/QUuid.java | 38 +- qtjava/javalib/org/kde/qt/QVBox.java | 30 +- qtjava/javalib/org/kde/qt/QVBoxLayout.java | 66 +- qtjava/javalib/org/kde/qt/QVButtonGroup.java | 42 +- qtjava/javalib/org/kde/qt/QVGroupBox.java | 42 +- qtjava/javalib/org/kde/qt/QValidator.java | 18 +- qtjava/javalib/org/kde/qt/QVariant.java | 300 +-- qtjava/javalib/org/kde/qt/QWMatrix.java | 56 +- qtjava/javalib/org/kde/qt/QWhatsThis.java | 34 +- qtjava/javalib/org/kde/qt/QWheelEvent.java | 32 +- qtjava/javalib/org/kde/qt/QWidget.java | 314 +-- qtjava/javalib/org/kde/qt/QWidgetItem.java | 22 +- qtjava/javalib/org/kde/qt/QWidgetStack.java | 56 +- qtjava/javalib/org/kde/qt/QWidgetStackSignals.java | 4 +- qtjava/javalib/org/kde/qt/QWizard.java | 92 +- qtjava/javalib/org/kde/qt/QWizardSignals.java | 2 +- qtjava/javalib/org/kde/qt/QWorkspace.java | 48 +- qtjava/javalib/org/kde/qt/QWorkspaceSignals.java | 4 +- qtjava/javalib/org/kde/qt/QXmlAttributes.java | 10 +- qtjava/javalib/org/kde/qt/QXmlContentHandler.java | 8 +- .../org/kde/qt/QXmlContentHandlerInterface.java | 6 +- qtjava/javalib/org/kde/qt/QXmlDTDHandler.java | 4 +- .../org/kde/qt/QXmlDTDHandlerInterface.java | 2 +- qtjava/javalib/org/kde/qt/QXmlDeclHandler.java | 4 +- .../org/kde/qt/QXmlDeclHandlerInterface.java | 2 +- qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java | 22 +- qtjava/javalib/org/kde/qt/QXmlEntityResolver.java | 6 +- .../org/kde/qt/QXmlEntityResolverInterface.java | 4 +- qtjava/javalib/org/kde/qt/QXmlErrorHandler.java | 10 +- .../org/kde/qt/QXmlErrorHandlerInterface.java | 8 +- qtjava/javalib/org/kde/qt/QXmlInputSource.java | 28 +- qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java | 4 +- .../org/kde/qt/QXmlLexicalHandlerInterface.java | 2 +- qtjava/javalib/org/kde/qt/QXmlLocator.java | 4 +- .../javalib/org/kde/qt/QXmlNamespaceSupport.java | 10 +- qtjava/javalib/org/kde/qt/QXmlParseException.java | 40 +- qtjava/javalib/org/kde/qt/QXmlReader.java | 36 +- qtjava/javalib/org/kde/qt/QXmlSimpleReader.java | 44 +- qtjava/javalib/org/kde/qt/Qt.java | 512 ++--- qtjava/javalib/org/kde/qt/qtjava.java | 10 +- qtjava/javalib/qtjava/JavaSlot.cpp | 572 +++--- qtjava/javalib/qtjava/JavaSlot.h | 178 +- qtjava/javalib/qtjava/Makefile.am | 6 +- qtjava/javalib/qtjava/QAccel.cpp | 152 +- qtjava/javalib/qtjava/QAccel.h | 8 +- qtjava/javalib/qtjava/QAction.cpp | 302 +-- qtjava/javalib/qtjava/QAction.h | 26 +- qtjava/javalib/qtjava/QActionGroup.cpp | 168 +- qtjava/javalib/qtjava/QActionGroup.h | 6 +- qtjava/javalib/qtjava/QApplication.cpp | 402 ++-- qtjava/javalib/qtjava/QApplication.h | 6 +- qtjava/javalib/qtjava/QAsyncIO.cpp | 22 +- qtjava/javalib/qtjava/QAsyncIO.h | 2 +- qtjava/javalib/qtjava/QAuServer.cpp | 36 +- qtjava/javalib/qtjava/QBig5Codec.cpp | 44 +- qtjava/javalib/qtjava/QBig5Codec.h | 2 +- qtjava/javalib/qtjava/QBitmap.cpp | 124 +- qtjava/javalib/qtjava/QBitmap.h | 32 +- qtjava/javalib/qtjava/QBoxLayout.cpp | 204 +- qtjava/javalib/qtjava/QBoxLayout.h | 20 +- qtjava/javalib/qtjava/QBrush.cpp | 60 +- qtjava/javalib/qtjava/QBrush.h | 12 +- qtjava/javalib/qtjava/QBuffer.cpp | 70 +- qtjava/javalib/qtjava/QBuffer.h | 4 +- qtjava/javalib/qtjava/QButton.cpp | 540 ++--- qtjava/javalib/qtjava/QButton.h | 8 +- qtjava/javalib/qtjava/QButtonGroup.cpp | 504 ++--- qtjava/javalib/qtjava/QButtonGroup.h | 24 +- qtjava/javalib/qtjava/QCanvas.cpp | 314 +-- qtjava/javalib/qtjava/QCanvas.h | 10 +- qtjava/javalib/qtjava/QCanvasEllipse.cpp | 50 +- qtjava/javalib/qtjava/QCanvasEllipse.h | 6 +- qtjava/javalib/qtjava/QCanvasItem.cpp | 82 +- qtjava/javalib/qtjava/QCanvasLine.cpp | 38 +- qtjava/javalib/qtjava/QCanvasLine.h | 2 +- qtjava/javalib/qtjava/QCanvasPixmap.cpp | 34 +- qtjava/javalib/qtjava/QCanvasPixmap.h | 6 +- qtjava/javalib/qtjava/QCanvasPixmapArray.cpp | 52 +- qtjava/javalib/qtjava/QCanvasPixmapArray.h | 6 +- qtjava/javalib/qtjava/QCanvasPolygon.cpp | 30 +- qtjava/javalib/qtjava/QCanvasPolygon.h | 2 +- qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp | 20 +- qtjava/javalib/qtjava/QCanvasRectangle.cpp | 54 +- qtjava/javalib/qtjava/QCanvasRectangle.h | 6 +- qtjava/javalib/qtjava/QCanvasSpline.cpp | 24 +- qtjava/javalib/qtjava/QCanvasSpline.h | 2 +- qtjava/javalib/qtjava/QCanvasSprite.cpp | 72 +- qtjava/javalib/qtjava/QCanvasSprite.h | 2 +- qtjava/javalib/qtjava/QCanvasText.cpp | 66 +- qtjava/javalib/qtjava/QCanvasText.h | 6 +- qtjava/javalib/qtjava/QCanvasView.cpp | 552 +++--- qtjava/javalib/qtjava/QCanvasView.h | 16 +- qtjava/javalib/qtjava/QCheckBox.cpp | 434 ++-- qtjava/javalib/qtjava/QCheckBox.h | 8 +- qtjava/javalib/qtjava/QCheckListItem.cpp | 170 +- qtjava/javalib/qtjava/QCheckListItem.h | 28 +- qtjava/javalib/qtjava/QCheckTableItem.cpp | 36 +- qtjava/javalib/qtjava/QCheckTableItem.h | 2 +- qtjava/javalib/qtjava/QChildEvent.cpp | 20 +- qtjava/javalib/qtjava/QChildEvent.h | 2 +- qtjava/javalib/qtjava/QClassInfo.cpp | 14 +- qtjava/javalib/qtjava/QClassInfo.h | 2 +- qtjava/javalib/qtjava/QClipboard.cpp | 106 +- qtjava/javalib/qtjava/QCloseEvent.cpp | 20 +- qtjava/javalib/qtjava/QCloseEvent.h | 2 +- qtjava/javalib/qtjava/QColor.cpp | 126 +- qtjava/javalib/qtjava/QColor.h | 14 +- qtjava/javalib/qtjava/QColorDialog.cpp | 52 +- qtjava/javalib/qtjava/QColorDrag.cpp | 114 +- qtjava/javalib/qtjava/QColorDrag.h | 12 +- qtjava/javalib/qtjava/QColorGroup.cpp | 76 +- qtjava/javalib/qtjava/QColorGroup.h | 8 +- qtjava/javalib/qtjava/QComboBox.cpp | 604 +++--- qtjava/javalib/qtjava/QComboBox.h | 12 +- qtjava/javalib/qtjava/QComboTableItem.cpp | 66 +- qtjava/javalib/qtjava/QComboTableItem.h | 4 +- qtjava/javalib/qtjava/QContextMenuEvent.cpp | 46 +- qtjava/javalib/qtjava/QContextMenuEvent.h | 4 +- qtjava/javalib/qtjava/QCursor.cpp | 82 +- qtjava/javalib/qtjava/QCursor.h | 18 +- qtjava/javalib/qtjava/QCustomEvent.cpp | 14 +- qtjava/javalib/qtjava/QCustomEvent.h | 2 +- qtjava/javalib/qtjava/QCustomMenuItem.cpp | 12 +- qtjava/javalib/qtjava/QDataBrowser.cpp | 586 +++--- qtjava/javalib/qtjava/QDataBrowser.h | 8 +- qtjava/javalib/qtjava/QDataPump.cpp | 74 +- qtjava/javalib/qtjava/QDataPump.h | 2 +- qtjava/javalib/qtjava/QDataSink.cpp | 12 +- qtjava/javalib/qtjava/QDataSource.cpp | 14 +- qtjava/javalib/qtjava/QDataStream.cpp | 98 +- qtjava/javalib/qtjava/QDataStream.h | 6 +- qtjava/javalib/qtjava/QDataTable.cpp | 904 ++++----- qtjava/javalib/qtjava/QDataTable.h | 14 +- qtjava/javalib/qtjava/QDataView.cpp | 432 ++-- qtjava/javalib/qtjava/QDataView.h | 8 +- qtjava/javalib/qtjava/QDateEdit.cpp | 534 ++--- qtjava/javalib/qtjava/QDateEdit.h | 12 +- qtjava/javalib/qtjava/QDateTimeEdit.cpp | 446 ++--- qtjava/javalib/qtjava/QDateTimeEdit.h | 12 +- qtjava/javalib/qtjava/QDateTimeEditBase.cpp | 40 +- qtjava/javalib/qtjava/QDesktopWidget.cpp | 392 ++-- qtjava/javalib/qtjava/QDesktopWidget.h | 2 +- qtjava/javalib/qtjava/QDial.cpp | 558 +++--- qtjava/javalib/qtjava/QDial.h | 14 +- qtjava/javalib/qtjava/QDialog.cpp | 472 ++--- qtjava/javalib/qtjava/QDialog.h | 10 +- qtjava/javalib/qtjava/QDir.cpp | 366 ++-- qtjava/javalib/qtjava/QDir.h | 12 +- qtjava/javalib/qtjava/QDockArea.cpp | 404 ++-- qtjava/javalib/qtjava/QDockArea.h | 8 +- qtjava/javalib/qtjava/QDockWindow.cpp | 548 +++--- qtjava/javalib/qtjava/QDockWindow.h | 16 +- qtjava/javalib/qtjava/QDomAttr.cpp | 44 +- qtjava/javalib/qtjava/QDomAttr.h | 4 +- qtjava/javalib/qtjava/QDomCDATASection.cpp | 24 +- qtjava/javalib/qtjava/QDomCDATASection.h | 4 +- qtjava/javalib/qtjava/QDomCharacterData.cpp | 56 +- qtjava/javalib/qtjava/QDomCharacterData.h | 4 +- qtjava/javalib/qtjava/QDomComment.cpp | 24 +- qtjava/javalib/qtjava/QDomComment.h | 4 +- qtjava/javalib/qtjava/QDomDocument.cpp | 308 +-- qtjava/javalib/qtjava/QDomDocument.h | 8 +- qtjava/javalib/qtjava/QDomDocumentFragment.cpp | 24 +- qtjava/javalib/qtjava/QDomDocumentFragment.h | 4 +- qtjava/javalib/qtjava/QDomDocumentType.cpp | 52 +- qtjava/javalib/qtjava/QDomDocumentType.h | 4 +- qtjava/javalib/qtjava/QDomElement.cpp | 170 +- qtjava/javalib/qtjava/QDomElement.h | 4 +- qtjava/javalib/qtjava/QDomEntity.cpp | 42 +- qtjava/javalib/qtjava/QDomEntity.h | 4 +- qtjava/javalib/qtjava/QDomEntityReference.cpp | 24 +- qtjava/javalib/qtjava/QDomEntityReference.h | 4 +- qtjava/javalib/qtjava/QDomImplementation.cpp | 46 +- qtjava/javalib/qtjava/QDomImplementation.h | 4 +- qtjava/javalib/qtjava/QDomNamedNodeMap.cpp | 58 +- qtjava/javalib/qtjava/QDomNamedNodeMap.h | 4 +- qtjava/javalib/qtjava/QDomNode.cpp | 174 +- qtjava/javalib/qtjava/QDomNode.h | 4 +- qtjava/javalib/qtjava/QDomNotation.cpp | 36 +- qtjava/javalib/qtjava/QDomNotation.h | 4 +- .../javalib/qtjava/QDomProcessingInstruction.cpp | 40 +- qtjava/javalib/qtjava/QDomProcessingInstruction.h | 4 +- qtjava/javalib/qtjava/QDomText.cpp | 26 +- qtjava/javalib/qtjava/QDomText.h | 4 +- qtjava/javalib/qtjava/QDoubleValidator.cpp | 118 +- qtjava/javalib/qtjava/QDoubleValidator.h | 8 +- qtjava/javalib/qtjava/QDragEnterEvent.cpp | 14 +- qtjava/javalib/qtjava/QDragEnterEvent.h | 2 +- qtjava/javalib/qtjava/QDragLeaveEvent.cpp | 14 +- qtjava/javalib/qtjava/QDragLeaveEvent.h | 2 +- qtjava/javalib/qtjava/QDragManager.cpp | 24 +- qtjava/javalib/qtjava/QDragMoveEvent.cpp | 32 +- qtjava/javalib/qtjava/QDragMoveEvent.h | 4 +- qtjava/javalib/qtjava/QDragObject.cpp | 66 +- qtjava/javalib/qtjava/QDragResponseEvent.cpp | 16 +- qtjava/javalib/qtjava/QDragResponseEvent.h | 2 +- qtjava/javalib/qtjava/QDropEvent.cpp | 72 +- qtjava/javalib/qtjava/QDropEvent.h | 4 +- qtjava/javalib/qtjava/QDropSite.cpp | 14 +- qtjava/javalib/qtjava/QDropSite.h | 2 +- qtjava/javalib/qtjava/QEditorFactory.cpp | 72 +- qtjava/javalib/qtjava/QEditorFactory.h | 6 +- qtjava/javalib/qtjava/QErrorMessage.cpp | 364 ++-- qtjava/javalib/qtjava/QErrorMessage.h | 4 +- qtjava/javalib/qtjava/QEucJpCodec.cpp | 46 +- qtjava/javalib/qtjava/QEucJpCodec.h | 2 +- qtjava/javalib/qtjava/QEucKrCodec.cpp | 46 +- qtjava/javalib/qtjava/QEucKrCodec.h | 2 +- qtjava/javalib/qtjava/QEvent.cpp | 18 +- qtjava/javalib/qtjava/QEvent.h | 2 +- qtjava/javalib/qtjava/QEventLoop.cpp | 146 +- qtjava/javalib/qtjava/QEventLoop.h | 6 +- qtjava/javalib/qtjava/QFile.cpp | 124 +- qtjava/javalib/qtjava/QFile.h | 4 +- qtjava/javalib/qtjava/QFileDialog.cpp | 920 ++++----- qtjava/javalib/qtjava/QFileDialog.h | 18 +- qtjava/javalib/qtjava/QFileIconProvider.cpp | 90 +- qtjava/javalib/qtjava/QFileIconProvider.h | 6 +- qtjava/javalib/qtjava/QFileInfo.cpp | 180 +- qtjava/javalib/qtjava/QFileInfo.h | 10 +- qtjava/javalib/qtjava/QFilePreview.cpp | 4 +- qtjava/javalib/qtjava/QFocusData.cpp | 16 +- qtjava/javalib/qtjava/QFocusEvent.cpp | 24 +- qtjava/javalib/qtjava/QFocusEvent.h | 2 +- qtjava/javalib/qtjava/QFont.cpp | 234 +-- qtjava/javalib/qtjava/QFont.h | 12 +- qtjava/javalib/qtjava/QFontDatabase.cpp | 254 +-- qtjava/javalib/qtjava/QFontDatabase.h | 2 +- qtjava/javalib/qtjava/QFontDialog.cpp | 40 +- qtjava/javalib/qtjava/QFontInfo.cpp | 56 +- qtjava/javalib/qtjava/QFontInfo.h | 6 +- qtjava/javalib/qtjava/QFontMetrics.cpp | 122 +- qtjava/javalib/qtjava/QFontMetrics.h | 6 +- qtjava/javalib/qtjava/QFrame.cpp | 466 ++--- qtjava/javalib/qtjava/QFrame.h | 8 +- qtjava/javalib/qtjava/QFtp.cpp | 312 +-- qtjava/javalib/qtjava/QFtp.h | 6 +- qtjava/javalib/qtjava/QGL.cpp | 14 +- qtjava/javalib/qtjava/QGL.h | 2 +- qtjava/javalib/qtjava/QGLColormap.cpp | 42 +- qtjava/javalib/qtjava/QGLColormap.h | 4 +- qtjava/javalib/qtjava/QGLContext.cpp | 108 +- qtjava/javalib/qtjava/QGLContext.h | 4 +- qtjava/javalib/qtjava/QGLFormat.cpp | 82 +- qtjava/javalib/qtjava/QGLFormat.h | 6 +- qtjava/javalib/qtjava/QGLWidget.cpp | 650 +++--- qtjava/javalib/qtjava/QGLWidget.h | 28 +- qtjava/javalib/qtjava/QGb18030Codec.cpp | 44 +- qtjava/javalib/qtjava/QGb18030Codec.h | 2 +- qtjava/javalib/qtjava/QGrid.cpp | 428 ++-- qtjava/javalib/qtjava/QGrid.h | 16 +- qtjava/javalib/qtjava/QGridLayout.cpp | 254 +-- qtjava/javalib/qtjava/QGridLayout.h | 32 +- qtjava/javalib/qtjava/QGridView.cpp | 58 +- qtjava/javalib/qtjava/QGroupBox.cpp | 540 ++--- qtjava/javalib/qtjava/QGroupBox.h | 24 +- qtjava/javalib/qtjava/QHBox.cpp | 418 ++-- qtjava/javalib/qtjava/QHBox.h | 12 +- qtjava/javalib/qtjava/QHBoxLayout.cpp | 134 +- qtjava/javalib/qtjava/QHBoxLayout.h | 20 +- qtjava/javalib/qtjava/QHButtonGroup.cpp | 408 ++-- qtjava/javalib/qtjava/QHButtonGroup.h | 12 +- qtjava/javalib/qtjava/QHGroupBox.cpp | 408 ++-- qtjava/javalib/qtjava/QHGroupBox.h | 12 +- qtjava/javalib/qtjava/QHeader.cpp | 596 +++--- qtjava/javalib/qtjava/QHeader.h | 12 +- qtjava/javalib/qtjava/QHebrewCodec.cpp | 40 +- qtjava/javalib/qtjava/QHebrewCodec.h | 2 +- qtjava/javalib/qtjava/QHideEvent.cpp | 14 +- qtjava/javalib/qtjava/QHideEvent.h | 2 +- qtjava/javalib/qtjava/QHostAddress.cpp | 68 +- qtjava/javalib/qtjava/QHostAddress.h | 10 +- qtjava/javalib/qtjava/QHttp.cpp | 294 +-- qtjava/javalib/qtjava/QHttp.h | 14 +- qtjava/javalib/qtjava/QHttpHeader.cpp | 60 +- qtjava/javalib/qtjava/QHttpRequestHeader.cpp | 106 +- qtjava/javalib/qtjava/QHttpRequestHeader.h | 12 +- qtjava/javalib/qtjava/QHttpResponseHeader.cpp | 46 +- qtjava/javalib/qtjava/QHttpResponseHeader.h | 4 +- qtjava/javalib/qtjava/QIMEvent.cpp | 32 +- qtjava/javalib/qtjava/QIMEvent.h | 2 +- qtjava/javalib/qtjava/QIODevice.cpp | 86 +- qtjava/javalib/qtjava/QIODeviceSource.cpp | 30 +- qtjava/javalib/qtjava/QIODeviceSource.h | 4 +- qtjava/javalib/qtjava/QIconDrag.cpp | 96 +- qtjava/javalib/qtjava/QIconDrag.h | 4 +- qtjava/javalib/qtjava/QIconDragItem.cpp | 26 +- qtjava/javalib/qtjava/QIconDragItem.h | 2 +- qtjava/javalib/qtjava/QIconSet.cpp | 82 +- qtjava/javalib/qtjava/QIconSet.h | 10 +- qtjava/javalib/qtjava/QIconView.cpp | 900 ++++----- qtjava/javalib/qtjava/QIconView.h | 8 +- qtjava/javalib/qtjava/QIconViewItem.cpp | 254 +-- qtjava/javalib/qtjava/QIconViewItem.h | 16 +- qtjava/javalib/qtjava/QImage.cpp | 370 ++-- qtjava/javalib/qtjava/QImage.h | 24 +- qtjava/javalib/qtjava/QImageConsumer.cpp | 16 +- qtjava/javalib/qtjava/QImageDecoder.cpp | 38 +- qtjava/javalib/qtjava/QImageDecoder.h | 2 +- qtjava/javalib/qtjava/QImageDrag.cpp | 132 +- qtjava/javalib/qtjava/QImageDrag.h | 12 +- qtjava/javalib/qtjava/QImageFormat.cpp | 6 +- qtjava/javalib/qtjava/QImageFormatType.cpp | 8 +- qtjava/javalib/qtjava/QImageIO.cpp | 106 +- qtjava/javalib/qtjava/QImageIO.h | 6 +- qtjava/javalib/qtjava/QImageTextKeyLang.cpp | 28 +- qtjava/javalib/qtjava/QImageTextKeyLang.h | 4 +- qtjava/javalib/qtjava/QInputDialog.cpp | 268 +-- qtjava/javalib/qtjava/QIntValidator.cpp | 112 +- qtjava/javalib/qtjava/QIntValidator.h | 8 +- qtjava/javalib/qtjava/QJisCodec.cpp | 46 +- qtjava/javalib/qtjava/QJisCodec.h | 2 +- qtjava/javalib/qtjava/QJpUnicodeConv.cpp | 72 +- qtjava/javalib/qtjava/QJpUnicodeConv.h | 2 +- qtjava/javalib/qtjava/QKeyEvent.cpp | 62 +- qtjava/javalib/qtjava/QKeyEvent.h | 8 +- qtjava/javalib/qtjava/QKeySequence.cpp | 64 +- qtjava/javalib/qtjava/QKeySequence.h | 14 +- qtjava/javalib/qtjava/QLCDNumber.cpp | 474 ++--- qtjava/javalib/qtjava/QLCDNumber.h | 12 +- qtjava/javalib/qtjava/QLabel.cpp | 536 ++--- qtjava/javalib/qtjava/QLabel.h | 18 +- qtjava/javalib/qtjava/QLayout.cpp | 108 +- qtjava/javalib/qtjava/QLayoutItem.cpp | 32 +- qtjava/javalib/qtjava/QLibrary.cpp | 32 +- qtjava/javalib/qtjava/QLibrary.h | 2 +- qtjava/javalib/qtjava/QLineEdit.cpp | 770 ++++---- qtjava/javalib/qtjava/QLineEdit.h | 12 +- qtjava/javalib/qtjava/QListBox.cpp | 886 ++++----- qtjava/javalib/qtjava/QListBox.h | 8 +- qtjava/javalib/qtjava/QListBoxItem.cpp | 34 +- qtjava/javalib/qtjava/QListBoxPixmap.cpp | 64 +- qtjava/javalib/qtjava/QListBoxPixmap.h | 12 +- qtjava/javalib/qtjava/QListBoxText.cpp | 56 +- qtjava/javalib/qtjava/QListBoxText.h | 10 +- qtjava/javalib/qtjava/QListView.cpp | 878 ++++----- qtjava/javalib/qtjava/QListView.h | 8 +- qtjava/javalib/qtjava/QListViewItem.cpp | 688 +++---- qtjava/javalib/qtjava/QListViewItem.h | 72 +- qtjava/javalib/qtjava/QLocalFs.cpp | 180 +- qtjava/javalib/qtjava/QLocalFs.h | 2 +- qtjava/javalib/qtjava/QMainWindow.cpp | 578 +++--- qtjava/javalib/qtjava/QMainWindow.h | 8 +- qtjava/javalib/qtjava/QMenuBar.cpp | 704 +++---- qtjava/javalib/qtjava/QMenuBar.h | 6 +- qtjava/javalib/qtjava/QMenuData.cpp | 254 +-- qtjava/javalib/qtjava/QMenuData.h | 2 +- qtjava/javalib/qtjava/QMenuItem.cpp | 66 +- qtjava/javalib/qtjava/QMenuItem.h | 2 +- qtjava/javalib/qtjava/QMessageBox.cpp | 866 ++++---- qtjava/javalib/qtjava/QMessageBox.h | 16 +- qtjava/javalib/qtjava/QMetaData.cpp | 14 +- qtjava/javalib/qtjava/QMetaData.h | 2 +- qtjava/javalib/qtjava/QMetaEnum.cpp | 14 +- qtjava/javalib/qtjava/QMetaEnum.h | 2 +- qtjava/javalib/qtjava/QMetaObject.cpp | 160 +- qtjava/javalib/qtjava/QMetaProperty.cpp | 70 +- qtjava/javalib/qtjava/QMetaProperty.h | 2 +- qtjava/javalib/qtjava/QMimeSource.cpp | 22 +- qtjava/javalib/qtjava/QMimeSourceFactory.cpp | 82 +- qtjava/javalib/qtjava/QMimeSourceFactory.h | 2 +- qtjava/javalib/qtjava/QMouseEvent.cpp | 44 +- qtjava/javalib/qtjava/QMouseEvent.h | 4 +- qtjava/javalib/qtjava/QMoveEvent.cpp | 18 +- qtjava/javalib/qtjava/QMoveEvent.h | 2 +- qtjava/javalib/qtjava/QMovie.cpp | 130 +- qtjava/javalib/qtjava/QMovie.h | 18 +- qtjava/javalib/qtjava/QMultiLineEdit.cpp | 776 ++++---- qtjava/javalib/qtjava/QMultiLineEdit.h | 6 +- qtjava/javalib/qtjava/QNetworkOperation.cpp | 134 +- qtjava/javalib/qtjava/QNetworkOperation.h | 4 +- qtjava/javalib/qtjava/QNetworkProtocol.cpp | 226 +-- qtjava/javalib/qtjava/QNetworkProtocol.h | 2 +- qtjava/javalib/qtjava/QObject.cpp | 326 +-- qtjava/javalib/qtjava/QObject.h | 6 +- qtjava/javalib/qtjava/QObjectCleanupHandler.cpp | 82 +- qtjava/javalib/qtjava/QObjectCleanupHandler.h | 2 +- qtjava/javalib/qtjava/QPaintDevice.cpp | 58 +- qtjava/javalib/qtjava/QPaintDevice.h | 2 +- qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp | 34 +- qtjava/javalib/qtjava/QPaintDeviceMetrics.h | 2 +- qtjava/javalib/qtjava/QPaintEvent.cpp | 50 +- qtjava/javalib/qtjava/QPaintEvent.h | 12 +- qtjava/javalib/qtjava/QPainter.cpp | 428 ++-- qtjava/javalib/qtjava/QPainter.h | 10 +- qtjava/javalib/qtjava/QPalette.cpp | 80 +- qtjava/javalib/qtjava/QPalette.h | 10 +- qtjava/javalib/qtjava/QPen.cpp | 74 +- qtjava/javalib/qtjava/QPen.h | 14 +- qtjava/javalib/qtjava/QPicture.cpp | 88 +- qtjava/javalib/qtjava/QPicture.h | 6 +- qtjava/javalib/qtjava/QPixmap.cpp | 324 +-- qtjava/javalib/qtjava/QPixmap.h | 32 +- qtjava/javalib/qtjava/QPoint.cpp | 48 +- qtjava/javalib/qtjava/QPoint.h | 4 +- qtjava/javalib/qtjava/QPointArray.cpp | 98 +- qtjava/javalib/qtjava/QPointArray.h | 12 +- qtjava/javalib/qtjava/QPolygonScanner.cpp | 14 +- qtjava/javalib/qtjava/QPopupMenu.cpp | 758 +++---- qtjava/javalib/qtjava/QPopupMenu.h | 6 +- qtjava/javalib/qtjava/QPrintDialog.cpp | 374 ++-- qtjava/javalib/qtjava/QPrintDialog.h | 6 +- qtjava/javalib/qtjava/QPrinter.cpp | 164 +- qtjava/javalib/qtjava/QPrinter.h | 4 +- qtjava/javalib/qtjava/QProcess.cpp | 266 +-- qtjava/javalib/qtjava/QProcess.h | 18 +- qtjava/javalib/qtjava/QProgressBar.cpp | 472 ++--- qtjava/javalib/qtjava/QProgressBar.h | 16 +- qtjava/javalib/qtjava/QProgressDialog.cpp | 506 ++--- qtjava/javalib/qtjava/QProgressDialog.h | 20 +- qtjava/javalib/qtjava/QPushButton.cpp | 480 ++--- qtjava/javalib/qtjava/QPushButton.h | 12 +- qtjava/javalib/qtjava/QRadioButton.cpp | 426 ++-- qtjava/javalib/qtjava/QRadioButton.h | 8 +- qtjava/javalib/qtjava/QRangeControl.cpp | 78 +- qtjava/javalib/qtjava/QRangeControl.h | 4 +- qtjava/javalib/qtjava/QRect.cpp | 158 +- qtjava/javalib/qtjava/QRect.h | 8 +- qtjava/javalib/qtjava/QRegExp.cpp | 158 +- qtjava/javalib/qtjava/QRegExp.h | 10 +- qtjava/javalib/qtjava/QRegExpValidator.cpp | 106 +- qtjava/javalib/qtjava/QRegExpValidator.h | 8 +- qtjava/javalib/qtjava/QRegion.cpp | 114 +- qtjava/javalib/qtjava/QRegion.h | 18 +- qtjava/javalib/qtjava/QResizeEvent.cpp | 18 +- qtjava/javalib/qtjava/QResizeEvent.h | 2 +- qtjava/javalib/qtjava/QScrollBar.cpp | 540 ++--- qtjava/javalib/qtjava/QScrollBar.h | 12 +- qtjava/javalib/qtjava/QScrollView.cpp | 884 ++++----- qtjava/javalib/qtjava/QScrollView.h | 8 +- qtjava/javalib/qtjava/QSemiModal.cpp | 376 ++-- qtjava/javalib/qtjava/QSemiModal.h | 10 +- qtjava/javalib/qtjava/QServerSocket.cpp | 36 +- qtjava/javalib/qtjava/QSessionManager.cpp | 84 +- qtjava/javalib/qtjava/QSettings.cpp | 208 +- qtjava/javalib/qtjava/QSettings.h | 4 +- qtjava/javalib/qtjava/QShowEvent.cpp | 14 +- qtjava/javalib/qtjava/QShowEvent.h | 2 +- qtjava/javalib/qtjava/QSignal.cpp | 108 +- qtjava/javalib/qtjava/QSignal.h | 6 +- qtjava/javalib/qtjava/QSignalMapper.cpp | 92 +- qtjava/javalib/qtjava/QSignalMapper.h | 4 +- qtjava/javalib/qtjava/QSimpleRichText.cpp | 112 +- qtjava/javalib/qtjava/QSimpleRichText.h | 14 +- qtjava/javalib/qtjava/QSize.cpp | 60 +- qtjava/javalib/qtjava/QSize.h | 4 +- qtjava/javalib/qtjava/QSizeGrip.cpp | 386 ++-- qtjava/javalib/qtjava/QSizeGrip.h | 4 +- qtjava/javalib/qtjava/QSizePolicy.cpp | 74 +- qtjava/javalib/qtjava/QSizePolicy.h | 10 +- qtjava/javalib/qtjava/QSjisCodec.cpp | 46 +- qtjava/javalib/qtjava/QSjisCodec.h | 2 +- qtjava/javalib/qtjava/QSlider.cpp | 558 +++--- qtjava/javalib/qtjava/QSlider.h | 12 +- qtjava/javalib/qtjava/QSocket.cpp | 262 +-- qtjava/javalib/qtjava/QSocket.h | 6 +- qtjava/javalib/qtjava/QSocketDevice.cpp | 124 +- qtjava/javalib/qtjava/QSocketDevice.h | 8 +- qtjava/javalib/qtjava/QSocketNotifier.cpp | 102 +- qtjava/javalib/qtjava/QSocketNotifier.h | 6 +- qtjava/javalib/qtjava/QSound.cpp | 120 +- qtjava/javalib/qtjava/QSound.h | 6 +- qtjava/javalib/qtjava/QSpacerItem.cpp | 50 +- qtjava/javalib/qtjava/QSpacerItem.h | 6 +- qtjava/javalib/qtjava/QSpinBox.cpp | 632 +++--- qtjava/javalib/qtjava/QSpinBox.h | 14 +- qtjava/javalib/qtjava/QSpinWidget.cpp | 442 ++--- qtjava/javalib/qtjava/QSpinWidget.h | 6 +- qtjava/javalib/qtjava/QSplashScreen.cpp | 404 ++-- qtjava/javalib/qtjava/QSplashScreen.h | 6 +- qtjava/javalib/qtjava/QSplitter.cpp | 506 ++--- qtjava/javalib/qtjava/QSplitter.h | 12 +- qtjava/javalib/qtjava/QSql.cpp | 14 +- qtjava/javalib/qtjava/QSql.h | 2 +- qtjava/javalib/qtjava/QSqlCursor.cpp | 382 ++-- qtjava/javalib/qtjava/QSqlCursor.h | 10 +- qtjava/javalib/qtjava/QSqlDatabase.cpp | 288 +-- qtjava/javalib/qtjava/QSqlDatabase.h | 12 +- qtjava/javalib/qtjava/QSqlDriver.cpp | 134 +- qtjava/javalib/qtjava/QSqlEditorFactory.cpp | 74 +- qtjava/javalib/qtjava/QSqlEditorFactory.h | 6 +- qtjava/javalib/qtjava/QSqlError.cpp | 98 +- qtjava/javalib/qtjava/QSqlError.h | 12 +- qtjava/javalib/qtjava/QSqlField.cpp | 68 +- qtjava/javalib/qtjava/QSqlField.h | 8 +- qtjava/javalib/qtjava/QSqlFieldInfo.cpp | 148 +- qtjava/javalib/qtjava/QSqlFieldInfo.h | 30 +- qtjava/javalib/qtjava/QSqlForm.cpp | 182 +- qtjava/javalib/qtjava/QSqlForm.h | 6 +- qtjava/javalib/qtjava/QSqlIndex.cpp | 126 +- qtjava/javalib/qtjava/QSqlIndex.h | 8 +- qtjava/javalib/qtjava/QSqlPropertyMap.cpp | 32 +- qtjava/javalib/qtjava/QSqlPropertyMap.h | 2 +- qtjava/javalib/qtjava/QSqlQuery.cpp | 138 +- qtjava/javalib/qtjava/QSqlQuery.h | 12 +- qtjava/javalib/qtjava/QSqlRecord.cpp | 134 +- qtjava/javalib/qtjava/QSqlRecord.h | 4 +- qtjava/javalib/qtjava/QSqlResult.cpp | 2 +- qtjava/javalib/qtjava/QStatusBar.cpp | 426 ++-- qtjava/javalib/qtjava/QStatusBar.h | 6 +- qtjava/javalib/qtjava/QStoredDrag.cpp | 108 +- qtjava/javalib/qtjava/QStoredDrag.h | 6 +- qtjava/javalib/qtjava/QStyle.cpp | 126 +- qtjava/javalib/qtjava/QStyleFactory.cpp | 24 +- qtjava/javalib/qtjava/QStyleFactory.h | 2 +- qtjava/javalib/qtjava/QStyleOption.cpp | 120 +- qtjava/javalib/qtjava/QStyleOption.h | 26 +- qtjava/javalib/qtjava/QStyleSheet.cpp | 132 +- qtjava/javalib/qtjava/QStyleSheet.h | 6 +- qtjava/javalib/qtjava/QStyleSheetItem.cpp | 130 +- qtjava/javalib/qtjava/QStyleSheetItem.h | 4 +- qtjava/javalib/qtjava/QSyntaxHighlighter.cpp | 18 +- qtjava/javalib/qtjava/QTab.cpp | 62 +- qtjava/javalib/qtjava/QTab.h | 8 +- qtjava/javalib/qtjava/QTabBar.cpp | 506 ++--- qtjava/javalib/qtjava/QTabBar.h | 6 +- qtjava/javalib/qtjava/QTabDialog.cpp | 512 ++--- qtjava/javalib/qtjava/QTabDialog.h | 10 +- qtjava/javalib/qtjava/QTabWidget.cpp | 530 ++--- qtjava/javalib/qtjava/QTabWidget.h | 8 +- qtjava/javalib/qtjava/QTable.cpp | 940 ++++----- qtjava/javalib/qtjava/QTable.h | 12 +- qtjava/javalib/qtjava/QTableItem.cpp | 96 +- qtjava/javalib/qtjava/QTableItem.h | 6 +- qtjava/javalib/qtjava/QTableSelection.cpp | 48 +- qtjava/javalib/qtjava/QTableSelection.h | 4 +- qtjava/javalib/qtjava/QTabletEvent.cpp | 30 +- qtjava/javalib/qtjava/QTextBrowser.cpp | 648 +++--- qtjava/javalib/qtjava/QTextBrowser.h | 6 +- qtjava/javalib/qtjava/QTextCodec.cpp | 126 +- qtjava/javalib/qtjava/QTextDecoder.cpp | 10 +- qtjava/javalib/qtjava/QTextDrag.cpp | 152 +- qtjava/javalib/qtjava/QTextDrag.h | 12 +- qtjava/javalib/qtjava/QTextEdit.cpp | 1144 +++++------ qtjava/javalib/qtjava/QTextEdit.h | 14 +- qtjava/javalib/qtjava/QTextEncoder.cpp | 10 +- qtjava/javalib/qtjava/QTextIStream.cpp | 24 +- qtjava/javalib/qtjava/QTextIStream.h | 4 +- qtjava/javalib/qtjava/QTextOStream.cpp | 26 +- qtjava/javalib/qtjava/QTextOStream.h | 4 +- qtjava/javalib/qtjava/QTextStream.cpp | 142 +- qtjava/javalib/qtjava/QTextStream.h | 8 +- qtjava/javalib/qtjava/QTextView.cpp | 630 +++--- qtjava/javalib/qtjava/QTextView.h | 14 +- qtjava/javalib/qtjava/QTimeEdit.cpp | 526 ++--- qtjava/javalib/qtjava/QTimeEdit.h | 12 +- qtjava/javalib/qtjava/QTimer.cpp | 108 +- qtjava/javalib/qtjava/QTimer.h | 6 +- qtjava/javalib/qtjava/QTimerEvent.cpp | 16 +- qtjava/javalib/qtjava/QTimerEvent.h | 2 +- qtjava/javalib/qtjava/QToolBar.cpp | 502 ++--- qtjava/javalib/qtjava/QToolBar.h | 22 +- qtjava/javalib/qtjava/QToolBox.cpp | 476 ++--- qtjava/javalib/qtjava/QToolBox.h | 8 +- qtjava/javalib/qtjava/QToolButton.cpp | 530 ++--- qtjava/javalib/qtjava/QToolButton.h | 12 +- qtjava/javalib/qtjava/QToolTip.cpp | 62 +- qtjava/javalib/qtjava/QToolTipGroup.cpp | 90 +- qtjava/javalib/qtjava/QToolTipGroup.h | 4 +- qtjava/javalib/qtjava/QTranslator.cpp | 206 +- qtjava/javalib/qtjava/QTranslator.h | 6 +- qtjava/javalib/qtjava/QTranslatorMessage.cpp | 90 +- qtjava/javalib/qtjava/QTranslatorMessage.h | 10 +- qtjava/javalib/qtjava/QTsciiCodec.cpp | 42 +- qtjava/javalib/qtjava/QTsciiCodec.h | 2 +- qtjava/javalib/qtjava/QUriDrag.cpp | 188 +- qtjava/javalib/qtjava/QUriDrag.h | 12 +- qtjava/javalib/qtjava/QUrl.cpp | 224 +-- qtjava/javalib/qtjava/QUrl.h | 10 +- qtjava/javalib/qtjava/QUrlInfo.cpp | 144 +- qtjava/javalib/qtjava/QUrlInfo.h | 10 +- qtjava/javalib/qtjava/QUrlOperator.cpp | 374 ++-- qtjava/javalib/qtjava/QUrlOperator.h | 10 +- qtjava/javalib/qtjava/QUtf16Codec.cpp | 26 +- qtjava/javalib/qtjava/QUtf16Codec.h | 2 +- qtjava/javalib/qtjava/QUtf8Codec.cpp | 40 +- qtjava/javalib/qtjava/QUtf8Codec.h | 2 +- qtjava/javalib/qtjava/QUuid.cpp | 56 +- qtjava/javalib/qtjava/QUuid.h | 8 +- qtjava/javalib/qtjava/QVBox.cpp | 392 ++-- qtjava/javalib/qtjava/QVBox.h | 8 +- qtjava/javalib/qtjava/QVBoxLayout.cpp | 134 +- qtjava/javalib/qtjava/QVBoxLayout.h | 20 +- qtjava/javalib/qtjava/QVButtonGroup.cpp | 408 ++-- qtjava/javalib/qtjava/QVButtonGroup.h | 12 +- qtjava/javalib/qtjava/QVGroupBox.cpp | 408 ++-- qtjava/javalib/qtjava/QVGroupBox.h | 12 +- qtjava/javalib/qtjava/QValidator.cpp | 102 +- qtjava/javalib/qtjava/QValidator.h | 4 +- qtjava/javalib/qtjava/QVariant.cpp | 412 ++-- qtjava/javalib/qtjava/QVariant.h | 60 +- qtjava/javalib/qtjava/QWMatrix.cpp | 90 +- qtjava/javalib/qtjava/QWMatrix.h | 4 +- qtjava/javalib/qtjava/QWhatsThis.cpp | 82 +- qtjava/javalib/qtjava/QWhatsThis.h | 2 +- qtjava/javalib/qtjava/QWheelEvent.cpp | 56 +- qtjava/javalib/qtjava/QWheelEvent.h | 8 +- qtjava/javalib/qtjava/QWidget.cpp | 1182 +++++------ qtjava/javalib/qtjava/QWidget.h | 8 +- qtjava/javalib/qtjava/QWidgetItem.cpp | 36 +- qtjava/javalib/qtjava/QWidgetItem.h | 2 +- qtjava/javalib/qtjava/QWidgetStack.cpp | 430 ++-- qtjava/javalib/qtjava/QWidgetStack.h | 8 +- qtjava/javalib/qtjava/QWizard.cpp | 496 ++--- qtjava/javalib/qtjava/QWizard.h | 10 +- qtjava/javalib/qtjava/QWorkspace.cpp | 426 ++-- qtjava/javalib/qtjava/QWorkspace.h | 6 +- qtjava/javalib/qtjava/QXmlAttributes.cpp | 106 +- qtjava/javalib/qtjava/QXmlAttributes.h | 2 +- qtjava/javalib/qtjava/QXmlContentHandler.cpp | 58 +- qtjava/javalib/qtjava/QXmlDTDHandler.cpp | 26 +- qtjava/javalib/qtjava/QXmlDeclHandler.cpp | 34 +- qtjava/javalib/qtjava/QXmlDefaultHandler.cpp | 152 +- qtjava/javalib/qtjava/QXmlDefaultHandler.h | 2 +- qtjava/javalib/qtjava/QXmlEntityResolver.cpp | 14 +- qtjava/javalib/qtjava/QXmlErrorHandler.cpp | 14 +- qtjava/javalib/qtjava/QXmlInputSource.cpp | 84 +- qtjava/javalib/qtjava/QXmlInputSource.h | 8 +- qtjava/javalib/qtjava/QXmlLexicalHandler.cpp | 34 +- qtjava/javalib/qtjava/QXmlLocator.cpp | 6 +- qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp | 80 +- qtjava/javalib/qtjava/QXmlNamespaceSupport.h | 2 +- qtjava/javalib/qtjava/QXmlParseException.cpp | 82 +- qtjava/javalib/qtjava/QXmlParseException.h | 12 +- qtjava/javalib/qtjava/QXmlReader.cpp | 48 +- qtjava/javalib/qtjava/QXmlSimpleReader.cpp | 64 +- qtjava/javalib/qtjava/QXmlSimpleReader.h | 2 +- qtjava/javalib/qtjava/Qt.cpp | 484 ++--- qtjava/javalib/qtjava/QtSupport.cpp | 406 ++-- qtjava/javalib/qtjava/QtSupport.h | 126 +- qtjava/javalib/qtjava/QtUtils.cpp | 32 +- qtjava/javalib/qtjava/QtUtils.h | 4 +- qtjava/javalib/qtjava/qtjava.cpp | 2 +- qtjava/javalib/test/AppWizardBase.java | 116 +- qtjava/javalib/test/DirTest.java | 12 +- qtjava/javalib/test/FilePropsPageBase.java | 70 +- qtjava/javalib/test/Foo.java | 2 +- qtjava/javalib/test/ISBNValidator.java | 12 +- qtjava/javalib/test/KillerFilter.java | 24 +- qtjava/javalib/test/QTimerTest.java | 108 +- qtjava/javalib/test/ScribbleWindow.java | 96 +- qtjava/javalib/test/SignalForwarder.java | 6 +- qtjava/javalib/tutorial/t1/Tut1.java | 6 +- qtjava/javalib/tutorial/t10/CannonField.java | 28 +- qtjava/javalib/tutorial/t10/LCDRange.java | 10 +- qtjava/javalib/tutorial/t10/Tut10.java | 14 +- qtjava/javalib/tutorial/t11/CannonField.java | 52 +- qtjava/javalib/tutorial/t11/LCDRange.java | 10 +- qtjava/javalib/tutorial/t11/Tut11.java | 20 +- qtjava/javalib/tutorial/t12/CannonField.java | 70 +- qtjava/javalib/tutorial/t12/LCDRange.java | 16 +- qtjava/javalib/tutorial/t12/Tut12.java | 20 +- qtjava/javalib/tutorial/t13/CannonField.java | 72 +- qtjava/javalib/tutorial/t13/GameBoard.java | 32 +- qtjava/javalib/tutorial/t13/LCDRange.java | 18 +- qtjava/javalib/tutorial/t13/Tut13.java | 6 +- qtjava/javalib/tutorial/t14/CannonField.java | 94 +- qtjava/javalib/tutorial/t14/GameBoard.java | 44 +- qtjava/javalib/tutorial/t14/LCDRange.java | 18 +- qtjava/javalib/tutorial/t14/Tut14.java | 6 +- qtjava/javalib/tutorial/t2/Tut2.java | 8 +- qtjava/javalib/tutorial/t3/Tut3.java | 10 +- qtjava/javalib/tutorial/t4/Tut4.java | 8 +- qtjava/javalib/tutorial/t5/Tut5.java | 12 +- qtjava/javalib/tutorial/t6/LCDRange.java | 10 +- qtjava/javalib/tutorial/t6/Tut6.java | 10 +- qtjava/javalib/tutorial/t7/LCDRange.java | 12 +- qtjava/javalib/tutorial/t7/Tut7.java | 10 +- qtjava/javalib/tutorial/t8/CannonField.java | 14 +- qtjava/javalib/tutorial/t8/LCDRange.java | 10 +- qtjava/javalib/tutorial/t8/Tut8.java | 10 +- qtjava/javalib/tutorial/t9/CannonField.java | 18 +- qtjava/javalib/tutorial/t9/LCDRange.java | 10 +- qtjava/javalib/tutorial/t9/Tut9.java | 12 +- 1135 files changed, 46244 insertions(+), 46244 deletions(-) (limited to 'qtjava') diff --git a/qtjava/AUTHORS b/qtjava/AUTHORS index 803af9f1..c2a4264c 100644 --- a/qtjava/AUTHORS +++ b/qtjava/AUTHORS @@ -11,7 +11,7 @@ Chief Wreck On The Highway Richard Dale -Equipment +Etquipment iMac with SuSE 6.4, Contour 3 button UniMouse Books diff --git a/qtjava/COPYING b/qtjava/COPYING index ffe677b2..53e69bb5 100644 --- a/qtjava/COPYING +++ b/qtjava/COPYING @@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions: these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + the Program is not retquired to print an announcement.) -These requirements apply to the modified work as a whole. If +These retquirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those @@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. - 5. You are not required to accept this License, since you have not + 5. You are not retquired to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by @@ -263,14 +263,14 @@ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +TO THE TQUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS RETQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSETQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER diff --git a/qtjava/ChangeLog b/qtjava/ChangeLog index 6deea6ec..81cdf064 100644 --- a/qtjava/ChangeLog +++ b/qtjava/ChangeLog @@ -1,6 +1,6 @@ 2006-10-24 Richard Dale - * The QGL* classes were not being built by default, as a few years ago + * The TQGL* classes were not being built by default, as a few years ago KDE didn't use OpenGL by default. So enable them by default now 3D is pretty standard. @@ -10,12 +10,12 @@ 2006-02-14 Richard Dale - * Added QStyleOption.h and QStyleOption.cpp sources which were + * Added TQStyleOption.h and TQStyleOption.cpp sources which were missing. Fixes problem reported by Sekou DIAKITE 2005-10-26 Richard Dale - * Removed QPointArray.begin() and end() methods as they don't compile + * Removed TQPointArray.begin() and end() methods as they don't compile on 64 bit machines, and Iterators can't be used in QtJava anyway. Fixes problem reported by Adeodato S. @@ -25,7 +25,7 @@ 2005-03-13 Richard Dale - * Removed QImage::jumpTable() as it's too low level for java + * Removed TQImage::jumpTable() as it's too low level for java * Fixed prototype in JavaSlot.h which didn't compile on Solaris - thanks to Shea Martin for reporting these problems. @@ -34,7 +34,7 @@ 2005-02-21 Richard Dale * Removed unused sources - * Removed the QFont::cacheStatistics method as it doesn't exit in Qt Embedded + * Removed the TQFont::cacheStatistics method as it doesn't exit in Qt Embedded 2005-02-01 Richard Dale @@ -49,13 +49,13 @@ 2004-06-07 Richard Dale - * Regenerated QImage.bits() and colorTable() to use Michal Ceresna's kalyptus patch - * Regenerated QCheckListItem to remove unwanted copy constructor + * Regenerated TQImage.bits() and colorTable() to use Michal Ceresna's kalyptus patch + * Regenerated TQCheckListItem to remove unwanted copy constructor 2004-06-06 Richard Dale - * When a java null is passed as a QString argument, it was converted to (QString*)0L. - Null java strings are now converted to (QString*)&QString::null. + * When a java null is passed as a TQString argument, it was converted to (TQString*)0L. + Null java strings are now converted to (TQString*)&TQString::null. Fixes crash reported by Maik Schulz when passing a null to KURLRequesterDlg.getURL() 2004-04-03 Richard Dale @@ -76,8 +76,8 @@ 2004-01-20 Richard Dale - * Regenerated the QTableItem binding from the Qt 3.3 header, as the - QTableItem::content() method has been removed. Thanks to Adrian Schroeter + * Regenerated the TQTableItem binding from the Qt 3.3 header, as the + TQTableItem::content() method has been removed. Thanks to Adrian Schroeter for the error report. 2004-01-12 Richard Dale @@ -87,7 +87,7 @@ 2004-01-05 Richard Dale - * Removed QDomNodeList class from the project as it's marshalled to a java.util.ArrayList + * Removed TQDomNodeList class from the project as it's marshalled to a java.util.ArrayList * When a java method needed to be renamed, because in the type signature only the return type differed in C++, when that isn't allowed in java, the JNI function name was not using the new name. @@ -95,7 +95,7 @@ 2004-01-03 Richard Dale - * Added QSyntaxHighlighter class + * Added TQSyntaxHighlighter class 2003-12-30 Richard Dale @@ -112,9 +112,9 @@ - Added operator methods, and named them 'op_*', eg op_plus(). - Various friend functions in the global namespace, added as static methods to the Qt class - - Added new classes QEventLoop, QHttpHeader, QHttpRequestHeader, - QHttpResponseHeader, QSpinWidget, QSplashScreen and QToolBox - - Removed Accessibility and QStyle* classes + - Added new classes TQEventLoop, TQHttpHeader, TQHttpRequestHeader, + TQHttpResponseHeader, TQSpinWidget, TQSplashScreen and TQToolBox + - Removed Accessibility and TQStyle* classes - Updated the example programs to work with the current bindings 2003-10-10 Richard Dale @@ -123,7 +123,7 @@ 2003-09-24 Richard Dale - * Added a patch from gabor to fix Windows build problems, and a bug in QPointArray.putPoints() + * Added a patch from gabor to fix Windows build problems, and a bug in TQPointArray.putPoints() 2003-06-25 Richard Dale @@ -131,11 +131,11 @@ 2003-01-25 - * uchar types were wrongly being converted to Strings in QSizePolicy, they should be shorts (reported by Marco Ladermann) + * uchar types were wrongly being converted to Strings in TQSizePolicy, they should be shorts (reported by Marco Ladermann) 2003-01-17 - * Fixed bug in conversion of signal type 'int,int,int,const QPoint&' to java type in QTable (reported by Felix Rodriguez). + * Fixed bug in conversion of signal type 'int,int,int,const TQPoint&' to java type in TQTable (reported by Felix Rodriguez). 2002-12-30 @@ -148,7 +148,7 @@ 2002-11-24 - * Added missing QGb18030Codec class + * Added missing TQGb18030Codec class 2002-11-08 Richard Dale @@ -159,7 +159,7 @@ 2002-05-09 Richard Dale * Header filename qgbkcodec.h renamed as qgb18030codec.h 2002-04-29 Richard Dale - * In QApplication, the argc value passed to Qt was one less than + * In TQApplication, the argc value passed to Qt was one less than it should have been - fix from Marcel Volaart 2002-04-18 Richard Dale * 'javalib' top level test program is no longer installed @@ -168,146 +168,146 @@ 2002-03-22 Richard Dale * Added 'Object,byte[]' slot invocations to Invocation.java * Added fully qualified name expansion to some KDE signal types - * Added missing constructors to QGridLayout + * Added missing constructors to TQGridLayout 2002-03-15 Richard Dale - * Recently introduced link error in QObject.tr() fixed + * Recently introduced link error in TQObject.tr() fixed 2002-03-14 Richard Dale - * Changed QObject.tr() and QObject.trUtf8() to static methods + * Changed TQObject.tr() and TQObject.trUtf8() to static methods 2002-03-11 Richard Dale * More JNI local reference leak fixes 2002-03-10 Richard Dale * Added new qtjava.initialize() method and changed sample code to use it. 2002-03-07 Richard Dale * Added widgets and wizard Qt examples - * Added QStyleFactory class + * Added TQStyleFactory class * Fixed some JNI local reference leaks in QtSupport.cpp and JavaSlot.cpp - * Fixed validate() methods in QValidator classes to use 'StringBuffer, int[]' + * Fixed validate() methods in TQValidator classes to use 'StringBuffer, int[]' args correctly - * Added missing constructors and methods to QListViewItem, QStatusBar, - QVBoxLayout and QWizard - * Added eventFilter() callback to QMainWindow. Call to super in an event + * Added missing constructors and methods to TQListViewItem, TQStatusBar, + TQVBoxLayout and TQWizard + * Added eventFilter() callback to TQMainWindow. Call to super in an event filter now possible. 2002-03-05 Richard Dale * Added tux Qt example - surely the most important example yet? It is now possible to drag a large penguin with your mouse without knowing whether it is powered by C++, java or herring.. - * Added constructors to QBitmap for QPixmap and QImage input types. + * Added constructors to TQBitmap for TQPixmap and TQImage input types. This conversion was only available in C++ via weird operator overloading - on assignment to an existing QBitmap. + on assignment to an existing TQBitmap. 2002-03-05 Richard Dale * Added table/small-table-demo and textedit Qt examples - * Added missing constructors to QAction and QTextEdit - * Regenerated QFontDatabase class to add methods returning QValueList, + * Added missing constructors to TQAction and TQTextEdit + * Regenerated TQFontDatabase class to add methods returning TQValueList, translated to int[] in java. - * Slot types 'QAction*', 'QDropEvent*,const QValueList&' and - 'const QValueList&,QNetworkOperation*' now work. - * Added QtSupport::arrayWithQIconDragItemList() and - QtSupport::arrayWithQUrlInfoList() conversion methods. + * Slot types 'TQAction*', 'TQDropEvent*,const TQValueList&' and + 'const TQValueList&,TQNetworkOperation*' now work. + * Added QtSupport::arrayWithTQIconDragItemList() and + QtSupport::arrayWithTQUrlInfoList() conversion methods. 2002-03-04 Richard Dale * Added showimg, sound, splitter and tabdialog Qt examples - * Changed name of C++ QPixmap::loadFromData() with enum 'ColorMode - parameter to QPixmap.loadFromDataWithMode() in java, to distinguish it + * Changed name of C++ TQPixmap::loadFromData() with enum 'ColorMode + parameter to TQPixmap.loadFromDataWithMode() in java, to distinguish it from the method with the same name with a conversion_flags' int parameter. - * Added missing methods and constructors to QComboBox, QFileDialog, QGrid, - QMessageBox and QTabDialog + * Added missing methods and constructors to TQComboBox, TQFileDialog, TQGrid, + TQMessageBox and TQTabDialog 2002-03-04 Richard Dale * Added richtext, rot13 and scribble Qt examples - * Added QApplication.args(), removed argv() and argc() methods - * Added missing constructors. QColorDialog.getRgba() now has a boolean[] + * Added TQApplication.args(), removed argv() and argc() methods + * Added missing constructors. TQColorDialog.getRgba() now has a boolean[] 'ok' parameter, rather than int[] - * Added missing QPen and QTextView constructors - * Added C++ QMemArray to java ArrayList conversion, and implemented - QRegion.rects() method. + * Added missing TQPen and TQTextView constructors + * Added C++ TQMemArray to java ArrayList conversion, and implemented + TQRegion.rects() method. 2002-03-03 Richard Dale - * Added missing inline methods to QColor + * Added missing inline methods to TQColor * Added Qt qwerty and rangecontrols examples * Removed finalize() methods from codec classes, as they shouldn't be deleted. * Changed readBlock() methods to use a mutable StringBuffer, rather than String. - * Added missing QLCDNumber constructor + * Added missing TQLCDNumber constructor * Fixed incorrect value for Qt.Vertical 2002-03-02 Richard Dale * Added qmag Qt example - * Added missing QFileDialog.getSaveFileName() methods + * Added missing TQFileDialog.getSaveFileName() methods 2002-03-02 Richard Dale * Added Qt menu, popup, progressbar and qfd examples - * Added missing QPopupMenu and QProgressBar constructors. + * Added missing TQPopupMenu and TQProgressBar constructors. 2002-02-28 Richard Dale * Added Qt MDI example - * Added QObject.emit(String,int) method - * Added QWorkspace missing constructor + * Added TQObject.emit(String,int) method + * Added TQWorkspace missing constructor * qtjava: fixed bug in qtjava.toNormalizedTypeSignature() for signature lists of more than one type. * JavaSlot: fixed JNI local reference memory leaks. Added 'String,int' java slot type. - * QToolButton: Fixed java slot/signal connection bug + * TQToolButton: Fixed java slot/signal connection bug * QtSupport: Fixed JNI local reference memory leaks. 2002-02-27 Richard Dale * Added lineedits and listbox Qt examples - * Added missing QSpinBox constructor - * Fixed QListBox method name clash. QListBox.setRowMode(int) and - QListBox.setColumnMode(int) now called setNumRows() and setNumColumns() + * Added missing TQSpinBox constructor + * Fixed TQListBox method name clash. TQListBox.setRowMode(int) and + TQListBox.setColumnMode(int) now called setNumRows() and setNumColumns() 2002-02-27 Richard Dale * Added Qt layout example - * Added missing constructor to QMenuBar + * Added missing constructor to TQMenuBar 2002-02-27 Richard Dale * Added Qt iconview example - * Fixed error in C++ signal type signature for QDropEvent plus ArrayList - of QIconDragItems + * Fixed error in C++ signal type signature for TQDropEvent plus ArrayList + of TQIconDragItems 2002-02-27 Richard Dale * Added Qt helpviewer example - * Added missing constructors to QComboBox, QSimpleRichText, QTextBrowser, - QToolBar and QUrl + * Added missing constructors to TQComboBox, TQSimpleRichText, TQTextBrowser, + TQToolBar and TQUrl 2002-02-26 Richard Dale * Added Qt hello example - * Added missing QPixmap.fill() methods - * Added missing QPainter.drawText() methods + * Added missing TQPixmap.fill() methods + * Added missing TQPainter.drawText() methods 2002-02-26 Richard Dale * Added Qt Forever graphics example 2002-02-26 Richard Dale * Added Qt drawlines example 2002-02-26 Richard Dale * Added Qt Drag and Drop example - dragdrop - * Fixed bug in QMovie slot/signal connections. Added new QRect and QSize + * Fixed bug in TQMovie slot/signal connections. Added new TQRect and TQSize slot types. - * QtSupport::mimeSource() added to correctly cast to 'QMimeSource *' with + * QtSupport::mimeSource() added to correctly cast to 'TQMimeSource *' with multiple inheritance. - * Added missing QImageDrag constructors - * Changed QTextDrag.decode() methods to use a mutable StringBuffer. Added + * Added missing TQImageDrag constructors + * Changed TQTextDrag.decode() methods to use a mutable StringBuffer. Added missing constructors. - * Changed QUriDrag.decode() methods to use mutable ArrayLists. + * Changed TQUriDrag.decode() methods to use mutable ArrayLists. 2002-02-25 Richard Dale * Added Qt Digital Clock, dclock, example 2002-02-25 Richard Dale * Added cursor Qt example 2002-02-25 Richard Dale * Added checklists Qt example - * Fixed crash in QCheckListItem finalizer - * Improved QtSupport::arrayWithQListViewItemList so that it uses - QListViewItem.rtti() to identify QListViewItem or QCheckListItems. + * Fixed crash in TQCheckListItem finalizer + * Improved QtSupport::arrayWithTQListViewItemList so that it uses + TQListViewItem.rtti() to identify TQListViewItem or TQCheckListItems. 2002-02-25 Richard Dale * Added buttongroups Qt example - * Added missing constructors to QButtonGroup + * Added missing constructors to TQButtonGroup 2002-02-24 Richard Dale * Added biff example - * Changed QPixmap.loadFromData() and QImage.loadFromData() to take a char[] + * Changed TQPixmap.loadFromData() and TQImage.loadFromData() to take a char[] data argument, rather than byte[]. 2002-02-22 Richard Dale - * Added QIODevice #defined constants as java static final ints - * Added missing QGridlayout constructor - * QPopupMenu - added missing methods, fixed java signal/slot connection bug - * Added QListView.itemList() and QListViewItem.itemList() methods returning - ArrayList with QListViewItems. + * Added TQIODevice #defined constants as java static final ints + * Added missing TQGridlayout constructor + * TQPopupMenu - added missing methods, fixed java signal/slot connection bug + * Added TQListView.itemList() and TQListViewItem.itemList() methods returning + ArrayList with TQListViewItems. * Qt 'addressbook' example converted to java 2002-02-21 Richard Dale * Added extra Qt examples - aclock, picture, demo/sql, demo/widgets * Various missing java methods added 2002-02-13 Richard Dale - * QObject - Added i18n() as a synonym for tr(). - * QPaintDevice - dded missing bitBlt() methods - * QPopupMenu - added missing insertItem() methods - * Added missing QPointArray(int) constructor + * TQObject - Added i18n() as a synonym for tr(). + * TQPaintDevice - dded missing bitBlt() methods + * TQPopupMenu - added missing insertItem() methods + * Added missing TQPointArray(int) constructor * QtSupport - Added extra default parameter to C++ -> java array conversions, so an existing java array can be used as a target. * Qt tutorials and application example translated from C++ by @@ -317,29 +317,29 @@ 2002-02-10 Richard Dale * Added Qt.dynamicCast(). * Missing constructors added. - * QWMatrix.invert() now takes a boolean[] arg, rather than int[]. - * Added mapping of QCanvasItemList onto java.util.ArrayList + * TQWMatrix.invert() now takes a boolean[] arg, rather than int[]. + * Added mapping of TQCanvasItemList onto java.util.ArrayList 2002-01-31 Richard Dale - * Java null strings shouldn't be converted to QString::null by - QtSupport::toQString, but to 0 instead + * Java null strings shouldn't be converted to TQString::null by + QtSupport::toTQString, but to 0 instead 2002-01-23 Richard Dale - * Fixed QAccel.connectItem() and disconnectItem() methods. - * Fixed bug in QObject.emit() with boolean argument - * Added extra constructor to QLabel + * Fixed TQAccel.connectItem() and disconnectItem() methods. + * Fixed bug in TQObject.emit() with boolean argument + * Added extra constructor to TQLabel 2001-12-18 Richard Dale C++ QValueList conversions + * Added TQSplitter.sizes(), setSizes(). + * Added java int[] <--> C++ TQValueList conversions 2001-12-04 Richard Dale C++ slot/signal look up code from QtSupport to JavaSlot class. * Fixed string conversion bugs on Intel platforms in the following QtSupport methods: validateDelegate(), fixupDelegate(), - toQStrList(), toQStringList(), arrayWithQStringLIst(). C + toTQStrList(), toTQStringList(), arrayWithTQStringLIst(). C * Windows port by Eddie Chan , thanks Eddie! All platform specific X11 methods removed. * Class constants replaced with #defines for JAVA_YEAR, JAVA_MONTH, JAVA_DAY. 2001-06-28 Richard Dale * Beta 0.2 baseline * Added 50 Qt/KDE signal types * Added signal to signal connections - * Added eventFilter() callbacks for QObject and QWidget subclasses + * Added eventFilter() callbacks for TQObject and TQWidget subclasses * Improved code generation for strings and lists. Now more compact and doesn't seg fault when passed nulls * Added uic Java code generation as a patch @@ -413,11 +413,11 @@ Wed Nov 30 23:45:00 2000 Richard Dale * KDE classes are in the package 'org.kde.koala'. * Fixed bug where widgets with parents were being destroyed twice. Fri Feb 9 17:00:00 2001 Richard Dale - * Added missing QMenuData class + * Added missing TQMenuData class * Fixed bug which prevented protected slots and event handlers from being called. * Added method for handling boolean callbacks such as KMainWindow::queryClose() Tues Feb 20 12:40:00 2001 Richard Dale * Beta 0.3 baseline * Regenerated sources for Qt 2.2.4 and rebuilt - * Added QValidator::validate() and fixup() callbacks + * Added TQValidator::validate() and fixup() callbacks diff --git a/qtjava/INSTALL b/qtjava/INSTALL index 02a4a074..11303504 100644 --- a/qtjava/INSTALL +++ b/qtjava/INSTALL @@ -45,7 +45,7 @@ The simplest way to compile this package is: Compilers and Options ===================== - Some systems require unusual options for compilation or linking that + Some systems retquire unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like @@ -150,7 +150,7 @@ operates. `--help' Print a summary of the options to `configure', and exit. -`--quiet' +`--tquiet' `--silent' `-q' Do not print messages saying which checks are being made. diff --git a/qtjava/TODO b/qtjava/TODO index dfecdbff..d4e7eafc 100644 --- a/qtjava/TODO +++ b/qtjava/TODO @@ -7,7 +7,7 @@ - Performance tuning - run profiler, measure speed and memory occupancy. Any memory leaks? -- Disconnect with wildcard methods in QObject.cpp. +- Disconnect with wildcard methods in TQObject.cpp. - Split up executables into sub-libraries and java sub-packages? diff --git a/qtjava/configure.in.in b/qtjava/configure.in.in index 0daf4477..754f9fad 100644 --- a/qtjava/configure.in.in +++ b/qtjava/configure.in.in @@ -1,8 +1,8 @@ KDE_CHECK_JAVA([qtjava]) if test "x$kde_cv_java_bindir" = xno; then - QTJAVA="" + TQTJAVA="" else - QTJAVA="qtjava" + TQTJAVA="qtjava" fi -AC_SUBST(QTJAVA) +AC_SUBST(TQTJAVA) diff --git a/qtjava/designer/juic/common/QtClasses.xml b/qtjava/designer/juic/common/QtClasses.xml index d20b6576..1c02fd7c 100644 --- a/qtjava/designer/juic/common/QtClasses.xml +++ b/qtjava/designer/juic/common/QtClasses.xml @@ -1,1725 +1,1725 @@ - QAccelEventHandling + TQAccelEventHandling - QAccel + TQAccel - QAccelSignals + TQAccelSignals - QAccessibleInterface + TQAccessibleInterface - QAccessible + TQAccessible - QAccessibleObjectEventHandling + TQAccessibleObjectEventHandling - QAccessibleObject + TQAccessibleObject - QAccessibleObjectSignals + TQAccessibleObjectSignals - QActionEventHandling + TQActionEventHandling - QActionGroupEventHandling + TQActionGroupEventHandling - QActionGroup + TQActionGroup - QActionGroupSignals + TQActionGroupSignals - QAction + TQAction - QActionSignals + TQActionSignals - QApplicationEventHandling + TQApplicationEventHandling - QApplication + TQApplication - QApplicationSignals + TQApplicationSignals - QAsyncIO + TQAsyncIO - QAuServer + TQAuServer - QBig5Codec + TQBig5Codec - QBitmap + TQBitmap - QBoxLayoutEventHandling + TQBoxLayoutEventHandling - QBoxLayout + TQBoxLayout - QBoxLayoutSignals + TQBoxLayoutSignals - QBrush + TQBrush - QBuffer + TQBuffer - QButtonEventHandling + TQButtonEventHandling - QButtonGroupEventHandling + TQButtonGroupEventHandling - QButtonGroup + TQButtonGroup - QButtonGroupSignals + TQButtonGroupSignals - QButton + TQButton - QButtonSignals + TQButtonSignals - QCanvasEllipse + TQCanvasEllipse - QCanvasEventHandling + TQCanvasEventHandling - QCanvasItem + TQCanvasItem - QCanvas + TQCanvas - QCanvasLine + TQCanvasLine - QCanvasPixmapArray + TQCanvasPixmapArray - QCanvasPixmap + TQCanvasPixmap - QCanvasPolygonalItem + TQCanvasPolygonalItem - QCanvasPolygon + TQCanvasPolygon - QCanvasRectangle + TQCanvasRectangle - QCanvasSignals + TQCanvasSignals - QCanvasSpline + TQCanvasSpline - QCanvasSprite + TQCanvasSprite - QCanvasText + TQCanvasText - QCanvasViewEventHandling + TQCanvasViewEventHandling - QCanvasView + TQCanvasView - QCanvasViewSignals + TQCanvasViewSignals - QCDEStyleEventHandling + TQCDEStyleEventHandling - QCDEStyle + TQCDEStyle - QCDEStyleSignals + TQCDEStyleSignals - QCheckBoxEventHandling + TQCheckBoxEventHandling - QCheckBox + TQCheckBox - QCheckBoxSignals + TQCheckBoxSignals - QCheckListItem + TQCheckListItem - QCheckTableItem + TQCheckTableItem - QChildEvent + TQChildEvent - QClassInfo + TQClassInfo - QClipboard + TQClipboard - QCloseEvent + TQCloseEvent - QColorDialog + TQColorDialog - QColorDragEventHandling + TQColorDragEventHandling - QColorDrag + TQColorDrag - QColorDragSignals + TQColorDragSignals - QColorGroup + TQColorGroup - QColor + TQColor - QComboBoxEventHandling + TQComboBoxEventHandling - QComboBox + TQComboBox - QComboBoxSignals + TQComboBoxSignals - QComboTableItem + TQComboTableItem - QCommonStyle + TQCommonStyle - QContextMenuEvent + TQContextMenuEvent - QCursor + TQCursor - QCustomEvent + TQCustomEvent - QCustomMenuItem + TQCustomMenuItem - QDataBrowserEventHandling + TQDataBrowserEventHandling - QDataBrowser + TQDataBrowser - QDataBrowserSignals + TQDataBrowserSignals - QDataPumpEventHandling + TQDataPumpEventHandling - QDataPump + TQDataPump - QDataPumpSignals + TQDataPumpSignals - QDataSink + TQDataSink - QDataSource + TQDataSource - QDataStream + TQDataStream - QDataTableEventHandling + TQDataTableEventHandling - QDataTable + TQDataTable - QDataTableSignals + TQDataTableSignals - QDataViewEventHandling + TQDataViewEventHandling - QDataView + TQDataView - QDataViewSignals + TQDataViewSignals - QDateEditEventHandling + TQDateEditEventHandling - QDateEdit + TQDateEdit - QDateEditSignals + TQDateEditSignals - QDateTimeEditBase + TQDateTimeEditBase - QDateTimeEditEventHandling + TQDateTimeEditEventHandling - QDateTimeEdit + TQDateTimeEdit - QDateTimeEditSignals + TQDateTimeEditSignals - QDesktopWidgetEventHandling + TQDesktopWidgetEventHandling - QDesktopWidget + TQDesktopWidget - QDesktopWidgetSignals + TQDesktopWidgetSignals - QDialEventHandling + TQDialEventHandling - QDial + TQDial - QDialogEventHandling + TQDialogEventHandling - QDialog + TQDialog - QDialogSignals + TQDialogSignals - QDialSignals + TQDialSignals - QDir + TQDir - QDnsEventHandling + TQDnsEventHandling - QDns + TQDns - QDnsSignals + TQDnsSignals - QDockAreaEventHandling + TQDockAreaEventHandling - QDockArea + TQDockArea - QDockAreaSignals + TQDockAreaSignals - QDockWindowEventHandling + TQDockWindowEventHandling - QDockWindow + TQDockWindow - QDockWindowSignals + TQDockWindowSignals - QDomAttr + TQDomAttr - QDomCDATASection + TQDomCDATASection - QDomCharacterData + TQDomCharacterData - QDomComment + TQDomComment - QDomDocumentFragment + TQDomDocumentFragment - QDomDocument + TQDomDocument - QDomDocumentType + TQDomDocumentType - QDomElement + TQDomElement - QDomEntity + TQDomEntity - QDomEntityReference + TQDomEntityReference - QDomImplementation + TQDomImplementation - QDomNamedNodeMap + TQDomNamedNodeMap - QDomNode + TQDomNode - QDomNodeList + TQDomNodeList - QDomNotation + TQDomNotation - QDomProcessingInstruction + TQDomProcessingInstruction - QDomText + TQDomText - QDoubleValidatorEventHandling + TQDoubleValidatorEventHandling - QDoubleValidator + TQDoubleValidator - QDoubleValidatorSignals + TQDoubleValidatorSignals - QDragEnterEvent + TQDragEnterEvent - QDragLeaveEvent + TQDragLeaveEvent - QDragManager + TQDragManager - QDragMoveEvent + TQDragMoveEvent - QDragObjectEventHandling + TQDragObjectEventHandling - QDragObject + TQDragObject - QDragObjectSignals + TQDragObjectSignals - QDragResponseEvent + TQDragResponseEvent - QDropEvent + TQDropEvent - QDropSite + TQDropSite - QEditorFactoryEventHandling + TQEditorFactoryEventHandling - QEditorFactory + TQEditorFactory - QEditorFactorySignals + TQEditorFactorySignals - QErrorMessageEventHandling + TQErrorMessageEventHandling - QErrorMessage + TQErrorMessage - QErrorMessageSignals + TQErrorMessageSignals - QEucJpCodec + TQEucJpCodec - QEucKrCodec + TQEucKrCodec - QEvent + TQEvent - QFileDialogEventHandling + TQFileDialogEventHandling - QFileDialog + TQFileDialog - QFileDialogSignals + TQFileDialogSignals - QFileIconProviderEventHandling + TQFileIconProviderEventHandling - QFileIconProvider + TQFileIconProvider - QFileIconProviderSignals + TQFileIconProviderSignals - QFileInfo + TQFileInfo - QFile + TQFile - QFilePreview + TQFilePreview - QFocusData + TQFocusData - QFocusEvent + TQFocusEvent - QFontDatabase + TQFontDatabase - QFontDialog + TQFontDialog - QFontInfo + TQFontInfo - QFont + TQFont - QFontMetrics + TQFontMetrics - QFrameEventHandling + TQFrameEventHandling - QFrame + TQFrame - QFrameSignals + TQFrameSignals - QFtpEventHandling + TQFtpEventHandling - QFtp + TQFtp - QFtpSignals + TQFtpSignals - QGbkCodec + TQGbkCodec - QGLColormap + TQGLColormap - QGLContext + TQGLContext - QGLFormat + TQGLFormat - QGL + TQGL - QGLWidgetEventHandling + TQGLWidgetEventHandling - QGLWidget + TQGLWidget - QGLWidgetSignals + TQGLWidgetSignals - QGridEventHandling + TQGridEventHandling - QGrid + TQGrid - QGridLayoutEventHandling + TQGridLayoutEventHandling - QGridLayout + TQGridLayout - QGridLayoutSignals + TQGridLayoutSignals - QGridSignals + TQGridSignals - QGridView + TQGridView - QGroupBoxEventHandling + TQGroupBoxEventHandling - QGroupBox + TQGroupBox - QGroupBoxSignals + TQGroupBoxSignals - QHBoxEventHandling + TQHBoxEventHandling - QHBox + TQHBox - QHBoxLayoutEventHandling + TQHBoxLayoutEventHandling - QHBoxLayout + TQHBoxLayout - QHBoxLayoutSignals + TQHBoxLayoutSignals - QHBoxSignals + TQHBoxSignals - QHButtonGroupEventHandling + TQHButtonGroupEventHandling - QHButtonGroup + TQHButtonGroup - QHButtonGroupSignals + TQHButtonGroupSignals - QHeaderEventHandling + TQHeaderEventHandling - QHeader + TQHeader - QHeaderSignals + TQHeaderSignals - QHebrewCodec + TQHebrewCodec - QHGroupBoxEventHandling + TQHGroupBoxEventHandling - QHGroupBox + TQHGroupBox - QHGroupBoxSignals + TQHGroupBoxSignals - QHideEvent + TQHideEvent - QHostAddress + TQHostAddress - QHttpEventHandling + TQHttpEventHandling - QHttp + TQHttp - QHttpSignals + TQHttpSignals - QIconDragEventHandling + TQIconDragEventHandling - QIconDragItem + TQIconDragItem - QIconDrag + TQIconDrag - QIconDragSignals + TQIconDragSignals - QIconSet + TQIconSet - QIconViewEventHandling + TQIconViewEventHandling - QIconViewItem + TQIconViewItem - QIconView + TQIconView - QIconViewSignals + TQIconViewSignals - QImageConsumer + TQImageConsumer - QImageDecoder + TQImageDecoder - QImageDragEventHandling + TQImageDragEventHandling - QImageDrag + TQImageDrag - QImageDragSignals + TQImageDragSignals - QImageFormat + TQImageFormat - QImageFormatType + TQImageFormatType - QImageIO + TQImageIO - QImage + TQImage - QImageTextKeyLang + TQImageTextKeyLang - QIMEvent + TQIMEvent - QInputDialog + TQInputDialog - QInterlaceStyleEventHandling + TQInterlaceStyleEventHandling - QInterlaceStyleSignals + TQInterlaceStyleSignals - QIntValidatorEventHandling + TQIntValidatorEventHandling - QIntValidator + TQIntValidator - QIntValidatorSignals + TQIntValidatorSignals - QIODeviceInterface + TQIODeviceInterface - QIODevice + TQIODevice - QIODeviceSource + TQIODeviceSource - QJisCodec + TQJisCodec - QJpUnicodeConv + TQJpUnicodeConv - QKeyEvent + TQKeyEvent - QKeySequence + TQKeySequence - QLabelEventHandling + TQLabelEventHandling - QLabel + TQLabel - QLabelSignals + TQLabelSignals - QLayoutItemInterface + TQLayoutItemInterface - QLayoutItem + TQLayoutItem - QLayout + TQLayout - QLCDNumberEventHandling + TQLCDNumberEventHandling - QLCDNumber + TQLCDNumber - QLCDNumberSignals + TQLCDNumberSignals - QLibrary + TQLibrary - QLineEditEventHandling + TQLineEditEventHandling - QLineEdit + TQLineEdit - QLineEditSignals + TQLineEditSignals - QListBoxEventHandling + TQListBoxEventHandling - QListBoxItem + TQListBoxItem - QListBox + TQListBox - QListBoxPixmap + TQListBoxPixmap - QListBoxSignals + TQListBoxSignals - QListBoxText + TQListBoxText - QListViewEventHandling + TQListViewEventHandling - QListViewItem + TQListViewItem - QListView + TQListView - QListViewSignals + TQListViewSignals - QLocalFsEventHandling + TQLocalFsEventHandling - QLocalFs + TQLocalFs - QLocalFsSignals + TQLocalFsSignals - QMainWindowEventHandling + TQMainWindowEventHandling - QMainWindow + TQMainWindow - QMainWindowSignals + TQMainWindowSignals - QMenuBarEventHandling + TQMenuBarEventHandling - QMenuBar + TQMenuBar - QMenuBarSignals + TQMenuBarSignals - QMenuDataInterface + TQMenuDataInterface - QMenuData + TQMenuData - QMenuItem + TQMenuItem - QMessageBoxEventHandling + TQMessageBoxEventHandling - QMessageBox + TQMessageBox - QMessageBoxSignals + TQMessageBoxSignals - QMetaData + TQMetaData - QMetaEnum + TQMetaEnum - QMetaObject + TQMetaObject - QMetaProperty + TQMetaProperty - QMimeSourceFactory + TQMimeSourceFactory - QMimeSourceInterface + TQMimeSourceInterface - QMimeSource + TQMimeSource - QMotifPlusStyleEventHandling + TQMotifPlusStyleEventHandling - QMotifPlusStyle + TQMotifPlusStyle - QMotifPlusStyleSignals + TQMotifPlusStyleSignals - QMotifStyleEventHandling + TQMotifStyleEventHandling - QMotifStyle + TQMotifStyle - QMotifStyleSignals + TQMotifStyleSignals - QMouseEvent + TQMouseEvent - QMoveEvent + TQMoveEvent - QMovie + TQMovie - QMultiLineEditEventHandling + TQMultiLineEditEventHandling - QMultiLineEdit + TQMultiLineEdit - QMultiLineEditSignals + TQMultiLineEditSignals - QNetworkOperationEventHandling + TQNetworkOperationEventHandling - QNetworkOperation + TQNetworkOperation - QNetworkOperationSignals + TQNetworkOperationSignals - QNetworkProtocolEventHandling + TQNetworkProtocolEventHandling - QNetworkProtocol + TQNetworkProtocol - QNetworkProtocolSignals + TQNetworkProtocolSignals - QObjectCleanupHandlerEventHandling + TQObjectCleanupHandlerEventHandling - QObjectCleanupHandler + TQObjectCleanupHandler - QObjectCleanupHandlerSignals + TQObjectCleanupHandlerSignals - QObjectEventHandling + TQObjectEventHandling - QObject + TQObject - QObjectSignals + TQObjectSignals - QPaintDeviceInterface + TQPaintDeviceInterface - QPaintDevice + TQPaintDevice - QPaintDeviceMetrics + TQPaintDeviceMetrics - QPainter + TQPainter - QPaintEvent + TQPaintEvent - QPalette + TQPalette - QPen + TQPen - QPicture + TQPicture - QPixmap + TQPixmap - QPlatinumStyleEventHandling + TQPlatinumStyleEventHandling - QPlatinumStyle + TQPlatinumStyle - QPlatinumStyleSignals + TQPlatinumStyleSignals - QPNGImagePacker + TQPNGImagePacker - QPNGImageWriter + TQPNGImageWriter - QPointArray + TQPointArray - QPoint + TQPoint - QPolygonScanner + TQPolygonScanner - QPopupMenuEventHandling + TQPopupMenuEventHandling - QPopupMenu + TQPopupMenu - QPopupMenuSignals + TQPopupMenuSignals - QPrintDialogEventHandling + TQPrintDialogEventHandling - QPrintDialog + TQPrintDialog - QPrintDialogSignals + TQPrintDialogSignals - QPrinter + TQPrinter - QProcessEventHandling + TQProcessEventHandling - QProcess + TQProcess - QProcessSignals + TQProcessSignals - QProgressBarEventHandling + TQProgressBarEventHandling - QProgressBar + TQProgressBar - QProgressBarSignals + TQProgressBarSignals - QProgressDialogEventHandling + TQProgressDialogEventHandling - QProgressDialog + TQProgressDialog - QProgressDialogSignals + TQProgressDialogSignals - QPushButtonEventHandling + TQPushButtonEventHandling - QPushButton + TQPushButton - QPushButtonSignals + TQPushButtonSignals - QRadioButtonEventHandling + TQRadioButtonEventHandling - QRadioButton + TQRadioButton - QRadioButtonSignals + TQRadioButtonSignals - QRangeControlInterface + TQRangeControlInterface - QRangeControl + TQRangeControl - QRect + TQRect - QRegExp + TQRegExp - QRegExpValidatorEventHandling + TQRegExpValidatorEventHandling - QRegExpValidator + TQRegExpValidator - QRegExpValidatorSignals + TQRegExpValidatorSignals - QRegion + TQRegion - QResizeEvent + TQResizeEvent - QScrollBarEventHandling + TQScrollBarEventHandling - QScrollBar + TQScrollBar - QScrollBarSignals + TQScrollBarSignals - QScrollViewEventHandling + TQScrollViewEventHandling - QScrollView + TQScrollView - QScrollViewSignals + TQScrollViewSignals - QSemiModalEventHandling + TQSemiModalEventHandling - QSemiModal + TQSemiModal - QSemiModalSignals + TQSemiModalSignals - QServerSocket + TQServerSocket - QSessionManager + TQSessionManager - QSettings + TQSettings - QSGIStyleEventHandling + TQSGIStyleEventHandling - QSGIStyle + TQSGIStyle - QSGIStyleSignals + TQSGIStyleSignals - QShowEvent + TQShowEvent - QSignalEventHandling + TQSignalEventHandling - QSignal + TQSignal - QSignalMapperEventHandling + TQSignalMapperEventHandling - QSignalMapper + TQSignalMapper - QSignalMapperSignals + TQSignalMapperSignals - QSignalSignals + TQSignalSignals - QSimpleRichText + TQSimpleRichText - QSizeGripEventHandling + TQSizeGripEventHandling - QSizeGrip + TQSizeGrip - QSizeGripSignals + TQSizeGripSignals - QSize + TQSize - QSizePolicy + TQSizePolicy - QSjisCodec + TQSjisCodec - QSliderEventHandling + TQSliderEventHandling - QSlider + TQSlider - QSliderSignals + TQSliderSignals - QSocketDevice + TQSocketDevice - QSocketEventHandling + TQSocketEventHandling - QSocket + TQSocket - QSocketNotifierEventHandling + TQSocketNotifierEventHandling - QSocketNotifier + TQSocketNotifier - QSocketNotifierSignals + TQSocketNotifierSignals - QSocketSignals + TQSocketSignals - QSoundEventHandling + TQSoundEventHandling - QSound + TQSound - QSoundSignals + TQSoundSignals - QSpacerItem + TQSpacerItem - QSpinBoxEventHandling + TQSpinBoxEventHandling - QSpinBox + TQSpinBox - QSpinBoxSignals + TQSpinBoxSignals - QSplitterEventHandling + TQSplitterEventHandling - QSplitter + TQSplitter - QSplitterSignals + TQSplitterSignals - QSqlCursor + TQSqlCursor - QSqlDatabaseEventHandling + TQSqlDatabaseEventHandling - QSqlDatabase + TQSqlDatabase - QSqlDatabaseSignals + TQSqlDatabaseSignals - QSqlDriver + TQSqlDriver - QSqlEditorFactoryEventHandling + TQSqlEditorFactoryEventHandling - QSqlEditorFactory + TQSqlEditorFactory - QSqlEditorFactorySignals + TQSqlEditorFactorySignals - QSqlError + TQSqlError - QSqlFieldInfo + TQSqlFieldInfo - QSqlField + TQSqlField - QSqlFormEventHandling + TQSqlFormEventHandling - QSqlForm + TQSqlForm - QSqlFormSignals + TQSqlFormSignals - QSqlIndex + TQSqlIndex - QSql + TQSql - QSqlPropertyMap + TQSqlPropertyMap - QSqlQueryInterface + TQSqlQueryInterface - QSqlQuery + TQSqlQuery - QSqlRecordInfo + TQSqlRecordInfo - QSqlRecord + TQSqlRecord - QSqlResult + TQSqlResult - QStatusBarEventHandling + TQStatusBarEventHandling - QStatusBar + TQStatusBar - QStatusBarSignals + TQStatusBarSignals - QStoredDragEventHandling + TQStoredDragEventHandling - QStoredDrag + TQStoredDrag - QStoredDragSignals + TQStoredDragSignals - QStyleFactory + TQStyleFactory - QStyle + TQStyle - QStyleOption + TQStyleOption - QStyleSheetEventHandling + TQStyleSheetEventHandling - QStyleSheetItem + TQStyleSheetItem - QStyleSheet + TQStyleSheet - QStyleSheetSignals + TQStyleSheetSignals - QTabBarEventHandling + TQTabBarEventHandling - QTabBar + TQTabBar - QTabBarSignals + TQTabBarSignals - QTabDialogEventHandling + TQTabDialogEventHandling - QTabDialog + TQTabDialog - QTabDialogSignals + TQTabDialogSignals - QTab + TQTab - QTableEventHandling + TQTableEventHandling - QTableItem + TQTableItem - QTable + TQTable - QTableSelection + TQTableSelection - QTableSignals + TQTableSignals - QTabletEvent + TQTabletEvent - QTabWidgetEventHandling + TQTabWidgetEventHandling - QTabWidget + TQTabWidget - QTabWidgetSignals + TQTabWidgetSignals - QTextBrowserEventHandling + TQTextBrowserEventHandling - QTextBrowser + TQTextBrowser - QTextBrowserSignals + TQTextBrowserSignals - QTextCodec + TQTextCodec - QTextDecoder + TQTextDecoder - QTextDragEventHandling + TQTextDragEventHandling - QTextDrag + TQTextDrag - QTextDragSignals + TQTextDragSignals - QTextEditEventHandling + TQTextEditEventHandling - QTextEdit + TQTextEdit - QTextEditSignals + TQTextEditSignals - QTextEncoder + TQTextEncoder - QTextIStream + TQTextIStream - QTextOStream + TQTextOStream - QTextStream + TQTextStream - QTextViewEventHandling + TQTextViewEventHandling - QTextView + TQTextView - QTextViewSignals + TQTextViewSignals - QTimeEditEventHandling + TQTimeEditEventHandling - QTimeEdit + TQTimeEdit - QTimeEditSignals + TQTimeEditSignals - QTimerEventHandling + TQTimerEventHandling - QTimerEvent + TQTimerEvent - QTimer + TQTimer - QTimerSignals + TQTimerSignals Qt - QToolBarEventHandling + TQToolBarEventHandling - QToolBar + TQToolBar - QToolBarSignals + TQToolBarSignals - QToolButtonEventHandling + TQToolButtonEventHandling - QToolButton + TQToolButton - QToolButtonSignals + TQToolButtonSignals - QToolTipGroupEventHandling + TQToolTipGroupEventHandling - QToolTipGroup + TQToolTipGroup - QToolTipGroupSignals + TQToolTipGroupSignals - QToolTip + TQToolTip - QTranslatorEventHandling + TQTranslatorEventHandling - QTranslator + TQTranslator - QTranslatorMessage + TQTranslatorMessage - QTranslatorSignals + TQTranslatorSignals - QTsciiCodec + TQTsciiCodec QtSupport - QUriDragEventHandling + TQUriDragEventHandling - QUriDrag + TQUriDrag - QUriDragSignals + TQUriDragSignals - QUrlInfo + TQUrlInfo - QUrlInterface + TQUrlInterface - QUrl + TQUrl - QUrlOperatorEventHandling + TQUrlOperatorEventHandling - QUrlOperator + TQUrlOperator - QUrlOperatorSignals + TQUrlOperatorSignals - QUtf16Codec + TQUtf16Codec - QUtf8Codec + TQUtf8Codec - QUuid + TQUuid - QValidator + TQValidator - QVariant + TQVariant - QVBoxEventHandling + TQVBoxEventHandling - QVBox + TQVBox - QVBoxLayoutEventHandling + TQVBoxLayoutEventHandling - QVBoxLayout + TQVBoxLayout - QVBoxLayoutSignals + TQVBoxLayoutSignals - QVBoxSignals + TQVBoxSignals - QVButtonGroupEventHandling + TQVButtonGroupEventHandling - QVButtonGroup + TQVButtonGroup - QVButtonGroupSignals + TQVButtonGroupSignals - QVGroupBoxEventHandling + TQVGroupBoxEventHandling - QVGroupBox + TQVGroupBox - QVGroupBoxSignals + TQVGroupBoxSignals - QWhatsThis + TQWhatsThis - QWheelEvent + TQWheelEvent - QWidgetEventHandling + TQWidgetEventHandling - QWidgetItem + TQWidgetItem - QWidget + TQWidget - QWidgetSignals + TQWidgetSignals - QWidgetStackEventHandling + TQWidgetStackEventHandling - QWidgetStack + TQWidgetStack - QWidgetStackSignals + TQWidgetStackSignals - QWindowsStyleEventHandling + TQWindowsStyleEventHandling - QWindowsStyle + TQWindowsStyle - QWindowsStyleSignals + TQWindowsStyleSignals - QWizardEventHandling + TQWizardEventHandling - QWizard + TQWizard - QWizardSignals + TQWizardSignals - QWMatrix + TQWMatrix - QWorkspaceEventHandling + TQWorkspaceEventHandling - QWorkspace + TQWorkspace - QWorkspaceSignals + TQWorkspaceSignals - QXmlAttributes + TQXmlAttributes - QXmlContentHandlerInterface + TQXmlContentHandlerInterface - QXmlContentHandler + TQXmlContentHandler - QXmlDeclHandlerInterface + TQXmlDeclHandlerInterface - QXmlDeclHandler + TQXmlDeclHandler - QXmlDefaultHandler + TQXmlDefaultHandler - QXmlDTDHandlerInterface + TQXmlDTDHandlerInterface - QXmlDTDHandler + TQXmlDTDHandler - QXmlEntityResolverInterface + TQXmlEntityResolverInterface - QXmlEntityResolver + TQXmlEntityResolver - QXmlErrorHandlerInterface + TQXmlErrorHandlerInterface - QXmlErrorHandler + TQXmlErrorHandler - QXmlInputSource + TQXmlInputSource - QXmlLexicalHandlerInterface + TQXmlLexicalHandlerInterface - QXmlLexicalHandler + TQXmlLexicalHandler - QXmlLocator + TQXmlLocator - QXmlNamespaceSupport + TQXmlNamespaceSupport - QXmlParseException + TQXmlParseException - QXmlReader + TQXmlReader - QXmlSimpleReader + TQXmlSimpleReader diff --git a/qtjava/designer/juic/common/classes.xsl b/qtjava/designer/juic/common/classes.xsl index c6acbfa4..add11239 100644 --- a/qtjava/designer/juic/common/classes.xsl +++ b/qtjava/designer/juic/common/classes.xsl @@ -26,44 +26,44 @@ ** Qt classes that should be used for a ui tag. --> - QAction - QKeySequence + TQAction + TQKeySequence - QActionGroup + TQActionGroup - QColor + TQColor - QCursor + TQCursor - QFont + TQFont - QGridLayout + TQGridLayout - QHBoxLayout + TQHBoxLayout - QIconSet - QPixmap + TQIconSet + TQPixmap @@ -75,56 +75,56 @@ - QMenuBar - QPopupMenu + TQMenuBar + TQPopupMenu - QPixmap + TQPixmap - QRect + TQRect - QSize + TQSize - QSizePolicy + TQSizePolicy - QSpacerItem - QSizePolicy + TQSpacerItem + TQSizePolicy - QToolBar + TQToolBar - QVBoxLayout + TQVBoxLayout - QPalette + TQPalette - QColorGroup + TQColorGroup @@ -138,12 +138,12 @@ - - QWidget + + TQWidget - - QDataBrowser - QSqlForm + + TQDataBrowser + TQSqlForm @@ -153,23 +153,23 @@ - QKeySequence + TQKeySequence - QToolTip + TQToolTip - QWhatsThis + TQWhatsThis - QSqlDatabase - QSqlCursor + TQSqlDatabase + TQSqlCursor @@ -184,39 +184,39 @@ ** do not recurse and return a simple text value --> - QAction + TQAction - QActionGroup + TQActionGroup - QGridLayout + TQGridLayout - QHBoxLayout + TQHBoxLayout - QIconSet + TQIconSet - QMenuBar + TQMenuBar - QPixmap + TQPixmap - QSpacerItem + TQSpacerItem - QToolBar + TQToolBar - QVBoxLayout + TQVBoxLayout - - QWidget + + TQWidget diff --git a/qtjava/designer/juic/common/main.xsl b/qtjava/designer/juic/common/main.xsl index fd18d274..46f15187 100644 --- a/qtjava/designer/juic/common/main.xsl +++ b/qtjava/designer/juic/common/main.xsl @@ -101,11 +101,11 @@ KCmdLineArgs - QApplication + TQApplication - QWidget + TQWidget @@ -238,7 +238,7 @@ --> - + @@ -311,8 +311,8 @@ ** @param data opaque data for user purpose --> - - + + @@ -322,10 +322,10 @@ - - + + - Declare a QLayoutWidget + Declare a TQLayoutWidget @@ -338,7 +338,7 @@ - QPopupMenu + TQPopupMenu @@ -380,7 +380,7 @@ - + @@ -392,7 +392,7 @@ - + diff --git a/qtjava/designer/juic/common/util.xsl b/qtjava/designer/juic/common/util.xsl index 9432b468..0a41bde5 100644 --- a/qtjava/designer/juic/common/util.xsl +++ b/qtjava/designer/juic/common/util.xsl @@ -124,7 +124,7 @@ + 'ABCDEFGHIJKLMNOPTQRSTUVWXYZ')"/> @@ -136,7 +136,7 @@ @@ -286,7 +286,7 @@ ), ')' ), - 'QString', + 'TQString', 'String')"/> diff --git a/qtjava/designer/juic/java/JavaClasses.xml b/qtjava/designer/juic/java/JavaClasses.xml index 0981474e..f2275a0e 100644 --- a/qtjava/designer/juic/java/JavaClasses.xml +++ b/qtjava/designer/juic/java/JavaClasses.xml @@ -1,1971 +1,1971 @@ org.kde.qt - QAccelEventHandling + TQAccelEventHandling org.kde.qt - QAccel + TQAccel org.kde.qt - QAccelSignals + TQAccelSignals org.kde.qt - QAccessibleInterface + TQAccessibleInterface org.kde.qt - QAccessible + TQAccessible org.kde.qt - QAccessibleObjectEventHandling + TQAccessibleObjectEventHandling org.kde.qt - QAccessibleObject + TQAccessibleObject org.kde.qt - QAccessibleObjectSignals + TQAccessibleObjectSignals org.kde.qt - QActionEventHandling + TQActionEventHandling org.kde.qt - QActionGroupEventHandling + TQActionGroupEventHandling org.kde.qt - QActionGroup + TQActionGroup org.kde.qt - QActionGroupSignals + TQActionGroupSignals org.kde.qt - QAction + TQAction org.kde.qt - QActionSignals + TQActionSignals org.kde.qt - QApplicationEventHandling + TQApplicationEventHandling org.kde.qt - QApplication + TQApplication org.kde.qt - QApplicationSignals + TQApplicationSignals org.kde.qt - QAsyncIO + TQAsyncIO org.kde.qt - QAuServer + TQAuServer org.kde.qt - QBig5Codec + TQBig5Codec org.kde.qt - QBitmap + TQBitmap org.kde.qt - QBoxLayoutEventHandling + TQBoxLayoutEventHandling org.kde.qt - QBoxLayout + TQBoxLayout org.kde.qt - QBoxLayoutSignals + TQBoxLayoutSignals org.kde.qt - QBrush + TQBrush org.kde.qt - QBuffer + TQBuffer org.kde.qt - QButtonEventHandling + TQButtonEventHandling org.kde.qt - QButtonGroupEventHandling + TQButtonGroupEventHandling org.kde.qt - QButtonGroup + TQButtonGroup org.kde.qt - QButtonGroupSignals + TQButtonGroupSignals org.kde.qt - QButton + TQButton org.kde.qt - QButtonSignals + TQButtonSignals org.kde.qt - QCanvasEllipse + TQCanvasEllipse org.kde.qt - QCanvasEventHandling + TQCanvasEventHandling org.kde.qt - QCanvasItem + TQCanvasItem org.kde.qt - QCanvas + TQCanvas org.kde.qt - QCanvasLine + TQCanvasLine org.kde.qt - QCanvasPixmapArray + TQCanvasPixmapArray org.kde.qt - QCanvasPixmap + TQCanvasPixmap org.kde.qt - QCanvasPolygonalItem + TQCanvasPolygonalItem org.kde.qt - QCanvasPolygon + TQCanvasPolygon org.kde.qt - QCanvasRectangle + TQCanvasRectangle org.kde.qt - QCanvasSignals + TQCanvasSignals org.kde.qt - QCanvasSpline + TQCanvasSpline org.kde.qt - QCanvasSprite + TQCanvasSprite org.kde.qt - QCanvasText + TQCanvasText org.kde.qt - QCanvasViewEventHandling + TQCanvasViewEventHandling org.kde.qt - QCanvasView + TQCanvasView org.kde.qt - QCanvasViewSignals + TQCanvasViewSignals org.kde.qt - QCDEStyleEventHandling + TQCDEStyleEventHandling org.kde.qt - QCDEStyle + TQCDEStyle org.kde.qt - QCDEStyleSignals + TQCDEStyleSignals org.kde.qt - QCheckBoxEventHandling + TQCheckBoxEventHandling org.kde.qt - QCheckBox + TQCheckBox org.kde.qt - QCheckBoxSignals + TQCheckBoxSignals org.kde.qt - QCheckListItem + TQCheckListItem org.kde.qt - QCheckTableItem + TQCheckTableItem org.kde.qt - QChildEvent + TQChildEvent org.kde.qt - QClassInfo + TQClassInfo org.kde.qt - QClipboard + TQClipboard org.kde.qt - QCloseEvent + TQCloseEvent org.kde.qt - QColorDialog + TQColorDialog org.kde.qt - QColorDragEventHandling + TQColorDragEventHandling org.kde.qt - QColorDrag + TQColorDrag org.kde.qt - QColorDragSignals + TQColorDragSignals org.kde.qt - QColorGroup + TQColorGroup org.kde.qt - QColor + TQColor org.kde.qt - QComboBoxEventHandling + TQComboBoxEventHandling org.kde.qt - QComboBox + TQComboBox org.kde.qt - QComboBoxSignals + TQComboBoxSignals org.kde.qt - QComboTableItem + TQComboTableItem org.kde.qt - QCommonStyle + TQCommonStyle org.kde.qt - QContextMenuEvent + TQContextMenuEvent org.kde.qt - QCursor + TQCursor org.kde.qt - QCustomEvent + TQCustomEvent org.kde.qt - QCustomMenuItem + TQCustomMenuItem org.kde.qt - QDataBrowserEventHandling + TQDataBrowserEventHandling org.kde.qt - QDataBrowser + TQDataBrowser org.kde.qt - QDataBrowserSignals + TQDataBrowserSignals org.kde.qt - QDataPumpEventHandling + TQDataPumpEventHandling org.kde.qt - QDataPump + TQDataPump org.kde.qt - QDataPumpSignals + TQDataPumpSignals org.kde.qt - QDataSink + TQDataSink org.kde.qt - QDataSource + TQDataSource org.kde.qt - QDataStream + TQDataStream org.kde.qt - QDataTableEventHandling + TQDataTableEventHandling org.kde.qt - QDataTable + TQDataTable org.kde.qt - QDataTableSignals + TQDataTableSignals org.kde.qt - QDataViewEventHandling + TQDataViewEventHandling org.kde.qt - QDataView + TQDataView org.kde.qt - QDataViewSignals + TQDataViewSignals org.kde.qt - QDateEditEventHandling + TQDateEditEventHandling org.kde.qt - QDateEdit + TQDateEdit org.kde.qt - QDateEditSignals + TQDateEditSignals org.kde.qt - QDateTimeEditBase + TQDateTimeEditBase org.kde.qt - QDateTimeEditEventHandling + TQDateTimeEditEventHandling org.kde.qt - QDateTimeEdit + TQDateTimeEdit org.kde.qt - QDateTimeEditSignals + TQDateTimeEditSignals org.kde.qt - QDesktopWidgetEventHandling + TQDesktopWidgetEventHandling org.kde.qt - QDesktopWidget + TQDesktopWidget org.kde.qt - QDesktopWidgetSignals + TQDesktopWidgetSignals org.kde.qt - QDialEventHandling + TQDialEventHandling org.kde.qt - QDial + TQDial org.kde.qt - QDialogEventHandling + TQDialogEventHandling org.kde.qt - QDialog + TQDialog org.kde.qt - QDialogSignals + TQDialogSignals org.kde.qt - QDialSignals + TQDialSignals org.kde.qt - QDir + TQDir org.kde.qt - QDnsEventHandling + TQDnsEventHandling org.kde.qt - QDns + TQDns org.kde.qt - QDnsSignals + TQDnsSignals org.kde.qt - QDockAreaEventHandling + TQDockAreaEventHandling org.kde.qt - QDockArea + TQDockArea org.kde.qt - QDockAreaSignals + TQDockAreaSignals org.kde.qt - QDockWindowEventHandling + TQDockWindowEventHandling org.kde.qt - QDockWindow + TQDockWindow org.kde.qt - QDockWindowSignals + TQDockWindowSignals org.kde.qt - QDomAttr + TQDomAttr org.kde.qt - QDomCDATASection + TQDomCDATASection org.kde.qt - QDomCharacterData + TQDomCharacterData org.kde.qt - QDomComment + TQDomComment org.kde.qt - QDomDocumentFragment + TQDomDocumentFragment org.kde.qt - QDomDocument + TQDomDocument org.kde.qt - QDomDocumentType + TQDomDocumentType org.kde.qt - QDomElement + TQDomElement org.kde.qt - QDomEntity + TQDomEntity org.kde.qt - QDomEntityReference + TQDomEntityReference org.kde.qt - QDomImplementation + TQDomImplementation org.kde.qt - QDomNamedNodeMap + TQDomNamedNodeMap org.kde.qt - QDomNode + TQDomNode org.kde.qt - QDomNodeList + TQDomNodeList org.kde.qt - QDomNotation + TQDomNotation org.kde.qt - QDomProcessingInstruction + TQDomProcessingInstruction org.kde.qt - QDomText + TQDomText org.kde.qt - QDoubleValidatorEventHandling + TQDoubleValidatorEventHandling org.kde.qt - QDoubleValidator + TQDoubleValidator org.kde.qt - QDoubleValidatorSignals + TQDoubleValidatorSignals org.kde.qt - QDragEnterEvent + TQDragEnterEvent org.kde.qt - QDragLeaveEvent + TQDragLeaveEvent org.kde.qt - QDragManager + TQDragManager org.kde.qt - QDragMoveEvent + TQDragMoveEvent org.kde.qt - QDragObjectEventHandling + TQDragObjectEventHandling org.kde.qt - QDragObject + TQDragObject org.kde.qt - QDragObjectSignals + TQDragObjectSignals org.kde.qt - QDragResponseEvent + TQDragResponseEvent org.kde.qt - QDropEvent + TQDropEvent org.kde.qt - QDropSite + TQDropSite org.kde.qt - QEditorFactoryEventHandling + TQEditorFactoryEventHandling org.kde.qt - QEditorFactory + TQEditorFactory org.kde.qt - QEditorFactorySignals + TQEditorFactorySignals org.kde.qt - QErrorMessageEventHandling + TQErrorMessageEventHandling org.kde.qt - QErrorMessage + TQErrorMessage org.kde.qt - QErrorMessageSignals + TQErrorMessageSignals org.kde.qt - QEucJpCodec + TQEucJpCodec org.kde.qt - QEucKrCodec + TQEucKrCodec org.kde.qt - QEvent + TQEvent org.kde.qt - QFileDialogEventHandling + TQFileDialogEventHandling org.kde.qt - QFileDialog + TQFileDialog org.kde.qt - QFileDialogSignals + TQFileDialogSignals org.kde.qt - QFileIconProviderEventHandling + TQFileIconProviderEventHandling org.kde.qt - QFileIconProvider + TQFileIconProvider org.kde.qt - QFileIconProviderSignals + TQFileIconProviderSignals org.kde.qt - QFileInfo + TQFileInfo org.kde.qt - QFile + TQFile org.kde.qt - QFilePreview + TQFilePreview org.kde.qt - QFocusData + TQFocusData org.kde.qt - QFocusEvent + TQFocusEvent org.kde.qt - QFontDatabase + TQFontDatabase org.kde.qt - QFontDialog + TQFontDialog org.kde.qt - QFontInfo + TQFontInfo org.kde.qt - QFont + TQFont org.kde.qt - QFontMetrics + TQFontMetrics org.kde.qt - QFrameEventHandling + TQFrameEventHandling org.kde.qt - QFrame + TQFrame org.kde.qt - QFrameSignals + TQFrameSignals org.kde.qt - QFtpEventHandling + TQFtpEventHandling org.kde.qt - QFtp + TQFtp org.kde.qt - QFtpSignals + TQFtpSignals org.kde.qt - QGbkCodec + TQGbkCodec org.kde.qt - QGLColormap + TQGLColormap org.kde.qt - QGLContext + TQGLContext org.kde.qt - QGLFormat + TQGLFormat org.kde.qt - QGL + TQGL org.kde.qt - QGLWidgetEventHandling + TQGLWidgetEventHandling org.kde.qt - QGLWidget + TQGLWidget org.kde.qt - QGLWidgetSignals + TQGLWidgetSignals org.kde.qt - QGridEventHandling + TQGridEventHandling org.kde.qt - QGrid + TQGrid org.kde.qt - QGridLayoutEventHandling + TQGridLayoutEventHandling org.kde.qt - QGridLayout + TQGridLayout org.kde.qt - QGridLayoutSignals + TQGridLayoutSignals org.kde.qt - QGridSignals + TQGridSignals org.kde.qt - QGridView + TQGridView org.kde.qt - QGroupBoxEventHandling + TQGroupBoxEventHandling org.kde.qt - QGroupBox + TQGroupBox org.kde.qt - QGroupBoxSignals + TQGroupBoxSignals org.kde.qt - QHBoxEventHandling + TQHBoxEventHandling org.kde.qt - QHBox + TQHBox org.kde.qt - QHBoxLayoutEventHandling + TQHBoxLayoutEventHandling org.kde.qt - QHBoxLayout + TQHBoxLayout org.kde.qt - QHBoxLayoutSignals + TQHBoxLayoutSignals org.kde.qt - QHBoxSignals + TQHBoxSignals org.kde.qt - QHButtonGroupEventHandling + TQHButtonGroupEventHandling org.kde.qt - QHButtonGroup + TQHButtonGroup org.kde.qt - QHButtonGroupSignals + TQHButtonGroupSignals org.kde.qt - QHeaderEventHandling + TQHeaderEventHandling org.kde.qt - QHeader + TQHeader org.kde.qt - QHeaderSignals + TQHeaderSignals org.kde.qt - QHebrewCodec + TQHebrewCodec org.kde.qt - QHGroupBoxEventHandling + TQHGroupBoxEventHandling org.kde.qt - QHGroupBox + TQHGroupBox org.kde.qt - QHGroupBoxSignals + TQHGroupBoxSignals org.kde.qt - QHideEvent + TQHideEvent org.kde.qt - QHostAddress + TQHostAddress org.kde.qt - QHttpEventHandling + TQHttpEventHandling org.kde.qt - QHttp + TQHttp org.kde.qt - QHttpSignals + TQHttpSignals org.kde.qt - QIconDragEventHandling + TQIconDragEventHandling org.kde.qt - QIconDragItem + TQIconDragItem org.kde.qt - QIconDrag + TQIconDrag org.kde.qt - QIconDragSignals + TQIconDragSignals org.kde.qt - QIconSet + TQIconSet org.kde.qt - QIconViewEventHandling + TQIconViewEventHandling org.kde.qt - QIconViewItem + TQIconViewItem org.kde.qt - QIconView + TQIconView org.kde.qt - QIconViewSignals + TQIconViewSignals org.kde.qt - QImageConsumer + TQImageConsumer org.kde.qt - QImageDecoder + TQImageDecoder org.kde.qt - QImageDragEventHandling + TQImageDragEventHandling org.kde.qt - QImageDrag + TQImageDrag org.kde.qt - QImageDragSignals + TQImageDragSignals org.kde.qt - QImageFormat + TQImageFormat org.kde.qt - QImageFormatType + TQImageFormatType org.kde.qt - QImageIO + TQImageIO org.kde.qt - QImage + TQImage org.kde.qt - QImageTextKeyLang + TQImageTextKeyLang org.kde.qt - QIMEvent + TQIMEvent org.kde.qt - QInputDialog + TQInputDialog org.kde.qt - QInterlaceStyleEventHandling + TQInterlaceStyleEventHandling org.kde.qt - QInterlaceStyleSignals + TQInterlaceStyleSignals org.kde.qt - QIntValidatorEventHandling + TQIntValidatorEventHandling org.kde.qt - QIntValidator + TQIntValidator org.kde.qt - QIntValidatorSignals + TQIntValidatorSignals org.kde.qt - QIODeviceInterface + TQIODeviceInterface org.kde.qt - QIODevice + TQIODevice org.kde.qt - QIODeviceSource + TQIODeviceSource org.kde.qt - QJisCodec + TQJisCodec org.kde.qt - QJpUnicodeConv + TQJpUnicodeConv org.kde.qt - QKeyEvent + TQKeyEvent org.kde.qt - QKeySequence + TQKeySequence org.kde.qt - QLabelEventHandling + TQLabelEventHandling org.kde.qt - QLabel + TQLabel org.kde.qt - QLabelSignals + TQLabelSignals org.kde.qt - QLayoutItemInterface + TQLayoutItemInterface org.kde.qt - QLayoutItem + TQLayoutItem org.kde.qt - QLayout + TQLayout org.kde.qt - QLCDNumberEventHandling + TQLCDNumberEventHandling org.kde.qt - QLCDNumber + TQLCDNumber org.kde.qt - QLCDNumberSignals + TQLCDNumberSignals org.kde.qt - QLibrary + TQLibrary org.kde.qt - QLineEditEventHandling + TQLineEditEventHandling org.kde.qt - QLineEdit + TQLineEdit org.kde.qt - QLineEditSignals + TQLineEditSignals org.kde.qt - QListBoxEventHandling + TQListBoxEventHandling org.kde.qt - QListBoxItem + TQListBoxItem org.kde.qt - QListBox + TQListBox org.kde.qt - QListBoxPixmap + TQListBoxPixmap org.kde.qt - QListBoxSignals + TQListBoxSignals org.kde.qt - QListBoxText + TQListBoxText org.kde.qt - QListViewEventHandling + TQListViewEventHandling org.kde.qt - QListViewItem + TQListViewItem org.kde.qt - QListView + TQListView org.kde.qt - QListViewSignals + TQListViewSignals org.kde.qt - QLocalFsEventHandling + TQLocalFsEventHandling org.kde.qt - QLocalFs + TQLocalFs org.kde.qt - QLocalFsSignals + TQLocalFsSignals org.kde.qt - QMainWindowEventHandling + TQMainWindowEventHandling org.kde.qt - QMainWindow + TQMainWindow org.kde.qt - QMainWindowSignals + TQMainWindowSignals org.kde.qt - QMenuBarEventHandling + TQMenuBarEventHandling org.kde.qt - QMenuBar + TQMenuBar org.kde.qt - QMenuBarSignals + TQMenuBarSignals org.kde.qt - QMenuDataInterface + TQMenuDataInterface org.kde.qt - QMenuData + TQMenuData org.kde.qt - QMenuItem + TQMenuItem org.kde.qt - QMessageBoxEventHandling + TQMessageBoxEventHandling org.kde.qt - QMessageBox + TQMessageBox org.kde.qt - QMessageBoxSignals + TQMessageBoxSignals org.kde.qt - QMetaData + TQMetaData org.kde.qt - QMetaEnum + TQMetaEnum org.kde.qt - QMetaObject + TQMetaObject org.kde.qt - QMetaProperty + TQMetaProperty org.kde.qt - QMimeSourceFactory + TQMimeSourceFactory org.kde.qt - QMimeSourceInterface + TQMimeSourceInterface org.kde.qt - QMimeSource + TQMimeSource org.kde.qt - QMotifPlusStyleEventHandling + TQMotifPlusStyleEventHandling org.kde.qt - QMotifPlusStyle + TQMotifPlusStyle org.kde.qt - QMotifPlusStyleSignals + TQMotifPlusStyleSignals org.kde.qt - QMotifStyleEventHandling + TQMotifStyleEventHandling org.kde.qt - QMotifStyle + TQMotifStyle org.kde.qt - QMotifStyleSignals + TQMotifStyleSignals org.kde.qt - QMouseEvent + TQMouseEvent org.kde.qt - QMoveEvent + TQMoveEvent org.kde.qt - QMovie + TQMovie org.kde.qt - QMultiLineEditEventHandling + TQMultiLineEditEventHandling org.kde.qt - QMultiLineEdit + TQMultiLineEdit org.kde.qt - QMultiLineEditSignals + TQMultiLineEditSignals org.kde.qt - QNetworkOperationEventHandling + TQNetworkOperationEventHandling org.kde.qt - QNetworkOperation + TQNetworkOperation org.kde.qt - QNetworkOperationSignals + TQNetworkOperationSignals org.kde.qt - QNetworkProtocolEventHandling + TQNetworkProtocolEventHandling org.kde.qt - QNetworkProtocol + TQNetworkProtocol org.kde.qt - QNetworkProtocolSignals + TQNetworkProtocolSignals org.kde.qt - QObjectCleanupHandlerEventHandling + TQObjectCleanupHandlerEventHandling org.kde.qt - QObjectCleanupHandler + TQObjectCleanupHandler org.kde.qt - QObjectCleanupHandlerSignals + TQObjectCleanupHandlerSignals org.kde.qt - QObjectEventHandling + TQObjectEventHandling org.kde.qt - QObject + TQObject org.kde.qt - QObjectSignals + TQObjectSignals org.kde.qt - QPaintDeviceInterface + TQPaintDeviceInterface org.kde.qt - QPaintDevice + TQPaintDevice org.kde.qt - QPaintDeviceMetrics + TQPaintDeviceMetrics org.kde.qt - QPainter + TQPainter org.kde.qt - QPaintEvent + TQPaintEvent org.kde.qt - QPalette + TQPalette org.kde.qt - QPen + TQPen org.kde.qt - QPicture + TQPicture org.kde.qt - QPixmap + TQPixmap org.kde.qt - QPlatinumStyleEventHandling + TQPlatinumStyleEventHandling org.kde.qt - QPlatinumStyle + TQPlatinumStyle org.kde.qt - QPlatinumStyleSignals + TQPlatinumStyleSignals org.kde.qt - QPNGImagePacker + TQPNGImagePacker org.kde.qt - QPNGImageWriter + TQPNGImageWriter org.kde.qt - QPointArray + TQPointArray org.kde.qt - QPoint + TQPoint org.kde.qt - QPolygonScanner + TQPolygonScanner org.kde.qt - QPopupMenuEventHandling + TQPopupMenuEventHandling org.kde.qt - QPopupMenu + TQPopupMenu org.kde.qt - QPopupMenuSignals + TQPopupMenuSignals org.kde.qt - QPrintDialogEventHandling + TQPrintDialogEventHandling org.kde.qt - QPrintDialog + TQPrintDialog org.kde.qt - QPrintDialogSignals + TQPrintDialogSignals org.kde.qt - QPrinter + TQPrinter org.kde.qt - QProcessEventHandling + TQProcessEventHandling org.kde.qt - QProcess + TQProcess org.kde.qt - QProcessSignals + TQProcessSignals org.kde.qt - QProgressBarEventHandling + TQProgressBarEventHandling org.kde.qt - QProgressBar + TQProgressBar org.kde.qt - QProgressBarSignals + TQProgressBarSignals org.kde.qt - QProgressDialogEventHandling + TQProgressDialogEventHandling org.kde.qt - QProgressDialog + TQProgressDialog org.kde.qt - QProgressDialogSignals + TQProgressDialogSignals org.kde.qt - QPushButtonEventHandling + TQPushButtonEventHandling org.kde.qt - QPushButton + TQPushButton org.kde.qt - QPushButtonSignals + TQPushButtonSignals org.kde.qt - QRadioButtonEventHandling + TQRadioButtonEventHandling org.kde.qt - QRadioButton + TQRadioButton org.kde.qt - QRadioButtonSignals + TQRadioButtonSignals org.kde.qt - QRangeControlInterface + TQRangeControlInterface org.kde.qt - QRangeControl + TQRangeControl org.kde.qt - QRect + TQRect org.kde.qt - QRegExp + TQRegExp org.kde.qt - QRegExpValidatorEventHandling + TQRegExpValidatorEventHandling org.kde.qt - QRegExpValidator + TQRegExpValidator org.kde.qt - QRegExpValidatorSignals + TQRegExpValidatorSignals org.kde.qt - QRegion + TQRegion org.kde.qt - QResizeEvent + TQResizeEvent org.kde.qt - QScrollBarEventHandling + TQScrollBarEventHandling org.kde.qt - QScrollBar + TQScrollBar org.kde.qt - QScrollBarSignals + TQScrollBarSignals org.kde.qt - QScrollViewEventHandling + TQScrollViewEventHandling org.kde.qt - QScrollView + TQScrollView org.kde.qt - QScrollViewSignals + TQScrollViewSignals org.kde.qt - QSemiModalEventHandling + TQSemiModalEventHandling org.kde.qt - QSemiModal + TQSemiModal org.kde.qt - QSemiModalSignals + TQSemiModalSignals org.kde.qt - QServerSocket + TQServerSocket org.kde.qt - QSessionManager + TQSessionManager org.kde.qt - QSettings + TQSettings org.kde.qt - QSGIStyleEventHandling + TQSGIStyleEventHandling org.kde.qt - QSGIStyle + TQSGIStyle org.kde.qt - QSGIStyleSignals + TQSGIStyleSignals org.kde.qt - QShowEvent + TQShowEvent org.kde.qt - QSignalEventHandling + TQSignalEventHandling org.kde.qt - QSignal + TQSignal org.kde.qt - QSignalMapperEventHandling + TQSignalMapperEventHandling org.kde.qt - QSignalMapper + TQSignalMapper org.kde.qt - QSignalMapperSignals + TQSignalMapperSignals org.kde.qt - QSignalSignals + TQSignalSignals org.kde.qt - QSimpleRichText + TQSimpleRichText org.kde.qt - QSizeGripEventHandling + TQSizeGripEventHandling org.kde.qt - QSizeGrip + TQSizeGrip org.kde.qt - QSizeGripSignals + TQSizeGripSignals org.kde.qt - QSize + TQSize org.kde.qt - QSizePolicy + TQSizePolicy org.kde.qt - QSjisCodec + TQSjisCodec org.kde.qt - QSliderEventHandling + TQSliderEventHandling org.kde.qt - QSlider + TQSlider org.kde.qt - QSliderSignals + TQSliderSignals org.kde.qt - QSocketDevice + TQSocketDevice org.kde.qt - QSocketEventHandling + TQSocketEventHandling org.kde.qt - QSocket + TQSocket org.kde.qt - QSocketNotifierEventHandling + TQSocketNotifierEventHandling org.kde.qt - QSocketNotifier + TQSocketNotifier org.kde.qt - QSocketNotifierSignals + TQSocketNotifierSignals org.kde.qt - QSocketSignals + TQSocketSignals org.kde.qt - QSoundEventHandling + TQSoundEventHandling org.kde.qt - QSound + TQSound org.kde.qt - QSoundSignals + TQSoundSignals org.kde.qt - QSpacerItem + TQSpacerItem org.kde.qt - QSpinBoxEventHandling + TQSpinBoxEventHandling org.kde.qt - QSpinBox + TQSpinBox org.kde.qt - QSpinBoxSignals + TQSpinBoxSignals org.kde.qt - QSplitterEventHandling + TQSplitterEventHandling org.kde.qt - QSplitter + TQSplitter org.kde.qt - QSplitterSignals + TQSplitterSignals org.kde.qt - QSqlCursor + TQSqlCursor org.kde.qt - QSqlDatabaseEventHandling + TQSqlDatabaseEventHandling org.kde.qt - QSqlDatabase + TQSqlDatabase org.kde.qt - QSqlDatabaseSignals + TQSqlDatabaseSignals org.kde.qt - QSqlDriver + TQSqlDriver org.kde.qt - QSqlEditorFactoryEventHandling + TQSqlEditorFactoryEventHandling org.kde.qt - QSqlEditorFactory + TQSqlEditorFactory org.kde.qt - QSqlEditorFactorySignals + TQSqlEditorFactorySignals org.kde.qt - QSqlError + TQSqlError org.kde.qt - QSqlFieldInfo + TQSqlFieldInfo org.kde.qt - QSqlField + TQSqlField org.kde.qt - QSqlFormEventHandling + TQSqlFormEventHandling org.kde.qt - QSqlForm + TQSqlForm org.kde.qt - QSqlFormSignals + TQSqlFormSignals org.kde.qt - QSqlIndex + TQSqlIndex org.kde.qt - QSql + TQSql org.kde.qt - QSqlPropertyMap + TQSqlPropertyMap org.kde.qt - QSqlQueryInterface + TQSqlQueryInterface org.kde.qt - QSqlQuery + TQSqlQuery org.kde.qt - QSqlRecordInfo + TQSqlRecordInfo org.kde.qt - QSqlRecord + TQSqlRecord org.kde.qt - QSqlResult + TQSqlResult org.kde.qt - QStatusBarEventHandling + TQStatusBarEventHandling org.kde.qt - QStatusBar + TQStatusBar org.kde.qt - QStatusBarSignals + TQStatusBarSignals org.kde.qt - QStoredDragEventHandling + TQStoredDragEventHandling org.kde.qt - QStoredDrag + TQStoredDrag org.kde.qt - QStoredDragSignals + TQStoredDragSignals org.kde.qt - QStyleFactory + TQStyleFactory org.kde.qt - QStyle + TQStyle org.kde.qt - QStyleOption + TQStyleOption org.kde.qt - QStyleSheetEventHandling + TQStyleSheetEventHandling org.kde.qt - QStyleSheetItem + TQStyleSheetItem org.kde.qt - QStyleSheet + TQStyleSheet org.kde.qt - QStyleSheetSignals + TQStyleSheetSignals org.kde.qt - QTabBarEventHandling + TQTabBarEventHandling org.kde.qt - QTabBar + TQTabBar org.kde.qt - QTabBarSignals + TQTabBarSignals org.kde.qt - QTabDialogEventHandling + TQTabDialogEventHandling org.kde.qt - QTabDialog + TQTabDialog org.kde.qt - QTabDialogSignals + TQTabDialogSignals org.kde.qt - QTab + TQTab org.kde.qt - QTableEventHandling + TQTableEventHandling org.kde.qt - QTableItem + TQTableItem org.kde.qt - QTable + TQTable org.kde.qt - QTableSelection + TQTableSelection org.kde.qt - QTableSignals + TQTableSignals org.kde.qt - QTabletEvent + TQTabletEvent org.kde.qt - QTabWidgetEventHandling + TQTabWidgetEventHandling org.kde.qt - QTabWidget + TQTabWidget org.kde.qt - QTabWidgetSignals + TQTabWidgetSignals org.kde.qt - QTextBrowserEventHandling + TQTextBrowserEventHandling org.kde.qt - QTextBrowser + TQTextBrowser org.kde.qt - QTextBrowserSignals + TQTextBrowserSignals org.kde.qt - QTextCodec + TQTextCodec org.kde.qt - QTextDecoder + TQTextDecoder org.kde.qt - QTextDragEventHandling + TQTextDragEventHandling org.kde.qt - QTextDrag + TQTextDrag org.kde.qt - QTextDragSignals + TQTextDragSignals org.kde.qt - QTextEditEventHandling + TQTextEditEventHandling org.kde.qt - QTextEdit + TQTextEdit org.kde.qt - QTextEditSignals + TQTextEditSignals org.kde.qt - QTextEncoder + TQTextEncoder org.kde.qt - QTextIStream + TQTextIStream org.kde.qt - QTextOStream + TQTextOStream org.kde.qt - QTextStream + TQTextStream org.kde.qt - QTextViewEventHandling + TQTextViewEventHandling org.kde.qt - QTextView + TQTextView org.kde.qt - QTextViewSignals + TQTextViewSignals org.kde.qt - QTimeEditEventHandling + TQTimeEditEventHandling org.kde.qt - QTimeEdit + TQTimeEdit org.kde.qt - QTimeEditSignals + TQTimeEditSignals org.kde.qt - QTimerEventHandling + TQTimerEventHandling org.kde.qt - QTimerEvent + TQTimerEvent org.kde.qt - QTimer + TQTimer org.kde.qt - QTimerSignals + TQTimerSignals org.kde.qt @@ -1973,63 +1973,63 @@ org.kde.qt - QToolBarEventHandling + TQToolBarEventHandling org.kde.qt - QToolBar + TQToolBar org.kde.qt - QToolBarSignals + TQToolBarSignals org.kde.qt - QToolButtonEventHandling + TQToolButtonEventHandling org.kde.qt - QToolButton + TQToolButton org.kde.qt - QToolButtonSignals + TQToolButtonSignals org.kde.qt - QToolTipGroupEventHandling + TQToolTipGroupEventHandling org.kde.qt - QToolTipGroup + TQToolTipGroup org.kde.qt - QToolTipGroupSignals + TQToolTipGroupSignals org.kde.qt - QToolTip + TQToolTip org.kde.qt - QTranslatorEventHandling + TQTranslatorEventHandling org.kde.qt - QTranslator + TQTranslator org.kde.qt - QTranslatorMessage + TQTranslatorMessage org.kde.qt - QTranslatorSignals + TQTranslatorSignals org.kde.qt - QTsciiCodec + TQTsciiCodec org.kde.qt @@ -2037,263 +2037,263 @@ org.kde.qt - QUriDragEventHandling + TQUriDragEventHandling org.kde.qt - QUriDrag + TQUriDrag org.kde.qt - QUriDragSignals + TQUriDragSignals org.kde.qt - QUrlInfo + TQUrlInfo org.kde.qt - QUrlInterface + TQUrlInterface org.kde.qt - QUrl + TQUrl org.kde.qt - QUrlOperatorEventHandling + TQUrlOperatorEventHandling org.kde.qt - QUrlOperator + TQUrlOperator org.kde.qt - QUrlOperatorSignals + TQUrlOperatorSignals org.kde.qt - QUtf16Codec + TQUtf16Codec org.kde.qt - QUtf8Codec + TQUtf8Codec org.kde.qt - QUuid + TQUuid org.kde.qt - QValidator + TQValidator org.kde.qt - QVariant + TQVariant org.kde.qt - QVBoxEventHandling + TQVBoxEventHandling org.kde.qt - QVBox + TQVBox org.kde.qt - QVBoxLayoutEventHandling + TQVBoxLayoutEventHandling org.kde.qt - QVBoxLayout + TQVBoxLayout org.kde.qt - QVBoxLayoutSignals + TQVBoxLayoutSignals org.kde.qt - QVBoxSignals + TQVBoxSignals org.kde.qt - QVButtonGroupEventHandling + TQVButtonGroupEventHandling org.kde.qt - QVButtonGroup + TQVButtonGroup org.kde.qt - QVButtonGroupSignals + TQVButtonGroupSignals org.kde.qt - QVGroupBoxEventHandling + TQVGroupBoxEventHandling org.kde.qt - QVGroupBox + TQVGroupBox org.kde.qt - QVGroupBoxSignals + TQVGroupBoxSignals org.kde.qt - QWhatsThis + TQWhatsThis org.kde.qt - QWheelEvent + TQWheelEvent org.kde.qt - QWidgetEventHandling + TQWidgetEventHandling org.kde.qt - QWidgetItem + TQWidgetItem org.kde.qt - QWidget + TQWidget org.kde.qt - QWidgetSignals + TQWidgetSignals org.kde.qt - QWidgetStackEventHandling + TQWidgetStackEventHandling org.kde.qt - QWidgetStack + TQWidgetStack org.kde.qt - QWidgetStackSignals + TQWidgetStackSignals org.kde.qt - QWindowsStyleEventHandling + TQWindowsStyleEventHandling org.kde.qt - QWindowsStyle + TQWindowsStyle org.kde.qt - QWindowsStyleSignals + TQWindowsStyleSignals org.kde.qt - QWizardEventHandling + TQWizardEventHandling org.kde.qt - QWizard + TQWizard org.kde.qt - QWizardSignals + TQWizardSignals org.kde.qt - QWMatrix + TQWMatrix org.kde.qt - QWorkspaceEventHandling + TQWorkspaceEventHandling org.kde.qt - QWorkspace + TQWorkspace org.kde.qt - QWorkspaceSignals + TQWorkspaceSignals org.kde.qt - QXmlAttributes + TQXmlAttributes org.kde.qt - QXmlContentHandlerInterface + TQXmlContentHandlerInterface org.kde.qt - QXmlContentHandler + TQXmlContentHandler org.kde.qt - QXmlDeclHandlerInterface + TQXmlDeclHandlerInterface org.kde.qt - QXmlDeclHandler + TQXmlDeclHandler org.kde.qt - QXmlDefaultHandler + TQXmlDefaultHandler org.kde.qt - QXmlDTDHandlerInterface + TQXmlDTDHandlerInterface org.kde.qt - QXmlDTDHandler + TQXmlDTDHandler org.kde.qt - QXmlEntityResolverInterface + TQXmlEntityResolverInterface org.kde.qt - QXmlEntityResolver + TQXmlEntityResolver org.kde.qt - QXmlErrorHandlerInterface + TQXmlErrorHandlerInterface org.kde.qt - QXmlErrorHandler + TQXmlErrorHandler org.kde.qt - QXmlInputSource + TQXmlInputSource org.kde.qt - QXmlLexicalHandlerInterface + TQXmlLexicalHandlerInterface org.kde.qt - QXmlLexicalHandler + TQXmlLexicalHandler org.kde.qt - QXmlLocator + TQXmlLocator org.kde.qt - QXmlNamespaceSupport + TQXmlNamespaceSupport org.kde.qt - QXmlParseException + TQXmlParseException org.kde.qt - QXmlReader + TQXmlReader org.kde.qt - QXmlSimpleReader + TQXmlSimpleReader org.kde.koala diff --git a/qtjava/designer/juic/java/definitions.xsl b/qtjava/designer/juic/java/definitions.xsl index 9e3af53d..f04fbd62 100644 --- a/qtjava/designer/juic/java/definitions.xsl +++ b/qtjava/designer/juic/java/definitions.xsl @@ -29,8 +29,8 @@ - - setCentralWidget( new QWidget( this, "qt_central_widget" ) ); + + setCentralWidget( new TQWidget( this, "qt_central_widget" ) ); @@ -49,12 +49,12 @@ ( - + , " " ); - + addPage( @@ -84,11 +84,11 @@ ( - + - (QWidget)null + (TQWidget)null , @@ -131,7 +131,7 @@ - + .addLayout( @@ -166,7 +166,7 @@ // Column number - + .setNumCols( @@ -419,26 +419,26 @@ - + - + - + - + @@ -463,7 +463,7 @@ @@ -485,7 +485,7 @@ @@ -501,7 +501,7 @@ + ' = new TQMenuBar( this, "', $name, '" );')"/> @@ -209,7 +209,7 @@ }; --> - protected QPixmap + protected TQPixmap = decodePixmap( @@ -302,7 +302,7 @@ * Constructor for class * @param parent the parent widget of this class */ - public (QWidget parent) { + public (TQWidget parent) { this(parent, "", WType_TopLevel); } @@ -311,7 +311,7 @@ * @param parent the patent widget of this class * @param name the name of the widget */ - public (QWidget parent, String name) { + public (TQWidget parent, String name) { this(parent, name, WType_TopLevel); } @@ -321,7 +321,7 @@ * @param name the name of the widget * @param modal modality of the widget */ - public (QWidget parent, String name, boolean modal) { + public (TQWidget parent, String name, boolean modal) { this(parent, name, modal, WType_TopLevel); } @@ -331,9 +331,9 @@ * @param name the name of the widget * @param flags some "or"ed properties */ - public (QWidget parent, String name, int flags) { + public (TQWidget parent, String name, int flags) { super(parent, name, flags); - + statusBar(); if (name == null) setName(""); @@ -365,7 +365,7 @@ @@ -374,8 +374,8 @@ - - + + diff --git a/qtjava/designer/juic/java/util.xsl b/qtjava/designer/juic/java/util.xsl index 7d3c2191..ad5bba42 100644 --- a/qtjava/designer/juic/java/util.xsl +++ b/qtjava/designer/juic/java/util.xsl @@ -34,7 +34,7 @@ - @@ -83,7 +83,7 @@ - + @@ -100,7 +100,7 @@ - + diff --git a/qtjava/javalib.kdevprj b/qtjava/javalib.kdevprj index faeddc5b..eb1e16cd 100644 --- a/qtjava/javalib.kdevprj +++ b/qtjava/javalib.kdevprj @@ -20,7 +20,7 @@ type=DATA addcxxflags=-I.. -I/usr/local/jdk1.2.2/include -I/usr/local/jdk1.2.2/include/linux -I/opt/kde2/include bin_program=javalib cxxflags=\s-O0 -Wall -ldadd=-lqt-mt -lXext -lX11 +ldadd=-ltqt-mt -lXext -lX11 ldflags= [General] @@ -170,2347 +170,2347 @@ install_location= type=DATA [javalib/org/kde/qt/Makefile.am] -files=javalib/org/kde/qt/QAccel.java,javalib/org/kde/qt/QAction.java,javalib/org/kde/qt/QActionGroup.java,javalib/org/kde/qt/QApplication.java,javalib/org/kde/qt/QAsyncIO.java,javalib/org/kde/qt/QAuServer.java,javalib/org/kde/qt/QBig5Codec.java,javalib/org/kde/qt/QBitmap.java,javalib/org/kde/qt/QBoxLayout.java,javalib/org/kde/qt/QBrush.java,javalib/org/kde/qt/QBuffer.java,javalib/org/kde/qt/QButton.java,javalib/org/kde/qt/QButtonGroup.java,javalib/org/kde/qt/QCanvas.java,javalib/org/kde/qt/QCanvasEllipse.java,javalib/org/kde/qt/QCanvasItem.java,javalib/org/kde/qt/QCanvasLine.java,javalib/org/kde/qt/QCanvasPixmap.java,javalib/org/kde/qt/QCanvasPixmapArray.java,javalib/org/kde/qt/QCanvasPolygon.java,javalib/org/kde/qt/QCanvasPolygonalItem.java,javalib/org/kde/qt/QCanvasRectangle.java,javalib/org/kde/qt/QCanvasSprite.java,javalib/org/kde/qt/QCanvasText.java,javalib/org/kde/qt/QCanvasView.java,javalib/org/kde/qt/QCheckListItem.java,javalib/org/kde/qt/QChildEvent.java,javalib/org/kde/qt/QClassInfo.java,javalib/org/kde/qt/QClipboard.java,javalib/org/kde/qt/QCloseEvent.java,javalib/org/kde/qt/QColor.java,javalib/org/kde/qt/QColorDialog.java,javalib/org/kde/qt/QColorDrag.java,javalib/org/kde/qt/QColorGroup.java,javalib/org/kde/qt/QComboBox.java,javalib/org/kde/qt/QCursor.java,javalib/org/kde/qt/QCustomEvent.java,javalib/org/kde/qt/QCustomMenuItem.java,javalib/org/kde/qt/QDataPump.java,javalib/org/kde/qt/QDataSink.java,javalib/org/kde/qt/QDataSource.java,javalib/org/kde/qt/QDataStream.java,javalib/org/kde/qt/QDial.java,javalib/org/kde/qt/QDialog.java,javalib/org/kde/qt/QDir.java,javalib/org/kde/qt/QDomAttr.java,javalib/org/kde/qt/QDomCDATASection.java,javalib/org/kde/qt/QDomCharacterData.java,javalib/org/kde/qt/QDomComment.java,javalib/org/kde/qt/QDomDocument.java,javalib/org/kde/qt/QDomDocumentFragment.java,javalib/org/kde/qt/QDomDocumentType.java,javalib/org/kde/qt/QDomElement.java,javalib/org/kde/qt/QDomEntity.java,javalib/org/kde/qt/QDomEntityReference.java,javalib/org/kde/qt/QDomImplementation.java,javalib/org/kde/qt/QDomNamedNodeMap.java,javalib/org/kde/qt/QDomNode.java,javalib/org/kde/qt/QDomNotation.java,javalib/org/kde/qt/QDomProcessingInstruction.java,javalib/org/kde/qt/QDomText.java,javalib/org/kde/qt/QDoubleValidator.java,javalib/org/kde/qt/QDragEnterEvent.java,javalib/org/kde/qt/QDragLeaveEvent.java,javalib/org/kde/qt/QDragManager.java,javalib/org/kde/qt/QDragMoveEvent.java,javalib/org/kde/qt/QDragObject.java,javalib/org/kde/qt/QDragResponseEvent.java,javalib/org/kde/qt/QDropEvent.java,javalib/org/kde/qt/QDropSite.java,javalib/org/kde/qt/QEucJpCodec.java,javalib/org/kde/qt/QEucKrCodec.java,javalib/org/kde/qt/QEvent.java,javalib/org/kde/qt/QFile.java,javalib/org/kde/qt/QFileDialog.java,javalib/org/kde/qt/QFileIconProvider.java,javalib/org/kde/qt/QFileInfo.java,javalib/org/kde/qt/QFilePreview.java,javalib/org/kde/qt/QFocusData.java,javalib/org/kde/qt/QFocusEvent.java,javalib/org/kde/qt/QFont.java,javalib/org/kde/qt/QFontDatabase.java,javalib/org/kde/qt/QFontDialog.java,javalib/org/kde/qt/QFontInfo.java,javalib/org/kde/qt/QFontMetrics.java,javalib/org/kde/qt/QFrame.java,javalib/org/kde/qt/QGL.java,javalib/org/kde/qt/QGLContext.java,javalib/org/kde/qt/QGLFormat.java,javalib/org/kde/qt/QGLWidget.java,javalib/org/kde/qt/QGbkCodec.java,javalib/org/kde/qt/QGrid.java,javalib/org/kde/qt/QGridLayout.java,javalib/org/kde/qt/QGroupBox.java,javalib/org/kde/qt/QHBox.java,javalib/org/kde/qt/QHBoxLayout.java,javalib/org/kde/qt/QHButtonGroup.java,javalib/org/kde/qt/QHGroupBox.java,javalib/org/kde/qt/QHeader.java,javalib/org/kde/qt/QHebrewCodec.java,javalib/org/kde/qt/QHideEvent.java,javalib/org/kde/qt/QIODevice.java,javalib/org/kde/qt/QIODeviceInterface.java,javalib/org/kde/qt/QIODeviceSource.java,javalib/org/kde/qt/QIconDrag.java,javalib/org/kde/qt/QIconDragItem.java,javalib/org/kde/qt/QIconSet.java,javalib/org/kde/qt/QIconView.java,javalib/org/kde/qt/QIconViewItem.java,javalib/org/kde/qt/QImage.java,javalib/org/kde/qt/QImageConsumer.java,javalib/org/kde/qt/QImageDecoder.java,javalib/org/kde/qt/QImageDrag.java,javalib/org/kde/qt/QImageFormat.java,javalib/org/kde/qt/QImageFormatType.java,javalib/org/kde/qt/QImageIO.java,javalib/org/kde/qt/QImageTextKeyLang.java,javalib/org/kde/qt/QInputDialog.java,javalib/org/kde/qt/QIntValidator.java,javalib/org/kde/qt/QJisCodec.java,javalib/org/kde/qt/QJpUnicodeConv.java,javalib/org/kde/qt/QKeyEvent.java,javalib/org/kde/qt/QLCDNumber.java,javalib/org/kde/qt/QLabel.java,javalib/org/kde/qt/QLayout.java,javalib/org/kde/qt/QLayoutItem.java,javalib/org/kde/qt/QLayoutItemInterface.java,javalib/org/kde/qt/QLineEdit.java,javalib/org/kde/qt/QListBox.java,javalib/org/kde/qt/QListBoxItem.java,javalib/org/kde/qt/QListBoxPixmap.java,javalib/org/kde/qt/QListBoxText.java,javalib/org/kde/qt/QListView.java,javalib/org/kde/qt/QListViewItem.java,javalib/org/kde/qt/QMainWindow.java,javalib/org/kde/qt/QMenuBar.java,javalib/org/kde/qt/QMenuData.java,javalib/org/kde/qt/QMenuDataInterface.java,javalib/org/kde/qt/QMessageBox.java,javalib/org/kde/qt/QMetaData.java,javalib/org/kde/qt/QMetaEnum.java,javalib/org/kde/qt/QMetaObject.java,javalib/org/kde/qt/QMetaProperty.java,javalib/org/kde/qt/QMimeSource.java,javalib/org/kde/qt/QMimeSourceFactory.java,javalib/org/kde/qt/QMimeSourceInterface.java,javalib/org/kde/qt/QMouseEvent.java,javalib/org/kde/qt/QMoveEvent.java,javalib/org/kde/qt/QMovie.java,javalib/org/kde/qt/QMultiLineEdit.java,javalib/org/kde/qt/QNetworkOperation.java,javalib/org/kde/qt/QObject.java,javalib/org/kde/qt/QPaintDevice.java,javalib/org/kde/qt/QPaintDeviceInterface.java,javalib/org/kde/qt/QPaintEvent.java,javalib/org/kde/qt/QPainter.java,javalib/org/kde/qt/QPalette.java,javalib/org/kde/qt/QPen.java,javalib/org/kde/qt/QPicture.java,javalib/org/kde/qt/QPixmap.java,javalib/org/kde/qt/QPoint.java,javalib/org/kde/qt/QPointArray.java,javalib/org/kde/qt/QPolygonScanner.java,javalib/org/kde/qt/QPopupMenu.java,javalib/org/kde/qt/QPrintDialog.java,javalib/org/kde/qt/QPrinter.java,javalib/org/kde/qt/QProgressBar.java,javalib/org/kde/qt/QProgressDialog.java,javalib/org/kde/qt/QPushButton.java,javalib/org/kde/qt/QRadioButton.java,javalib/org/kde/qt/QRangeControl.java,javalib/org/kde/qt/QRangeControlInterface.java,javalib/org/kde/qt/QRect.java,javalib/org/kde/qt/QRegion.java,javalib/org/kde/qt/QResizeEvent.java,javalib/org/kde/qt/QScrollBar.java,javalib/org/kde/qt/QScrollView.java,javalib/org/kde/qt/QSemiModal.java,javalib/org/kde/qt/QSessionManager.java,javalib/org/kde/qt/QShowEvent.java,javalib/org/kde/qt/QSignal.java,javalib/org/kde/qt/QSignalMapper.java,javalib/org/kde/qt/QSimpleRichText.java,javalib/org/kde/qt/QSize.java,javalib/org/kde/qt/QSizeGrip.java,javalib/org/kde/qt/QSizePolicy.java,javalib/org/kde/qt/QSjisCodec.java,javalib/org/kde/qt/QSlider.java,javalib/org/kde/qt/QSound.java,javalib/org/kde/qt/QSpacerItem.java,javalib/org/kde/qt/QSpinBox.java,javalib/org/kde/qt/QSplitter.java,javalib/org/kde/qt/QStatusBar.java,javalib/org/kde/qt/QStoredDrag.java,javalib/org/kde/qt/QStyle.java,javalib/org/kde/qt/QStyleSheet.java,javalib/org/kde/qt/QStyleSheetItem.java,javalib/org/kde/qt/QTab.java,javalib/org/kde/qt/QTabBar.java,javalib/org/kde/qt/QTabDialog.java,javalib/org/kde/qt/QTabWidget.java,javalib/org/kde/qt/QTable.java,javalib/org/kde/qt/QTableItem.java,javalib/org/kde/qt/QTableSelection.java,javalib/org/kde/qt/QTextBrowser.java,javalib/org/kde/qt/QTextCodec.java,javalib/org/kde/qt/QTextDecoder.java,javalib/org/kde/qt/QTextDrag.java,javalib/org/kde/qt/QTextEncoder.java,javalib/org/kde/qt/QTextIStream.java,javalib/org/kde/qt/QTextOStream.java,javalib/org/kde/qt/QTextStream.java,javalib/org/kde/qt/QTextView.java,javalib/org/kde/qt/QTimer.java,javalib/org/kde/qt/QTimerEvent.java,javalib/org/kde/qt/QToolBar.java,javalib/org/kde/qt/QToolButton.java,javalib/org/kde/qt/QToolTip.java,javalib/org/kde/qt/QToolTipGroup.java,javalib/org/kde/qt/QTranslator.java,javalib/org/kde/qt/QTranslatorMessage.java,javalib/org/kde/qt/QTsciiCodec.java,javalib/org/kde/qt/QUriDrag.java,javalib/org/kde/qt/QUrl.java,javalib/org/kde/qt/QUrlInfo.java,javalib/org/kde/qt/QUrlInterface.java,javalib/org/kde/qt/QUrlOperator.java,javalib/org/kde/qt/QUtf16Codec.java,javalib/org/kde/qt/QUtf8Codec.java,javalib/org/kde/qt/QVBox.java,javalib/org/kde/qt/QVBoxLayout.java,javalib/org/kde/qt/QVButtonGroup.java,javalib/org/kde/qt/QVGroupBox.java,javalib/org/kde/qt/QValidator.java,javalib/org/kde/qt/QVariant.java,javalib/org/kde/qt/QWMatrix.java,javalib/org/kde/qt/QWhatsThis.java,javalib/org/kde/qt/QWheelEvent.java,javalib/org/kde/qt/QWidget.java,javalib/org/kde/qt/QWidgetItem.java,javalib/org/kde/qt/QWidgetStack.java,javalib/org/kde/qt/QMenuItem.java,javalib/org/kde/qt/QPaintDeviceMetrics.java,javalib/org/kde/qt/QRegExp.java,javalib/org/kde/qt/QCanvasSpline.java,javalib/org/kde/qt/QCheckTableItem.java,javalib/org/kde/qt/QComboTableItem.java,javalib/org/kde/qt/QContextMenuEvent.java,javalib/org/kde/qt/QDataBrowser.java,javalib/org/kde/qt/QDataTable.java,javalib/org/kde/qt/QDataView.java,javalib/org/kde/qt/QDateEdit.java,javalib/org/kde/qt/QDateTimeEdit.java,javalib/org/kde/qt/QDesktopWidget.java,javalib/org/kde/qt/QDockArea.java,javalib/org/kde/qt/QDockWindow.java,javalib/org/kde/qt/QEditorFactory.java,javalib/org/kde/qt/QErrorMessage.java,javalib/org/kde/qt/QGLColormap.java,javalib/org/kde/qt/QGridView.java,javalib/org/kde/qt/QIMEvent.java,javalib/org/kde/qt/QLibrary.java,javalib/org/kde/qt/QProcess.java,javalib/org/kde/qt/QRegExpValidator.java,javalib/org/kde/qt/QSettings.java,javalib/org/kde/qt/QSql.java,javalib/org/kde/qt/QSqlCursor.java,javalib/org/kde/qt/QSqlDatabase.java,javalib/org/kde/qt/QSqlDriver.java,javalib/org/kde/qt/QSqlEditorFactory.java,javalib/org/kde/qt/QSqlError.java,javalib/org/kde/qt/QSqlField.java,javalib/org/kde/qt/QSqlForm.java,javalib/org/kde/qt/QSqlIndex.java,javalib/org/kde/qt/QSqlPropertyMap.java,javalib/org/kde/qt/QSqlQuery.java,javalib/org/kde/qt/QSqlRecord.java,javalib/org/kde/qt/QSqlResult.java,javalib/org/kde/qt/QTabletEvent.java,javalib/org/kde/qt/QTextEdit.java,javalib/org/kde/qt/QTimeEdit.java,javalib/org/kde/qt/QUuid.java,javalib/org/kde/qt/QDateTimeEditBase.java,javalib/org/kde/qt/QSqlQueryInterface.java,javalib/org/kde/qt/QAccelSignals.java,javalib/org/kde/qt/QActionGroupSignals.java,javalib/org/kde/qt/QActionSignals.java,javalib/org/kde/qt/QApplicationSignals.java,javalib/org/kde/qt/QButtonGroupSignals.java,javalib/org/kde/qt/QButtonSignals.java,javalib/org/kde/qt/QCanvasSignals.java,javalib/org/kde/qt/QCheckBoxSignals.java,javalib/org/kde/qt/QColorDragSignals.java,javalib/org/kde/qt/QComboBoxSignals.java,javalib/org/kde/qt/QDataBrowserSignals.java,javalib/org/kde/qt/QDataPumpSignals.java,javalib/org/kde/qt/QDataTableSignals.java,javalib/org/kde/qt/QDataViewSignals.java,javalib/org/kde/qt/QDateEditSignals.java,javalib/org/kde/qt/QDateTimeEditSignals.java,javalib/org/kde/qt/QDesktopWidgetSignals.java,javalib/org/kde/qt/QDialSignals.java,javalib/org/kde/qt/QDialogSignals.java,javalib/org/kde/qt/QDockAreaSignals.java,javalib/org/kde/qt/QDockWindowSignals.java,javalib/org/kde/qt/QDoubleValidatorSignals.java,javalib/org/kde/qt/QDragObjectSignals.java,javalib/org/kde/qt/QEditorFactorySignals.java,javalib/org/kde/qt/QErrorMessageSignals.java,javalib/org/kde/qt/QFileDialogSignals.java,javalib/org/kde/qt/QFileIconProviderSignals.java,javalib/org/kde/qt/QFrameSignals.java,javalib/org/kde/qt/QGLWidgetSignals.java,javalib/org/kde/qt/QGridLayoutSignals.java,javalib/org/kde/qt/QGridSignals.java,javalib/org/kde/qt/QGroupBoxSignals.java,javalib/org/kde/qt/QHBoxLayoutSignals.java,javalib/org/kde/qt/QHBoxSignals.java,javalib/org/kde/qt/QHButtonGroupSignals.java,javalib/org/kde/qt/QHGroupBoxSignals.java,javalib/org/kde/qt/QHeaderSignals.java,javalib/org/kde/qt/QIconDragSignals.java,javalib/org/kde/qt/QIconViewSignals.java,javalib/org/kde/qt/QImageDragSignals.java,javalib/org/kde/qt/QIntValidatorSignals.java,javalib/org/kde/qt/QInterlaceStyleSignals.java,javalib/org/kde/qt/QLCDNumberSignals.java,javalib/org/kde/qt/QLabelSignals.java,javalib/org/kde/qt/QLineEditSignals.java,javalib/org/kde/qt/QListBoxSignals.java,javalib/org/kde/qt/QListViewSignals.java,javalib/org/kde/qt/QMainWindowSignals.java,javalib/org/kde/qt/QMenuBarSignals.java,javalib/org/kde/qt/QMessageBoxSignals.java,javalib/org/kde/qt/QMultiLineEditSignals.java,javalib/org/kde/qt/QNetworkOperationSignals.java,javalib/org/kde/qt/QObjectSignals.java,javalib/org/kde/qt/QPopupMenuSignals.java,javalib/org/kde/qt/QPrintDialogSignals.java,javalib/org/kde/qt/QProcessSignals.java,javalib/org/kde/qt/QProgressBarSignals.java,javalib/org/kde/qt/QProgressDialogSignals.java,javalib/org/kde/qt/QPushButtonSignals.java,javalib/org/kde/qt/QRadioButtonSignals.java,javalib/org/kde/qt/QRegExpValidatorSignals.java,javalib/org/kde/qt/QScrollBarSignals.java,javalib/org/kde/qt/QScrollViewSignals.java,javalib/org/kde/qt/QSemiModalSignals.java,javalib/org/kde/qt/QSignalMapperSignals.java,javalib/org/kde/qt/QSignalSignals.java,javalib/org/kde/qt/QSizeGripSignals.java,javalib/org/kde/qt/QSliderSignals.java,javalib/org/kde/qt/QSoundSignals.java,javalib/org/kde/qt/QSpinBoxSignals.java,javalib/org/kde/qt/QSplitterSignals.java,javalib/org/kde/qt/QSqlDatabaseSignals.java,javalib/org/kde/qt/QSqlEditorFactorySignals.java,javalib/org/kde/qt/QSqlFormSignals.java,javalib/org/kde/qt/QStatusBarSignals.java,javalib/org/kde/qt/QStoredDragSignals.java,javalib/org/kde/qt/QStyleSheetSignals.java,javalib/org/kde/qt/QTabBarSignals.java,javalib/org/kde/qt/QTabDialogSignals.java,javalib/org/kde/qt/QTabWidgetSignals.java,javalib/org/kde/qt/QTableSignals.java,javalib/org/kde/qt/QTextBrowserSignals.java,javalib/org/kde/qt/QTextDragSignals.java,javalib/org/kde/qt/QTextEditSignals.java,javalib/org/kde/qt/QTextViewSignals.java,javalib/org/kde/qt/QTimeEditSignals.java,javalib/org/kde/qt/QTimerSignals.java,javalib/org/kde/qt/QToolBarSignals.java,javalib/org/kde/qt/QToolButtonSignals.java,javalib/org/kde/qt/QToolTipGroupSignals.java,javalib/org/kde/qt/QTranslatorSignals.java,javalib/org/kde/qt/QUriDragSignals.java,javalib/org/kde/qt/QUrlOperatorSignals.java,javalib/org/kde/qt/QVBoxLayoutSignals.java,javalib/org/kde/qt/QVBoxSignals.java,javalib/org/kde/qt/QVButtonGroupSignals.java,javalib/org/kde/qt/QVGroupBoxSignals.java,javalib/org/kde/qt/QWidgetSignals.java,javalib/org/kde/qt/QWidgetStackSignals.java,javalib/org/kde/qt/QStyleOption.java,javalib/org/kde/qt/QKeySequence.java,javalib/org/kde/qt/QSqlFieldInfo.java,javalib/org/kde/qt/QSqlRecordInfo.java,javalib/org/kde/qt/QDns.java,javalib/org/kde/qt/QFtp.java,javalib/org/kde/qt/QHostAddress.java,javalib/org/kde/qt/QHttp.java,javalib/org/kde/qt/QLocalFs.java,javalib/org/kde/qt/QNetworkProtocol.java,javalib/org/kde/qt/QObjectCleanupHandler.java,javalib/org/kde/qt/QServerSocket.java,javalib/org/kde/qt/QSocket.java,javalib/org/kde/qt/QSocketDevice.java,javalib/org/kde/qt/QSocketNotifier.java,javalib/org/kde/qt/QDnsSignals.java,javalib/org/kde/qt/QFtpSignals.java,javalib/org/kde/qt/QHttpSignals.java,javalib/org/kde/qt/QLocalFsSignals.java,javalib/org/kde/qt/QNetworkProtocolSignals.java,javalib/org/kde/qt/QObjectCleanupHandlerSignals.java,javalib/org/kde/qt/QSocketSignals.java,javalib/org/kde/qt/QSocketNotifierSignals.java,javalib/org/kde/qt/QGb18030Codec.java,javalib/org/kde/qt/QSpinWidget.java,javalib/org/kde/qt/QSpinWidgetSignals.java,javalib/org/kde/qt/QSplashScreen.java,javalib/org/kde/qt/QSplashScreenSignals.java,javalib/org/kde/qt/QToolBox.java,javalib/org/kde/qt/QToolBoxSignals.java,javalib/org/kde/qt/QHttpHeader.java,javalib/org/kde/qt/QHttpRequestHeader.java,javalib/org/kde/qt/QEventLoop.java,javalib/org/kde/qt/QEventLoopSignals.java,javalib/org/kde/qt/QHttpResponseHeader.java,javalib/org/kde/qt/QStyleFactory.java,javalib/org/kde/qt/QCheckBox.java,javalib/org/kde/qt/QWorkspace.java,javalib/org/kde/qt/QWizard.java,javalib/org/kde/qt/QSyntaxHighlighter.java,javalib/org/kde/qt/QCommonStyle.java,javalib/org/kde/qt/QXmlContentHandler.java,javalib/org/kde/qt/QXmlDeclHandler.java,javalib/org/kde/qt/QXmlDTDHandler.java,javalib/org/kde/qt/QXmlEntityResolver.java,javalib/org/kde/qt/QXmlErrorHandler.java,javalib/org/kde/qt/QXmlLexicalHandler.java,javalib/org/kde/qt/QXmlNamespaceSupport.java,javalib/org/kde/qt/QXmlSimpleReader.java,javalib/org/kde/qt/Invocation.java,javalib/org/kde/qt/qtjava.java,javalib/org/kde/qt/QtSupport.java,javalib/org/kde/qt/QXmlDefaultHandler.java,javalib/org/kde/qt/WeakValueMap.java,javalib/org/kde/qt/Qt.java,javalib/org/kde/qt/QWizardSignals.java,javalib/org/kde/qt/QWorkspaceSignals.java,javalib/org/kde/qt/QXmlAttributes.java,javalib/org/kde/qt/QXmlContentHandlerInterface.java,javalib/org/kde/qt/QXmlDTDHandlerInterface.java,javalib/org/kde/qt/QXmlEntityResolverInterface.java,javalib/org/kde/qt/QXmlErrorHandlerInterface.java,javalib/org/kde/qt/QXmlInputSource.java,javalib/org/kde/qt/QXmlLexicalHandlerInterface.java,javalib/org/kde/qt/QXmlLocator.java,javalib/org/kde/qt/QXmlParseException.java,javalib/org/kde/qt/QXmlReader.java,javalib/org/kde/qt/QXmlDeclHandlerInterface.java +files=javalib/org/kde/qt/TQAccel.java,javalib/org/kde/qt/TQAction.java,javalib/org/kde/qt/TQActionGroup.java,javalib/org/kde/qt/TQApplication.java,javalib/org/kde/qt/TQAsyncIO.java,javalib/org/kde/qt/TQAuServer.java,javalib/org/kde/qt/TQBig5Codec.java,javalib/org/kde/qt/TQBitmap.java,javalib/org/kde/qt/TQBoxLayout.java,javalib/org/kde/qt/TQBrush.java,javalib/org/kde/qt/TQBuffer.java,javalib/org/kde/qt/TQButton.java,javalib/org/kde/qt/TQButtonGroup.java,javalib/org/kde/qt/TQCanvas.java,javalib/org/kde/qt/TQCanvasEllipse.java,javalib/org/kde/qt/TQCanvasItem.java,javalib/org/kde/qt/TQCanvasLine.java,javalib/org/kde/qt/TQCanvasPixmap.java,javalib/org/kde/qt/TQCanvasPixmapArray.java,javalib/org/kde/qt/TQCanvasPolygon.java,javalib/org/kde/qt/TQCanvasPolygonalItem.java,javalib/org/kde/qt/TQCanvasRectangle.java,javalib/org/kde/qt/TQCanvasSprite.java,javalib/org/kde/qt/TQCanvasText.java,javalib/org/kde/qt/TQCanvasView.java,javalib/org/kde/qt/TQCheckListItem.java,javalib/org/kde/qt/TQChildEvent.java,javalib/org/kde/qt/TQClassInfo.java,javalib/org/kde/qt/TQClipboard.java,javalib/org/kde/qt/TQCloseEvent.java,javalib/org/kde/qt/TQColor.java,javalib/org/kde/qt/TQColorDialog.java,javalib/org/kde/qt/TQColorDrag.java,javalib/org/kde/qt/TQColorGroup.java,javalib/org/kde/qt/TQComboBox.java,javalib/org/kde/qt/TQCursor.java,javalib/org/kde/qt/TQCustomEvent.java,javalib/org/kde/qt/TQCustomMenuItem.java,javalib/org/kde/qt/TQDataPump.java,javalib/org/kde/qt/TQDataSink.java,javalib/org/kde/qt/TQDataSource.java,javalib/org/kde/qt/TQDataStream.java,javalib/org/kde/qt/TQDial.java,javalib/org/kde/qt/TQDialog.java,javalib/org/kde/qt/TQDir.java,javalib/org/kde/qt/TQDomAttr.java,javalib/org/kde/qt/TQDomCDATASection.java,javalib/org/kde/qt/TQDomCharacterData.java,javalib/org/kde/qt/TQDomComment.java,javalib/org/kde/qt/TQDomDocument.java,javalib/org/kde/qt/TQDomDocumentFragment.java,javalib/org/kde/qt/TQDomDocumentType.java,javalib/org/kde/qt/TQDomElement.java,javalib/org/kde/qt/TQDomEntity.java,javalib/org/kde/qt/TQDomEntityReference.java,javalib/org/kde/qt/TQDomImplementation.java,javalib/org/kde/qt/TQDomNamedNodeMap.java,javalib/org/kde/qt/TQDomNode.java,javalib/org/kde/qt/TQDomNotation.java,javalib/org/kde/qt/TQDomProcessingInstruction.java,javalib/org/kde/qt/TQDomText.java,javalib/org/kde/qt/TQDoubleValidator.java,javalib/org/kde/qt/TQDragEnterEvent.java,javalib/org/kde/qt/TQDragLeaveEvent.java,javalib/org/kde/qt/TQDragManager.java,javalib/org/kde/qt/TQDragMoveEvent.java,javalib/org/kde/qt/TQDragObject.java,javalib/org/kde/qt/TQDragResponseEvent.java,javalib/org/kde/qt/TQDropEvent.java,javalib/org/kde/qt/TQDropSite.java,javalib/org/kde/qt/TQEucJpCodec.java,javalib/org/kde/qt/TQEucKrCodec.java,javalib/org/kde/qt/TQEvent.java,javalib/org/kde/qt/TQFile.java,javalib/org/kde/qt/TQFileDialog.java,javalib/org/kde/qt/TQFileIconProvider.java,javalib/org/kde/qt/TQFileInfo.java,javalib/org/kde/qt/TQFilePreview.java,javalib/org/kde/qt/TQFocusData.java,javalib/org/kde/qt/TQFocusEvent.java,javalib/org/kde/qt/TQFont.java,javalib/org/kde/qt/TQFontDatabase.java,javalib/org/kde/qt/TQFontDialog.java,javalib/org/kde/qt/TQFontInfo.java,javalib/org/kde/qt/TQFontMetrics.java,javalib/org/kde/qt/TQFrame.java,javalib/org/kde/qt/TQGL.java,javalib/org/kde/qt/TQGLContext.java,javalib/org/kde/qt/TQGLFormat.java,javalib/org/kde/qt/TQGLWidget.java,javalib/org/kde/qt/TQGbkCodec.java,javalib/org/kde/qt/TQGrid.java,javalib/org/kde/qt/TQGridLayout.java,javalib/org/kde/qt/TQGroupBox.java,javalib/org/kde/qt/TQHBox.java,javalib/org/kde/qt/TQHBoxLayout.java,javalib/org/kde/qt/TQHButtonGroup.java,javalib/org/kde/qt/TQHGroupBox.java,javalib/org/kde/qt/TQHeader.java,javalib/org/kde/qt/TQHebrewCodec.java,javalib/org/kde/qt/TQHideEvent.java,javalib/org/kde/qt/TQIODevice.java,javalib/org/kde/qt/TQIODeviceInterface.java,javalib/org/kde/qt/TQIODeviceSource.java,javalib/org/kde/qt/TQIconDrag.java,javalib/org/kde/qt/TQIconDragItem.java,javalib/org/kde/qt/TQIconSet.java,javalib/org/kde/qt/TQIconView.java,javalib/org/kde/qt/TQIconViewItem.java,javalib/org/kde/qt/TQImage.java,javalib/org/kde/qt/TQImageConsumer.java,javalib/org/kde/qt/TQImageDecoder.java,javalib/org/kde/qt/TQImageDrag.java,javalib/org/kde/qt/TQImageFormat.java,javalib/org/kde/qt/TQImageFormatType.java,javalib/org/kde/qt/TQImageIO.java,javalib/org/kde/qt/TQImageTextKeyLang.java,javalib/org/kde/qt/TQInputDialog.java,javalib/org/kde/qt/TQIntValidator.java,javalib/org/kde/qt/TQJisCodec.java,javalib/org/kde/qt/TQJpUnicodeConv.java,javalib/org/kde/qt/TQKeyEvent.java,javalib/org/kde/qt/TQLCDNumber.java,javalib/org/kde/qt/TQLabel.java,javalib/org/kde/qt/TQLayout.java,javalib/org/kde/qt/TQLayoutItem.java,javalib/org/kde/qt/TQLayoutItemInterface.java,javalib/org/kde/qt/TQLineEdit.java,javalib/org/kde/qt/TQListBox.java,javalib/org/kde/qt/TQListBoxItem.java,javalib/org/kde/qt/TQListBoxPixmap.java,javalib/org/kde/qt/TQListBoxText.java,javalib/org/kde/qt/TQListView.java,javalib/org/kde/qt/TQListViewItem.java,javalib/org/kde/qt/TQMainWindow.java,javalib/org/kde/qt/TQMenuBar.java,javalib/org/kde/qt/TQMenuData.java,javalib/org/kde/qt/TQMenuDataInterface.java,javalib/org/kde/qt/TQMessageBox.java,javalib/org/kde/qt/TQMetaData.java,javalib/org/kde/qt/TQMetaEnum.java,javalib/org/kde/qt/TQMetaObject.java,javalib/org/kde/qt/TQMetaProperty.java,javalib/org/kde/qt/TQMimeSource.java,javalib/org/kde/qt/TQMimeSourceFactory.java,javalib/org/kde/qt/TQMimeSourceInterface.java,javalib/org/kde/qt/TQMouseEvent.java,javalib/org/kde/qt/TQMoveEvent.java,javalib/org/kde/qt/TQMovie.java,javalib/org/kde/qt/TQMultiLineEdit.java,javalib/org/kde/qt/TQNetworkOperation.java,javalib/org/kde/qt/TQObject.java,javalib/org/kde/qt/TQPaintDevice.java,javalib/org/kde/qt/TQPaintDeviceInterface.java,javalib/org/kde/qt/TQPaintEvent.java,javalib/org/kde/qt/TQPainter.java,javalib/org/kde/qt/TQPalette.java,javalib/org/kde/qt/TQPen.java,javalib/org/kde/qt/TQPicture.java,javalib/org/kde/qt/TQPixmap.java,javalib/org/kde/qt/TQPoint.java,javalib/org/kde/qt/TQPointArray.java,javalib/org/kde/qt/TQPolygonScanner.java,javalib/org/kde/qt/TQPopupMenu.java,javalib/org/kde/qt/TQPrintDialog.java,javalib/org/kde/qt/TQPrinter.java,javalib/org/kde/qt/TQProgressBar.java,javalib/org/kde/qt/TQProgressDialog.java,javalib/org/kde/qt/TQPushButton.java,javalib/org/kde/qt/TQRadioButton.java,javalib/org/kde/qt/TQRangeControl.java,javalib/org/kde/qt/TQRangeControlInterface.java,javalib/org/kde/qt/TQRect.java,javalib/org/kde/qt/TQRegion.java,javalib/org/kde/qt/TQResizeEvent.java,javalib/org/kde/qt/TQScrollBar.java,javalib/org/kde/qt/TQScrollView.java,javalib/org/kde/qt/TQSemiModal.java,javalib/org/kde/qt/TQSessionManager.java,javalib/org/kde/qt/TQShowEvent.java,javalib/org/kde/qt/TQSignal.java,javalib/org/kde/qt/TQSignalMapper.java,javalib/org/kde/qt/TQSimpleRichText.java,javalib/org/kde/qt/TQSize.java,javalib/org/kde/qt/TQSizeGrip.java,javalib/org/kde/qt/TQSizePolicy.java,javalib/org/kde/qt/TQSjisCodec.java,javalib/org/kde/qt/TQSlider.java,javalib/org/kde/qt/TQSound.java,javalib/org/kde/qt/TQSpacerItem.java,javalib/org/kde/qt/TQSpinBox.java,javalib/org/kde/qt/TQSplitter.java,javalib/org/kde/qt/TQStatusBar.java,javalib/org/kde/qt/TQStoredDrag.java,javalib/org/kde/qt/TQStyle.java,javalib/org/kde/qt/TQStyleSheet.java,javalib/org/kde/qt/TQStyleSheetItem.java,javalib/org/kde/qt/TQTab.java,javalib/org/kde/qt/TQTabBar.java,javalib/org/kde/qt/TQTabDialog.java,javalib/org/kde/qt/TQTabWidget.java,javalib/org/kde/qt/TQTable.java,javalib/org/kde/qt/TQTableItem.java,javalib/org/kde/qt/TQTableSelection.java,javalib/org/kde/qt/TQTextBrowser.java,javalib/org/kde/qt/TQTextCodec.java,javalib/org/kde/qt/TQTextDecoder.java,javalib/org/kde/qt/TQTextDrag.java,javalib/org/kde/qt/TQTextEncoder.java,javalib/org/kde/qt/TQTextIStream.java,javalib/org/kde/qt/TQTextOStream.java,javalib/org/kde/qt/TQTextStream.java,javalib/org/kde/qt/TQTextView.java,javalib/org/kde/qt/TQTimer.java,javalib/org/kde/qt/TQTimerEvent.java,javalib/org/kde/qt/TQToolBar.java,javalib/org/kde/qt/TQToolButton.java,javalib/org/kde/qt/TQToolTip.java,javalib/org/kde/qt/TQToolTipGroup.java,javalib/org/kde/qt/TQTranslator.java,javalib/org/kde/qt/TQTranslatorMessage.java,javalib/org/kde/qt/TQTsciiCodec.java,javalib/org/kde/qt/TQUriDrag.java,javalib/org/kde/qt/TQUrl.java,javalib/org/kde/qt/TQUrlInfo.java,javalib/org/kde/qt/TQUrlInterface.java,javalib/org/kde/qt/TQUrlOperator.java,javalib/org/kde/qt/TQUtf16Codec.java,javalib/org/kde/qt/TQUtf8Codec.java,javalib/org/kde/qt/TQVBox.java,javalib/org/kde/qt/TQVBoxLayout.java,javalib/org/kde/qt/TQVButtonGroup.java,javalib/org/kde/qt/TQVGroupBox.java,javalib/org/kde/qt/TQValidator.java,javalib/org/kde/qt/TQVariant.java,javalib/org/kde/qt/TQWMatrix.java,javalib/org/kde/qt/TQWhatsThis.java,javalib/org/kde/qt/TQWheelEvent.java,javalib/org/kde/qt/TQWidget.java,javalib/org/kde/qt/TQWidgetItem.java,javalib/org/kde/qt/TQWidgetStack.java,javalib/org/kde/qt/TQMenuItem.java,javalib/org/kde/qt/TQPaintDeviceMetrics.java,javalib/org/kde/qt/TQRegExp.java,javalib/org/kde/qt/TQCanvasSpline.java,javalib/org/kde/qt/TQCheckTableItem.java,javalib/org/kde/qt/TQComboTableItem.java,javalib/org/kde/qt/TQContextMenuEvent.java,javalib/org/kde/qt/TQDataBrowser.java,javalib/org/kde/qt/TQDataTable.java,javalib/org/kde/qt/TQDataView.java,javalib/org/kde/qt/TQDateEdit.java,javalib/org/kde/qt/TQDateTimeEdit.java,javalib/org/kde/qt/TQDesktopWidget.java,javalib/org/kde/qt/TQDockArea.java,javalib/org/kde/qt/TQDockWindow.java,javalib/org/kde/qt/TQEditorFactory.java,javalib/org/kde/qt/TQErrorMessage.java,javalib/org/kde/qt/TQGLColormap.java,javalib/org/kde/qt/TQGridView.java,javalib/org/kde/qt/TQIMEvent.java,javalib/org/kde/qt/TQLibrary.java,javalib/org/kde/qt/TQProcess.java,javalib/org/kde/qt/TQRegExpValidator.java,javalib/org/kde/qt/TQSettings.java,javalib/org/kde/qt/TQSql.java,javalib/org/kde/qt/TQSqlCursor.java,javalib/org/kde/qt/TQSqlDatabase.java,javalib/org/kde/qt/TQSqlDriver.java,javalib/org/kde/qt/TQSqlEditorFactory.java,javalib/org/kde/qt/TQSqlError.java,javalib/org/kde/qt/TQSqlField.java,javalib/org/kde/qt/TQSqlForm.java,javalib/org/kde/qt/TQSqlIndex.java,javalib/org/kde/qt/TQSqlPropertyMap.java,javalib/org/kde/qt/TQSqlQuery.java,javalib/org/kde/qt/TQSqlRecord.java,javalib/org/kde/qt/TQSqlResult.java,javalib/org/kde/qt/TQTabletEvent.java,javalib/org/kde/qt/TQTextEdit.java,javalib/org/kde/qt/TQTimeEdit.java,javalib/org/kde/qt/TQUuid.java,javalib/org/kde/qt/TQDateTimeEditBase.java,javalib/org/kde/qt/TQSqlQueryInterface.java,javalib/org/kde/qt/TQAccelSignals.java,javalib/org/kde/qt/TQActionGroupSignals.java,javalib/org/kde/qt/TQActionSignals.java,javalib/org/kde/qt/TQApplicationSignals.java,javalib/org/kde/qt/TQButtonGroupSignals.java,javalib/org/kde/qt/TQButtonSignals.java,javalib/org/kde/qt/TQCanvasSignals.java,javalib/org/kde/qt/TQCheckBoxSignals.java,javalib/org/kde/qt/TQColorDragSignals.java,javalib/org/kde/qt/TQComboBoxSignals.java,javalib/org/kde/qt/TQDataBrowserSignals.java,javalib/org/kde/qt/TQDataPumpSignals.java,javalib/org/kde/qt/TQDataTableSignals.java,javalib/org/kde/qt/TQDataViewSignals.java,javalib/org/kde/qt/TQDateEditSignals.java,javalib/org/kde/qt/TQDateTimeEditSignals.java,javalib/org/kde/qt/TQDesktopWidgetSignals.java,javalib/org/kde/qt/TQDialSignals.java,javalib/org/kde/qt/TQDialogSignals.java,javalib/org/kde/qt/TQDockAreaSignals.java,javalib/org/kde/qt/TQDockWindowSignals.java,javalib/org/kde/qt/TQDoubleValidatorSignals.java,javalib/org/kde/qt/TQDragObjectSignals.java,javalib/org/kde/qt/TQEditorFactorySignals.java,javalib/org/kde/qt/TQErrorMessageSignals.java,javalib/org/kde/qt/TQFileDialogSignals.java,javalib/org/kde/qt/TQFileIconProviderSignals.java,javalib/org/kde/qt/TQFrameSignals.java,javalib/org/kde/qt/TQGLWidgetSignals.java,javalib/org/kde/qt/TQGridLayoutSignals.java,javalib/org/kde/qt/TQGridSignals.java,javalib/org/kde/qt/TQGroupBoxSignals.java,javalib/org/kde/qt/TQHBoxLayoutSignals.java,javalib/org/kde/qt/TQHBoxSignals.java,javalib/org/kde/qt/TQHButtonGroupSignals.java,javalib/org/kde/qt/TQHGroupBoxSignals.java,javalib/org/kde/qt/TQHeaderSignals.java,javalib/org/kde/qt/TQIconDragSignals.java,javalib/org/kde/qt/TQIconViewSignals.java,javalib/org/kde/qt/TQImageDragSignals.java,javalib/org/kde/qt/TQIntValidatorSignals.java,javalib/org/kde/qt/TQInterlaceStyleSignals.java,javalib/org/kde/qt/TQLCDNumberSignals.java,javalib/org/kde/qt/TQLabelSignals.java,javalib/org/kde/qt/TQLineEditSignals.java,javalib/org/kde/qt/TQListBoxSignals.java,javalib/org/kde/qt/TQListViewSignals.java,javalib/org/kde/qt/TQMainWindowSignals.java,javalib/org/kde/qt/TQMenuBarSignals.java,javalib/org/kde/qt/TQMessageBoxSignals.java,javalib/org/kde/qt/TQMultiLineEditSignals.java,javalib/org/kde/qt/TQNetworkOperationSignals.java,javalib/org/kde/qt/TQObjectSignals.java,javalib/org/kde/qt/TQPopupMenuSignals.java,javalib/org/kde/qt/TQPrintDialogSignals.java,javalib/org/kde/qt/TQProcessSignals.java,javalib/org/kde/qt/TQProgressBarSignals.java,javalib/org/kde/qt/TQProgressDialogSignals.java,javalib/org/kde/qt/TQPushButtonSignals.java,javalib/org/kde/qt/TQRadioButtonSignals.java,javalib/org/kde/qt/TQRegExpValidatorSignals.java,javalib/org/kde/qt/TQScrollBarSignals.java,javalib/org/kde/qt/TQScrollViewSignals.java,javalib/org/kde/qt/TQSemiModalSignals.java,javalib/org/kde/qt/TQSignalMapperSignals.java,javalib/org/kde/qt/TQSignalSignals.java,javalib/org/kde/qt/TQSizeGripSignals.java,javalib/org/kde/qt/TQSliderSignals.java,javalib/org/kde/qt/TQSoundSignals.java,javalib/org/kde/qt/TQSpinBoxSignals.java,javalib/org/kde/qt/TQSplitterSignals.java,javalib/org/kde/qt/TQSqlDatabaseSignals.java,javalib/org/kde/qt/TQSqlEditorFactorySignals.java,javalib/org/kde/qt/TQSqlFormSignals.java,javalib/org/kde/qt/TQStatusBarSignals.java,javalib/org/kde/qt/TQStoredDragSignals.java,javalib/org/kde/qt/TQStyleSheetSignals.java,javalib/org/kde/qt/TQTabBarSignals.java,javalib/org/kde/qt/TQTabDialogSignals.java,javalib/org/kde/qt/TQTabWidgetSignals.java,javalib/org/kde/qt/TQTableSignals.java,javalib/org/kde/qt/TQTextBrowserSignals.java,javalib/org/kde/qt/TQTextDragSignals.java,javalib/org/kde/qt/TQTextEditSignals.java,javalib/org/kde/qt/TQTextViewSignals.java,javalib/org/kde/qt/TQTimeEditSignals.java,javalib/org/kde/qt/TQTimerSignals.java,javalib/org/kde/qt/TQToolBarSignals.java,javalib/org/kde/qt/TQToolButtonSignals.java,javalib/org/kde/qt/TQToolTipGroupSignals.java,javalib/org/kde/qt/TQTranslatorSignals.java,javalib/org/kde/qt/TQUriDragSignals.java,javalib/org/kde/qt/TQUrlOperatorSignals.java,javalib/org/kde/qt/TQVBoxLayoutSignals.java,javalib/org/kde/qt/TQVBoxSignals.java,javalib/org/kde/qt/TQVButtonGroupSignals.java,javalib/org/kde/qt/TQVGroupBoxSignals.java,javalib/org/kde/qt/TQWidgetSignals.java,javalib/org/kde/qt/TQWidgetStackSignals.java,javalib/org/kde/qt/TQStyleOption.java,javalib/org/kde/qt/TQKeySequence.java,javalib/org/kde/qt/TQSqlFieldInfo.java,javalib/org/kde/qt/TQSqlRecordInfo.java,javalib/org/kde/qt/TQDns.java,javalib/org/kde/qt/TQFtp.java,javalib/org/kde/qt/TQHostAddress.java,javalib/org/kde/qt/TQHttp.java,javalib/org/kde/qt/TQLocalFs.java,javalib/org/kde/qt/TQNetworkProtocol.java,javalib/org/kde/qt/TQObjectCleanupHandler.java,javalib/org/kde/qt/TQServerSocket.java,javalib/org/kde/qt/TQSocket.java,javalib/org/kde/qt/TQSocketDevice.java,javalib/org/kde/qt/TQSocketNotifier.java,javalib/org/kde/qt/TQDnsSignals.java,javalib/org/kde/qt/TQFtpSignals.java,javalib/org/kde/qt/TQHttpSignals.java,javalib/org/kde/qt/TQLocalFsSignals.java,javalib/org/kde/qt/TQNetworkProtocolSignals.java,javalib/org/kde/qt/TQObjectCleanupHandlerSignals.java,javalib/org/kde/qt/TQSocketSignals.java,javalib/org/kde/qt/TQSocketNotifierSignals.java,javalib/org/kde/qt/TQGb18030Codec.java,javalib/org/kde/qt/TQSpinWidget.java,javalib/org/kde/qt/TQSpinWidgetSignals.java,javalib/org/kde/qt/TQSplashScreen.java,javalib/org/kde/qt/TQSplashScreenSignals.java,javalib/org/kde/qt/TQToolBox.java,javalib/org/kde/qt/TQToolBoxSignals.java,javalib/org/kde/qt/TQHttpHeader.java,javalib/org/kde/qt/TQHttpRequestHeader.java,javalib/org/kde/qt/TQEventLoop.java,javalib/org/kde/qt/TQEventLoopSignals.java,javalib/org/kde/qt/TQHttpResponseHeader.java,javalib/org/kde/qt/TQStyleFactory.java,javalib/org/kde/qt/TQCheckBox.java,javalib/org/kde/qt/TQWorkspace.java,javalib/org/kde/qt/TQWizard.java,javalib/org/kde/qt/TQSyntaxHighlighter.java,javalib/org/kde/qt/TQCommonStyle.java,javalib/org/kde/qt/TQXmlContentHandler.java,javalib/org/kde/qt/TQXmlDeclHandler.java,javalib/org/kde/qt/TQXmlDTDHandler.java,javalib/org/kde/qt/TQXmlEntityResolver.java,javalib/org/kde/qt/TQXmlErrorHandler.java,javalib/org/kde/qt/TQXmlLexicalHandler.java,javalib/org/kde/qt/TQXmlNamespaceSupport.java,javalib/org/kde/qt/TQXmlSimpleReader.java,javalib/org/kde/qt/Invocation.java,javalib/org/kde/qt/qtjava.java,javalib/org/kde/qt/QtSupport.java,javalib/org/kde/qt/TQXmlDefaultHandler.java,javalib/org/kde/qt/WeakValueMap.java,javalib/org/kde/qt/Qt.java,javalib/org/kde/qt/TQWizardSignals.java,javalib/org/kde/qt/TQWorkspaceSignals.java,javalib/org/kde/qt/TQXmlAttributes.java,javalib/org/kde/qt/TQXmlContentHandlerInterface.java,javalib/org/kde/qt/TQXmlDTDHandlerInterface.java,javalib/org/kde/qt/TQXmlEntityResolverInterface.java,javalib/org/kde/qt/TQXmlErrorHandlerInterface.java,javalib/org/kde/qt/TQXmlInputSource.java,javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java,javalib/org/kde/qt/TQXmlLocator.java,javalib/org/kde/qt/TQXmlParseException.java,javalib/org/kde/qt/TQXmlReader.java,javalib/org/kde/qt/TQXmlDeclHandlerInterface.java sub_dirs= type=normal -[javalib/org/kde/qt/QAccel.java] +[javalib/org/kde/qt/TQAccel.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QAccelSignals.java] +[javalib/org/kde/qt/TQAccelSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QAction.java] +[javalib/org/kde/qt/TQAction.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QActionGroup.java] +[javalib/org/kde/qt/TQActionGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QActionGroupSignals.java] +[javalib/org/kde/qt/TQActionGroupSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QActionSignals.java] +[javalib/org/kde/qt/TQActionSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QApplication.java] +[javalib/org/kde/qt/TQApplication.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QApplicationSignals.java] +[javalib/org/kde/qt/TQApplicationSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QAsyncIO.java] +[javalib/org/kde/qt/TQAsyncIO.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QAuServer.java] +[javalib/org/kde/qt/TQAuServer.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QBig5Codec.java] +[javalib/org/kde/qt/TQBig5Codec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QBitmap.java] +[javalib/org/kde/qt/TQBitmap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QBoxLayout.java] +[javalib/org/kde/qt/TQBoxLayout.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QBrush.java] +[javalib/org/kde/qt/TQBrush.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QBuffer.java] +[javalib/org/kde/qt/TQBuffer.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QButton.java] +[javalib/org/kde/qt/TQButton.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QButtonGroup.java] +[javalib/org/kde/qt/TQButtonGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QButtonGroupSignals.java] +[javalib/org/kde/qt/TQButtonGroupSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QButtonSignals.java] +[javalib/org/kde/qt/TQButtonSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvas.java] +[javalib/org/kde/qt/TQCanvas.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasEllipse.java] +[javalib/org/kde/qt/TQCanvasEllipse.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasItem.java] +[javalib/org/kde/qt/TQCanvasItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasLine.java] +[javalib/org/kde/qt/TQCanvasLine.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasPixmap.java] +[javalib/org/kde/qt/TQCanvasPixmap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasPixmapArray.java] +[javalib/org/kde/qt/TQCanvasPixmapArray.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasPolygon.java] +[javalib/org/kde/qt/TQCanvasPolygon.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasPolygonalItem.java] +[javalib/org/kde/qt/TQCanvasPolygonalItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasRectangle.java] +[javalib/org/kde/qt/TQCanvasRectangle.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasSignals.java] +[javalib/org/kde/qt/TQCanvasSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasSpline.java] +[javalib/org/kde/qt/TQCanvasSpline.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasSprite.java] +[javalib/org/kde/qt/TQCanvasSprite.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasText.java] +[javalib/org/kde/qt/TQCanvasText.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCanvasView.java] +[javalib/org/kde/qt/TQCanvasView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCheckBox.java] +[javalib/org/kde/qt/TQCheckBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCheckListItem.java] +[javalib/org/kde/qt/TQCheckListItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCheckTableItem.java] +[javalib/org/kde/qt/TQCheckTableItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QChildEvent.java] +[javalib/org/kde/qt/TQChildEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QClassInfo.java] +[javalib/org/kde/qt/TQClassInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QClipboard.java] +[javalib/org/kde/qt/TQClipboard.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCloseEvent.java] +[javalib/org/kde/qt/TQCloseEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QColor.java] +[javalib/org/kde/qt/TQColor.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QColorDialog.java] +[javalib/org/kde/qt/TQColorDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QColorDrag.java] +[javalib/org/kde/qt/TQColorDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QColorGroup.java] +[javalib/org/kde/qt/TQColorGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QComboBox.java] +[javalib/org/kde/qt/TQComboBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QComboBoxSignals.java] +[javalib/org/kde/qt/TQComboBoxSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QComboTableItem.java] +[javalib/org/kde/qt/TQComboTableItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCommonStyle.java] +[javalib/org/kde/qt/TQCommonStyle.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QContextMenuEvent.java] +[javalib/org/kde/qt/TQContextMenuEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCursor.java] +[javalib/org/kde/qt/TQCursor.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCustomEvent.java] +[javalib/org/kde/qt/TQCustomEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QCustomMenuItem.java] +[javalib/org/kde/qt/TQCustomMenuItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataBrowser.java] +[javalib/org/kde/qt/TQDataBrowser.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataBrowserSignals.java] +[javalib/org/kde/qt/TQDataBrowserSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataPump.java] +[javalib/org/kde/qt/TQDataPump.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataSink.java] +[javalib/org/kde/qt/TQDataSink.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataSource.java] +[javalib/org/kde/qt/TQDataSource.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataStream.java] +[javalib/org/kde/qt/TQDataStream.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataTable.java] +[javalib/org/kde/qt/TQDataTable.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataTableSignals.java] +[javalib/org/kde/qt/TQDataTableSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDataView.java] +[javalib/org/kde/qt/TQDataView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDateEdit.java] +[javalib/org/kde/qt/TQDateEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDateEditSignals.java] +[javalib/org/kde/qt/TQDateEditSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDateTimeEdit.java] +[javalib/org/kde/qt/TQDateTimeEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDateTimeEditBase.java] +[javalib/org/kde/qt/TQDateTimeEditBase.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDateTimeEditSignals.java] +[javalib/org/kde/qt/TQDateTimeEditSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDesktopWidget.java] +[javalib/org/kde/qt/TQDesktopWidget.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDesktopWidgetSignals.java] +[javalib/org/kde/qt/TQDesktopWidgetSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDial.java] +[javalib/org/kde/qt/TQDial.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDialSignals.java] +[javalib/org/kde/qt/TQDialSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDialog.java] +[javalib/org/kde/qt/TQDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDir.java] +[javalib/org/kde/qt/TQDir.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDockArea.java] +[javalib/org/kde/qt/TQDockArea.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDockWindow.java] +[javalib/org/kde/qt/TQDockWindow.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDockWindowSignals.java] +[javalib/org/kde/qt/TQDockWindowSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomAttr.java] +[javalib/org/kde/qt/TQDomAttr.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomCDATASection.java] +[javalib/org/kde/qt/TQDomCDATASection.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomCharacterData.java] +[javalib/org/kde/qt/TQDomCharacterData.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomComment.java] +[javalib/org/kde/qt/TQDomComment.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomDocument.java] +[javalib/org/kde/qt/TQDomDocument.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomDocumentFragment.java] +[javalib/org/kde/qt/TQDomDocumentFragment.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomDocumentType.java] +[javalib/org/kde/qt/TQDomDocumentType.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomElement.java] +[javalib/org/kde/qt/TQDomElement.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomEntity.java] +[javalib/org/kde/qt/TQDomEntity.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomEntityReference.java] +[javalib/org/kde/qt/TQDomEntityReference.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomImplementation.java] +[javalib/org/kde/qt/TQDomImplementation.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomNamedNodeMap.java] +[javalib/org/kde/qt/TQDomNamedNodeMap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomNode.java] +[javalib/org/kde/qt/TQDomNode.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomNotation.java] +[javalib/org/kde/qt/TQDomNotation.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomProcessingInstruction.java] +[javalib/org/kde/qt/TQDomProcessingInstruction.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDomText.java] +[javalib/org/kde/qt/TQDomText.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDoubleValidator.java] +[javalib/org/kde/qt/TQDoubleValidator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragEnterEvent.java] +[javalib/org/kde/qt/TQDragEnterEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragLeaveEvent.java] +[javalib/org/kde/qt/TQDragLeaveEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragManager.java] +[javalib/org/kde/qt/TQDragManager.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragMoveEvent.java] +[javalib/org/kde/qt/TQDragMoveEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragObject.java] +[javalib/org/kde/qt/TQDragObject.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDragResponseEvent.java] +[javalib/org/kde/qt/TQDragResponseEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDropEvent.java] +[javalib/org/kde/qt/TQDropEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QDropSite.java] +[javalib/org/kde/qt/TQDropSite.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEditorFactory.java] +[javalib/org/kde/qt/TQEditorFactory.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QErrorMessage.java] +[javalib/org/kde/qt/TQErrorMessage.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEucJpCodec.java] +[javalib/org/kde/qt/TQEucJpCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEucKrCodec.java] +[javalib/org/kde/qt/TQEucKrCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEvent.java] +[javalib/org/kde/qt/TQEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEventLoop.java] +[javalib/org/kde/qt/TQEventLoop.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QEventLoopSignals.java] +[javalib/org/kde/qt/TQEventLoopSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFile.java] +[javalib/org/kde/qt/TQFile.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFileDialog.java] +[javalib/org/kde/qt/TQFileDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFileDialogSignals.java] +[javalib/org/kde/qt/TQFileDialogSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFileIconProvider.java] +[javalib/org/kde/qt/TQFileIconProvider.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFileInfo.java] +[javalib/org/kde/qt/TQFileInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFilePreview.java] +[javalib/org/kde/qt/TQFilePreview.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFocusData.java] +[javalib/org/kde/qt/TQFocusData.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFocusEvent.java] +[javalib/org/kde/qt/TQFocusEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFont.java] +[javalib/org/kde/qt/TQFont.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFontDatabase.java] +[javalib/org/kde/qt/TQFontDatabase.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFontDialog.java] +[javalib/org/kde/qt/TQFontDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFontInfo.java] +[javalib/org/kde/qt/TQFontInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFontMetrics.java] +[javalib/org/kde/qt/TQFontMetrics.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFrame.java] +[javalib/org/kde/qt/TQFrame.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFtp.java] +[javalib/org/kde/qt/TQFtp.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QFtpSignals.java] +[javalib/org/kde/qt/TQFtpSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGL.java] +[javalib/org/kde/qt/TQGL.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGLColormap.java] +[javalib/org/kde/qt/TQGLColormap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGLContext.java] +[javalib/org/kde/qt/TQGLContext.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGLFormat.java] +[javalib/org/kde/qt/TQGLFormat.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGLWidget.java] +[javalib/org/kde/qt/TQGLWidget.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGb18030Codec.java] +[javalib/org/kde/qt/TQGb18030Codec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGbkCodec.java] +[javalib/org/kde/qt/TQGbkCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGrid.java] +[javalib/org/kde/qt/TQGrid.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGridLayout.java] +[javalib/org/kde/qt/TQGridLayout.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGridView.java] +[javalib/org/kde/qt/TQGridView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGroupBox.java] +[javalib/org/kde/qt/TQGroupBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QGroupBoxSignals.java] +[javalib/org/kde/qt/TQGroupBoxSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHBox.java] +[javalib/org/kde/qt/TQHBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHBoxLayout.java] +[javalib/org/kde/qt/TQHBoxLayout.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHButtonGroup.java] +[javalib/org/kde/qt/TQHButtonGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHGroupBox.java] +[javalib/org/kde/qt/TQHGroupBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHeader.java] +[javalib/org/kde/qt/TQHeader.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHeaderSignals.java] +[javalib/org/kde/qt/TQHeaderSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHebrewCodec.java] +[javalib/org/kde/qt/TQHebrewCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHideEvent.java] +[javalib/org/kde/qt/TQHideEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHostAddress.java] +[javalib/org/kde/qt/TQHostAddress.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHttp.java] +[javalib/org/kde/qt/TQHttp.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHttpHeader.java] +[javalib/org/kde/qt/TQHttpHeader.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHttpRequestHeader.java] +[javalib/org/kde/qt/TQHttpRequestHeader.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHttpResponseHeader.java] +[javalib/org/kde/qt/TQHttpResponseHeader.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QHttpSignals.java] +[javalib/org/kde/qt/TQHttpSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIMEvent.java] +[javalib/org/kde/qt/TQIMEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIODevice.java] +[javalib/org/kde/qt/TQIODevice.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIODeviceInterface.java] +[javalib/org/kde/qt/TQIODeviceInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIODeviceSource.java] +[javalib/org/kde/qt/TQIODeviceSource.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconDrag.java] +[javalib/org/kde/qt/TQIconDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconDragItem.java] +[javalib/org/kde/qt/TQIconDragItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconSet.java] +[javalib/org/kde/qt/TQIconSet.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconView.java] +[javalib/org/kde/qt/TQIconView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconViewItem.java] +[javalib/org/kde/qt/TQIconViewItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIconViewSignals.java] +[javalib/org/kde/qt/TQIconViewSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImage.java] +[javalib/org/kde/qt/TQImage.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageConsumer.java] +[javalib/org/kde/qt/TQImageConsumer.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageDecoder.java] +[javalib/org/kde/qt/TQImageDecoder.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageDrag.java] +[javalib/org/kde/qt/TQImageDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageFormat.java] +[javalib/org/kde/qt/TQImageFormat.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageFormatType.java] +[javalib/org/kde/qt/TQImageFormatType.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageIO.java] +[javalib/org/kde/qt/TQImageIO.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QImageTextKeyLang.java] +[javalib/org/kde/qt/TQImageTextKeyLang.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QInputDialog.java] +[javalib/org/kde/qt/TQInputDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QIntValidator.java] +[javalib/org/kde/qt/TQIntValidator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QJisCodec.java] +[javalib/org/kde/qt/TQJisCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QJpUnicodeConv.java] +[javalib/org/kde/qt/TQJpUnicodeConv.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QKeyEvent.java] +[javalib/org/kde/qt/TQKeyEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QKeySequence.java] +[javalib/org/kde/qt/TQKeySequence.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLCDNumber.java] +[javalib/org/kde/qt/TQLCDNumber.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLCDNumberSignals.java] +[javalib/org/kde/qt/TQLCDNumberSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLabel.java] +[javalib/org/kde/qt/TQLabel.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLayout.java] +[javalib/org/kde/qt/TQLayout.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLayoutItem.java] +[javalib/org/kde/qt/TQLayoutItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLayoutItemInterface.java] +[javalib/org/kde/qt/TQLayoutItemInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLibrary.java] +[javalib/org/kde/qt/TQLibrary.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLineEdit.java] +[javalib/org/kde/qt/TQLineEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLineEditSignals.java] +[javalib/org/kde/qt/TQLineEditSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListBox.java] +[javalib/org/kde/qt/TQListBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListBoxItem.java] +[javalib/org/kde/qt/TQListBoxItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListBoxPixmap.java] +[javalib/org/kde/qt/TQListBoxPixmap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListBoxSignals.java] +[javalib/org/kde/qt/TQListBoxSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListBoxText.java] +[javalib/org/kde/qt/TQListBoxText.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListView.java] +[javalib/org/kde/qt/TQListView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListViewItem.java] +[javalib/org/kde/qt/TQListViewItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QListViewSignals.java] +[javalib/org/kde/qt/TQListViewSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QLocalFs.java] +[javalib/org/kde/qt/TQLocalFs.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMainWindow.java] +[javalib/org/kde/qt/TQMainWindow.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMainWindowSignals.java] +[javalib/org/kde/qt/TQMainWindowSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMenuBar.java] +[javalib/org/kde/qt/TQMenuBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMenuBarSignals.java] +[javalib/org/kde/qt/TQMenuBarSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMenuData.java] +[javalib/org/kde/qt/TQMenuData.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMenuDataInterface.java] +[javalib/org/kde/qt/TQMenuDataInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMenuItem.java] +[javalib/org/kde/qt/TQMenuItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMessageBox.java] +[javalib/org/kde/qt/TQMessageBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMetaData.java] +[javalib/org/kde/qt/TQMetaData.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMetaEnum.java] +[javalib/org/kde/qt/TQMetaEnum.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMetaObject.java] +[javalib/org/kde/qt/TQMetaObject.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMetaProperty.java] +[javalib/org/kde/qt/TQMetaProperty.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMimeSource.java] +[javalib/org/kde/qt/TQMimeSource.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMimeSourceFactory.java] +[javalib/org/kde/qt/TQMimeSourceFactory.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMimeSourceInterface.java] +[javalib/org/kde/qt/TQMimeSourceInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMouseEvent.java] +[javalib/org/kde/qt/TQMouseEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMoveEvent.java] +[javalib/org/kde/qt/TQMoveEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMovie.java] +[javalib/org/kde/qt/TQMovie.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QMultiLineEdit.java] +[javalib/org/kde/qt/TQMultiLineEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QNetworkOperation.java] +[javalib/org/kde/qt/TQNetworkOperation.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QNetworkProtocol.java] +[javalib/org/kde/qt/TQNetworkProtocol.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QNetworkProtocolSignals.java] +[javalib/org/kde/qt/TQNetworkProtocolSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QObject.java] +[javalib/org/kde/qt/TQObject.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QObjectCleanupHandler.java] +[javalib/org/kde/qt/TQObjectCleanupHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QObjectSignals.java] +[javalib/org/kde/qt/TQObjectSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPaintDevice.java] +[javalib/org/kde/qt/TQPaintDevice.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPaintDeviceInterface.java] +[javalib/org/kde/qt/TQPaintDeviceInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPaintDeviceMetrics.java] +[javalib/org/kde/qt/TQPaintDeviceMetrics.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPaintEvent.java] +[javalib/org/kde/qt/TQPaintEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPainter.java] +[javalib/org/kde/qt/TQPainter.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPalette.java] +[javalib/org/kde/qt/TQPalette.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPen.java] +[javalib/org/kde/qt/TQPen.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPicture.java] +[javalib/org/kde/qt/TQPicture.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPixmap.java] +[javalib/org/kde/qt/TQPixmap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPoint.java] +[javalib/org/kde/qt/TQPoint.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPointArray.java] +[javalib/org/kde/qt/TQPointArray.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPolygonScanner.java] +[javalib/org/kde/qt/TQPolygonScanner.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPopupMenu.java] +[javalib/org/kde/qt/TQPopupMenu.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPopupMenuSignals.java] +[javalib/org/kde/qt/TQPopupMenuSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPrintDialog.java] +[javalib/org/kde/qt/TQPrintDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPrinter.java] +[javalib/org/kde/qt/TQPrinter.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QProcess.java] +[javalib/org/kde/qt/TQProcess.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QProcessSignals.java] +[javalib/org/kde/qt/TQProcessSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QProgressBar.java] +[javalib/org/kde/qt/TQProgressBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QProgressDialog.java] +[javalib/org/kde/qt/TQProgressDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QProgressDialogSignals.java] +[javalib/org/kde/qt/TQProgressDialogSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QPushButton.java] +[javalib/org/kde/qt/TQPushButton.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRadioButton.java] +[javalib/org/kde/qt/TQRadioButton.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRangeControl.java] +[javalib/org/kde/qt/TQRangeControl.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRangeControlInterface.java] +[javalib/org/kde/qt/TQRangeControlInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRect.java] +[javalib/org/kde/qt/TQRect.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRegExp.java] +[javalib/org/kde/qt/TQRegExp.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRegExpValidator.java] +[javalib/org/kde/qt/TQRegExpValidator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QRegion.java] +[javalib/org/kde/qt/TQRegion.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QResizeEvent.java] +[javalib/org/kde/qt/TQResizeEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QScrollBar.java] +[javalib/org/kde/qt/TQScrollBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QScrollBarSignals.java] +[javalib/org/kde/qt/TQScrollBarSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QScrollView.java] +[javalib/org/kde/qt/TQScrollView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QScrollViewSignals.java] +[javalib/org/kde/qt/TQScrollViewSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSemiModal.java] +[javalib/org/kde/qt/TQSemiModal.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QServerSocket.java] +[javalib/org/kde/qt/TQServerSocket.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSessionManager.java] +[javalib/org/kde/qt/TQSessionManager.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSettings.java] +[javalib/org/kde/qt/TQSettings.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QShowEvent.java] +[javalib/org/kde/qt/TQShowEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSignal.java] +[javalib/org/kde/qt/TQSignal.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSignalMapper.java] +[javalib/org/kde/qt/TQSignalMapper.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSignalMapperSignals.java] +[javalib/org/kde/qt/TQSignalMapperSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSignalSignals.java] +[javalib/org/kde/qt/TQSignalSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSimpleRichText.java] +[javalib/org/kde/qt/TQSimpleRichText.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSize.java] +[javalib/org/kde/qt/TQSize.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSizeGrip.java] +[javalib/org/kde/qt/TQSizeGrip.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSizePolicy.java] +[javalib/org/kde/qt/TQSizePolicy.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSjisCodec.java] +[javalib/org/kde/qt/TQSjisCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSlider.java] +[javalib/org/kde/qt/TQSlider.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSliderSignals.java] +[javalib/org/kde/qt/TQSliderSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSocket.java] +[javalib/org/kde/qt/TQSocket.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSocketDevice.java] +[javalib/org/kde/qt/TQSocketDevice.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSocketNotifier.java] +[javalib/org/kde/qt/TQSocketNotifier.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSocketNotifierSignals.java] +[javalib/org/kde/qt/TQSocketNotifierSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSocketSignals.java] +[javalib/org/kde/qt/TQSocketSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSound.java] +[javalib/org/kde/qt/TQSound.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSpacerItem.java] +[javalib/org/kde/qt/TQSpacerItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSpinBox.java] +[javalib/org/kde/qt/TQSpinBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSpinBoxSignals.java] +[javalib/org/kde/qt/TQSpinBoxSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSpinWidget.java] +[javalib/org/kde/qt/TQSpinWidget.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSpinWidgetSignals.java] +[javalib/org/kde/qt/TQSpinWidgetSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSplashScreen.java] +[javalib/org/kde/qt/TQSplashScreen.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSplashScreenSignals.java] +[javalib/org/kde/qt/TQSplashScreenSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSplitter.java] +[javalib/org/kde/qt/TQSplitter.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSql.java] +[javalib/org/kde/qt/TQSql.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlCursor.java] +[javalib/org/kde/qt/TQSqlCursor.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlDatabase.java] +[javalib/org/kde/qt/TQSqlDatabase.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlDriver.java] +[javalib/org/kde/qt/TQSqlDriver.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlEditorFactory.java] +[javalib/org/kde/qt/TQSqlEditorFactory.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlError.java] +[javalib/org/kde/qt/TQSqlError.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlField.java] +[javalib/org/kde/qt/TQSqlField.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlFieldInfo.java] +[javalib/org/kde/qt/TQSqlFieldInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlForm.java] +[javalib/org/kde/qt/TQSqlForm.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlIndex.java] +[javalib/org/kde/qt/TQSqlIndex.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlPropertyMap.java] +[javalib/org/kde/qt/TQSqlPropertyMap.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlQuery.java] +[javalib/org/kde/qt/TQSqlQuery.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlQueryInterface.java] +[javalib/org/kde/qt/TQSqlQueryInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlRecord.java] +[javalib/org/kde/qt/TQSqlRecord.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlRecordInfo.java] +[javalib/org/kde/qt/TQSqlRecordInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSqlResult.java] +[javalib/org/kde/qt/TQSqlResult.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStatusBar.java] +[javalib/org/kde/qt/TQStatusBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStatusBarSignals.java] +[javalib/org/kde/qt/TQStatusBarSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStoredDrag.java] +[javalib/org/kde/qt/TQStoredDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStyle.java] +[javalib/org/kde/qt/TQStyle.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStyleFactory.java] +[javalib/org/kde/qt/TQStyleFactory.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStyleOption.java] +[javalib/org/kde/qt/TQStyleOption.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStyleSheet.java] +[javalib/org/kde/qt/TQStyleSheet.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QStyleSheetItem.java] +[javalib/org/kde/qt/TQStyleSheetItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QSyntaxHighlighter.java] +[javalib/org/kde/qt/TQSyntaxHighlighter.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTab.java] +[javalib/org/kde/qt/TQTab.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabBar.java] +[javalib/org/kde/qt/TQTabBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabBarSignals.java] +[javalib/org/kde/qt/TQTabBarSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabDialog.java] +[javalib/org/kde/qt/TQTabDialog.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabDialogSignals.java] +[javalib/org/kde/qt/TQTabDialogSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabWidget.java] +[javalib/org/kde/qt/TQTabWidget.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabWidgetSignals.java] +[javalib/org/kde/qt/TQTabWidgetSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTable.java] +[javalib/org/kde/qt/TQTable.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTableItem.java] +[javalib/org/kde/qt/TQTableItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTableSelection.java] +[javalib/org/kde/qt/TQTableSelection.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTableSignals.java] +[javalib/org/kde/qt/TQTableSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTabletEvent.java] +[javalib/org/kde/qt/TQTabletEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextBrowser.java] +[javalib/org/kde/qt/TQTextBrowser.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextBrowserSignals.java] +[javalib/org/kde/qt/TQTextBrowserSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextCodec.java] +[javalib/org/kde/qt/TQTextCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextDecoder.java] +[javalib/org/kde/qt/TQTextDecoder.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextDrag.java] +[javalib/org/kde/qt/TQTextDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextEdit.java] +[javalib/org/kde/qt/TQTextEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextEditSignals.java] +[javalib/org/kde/qt/TQTextEditSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextEncoder.java] +[javalib/org/kde/qt/TQTextEncoder.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextIStream.java] +[javalib/org/kde/qt/TQTextIStream.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextOStream.java] +[javalib/org/kde/qt/TQTextOStream.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextStream.java] +[javalib/org/kde/qt/TQTextStream.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTextView.java] +[javalib/org/kde/qt/TQTextView.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTimeEdit.java] +[javalib/org/kde/qt/TQTimeEdit.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTimeEditSignals.java] +[javalib/org/kde/qt/TQTimeEditSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTimer.java] +[javalib/org/kde/qt/TQTimer.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTimerEvent.java] +[javalib/org/kde/qt/TQTimerEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTimerSignals.java] +[javalib/org/kde/qt/TQTimerSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolBar.java] +[javalib/org/kde/qt/TQToolBar.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolBox.java] +[javalib/org/kde/qt/TQToolBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolBoxSignals.java] +[javalib/org/kde/qt/TQToolBoxSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolButton.java] +[javalib/org/kde/qt/TQToolButton.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolTip.java] +[javalib/org/kde/qt/TQToolTip.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolTipGroup.java] +[javalib/org/kde/qt/TQToolTipGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QToolTipGroupSignals.java] +[javalib/org/kde/qt/TQToolTipGroupSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTranslator.java] +[javalib/org/kde/qt/TQTranslator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTranslatorMessage.java] +[javalib/org/kde/qt/TQTranslatorMessage.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QTsciiCodec.java] +[javalib/org/kde/qt/TQTsciiCodec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUriDrag.java] +[javalib/org/kde/qt/TQUriDrag.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUrl.java] +[javalib/org/kde/qt/TQUrl.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUrlInfo.java] +[javalib/org/kde/qt/TQUrlInfo.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUrlInterface.java] +[javalib/org/kde/qt/TQUrlInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUrlOperator.java] +[javalib/org/kde/qt/TQUrlOperator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUrlOperatorSignals.java] +[javalib/org/kde/qt/TQUrlOperatorSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUtf16Codec.java] +[javalib/org/kde/qt/TQUtf16Codec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUtf8Codec.java] +[javalib/org/kde/qt/TQUtf8Codec.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QUuid.java] +[javalib/org/kde/qt/TQUuid.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QVBox.java] +[javalib/org/kde/qt/TQVBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QVBoxLayout.java] +[javalib/org/kde/qt/TQVBoxLayout.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QVButtonGroup.java] +[javalib/org/kde/qt/TQVButtonGroup.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QVGroupBox.java] +[javalib/org/kde/qt/TQVGroupBox.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QValidator.java] +[javalib/org/kde/qt/TQValidator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QVariant.java] +[javalib/org/kde/qt/TQVariant.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWMatrix.java] +[javalib/org/kde/qt/TQWMatrix.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWhatsThis.java] +[javalib/org/kde/qt/TQWhatsThis.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWheelEvent.java] +[javalib/org/kde/qt/TQWheelEvent.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWidget.java] +[javalib/org/kde/qt/TQWidget.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWidgetItem.java] +[javalib/org/kde/qt/TQWidgetItem.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWidgetStack.java] +[javalib/org/kde/qt/TQWidgetStack.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWidgetStackSignals.java] +[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= type=shared_library -[javalib/org/kde/qt/QWizard.java] +[javalib/org/kde/qt/TQWizard.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWizardSignals.java] +[javalib/org/kde/qt/TQWizardSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWorkspace.java] +[javalib/org/kde/qt/TQWorkspace.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QWorkspaceSignals.java] +[javalib/org/kde/qt/TQWorkspaceSignals.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlAttributes.java] +[javalib/org/kde/qt/TQXmlAttributes.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlContentHandler.java] +[javalib/org/kde/qt/TQXmlContentHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlContentHandlerInterface.java] +[javalib/org/kde/qt/TQXmlContentHandlerInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlDTDHandler.java] +[javalib/org/kde/qt/TQXmlDTDHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlDTDHandlerInterface.java] +[javalib/org/kde/qt/TQXmlDTDHandlerInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlDeclHandler.java] +[javalib/org/kde/qt/TQXmlDeclHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlDeclHandlerInterface.java] +[javalib/org/kde/qt/TQXmlDeclHandlerInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlDefaultHandler.java] +[javalib/org/kde/qt/TQXmlDefaultHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlEntityResolver.java] +[javalib/org/kde/qt/TQXmlEntityResolver.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlEntityResolverInterface.java] +[javalib/org/kde/qt/TQXmlEntityResolverInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlErrorHandler.java] +[javalib/org/kde/qt/TQXmlErrorHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlErrorHandlerInterface.java] +[javalib/org/kde/qt/TQXmlErrorHandlerInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlInputSource.java] +[javalib/org/kde/qt/TQXmlInputSource.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlLexicalHandler.java] +[javalib/org/kde/qt/TQXmlLexicalHandler.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlLexicalHandlerInterface.java] +[javalib/org/kde/qt/TQXmlLexicalHandlerInterface.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlLocator.java] +[javalib/org/kde/qt/TQXmlLocator.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlNamespaceSupport.java] +[javalib/org/kde/qt/TQXmlNamespaceSupport.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlParseException.java] +[javalib/org/kde/qt/TQXmlParseException.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlReader.java] +[javalib/org/kde/qt/TQXmlReader.java] dist=true install=false install_location= type=DATA -[javalib/org/kde/qt/QXmlSimpleReader.java] +[javalib/org/kde/qt/TQXmlSimpleReader.java] dist=true install=false install_location= @@ -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 f3ea9edc..1aa4c354 100644 --- a/qtjava/javalib/Makefile.am +++ b/qtjava/javalib/Makefile.am @@ -4,11 +4,11 @@ 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 -javalib_LDADD = ./qtjava/libqtjava.la -lqt-mt -lXext -lX11 $(LIBSOCKET) +javalib_LDADD = ./qtjava/libqtjava.la -ltqt-mt -lXext -lX11 $(LIBSOCKET) SUBDIRS = docs qtjava org diff --git a/qtjava/javalib/docs/en/index-2.html b/qtjava/javalib/docs/en/index-2.html index 1f6e9f97..993cc02b 100644 --- a/qtjava/javalib/docs/en/index-2.html +++ b/qtjava/javalib/docs/en/index-2.html @@ -20,7 +20,7 @@

-

2.2 Requirements +

2.2 Retquirements

@@ -32,13 +32,13 @@

In order to compile and install Javalib on your system, type the following in the base directory of the Javalib distribution:

-

+
 % ./configure
 % make
 % make install
 
-
+

Since Javalib uses

diff --git a/qtjava/javalib/docs/en/index.html b/qtjava/javalib/docs/en/index.html
index d85635d4..75cebddf 100644
--- a/qtjava/javalib/docs/en/index.html
+++ b/qtjava/javalib/docs/en/index.html
@@ -29,7 +29,7 @@ Contents
 
 
 

diff --git a/qtjava/javalib/docs/en/index.sgml b/qtjava/javalib/docs/en/index.sgml index 50f771e9..9212e6db 100644 --- a/qtjava/javalib/docs/en/index.sgml +++ b/qtjava/javalib/docs/en/index.sgml @@ -20,7 +20,7 @@ This Handbook describes Javalib Version 0.1 How to obtain Javalib

-Requirements +Retquirements

Compilation and installation diff --git a/qtjava/javalib/examples/aclock/AnalogClock.java b/qtjava/javalib/examples/aclock/AnalogClock.java index 2d97cb67..a0ced62a 100644 --- a/qtjava/javalib/examples/aclock/AnalogClock.java +++ b/qtjava/javalib/examples/aclock/AnalogClock.java @@ -11,25 +11,25 @@ import org.kde.qt.*; import java.util.Date; -class AnalogClock extends QWidget // analog clock widget +class AnalogClock extends TQWidget // analog clock widget { private Date time; // -// Constructs an analog clock widget that uses an internal QTimer. +// Constructs an analog clock widget that uses an internal TQTimer. // -public AnalogClock( QWidget parent ) +public AnalogClock( TQWidget parent ) { this(parent, null); } -public AnalogClock( QWidget parent, String name ) +public AnalogClock( TQWidget parent, String name ) { super( parent, name ); time = new Date(); // get current time - QTimer internalTimer = new QTimer( this ); // create internal timer + TQTimer internalTimer = new TQTimer( this ); // create internal timer connect( internalTimer, SIGNAL("timeout()"), SLOT("timeout()") ); internalTimer.start( 5000 ); // emit signal every 5 seconds } @@ -42,7 +42,7 @@ public void setTime( Date t ) } // -// The QTimer.timeout() signal is received by this slot. +// The TQTimer.timeout() signal is received by this slot. // public void timeout() @@ -59,11 +59,11 @@ public void timeout() } -public void paintEvent( QPaintEvent event ) +public void paintEvent( TQPaintEvent event ) { if ( autoMask() ) return; - QPainter paint = new QPainter( this ); + TQPainter paint = new TQPainter( this ); paint.setBrush( colorGroup().foreground() ); drawClock( paint ); } @@ -73,10 +73,10 @@ public void paintEvent( QPaintEvent event ) public void updateMask() // paint clock mask { - QBitmap bm = new QBitmap( size() ); + TQBitmap bm = new TQBitmap( size() ); bm.fill( color0() ); //transparent - QPainter paint = new QPainter(); + TQPainter paint = new TQPainter(); paint.begin( bm, this ); paint.setBrush( color1() ); // use non-transparent color paint.setPen( color1() ); @@ -92,19 +92,19 @@ public void updateMask() // paint clock mask // the a centered square, as big as possible. The painter's pen and // brush colors are used. // -public void drawClock( QPainter paint ) +public void drawClock( TQPainter paint ) { paint.save(); paint.setWindow( -500,-500, 1000,1000 ); - QRect v = paint.viewport(); + TQRect v = paint.viewport(); int d = v.width() < v.height() ? v.width() : v.height(); paint.setViewport( v.left() + (v.width()-d)/2, v.top() + (v.height()-d)/2, d, d ); - // time = QTime.currentTime(); - QPointArray pts = new QPointArray(); + // time = TQTime.currentTime(); + TQPointArray pts = new TQPointArray(); paint.save(); paint.rotate( 30*(time.getHours()%12-3) + time.getMinutes()/2 ); @@ -138,7 +138,7 @@ public void setAutoMask(boolean b) public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); AnalogClock clock = new AnalogClock(null, null); if ( args.length == 1 && args[0].equals("-transparent") ) clock.setAutoMask( true ); diff --git a/qtjava/javalib/examples/addressbook/ABCentralWidget.java b/qtjava/javalib/examples/addressbook/ABCentralWidget.java index 8dd6af37..2819ea8c 100644 --- a/qtjava/javalib/examples/addressbook/ABCentralWidget.java +++ b/qtjava/javalib/examples/addressbook/ABCentralWidget.java @@ -10,21 +10,21 @@ import org.kde.qt.*; import java.util.*; -public class ABCentralWidget extends QWidget +public class ABCentralWidget extends TQWidget { - protected QGridLayout mainGrid; - protected QTabWidget tabWidget; - protected QListView listView; - protected QPushButton add, change, find; - protected QLineEdit iFirstName, iLastName, iAddress, iEMail, + protected TQGridLayout mainGrid; + protected TQTabWidget tabWidget; + protected TQListView listView; + protected TQPushButton add, change, find; + protected TQLineEdit iFirstName, iLastName, iAddress, iEMail, sFirstName, sLastName, sAddress, sEMail; - protected QCheckBox cFirstName, cLastName, cAddress, cEMail; + protected TQCheckBox cFirstName, cLastName, cAddress, cEMail; -public ABCentralWidget( QWidget parent, String name ) +public ABCentralWidget( TQWidget parent, String name ) { super( parent, name ); - mainGrid = new QGridLayout( this, 2, 1, 5, 5 ); + mainGrid = new TQGridLayout( this, 2, 1, 5, 5 ); setupTabWidget(); setupListView(); @@ -33,7 +33,7 @@ public ABCentralWidget( QWidget parent, String name ) mainGrid.setRowStretch( 1, 1 ); } -public ABCentralWidget( QWidget parent ) +public ABCentralWidget( TQWidget parent ) { this(parent, null); } @@ -43,15 +43,15 @@ public void save( String filename ) if ( listView.firstChild() == null ) return; - QFile f = new QFile( filename ); - if ( !f.open( QIODevice.IO_WriteOnly ) ) + TQFile f = new TQFile( filename ); + if ( !f.open( TQIODevice.IO_WriteOnly ) ) return; - QTextStream t = new QTextStream( f ); + TQTextStream t = new TQTextStream( f ); Iterator it = listView.itemList().iterator(); while ( it.hasNext() ) { - QListViewItem currentItem = (QListViewItem) it.next(); + TQListViewItem currentItem = (TQListViewItem) it.next(); for ( int i = 0; i < 4; i++ ) { t.writeRawBytes( currentItem.text(i), currentItem.text(i).length() ); t.writeRawBytes( "\n", 1 ); @@ -65,14 +65,14 @@ public void load( String filename ) { listView.clear(); - QFile f = new QFile( filename ); - if ( !f.open( QIODevice.IO_ReadOnly ) ) + TQFile f = new TQFile( filename ); + if ( !f.open( TQIODevice.IO_ReadOnly ) ) return; - QTextStream t = new QTextStream( f ); + TQTextStream t = new TQTextStream( f ); while ( !t.atEnd() ) { - QListViewItem item = new QListViewItem( listView ); + TQListViewItem item = new TQListViewItem( listView ); for ( int i = 0; i < 4; i++ ) item.setText( i, t.readLine() ); } @@ -82,53 +82,53 @@ public void load( String filename ) public void setupTabWidget() { - tabWidget = new QTabWidget( this ); + tabWidget = new TQTabWidget( this ); - QWidget input = new QWidget( tabWidget ); - QGridLayout grid1 = new QGridLayout( input, 2, 5, 5, 5 ); + TQWidget input = new TQWidget( tabWidget ); + TQGridLayout grid1 = new TQGridLayout( input, 2, 5, 5, 5 ); - QLabel liFirstName = new QLabel( "First &Name", input ); + TQLabel liFirstName = new TQLabel( "First &Name", input ); liFirstName.resize( liFirstName.sizeHint() ); grid1.addWidget( liFirstName, 0, 0 ); - QLabel liLastName = new QLabel( "&Last Name", input ); + TQLabel liLastName = new TQLabel( "&Last Name", input ); liLastName.resize( liLastName.sizeHint() ); grid1.addWidget( liLastName, 0, 1 ); - QLabel liAddress = new QLabel( "Add&ress", input ); + TQLabel liAddress = new TQLabel( "Add&ress", input ); liAddress.resize( liAddress.sizeHint() ); grid1.addWidget( liAddress, 0, 2 ); - QLabel liEMail = new QLabel( "&E-Mail", input ); + TQLabel liEMail = new TQLabel( "&E-Mail", input ); liEMail.resize( liEMail.sizeHint() ); grid1.addWidget( liEMail, 0, 3 ); - add = new QPushButton( "A&dd", input ); + add = new TQPushButton( "A&dd", input ); add.resize( add.sizeHint() ); grid1.addWidget( add, 0, 4 ); connect( add, SIGNAL( "clicked()" ), this, SLOT( "addEntry()" ) ); - iFirstName = new QLineEdit( input ); + iFirstName = new TQLineEdit( input ); iFirstName.resize( iFirstName.sizeHint() ); grid1.addWidget( iFirstName, 1, 0 ); liFirstName.setBuddy( iFirstName ); - iLastName = new QLineEdit( input ); + iLastName = new TQLineEdit( input ); iLastName.resize( iLastName.sizeHint() ); grid1.addWidget( iLastName, 1, 1 ); liLastName.setBuddy( iLastName ); - iAddress = new QLineEdit( input ); + iAddress = new TQLineEdit( input ); iAddress.resize( iAddress.sizeHint() ); grid1.addWidget( iAddress, 1, 2 ); liAddress.setBuddy( iAddress ); - iEMail = new QLineEdit( input ); + iEMail = new TQLineEdit( input ); iEMail.resize( iEMail.sizeHint() ); grid1.addWidget( iEMail, 1, 3 ); liEMail.setBuddy( iEMail ); - change = new QPushButton( "&Change", input ); + change = new TQPushButton( "&Change", input ); change.resize( change.sizeHint() ); grid1.addWidget( change, 1, 4 ); connect( change, SIGNAL( "clicked()" ), this, SLOT( "changeEntry()" ) ); @@ -137,46 +137,46 @@ public void setupTabWidget() // -------------------------------------- - QWidget search = new QWidget( this ); - QGridLayout grid2 = new QGridLayout( search, 2, 5, 5, 5 ); + TQWidget search = new TQWidget( this ); + TQGridLayout grid2 = new TQGridLayout( search, 2, 5, 5, 5 ); - cFirstName = new QCheckBox( "First &Name", search ); + cFirstName = new TQCheckBox( "First &Name", search ); cFirstName.resize( cFirstName.sizeHint() ); grid2.addWidget( cFirstName, 0, 0 ); connect( cFirstName, SIGNAL( "clicked()" ), this, SLOT( "toggleFirstName()" ) ); - cLastName = new QCheckBox( "&Last Name", search ); + cLastName = new TQCheckBox( "&Last Name", search ); cLastName.resize( cLastName.sizeHint() ); grid2.addWidget( cLastName, 0, 1 ); connect( cLastName, SIGNAL( "clicked()" ), this, SLOT( "toggleLastName()" ) ); - cAddress = new QCheckBox( "Add&ress", search ); + cAddress = new TQCheckBox( "Add&ress", search ); cAddress.resize( cAddress.sizeHint() ); grid2.addWidget( cAddress, 0, 2 ); connect( cAddress, SIGNAL( "clicked()" ), this, SLOT( "toggleAddress()" ) ); - cEMail = new QCheckBox( "&E-Mail", search ); + cEMail = new TQCheckBox( "&E-Mail", search ); cEMail.resize( cEMail.sizeHint() ); grid2.addWidget( cEMail, 0, 3 ); connect( cEMail, SIGNAL( "clicked()" ), this, SLOT( "toggleEMail()" ) ); - sFirstName = new QLineEdit( search ); + sFirstName = new TQLineEdit( search ); sFirstName.resize( sFirstName.sizeHint() ); grid2.addWidget( sFirstName, 1, 0 ); - sLastName = new QLineEdit( search ); + sLastName = new TQLineEdit( search ); sLastName.resize( sLastName.sizeHint() ); grid2.addWidget( sLastName, 1, 1 ); - sAddress = new QLineEdit( search ); + sAddress = new TQLineEdit( search ); sAddress.resize( sAddress.sizeHint() ); grid2.addWidget( sAddress, 1, 2 ); - sEMail = new QLineEdit( search ); + sEMail = new TQLineEdit( search ); sEMail.resize( sEMail.sizeHint() ); grid2.addWidget( sEMail, 1, 3 ); - find = new QPushButton( "F&ind", search ); + find = new TQPushButton( "F&ind", search ); find.resize( find.sizeHint() ); grid2.addWidget( find, 1, 4 ); connect( find, SIGNAL( "clicked()" ), this, SLOT( "findEntries()" ) ); @@ -194,15 +194,15 @@ public void setupTabWidget() public void setupListView() { - listView = new QListView( this ); + listView = new TQListView( this ); listView.addColumn( "First Name" ); listView.addColumn( "Last Name" ); listView.addColumn( "Address" ); listView.addColumn( "E-Mail" ); - listView.setSelectionMode( QListView.Extended ); + listView.setSelectionMode( TQListView.Extended ); - connect( listView, SIGNAL( "clicked( QListViewItem )" ), this, SLOT( "itemSelected( QListViewItem )" ) ); + connect( listView, SIGNAL( "clicked( TQListViewItem )" ), this, SLOT( "itemSelected( TQListViewItem )" ) ); mainGrid.addWidget( listView, 1, 0 ); listView.setAllColumnsShowFocus( true ); @@ -212,7 +212,7 @@ public void addEntry() { if ( !iFirstName.text().equals("") || !iLastName.text().equals("") || !iAddress.text().equals("") || !iEMail.text().equals("") ) { - QListViewItem item = new QListViewItem( listView ); + TQListViewItem item = new TQListViewItem( listView ); item.setText( 0, iFirstName.text() ); item.setText( 1, iLastName.text() ); item.setText( 2, iAddress.text() ); @@ -227,7 +227,7 @@ public void addEntry() public void changeEntry() { - QListViewItem item = listView.currentItem(); + TQListViewItem item = listView.currentItem(); if ( item != null && ( !iFirstName.text().equals("") || !iLastName.text().equals("") || @@ -247,7 +247,7 @@ public void selectionChanged() iEMail.setText( "" ); } -public void itemSelected( QListViewItem item ) +public void itemSelected( TQListViewItem item ) { item.setSelected( true ); item.repaint(); @@ -318,7 +318,7 @@ public void findEntries() Iterator it = listView.itemList().iterator(); while ( it.hasNext() ) { - QListViewItem currentItem = (QListViewItem) it.next(); + TQListViewItem currentItem = (TQListViewItem) it.next(); boolean select = true; if ( cFirstName.isChecked() ) { diff --git a/qtjava/javalib/examples/addressbook/ABMainWindow.java b/qtjava/javalib/examples/addressbook/ABMainWindow.java index 588098f4..c4949289 100644 --- a/qtjava/javalib/examples/addressbook/ABMainWindow.java +++ b/qtjava/javalib/examples/addressbook/ABMainWindow.java @@ -9,9 +9,9 @@ *****************************************************************************/ import org.kde.qt.*; -class ABMainWindow extends QMainWindow +class ABMainWindow extends TQMainWindow { - protected QToolBar fileTools; + protected TQToolBar fileTools; protected String filename; protected ABCentralWidget view; @@ -27,24 +27,24 @@ public ABMainWindow() public void setupMenuBar() { - QPopupMenu file = new QPopupMenu( this ); + TQPopupMenu file = new TQPopupMenu( this ); menuBar().insertItem( "&File", file ); - file.insertItem( "New", this, SLOT( "fileNew()" ), new QKeySequence(CTRL + Key_N) ); - file.insertItem( new QIconSet(new QPixmap( "fileopen.xpm" )), "Open", this, SLOT( "fileOpen()" ), new QKeySequence(CTRL + Key_O) ); + file.insertItem( "New", this, SLOT( "fileNew()" ), new TQKeySequence(CTRL + Key_N) ); + file.insertItem( new TQIconSet(new TQPixmap( "fileopen.xpm" )), "Open", this, SLOT( "fileOpen()" ), new TQKeySequence(CTRL + Key_O) ); file.insertSeparator(); - file.insertItem( new QIconSet(new QPixmap( "filesave.xpm" )), "Save", this, SLOT( "fileSave()" ), new QKeySequence(CTRL + Key_S) ); + file.insertItem( new TQIconSet(new TQPixmap( "filesave.xpm" )), "Save", this, SLOT( "fileSave()" ), new TQKeySequence(CTRL + Key_S) ); file.insertItem( "Save As...", this, SLOT( "fileSaveAs()" ) ); file.insertSeparator(); - file.insertItem( new QIconSet(new QPixmap( "fileprint.xpm" )), "Print...", this, SLOT( "filePrint()" ), new QKeySequence(CTRL + Key_P) ); + file.insertItem( new TQIconSet(new TQPixmap( "fileprint.xpm" )), "Print...", this, SLOT( "filePrint()" ), new TQKeySequence(CTRL + Key_P) ); file.insertSeparator(); - file.insertItem( "Close", this, SLOT( "closeWindow()" ), new QKeySequence(CTRL + Key_W) ); - file.insertItem( "Quit", qApp(), SLOT( "quit()" ), new QKeySequence(CTRL + Key_Q) ); + file.insertItem( "Close", this, SLOT( "closeWindow()" ), new TQKeySequence(CTRL + Key_W) ); + file.insertItem( "Quit", qApp(), SLOT( "quit()" ), new TQKeySequence(CTRL + Key_Q) ); } public void setupFileTools() { - //fileTools = new QToolBar( this, "file operations" ); + //fileTools = new TQToolBar( this, "file operations" ); } public void setupStatusBar() @@ -69,7 +69,7 @@ public void fileNew() public void fileOpen() { - String fn = QFileDialog.getOpenFileName( "", "", this ); + String fn = TQFileDialog.getOpenFileName( "", "", this ); if ( !fn.equals("") ) { filename = fn; view.load( filename ); @@ -88,7 +88,7 @@ public void fileSave() public void fileSaveAs() { - String fn = QFileDialog.getSaveFileName( "", "", this ); + String fn = TQFileDialog.getSaveFileName( "", "", this ); if ( !fn.equals("") ) { filename = fn; fileSave(); diff --git a/qtjava/javalib/examples/addressbook/Main.java b/qtjava/javalib/examples/addressbook/Main.java index eeda8adc..c69c5d24 100644 --- a/qtjava/javalib/examples/addressbook/Main.java +++ b/qtjava/javalib/examples/addressbook/Main.java @@ -13,7 +13,7 @@ public class Main { public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ABMainWindow mw = new ABMainWindow(); mw.setCaption( "Qt Example - Addressbook" ); diff --git a/qtjava/javalib/examples/application/ApplicationWindow.java b/qtjava/javalib/examples/application/ApplicationWindow.java index e334ad17..8e393df2 100644 --- a/qtjava/javalib/examples/application/ApplicationWindow.java +++ b/qtjava/javalib/examples/application/ApplicationWindow.java @@ -1,8 +1,8 @@ import org.kde.qt.*; -public class ApplicationWindow extends QMainWindow { - private QPrinter printer; - private QMultiLineEdit e; +public class ApplicationWindow extends TQMainWindow { + private TQPrinter printer; + private TQMultiLineEdit e; private String filename; private final String fileOpenText = " "+ @@ -92,55 +92,55 @@ public class ApplicationWindow extends QMainWindow { // create a printer - printer = new QPrinter(); + printer = new TQPrinter(); // create user interface actions - QAction fileNewAction, fileOpenAction, fileSaveAction, + TQAction fileNewAction, fileOpenAction, fileSaveAction, fileSaveAsAction, filePrintAction, fileCloseAction, fileQuitAction; - fileNewAction = new QAction("New", "&New", new QKeySequence(CTRL+Key_N), this, "new", false); + fileNewAction = new TQAction("New", "&New", new TQKeySequence(CTRL+Key_N), this, "new", false); connect(fileNewAction, SIGNAL("activated()"), this, SLOT("newDoc()")); - fileOpenAction = new QAction("Open File", new QIconSet(new QPixmap(fileopen)), "&Open", new QKeySequence(CTRL+Key_O), this, "open", false); + fileOpenAction = new TQAction("Open File", new TQIconSet(new TQPixmap(fileopen)), "&Open", new TQKeySequence(CTRL+Key_O), this, "open", false); connect(fileOpenAction, SIGNAL("activated()"), this, SLOT("load()")); - QMimeSourceFactory.defaultFactory().setPixmap("fileopen", new QPixmap(fileopen)); + TQMimeSourceFactory.defaultFactory().setPixmap("fileopen", new TQPixmap(fileopen)); fileOpenAction.setWhatsThis(fileOpenText); - fileSaveAction = new QAction("Save File", new QIconSet(new QPixmap(filesave)), "&Save", new QKeySequence(CTRL+Key_S), this, "save", false); + fileSaveAction = new TQAction("Save File", new TQIconSet(new TQPixmap(filesave)), "&Save", new TQKeySequence(CTRL+Key_S), this, "save", false); connect(fileSaveAction, SIGNAL("activated()"), this, SLOT("save()")); fileSaveAction.setWhatsThis(fileSaveText); - fileSaveAsAction = new QAction("Save File As", "Save &as", new QKeySequence(), this, "save as", false); + fileSaveAsAction = new TQAction("Save File As", "Save &as", new TQKeySequence(), this, "save as", false); connect(fileSaveAsAction, SIGNAL("activated()"), this, SLOT("saveAs()")); fileSaveAsAction.setWhatsThis(fileSaveText); - filePrintAction = new QAction("Print File", new QIconSet(new QPixmap(fileprint)), "&Print", new QKeySequence(CTRL+Key_P), this, "print", false); + filePrintAction = new TQAction("Print File", new TQIconSet(new TQPixmap(fileprint)), "&Print", new TQKeySequence(CTRL+Key_P), this, "print", false); connect(filePrintAction, SIGNAL("activated()"), this, SLOT("print()")); filePrintAction.setWhatsThis(filePrintText); - fileCloseAction = new QAction("Close", "&Close", new QKeySequence(CTRL+Key_W), this, "close", false); + fileCloseAction = new TQAction("Close", "&Close", new TQKeySequence(CTRL+Key_W), this, "close", false); connect(fileCloseAction, SIGNAL("activated()"), this, SLOT("close()")); - fileQuitAction = new QAction("Quit", "&Quit", new QKeySequence(CTRL+Key_Q), this, "quit", false); + fileQuitAction = new TQAction("Quit", "&Quit", new TQKeySequence(CTRL+Key_Q), this, "quit", false); connect(fileQuitAction, SIGNAL("activated()"), qApp(), SLOT("closeAllWindows()")); // populate a tool bar with some actions - QToolBar fileTools = new QToolBar(this, "file operations"); + TQToolBar fileTools = new TQToolBar(this, "file operations"); fileTools.setLabel(tr("File Operations")); fileOpenAction.addTo(fileTools); fileSaveAction.addTo(fileTools); filePrintAction.addTo(fileTools); - QWhatsThis.whatsThisButton(fileTools); + TQWhatsThis.whatsThisButton(fileTools); // popuplate a menu with all actions - QPopupMenu file = new QPopupMenu(this, "file"); + TQPopupMenu file = new TQPopupMenu(this, "file"); menuBar().insertItem("&File", file); fileNewAction.addTo(file); fileOpenAction.addTo(file); @@ -155,18 +155,18 @@ public class ApplicationWindow extends QMainWindow { // add a help menu - QPopupMenu help = new QPopupMenu(this, "help"); + TQPopupMenu help = new TQPopupMenu(this, "help"); menuBar().insertSeparator(); menuBar().insertItem("&Help", help); - help.insertItem("&About", this, SLOT("about()"), new QKeySequence(Key_F1), -1, -1); + help.insertItem("&About", this, SLOT("about()"), new TQKeySequence(Key_F1), -1, -1); help.insertItem("About &Qt", this, SLOT("aboutQt()")); help.insertSeparator(); - help.insertItem("What's &This", this, SLOT("whatsThis()"), new QKeySequence(SHIFT+Key_F1), -1, -1); + help.insertItem("What's &This", this, SLOT("whatsThis()"), new TQKeySequence(SHIFT+Key_F1), -1, -1); // create and define the central widget - e = new QMultiLineEdit(this, "editor"); + e = new TQMultiLineEdit(this, "editor"); e.setFocus(); setCentralWidget(e); statusBar().message("Ready", 2000); @@ -179,7 +179,7 @@ public class ApplicationWindow extends QMainWindow { } private void load() { - String fn = QFileDialog.getOpenFileName("", "", this); + String fn = TQFileDialog.getOpenFileName("", "", this); if (!(fn.length()==0)) load(fn); else @@ -188,7 +188,7 @@ public class ApplicationWindow extends QMainWindow { private void load(String fileName) { - QFile f = new QFile(fileName); + TQFile f = new TQFile(fileName); if (!f.open(1)) return; @@ -197,7 +197,7 @@ public class ApplicationWindow extends QMainWindow { e.setAutoUpdate(false); e.clear(); - QTextStream t = new QTextStream(f); + TQTextStream t = new TQTextStream(f); while (!t.eof()) { String s = t.readLine(); e.append(s); @@ -219,13 +219,13 @@ public class ApplicationWindow extends QMainWindow { } String text = e.text(); - QFile f = new QFile(filename); + TQFile f = new TQFile(filename); if (!f.open(2)) { statusBar().message("Could not write to "+filename, 2000); return; } - QTextStream t = new QTextStream(f); + TQTextStream t = new TQTextStream(f); t.writeRawBytes(text, text.length()); f.close(); @@ -238,7 +238,7 @@ public class ApplicationWindow extends QMainWindow { private void saveAs() { - String fn = QFileDialog.getSaveFileName("", "", this); + String fn = TQFileDialog.getSaveFileName("", "", this); if (!(fn.length()==0)) { filename = fn; save(); @@ -253,14 +253,14 @@ public class ApplicationWindow extends QMainWindow { if (printer.setup(this)) { // printer dialog statusBar().message("Printing..."); - QPainter p = new QPainter(); + TQPainter p = new TQPainter(); p.begin(printer); // paint on printer p.setFont(e.font()); int yPos = 0; // y position for each line - QFontMetrics fm = p.fontMetrics(); + TQFontMetrics fm = p.fontMetrics(); // need width/height of printer surface - QPaintDeviceMetrics metrics = new QPaintDeviceMetrics(printer); + TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics(printer); for(int i = 0 ; i < e.numLines() ; i++) { if (Margin + yPos > metrics.height() - Margin) { @@ -282,13 +282,13 @@ public class ApplicationWindow extends QMainWindow { } } - protected void closeEvent(QCloseEvent ce) { + protected void closeEvent(TQCloseEvent ce) { if (!e.edited()) { ce.accept(); return; } - switch(QMessageBox.information(this, "Qt Application Example", + switch(TQMessageBox.information(this, "Qt Application Example", "The document has been changed since the last save.", "Save Now", "Cancel", "Leave Anyway", 0, 1)) { case 0: @@ -306,13 +306,13 @@ public class ApplicationWindow extends QMainWindow { } private void about() { - QMessageBox.about(this, "Qt Application Example", + TQMessageBox.about(this, "Qt Application Example", "This example demonstrates simple use of "+ - "QMainWindow,\nQMenuBar and QToolBar."); + "TQMainWindow,\nTQMenuBar and TQToolBar."); } private void aboutQt() { - QMessageBox.aboutQt(this, "Qt Application Example"); + TQMessageBox.aboutQt(this, "Qt Application Example"); } } diff --git a/qtjava/javalib/examples/application/Main.java b/qtjava/javalib/examples/application/Main.java index 2ba09ea9..9527f75c 100644 --- a/qtjava/javalib/examples/application/Main.java +++ b/qtjava/javalib/examples/application/Main.java @@ -1,8 +1,8 @@ import org.kde.qt.*; -public class Main extends QObject { +public class Main extends TQObject { public static void main(String[] args) { - QApplication a = new QApplication (args); + TQApplication a = new TQApplication (args); ApplicationWindow mw = new ApplicationWindow(); mw.setCaption("Document 1"); mw.show(); diff --git a/qtjava/javalib/examples/biff/Biff.java b/qtjava/javalib/examples/biff/Biff.java index b3107da4..4e807baf 100644 --- a/qtjava/javalib/examples/biff/Biff.java +++ b/qtjava/javalib/examples/biff/Biff.java @@ -10,11 +10,11 @@ import org.kde.qt.*; import java.util.Calendar; -class Biff extends QWidget +class Biff extends TQWidget { private Calendar lastModified; -private QPixmap hasNewMail = new QPixmap(); -private QPixmap noNewMail = new QPixmap(); +private TQPixmap hasNewMail = new TQPixmap(); +private TQPixmap noNewMail = new TQPixmap(); private String mailbox; private boolean gotMail; @@ -22,11 +22,11 @@ public Biff( ) { this(null, null); } -public Biff( QWidget parent, String name ) +public Biff( TQWidget parent, String name ) { super( parent, name, WType_Modal ); -// QFileInfo fi = new QFileInfo(System.getProperty("MAIL")); - QFileInfo fi = new QFileInfo(""); +// TQFileInfo fi = new TQFileInfo(System.getProperty("MAIL")); + TQFileInfo fi = new TQFileInfo(""); if ( !fi.exists() ) { String s = "/var/spool/mail/"; s += System.getProperty("user.name"); @@ -49,9 +49,9 @@ public Biff( QWidget parent, String name ) } -protected void timerEvent( QTimerEvent event ) +protected void timerEvent( TQTimerEvent event ) { - QFileInfo fi = new QFileInfo( mailbox ); + TQFileInfo fi = new TQFileInfo( mailbox ); boolean newState = ( fi.lastModified() != lastModified && fi.lastModified().after( fi.lastRead() ) ); if ( newState != gotMail ) { @@ -63,7 +63,7 @@ protected void timerEvent( QTimerEvent event ) } -protected void paintEvent( QPaintEvent event ) +protected void paintEvent( TQPaintEvent event ) { if ( gotMail ) bitBlt( this, 0, 0, hasNewMail ); @@ -72,9 +72,9 @@ protected void paintEvent( QPaintEvent event ) } -protected void mousePressEvent( QMouseEvent event ) +protected void mousePressEvent( TQMouseEvent event ) { - QFileInfo fi = new QFileInfo( mailbox ); + TQFileInfo fi = new TQFileInfo( mailbox ); lastModified = fi.lastModified(); } } diff --git a/qtjava/javalib/examples/biff/Main.java b/qtjava/javalib/examples/biff/Main.java index abf20598..d70881e7 100644 --- a/qtjava/javalib/examples/biff/Main.java +++ b/qtjava/javalib/examples/biff/Main.java @@ -15,7 +15,7 @@ public class Main { public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Biff b = new Biff(); a.setMainWidget( b ); b.show(); diff --git a/qtjava/javalib/examples/buttongroups/ButtonsGroups.java b/qtjava/javalib/examples/buttongroups/ButtonsGroups.java index 0ac7e811..3060e23b 100644 --- a/qtjava/javalib/examples/buttongroups/ButtonsGroups.java +++ b/qtjava/javalib/examples/buttongroups/ButtonsGroups.java @@ -9,10 +9,10 @@ ****************************************************************************/ import org.kde.qt.*; -class ButtonsGroups extends QWidget +class ButtonsGroups extends TQWidget { -protected QCheckBox state; -protected QRadioButton rb21, rb22, rb23; +protected TQCheckBox state; +protected TQRadioButton rb21, rb22, rb23; @@ -28,57 +28,57 @@ public ButtonsGroups( ) this(null, null); } -public ButtonsGroups( QWidget parent, String name ) +public ButtonsGroups( TQWidget parent, String name ) { super( parent, name ); // Create Widgets which allow easy layouting - QVBoxLayout vbox = new QVBoxLayout( this ); - QHBoxLayout box1 = new QHBoxLayout( vbox ); - QHBoxLayout box2 = new QHBoxLayout( vbox ); + TQVBoxLayout vbox = new TQVBoxLayout( this ); + TQHBoxLayout box1 = new TQHBoxLayout( vbox ); + TQHBoxLayout box2 = new TQHBoxLayout( vbox ); // ------- first group // Create an exclusive button group - QButtonGroup bgrp1 = new QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 1 (exclusive)", this); + TQButtonGroup bgrp1 = new TQButtonGroup( 1, TQGroupBox.Horizontal, "Button Group 1 (exclusive)", this); box1.addWidget( bgrp1 ); bgrp1.setExclusive( true ); // insert 3 radiobuttons - QRadioButton rb11 = new QRadioButton( "&Radiobutton 1", bgrp1 ); + TQRadioButton rb11 = new TQRadioButton( "&Radiobutton 1", bgrp1 ); rb11.setChecked( true ); - new QRadioButton( "R&adiobutton 2", bgrp1 ); - new QRadioButton( "Ra&diobutton 3", bgrp1 ); + new TQRadioButton( "R&adiobutton 2", bgrp1 ); + new TQRadioButton( "Ra&diobutton 3", bgrp1 ); // ------- second group // Create a non-exclusive buttongroup - QButtonGroup bgrp2 = new QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 2 (non-exclusive)", this ); + TQButtonGroup bgrp2 = new TQButtonGroup( 1, TQGroupBox.Horizontal, "Button Group 2 (non-exclusive)", this ); box1.addWidget( bgrp2 ); bgrp2.setExclusive( false ); // insert 3 checkboxes - new QCheckBox( "&Checkbox 1", bgrp2 ); - QCheckBox cb12 = new QCheckBox( "C&heckbox 2", bgrp2 ); + new TQCheckBox( "&Checkbox 1", bgrp2 ); + TQCheckBox cb12 = new TQCheckBox( "C&heckbox 2", bgrp2 ); cb12.setChecked( true ); - QCheckBox cb13 = new QCheckBox( "Triple &State Button", bgrp2 ); + TQCheckBox cb13 = new TQCheckBox( "Triple &State Button", bgrp2 ); cb13.setTristate( true ); cb13.setChecked( true ); // ------------ third group // create a buttongroup which is exclusive for radiobuttons and non-exclusive for all other buttons - QButtonGroup bgrp3 = new QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 3 (Radiobutton-exclusive)", this ); + TQButtonGroup bgrp3 = new TQButtonGroup( 1, TQGroupBox.Horizontal, "Button Group 3 (Radiobutton-exclusive)", this ); box2.addWidget( bgrp3 ); bgrp3.setRadioButtonExclusive( true ); // insert three radiobuttons - rb21 = new QRadioButton( "Rad&iobutton 1", bgrp3 ); - rb22 = new QRadioButton( "Radi&obutton 2", bgrp3 ); - rb23 = new QRadioButton( "Radio&button 3", bgrp3 ); + rb21 = new TQRadioButton( "Rad&iobutton 1", bgrp3 ); + rb22 = new TQRadioButton( "Radi&obutton 2", bgrp3 ); + rb23 = new TQRadioButton( "Radio&button 3", bgrp3 ); rb23.setChecked( true ); // insert a checkbox... - state = new QCheckBox( "E&nable Radiobuttons", bgrp3 ); + state = new TQCheckBox( "E&nable Radiobuttons", bgrp3 ); state.setChecked( true ); // ...and connect its SIGNAL clicked() with the SLOT slotChangeGrp3State() connect( state, SIGNAL(" clicked()"), this, SLOT(" slotChangeGrp3State()") ); @@ -86,13 +86,13 @@ public ButtonsGroups( QWidget parent, String name ) // ------------ fourth group // create a groupbox which layouts its childs in a columns - QGroupBox bgrp4 = new QButtonGroup( 1, QGroupBox.Horizontal, "Groupbox with normal buttons", this ); + TQGroupBox bgrp4 = new TQButtonGroup( 1, TQGroupBox.Horizontal, "Groupbox with normal buttons", this ); box2.addWidget( bgrp4 ); // insert three pushbuttons... - new QPushButton( "&Push Button", bgrp4 ); - QPushButton tb2 = new QPushButton( "&Toggle Button", bgrp4 ); - QPushButton tb3 = new QPushButton( "&Flat Button", bgrp4 ); + new TQPushButton( "&Push Button", bgrp4 ); + TQPushButton tb2 = new TQPushButton( "&Toggle Button", bgrp4 ); + TQPushButton tb3 = new TQPushButton( "&Flat Button", bgrp4 ); // ... and make the second one a toggle button tb2.setToggleButton( true ); diff --git a/qtjava/javalib/examples/buttongroups/Main.java b/qtjava/javalib/examples/buttongroups/Main.java index a7652d87..5ec69689 100644 --- a/qtjava/javalib/examples/buttongroups/Main.java +++ b/qtjava/javalib/examples/buttongroups/Main.java @@ -13,7 +13,7 @@ public class Main { public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ButtonsGroups buttonsgroups = new ButtonsGroups(); buttonsgroups.resize( 500, 250 ); diff --git a/qtjava/javalib/examples/checklists/CheckLists.java b/qtjava/javalib/examples/checklists/CheckLists.java index ef3dd8bf..5dc42300 100644 --- a/qtjava/javalib/examples/checklists/CheckLists.java +++ b/qtjava/javalib/examples/checklists/CheckLists.java @@ -10,11 +10,11 @@ import org.kde.qt.*; import java.util.*; -class CheckLists extends QWidget +class CheckLists extends TQWidget { -protected QListView lv1, lv2; -protected QLabel label; +protected TQListView lv1, lv2; +protected TQLabel label; /* Constructor @@ -27,21 +27,21 @@ CheckLists( ) this(null, null); } -CheckLists( QWidget parent, String name ) +CheckLists( TQWidget parent, String name ) { super( parent, name ); - QHBoxLayout lay = new QHBoxLayout( this ); + TQHBoxLayout lay = new TQHBoxLayout( this ); lay.setMargin( 5 ); // create a widget which layouts its childs in a column - QVBoxLayout vbox1 = new QVBoxLayout( lay ); + TQVBoxLayout vbox1 = new TQVBoxLayout( lay ); vbox1.setMargin( 5 ); // First child: a Label - vbox1.addWidget( new QLabel( "Check some items!", this ) ); + vbox1.addWidget( new TQLabel( "Check some items!", this ) ); // Second child: the ListView - lv1 = new QListView( this ); + lv1 = new TQListView( this ); vbox1.addWidget( lv1 ); lv1.addColumn( "Items" ); lv1.setRootIsDecorated( true ); @@ -49,62 +49,62 @@ CheckLists( QWidget parent, String name ) // create a list with 4 ListViewItems which will be parent items of other ListViewItems ArrayList parentList = new ArrayList(); - parentList.add( new QListViewItem( lv1, "Parent Item 1" ) ); - parentList.add( new QListViewItem( lv1, "Parent Item 2" ) ); - parentList.add( new QListViewItem( lv1, "Parent Item 3" ) ); - parentList.add( new QListViewItem( lv1, "Parent Item 4" ) ); + parentList.add( new TQListViewItem( lv1, "Parent Item 1" ) ); + parentList.add( new TQListViewItem( lv1, "Parent Item 2" ) ); + parentList.add( new TQListViewItem( lv1, "Parent Item 3" ) ); + parentList.add( new TQListViewItem( lv1, "Parent Item 4" ) ); - QListViewItem item = null; + TQListViewItem item = null; int num = 1; // go through the list of parent items... for ( Iterator it = parentList.iterator(); it.hasNext(); num++ ) { - item = (QListViewItem) it.next(); + item = (TQListViewItem) it.next(); item.setOpen( true ); // ...and create 5 checkable child ListViewItems for each parent item for ( int i = 1; i <= 5; i++ ) - new QCheckListItem( item, i + ". Child of Parent " + num, QCheckListItem.CheckBox ); + new TQCheckListItem( item, i + ". Child of Parent " + num, TQCheckListItem.CheckBox ); } // Create another widget for layouting - QVBoxLayout tmp = new QVBoxLayout( lay ); + TQVBoxLayout tmp = new TQVBoxLayout( lay ); tmp.setMargin( 5 ); // create a pushbutton - QPushButton copy1 = new QPushButton( " -> ", this ); + TQPushButton copy1 = new TQPushButton( " -> ", this ); tmp.addWidget( copy1 ); copy1.setMaximumWidth( copy1.sizeHint().width() ); // connect the SIGNAL clicked() of the pushbutton with the SLOT copy1to2() connect( copy1, SIGNAL(" clicked()"), this, SLOT(" copy1to2()") ); // another widget for layouting - QVBoxLayout vbox2 = new QVBoxLayout( lay ); + TQVBoxLayout vbox2 = new TQVBoxLayout( lay ); vbox2.setMargin( 5 ); // and another label - vbox2.addWidget( new QLabel( "Check one item!", this ) ); + vbox2.addWidget( new TQLabel( "Check one item!", this ) ); // create the second listview - lv2 = new QListView( this ); + lv2 = new TQListView( this ); vbox2.addWidget( lv2 ); lv2.addColumn( "Items" ); lv2.setRootIsDecorated( true ); // another widget needed for layouting only - tmp = new QVBoxLayout( lay ); + tmp = new TQVBoxLayout( lay ); tmp.setMargin( 5 ); // create another pushbutton... - QPushButton copy2 = new QPushButton( " -> ", this ); + TQPushButton copy2 = new TQPushButton( " -> ", this ); lay.addWidget( copy2 ); copy2.setMaximumWidth( copy2.sizeHint().width() ); // ...and connect its clicked() SIGNAL to the copy2to3() SLOT connect( copy2, SIGNAL(" clicked()"), this, SLOT(" copy2to3()") ); - tmp = new QVBoxLayout( lay ); + tmp = new TQVBoxLayout( lay ); tmp.setMargin( 5 ); // and create a label which will be at the right of the window - label = new QLabel( "No Item yet...", this ); + label = new TQLabel( "No Item yet...", this ); tmp.addWidget( label ); } @@ -124,22 +124,22 @@ public void copy1to2() // Insert first a controller Item into the second ListView. Always if Radio-ListViewItems // are inserted into a Listview, the parent item of these MUST be a controller Item! - QCheckListItem item = new QCheckListItem( lv2, "Controller", QCheckListItem.Controller ); + TQCheckListItem item = new TQCheckListItem( lv2, "Controller", TQCheckListItem.Controller ); item.setOpen( true ); // iterate through the first ListView... while ( it.hasNext() ) { - QListViewItem current = (QListViewItem) it.next(); + TQListViewItem current = (TQListViewItem) it.next(); // ...check state of childs, and... if ( current.parent() != null ) // ...if the item is checked... - if ( ( (QCheckListItem) current ).isOn() ) + if ( ( (TQCheckListItem) current ).isOn() ) // ...insert a Radio-ListViewItem with the same text into the second ListView - new QCheckListItem( item, current.text( 0 ), QCheckListItem.RadioButton ); + new TQCheckListItem( item, current.text( 0 ), TQCheckListItem.RadioButton ); } if ( item.firstChild() != null ) - ( ( QCheckListItem )item.firstChild() ).setOn( true ); + ( ( TQCheckListItem )item.firstChild() ).setOn( true ); } /* @@ -158,11 +158,11 @@ public void copy2to3() // iterate through the second ListView... while ( it.hasNext() ) { - QListViewItem current = (QListViewItem) it.next(); + TQListViewItem current = (TQListViewItem) it.next(); // ...check state of childs, and... if ( current.parent() != null ) // ...if the item is checked... - if ( ( (QCheckListItem) current ).isOn() ) + if ( ( (TQCheckListItem) current ).isOn() ) // ...set the text of the item to the label label.setText( current.text( 0 ) ); } diff --git a/qtjava/javalib/examples/checklists/Main.java b/qtjava/javalib/examples/checklists/Main.java index 8d21a20b..263073d3 100644 --- a/qtjava/javalib/examples/checklists/Main.java +++ b/qtjava/javalib/examples/checklists/Main.java @@ -13,7 +13,7 @@ public class Main { public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); CheckLists checklists = new CheckLists(); checklists.resize( 650, 350 ); diff --git a/qtjava/javalib/examples/cursor/CursorView.java b/qtjava/javalib/examples/cursor/CursorView.java index 39eeb591..2b6d971c 100644 --- a/qtjava/javalib/examples/cursor/CursorView.java +++ b/qtjava/javalib/examples/cursor/CursorView.java @@ -14,7 +14,7 @@ import org.kde.qt.*; // The CursorView contains many labels with different cursors. // -class CursorView extends QWidget // cursor view +class CursorView extends TQWidget // cursor view { // cb_bits and cm_bits were generated by X bitmap program. @@ -98,31 +98,31 @@ public CursorView() // construct view { setCaption( "CursorView" ); // set window caption - QGridLayout grid = new QGridLayout( this, 5, 4, 20 ); - QLabel label; + TQGridLayout grid = new TQGridLayout( this, 5, 4, 20 ); + TQLabel label; int i=0; for ( int y=0; y<4; y++ ) { // create the small labels for ( int x=0; x<4; x++ ) { - label = new QLabel( this ); - label.setCursor( new QCursor( shapeList[i] ) ); + label = new TQLabel( this ); + label.setCursor( new TQCursor( shapeList[i] ) ); label.setText( nameList[i] ); label.setAlignment( AlignCenter ); - label.setFrameStyle( QFrame.Box | QFrame.Raised ); + label.setFrameStyle( TQFrame.Box | TQFrame.Raised ); grid.addWidget( label, x, y ); i++; } } - QBitmap cb = new QBitmap( cb_width, cb_height, cb_bits, true ); - QBitmap cm = new QBitmap( cm_width, cm_height, cm_bits, true ); - QCursor custom = new QCursor( cb, cm ); // create bitmap cursor + TQBitmap cb = new TQBitmap( cb_width, cb_height, cb_bits, true ); + TQBitmap cm = new TQBitmap( cm_width, cm_height, cm_bits, true ); + TQCursor custom = new TQCursor( cb, cm ); // create bitmap cursor - label = new QLabel( this ); // create the big label + label = new TQLabel( this ); // create the big label label.setCursor( custom ); label.setText( "Custom bitmap cursor" ); label.setAlignment( AlignCenter ); - label.setFrameStyle( QFrame.Box | QFrame.Sunken ); + label.setFrameStyle( TQFrame.Box | TQFrame.Sunken ); grid.addMultiCellWidget( label, 4, 4, 0, 3 ); } @@ -134,7 +134,7 @@ public CursorView() // construct view public static void main( String[] args ) { - QApplication a = new QApplication( args ); // application object + TQApplication a = new TQApplication( args ); // application object CursorView v = new CursorView(); // cursor view a.setMainWidget( v ); v.setCaption("Qt Example - Cursors"); diff --git a/qtjava/javalib/examples/dclock/DigitalClock.java b/qtjava/javalib/examples/dclock/DigitalClock.java index 6bc1d87f..84b34b5b 100644 --- a/qtjava/javalib/examples/dclock/DigitalClock.java +++ b/qtjava/javalib/examples/dclock/DigitalClock.java @@ -12,7 +12,7 @@ import org.kde.qt.*; import java.util.Date; import java.text.*; -class DigitalClock extends QLCDNumber // digital clock widget +class DigitalClock extends TQLCDNumber // digital clock widget { private boolean showingColon; @@ -30,16 +30,16 @@ DigitalClock( ) // // Constructs a DigitalClock widget with a parent and a name. // -DigitalClock( QWidget parent ) +DigitalClock( TQWidget parent ) { this(parent, null); } -DigitalClock( QWidget parent, String name ) +DigitalClock( TQWidget parent, String name ) { super( parent, name ); showingColon = false; - setFrameStyle( QFrame.Panel | QFrame.Raised ); + setFrameStyle( TQFrame.Panel | TQFrame.Raised ); setLineWidth( 2 ); // set frame line width showTime(); // display the current time normalTimer = startTimer( 500 ); // 1/2 second timer events @@ -53,7 +53,7 @@ DigitalClock( QWidget parent, String name ) // and another one for switching back from date mode to time mode. // -protected void timerEvent( QTimerEvent e ) +protected void timerEvent( TQTimerEvent e ) { if ( e.timerId() == showDateTimer ) // stop showing date stopDate(); @@ -67,9 +67,9 @@ protected void timerEvent( QTimerEvent e ) // Enters date mode when the left mouse button is pressed. // -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { - if ( e.button() == QMouseEvent.LeftButton ) // left button pressed + if ( e.button() == TQMouseEvent.LeftButton ) // left button pressed showDate(); } diff --git a/qtjava/javalib/examples/dclock/Main.java b/qtjava/javalib/examples/dclock/Main.java index 1aeb174e..8656365c 100644 --- a/qtjava/javalib/examples/dclock/Main.java +++ b/qtjava/javalib/examples/dclock/Main.java @@ -14,7 +14,7 @@ public class Main { public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); DigitalClock clock = new DigitalClock(); clock.resize( 170, 80 ); a.setMainWidget( clock ); diff --git a/qtjava/javalib/examples/demo/sql/BookForm.java b/qtjava/javalib/examples/demo/sql/BookForm.java index 67670357..0c51bd09 100644 --- a/qtjava/javalib/examples/demo/sql/BookForm.java +++ b/qtjava/javalib/examples/demo/sql/BookForm.java @@ -8,37 +8,37 @@ ****************************************************************************/ import org.kde.qt.*; -public class BookForm extends QWidget { - QDataTable AuthorDataTable; - QDataTable BookDataTable; - QPushButton connectButton; - QPushButton editButton; +public class BookForm extends TQWidget { + TQDataTable AuthorDataTable; + TQDataTable BookDataTable; + TQPushButton connectButton; + TQPushButton editButton; - QGridLayout BookFormLayout; - QSizePolicy policy_1; - QSizePolicy policy_2; - QSpacerItem spacer; - QSpacerItem spacer_2; + TQGridLayout BookFormLayout; + TQSizePolicy policy_1; + TQSizePolicy policy_2; + TQSpacerItem spacer; + TQSpacerItem spacer_2; - QSqlCursor authorCursor; - QSqlCursor bookCursor; + TQSqlCursor authorCursor; + TQSqlCursor bookCursor; /* * Constructs a BookForm which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -BookForm( QWidget parent, String name, int fl ) +BookForm( TQWidget parent, String name, int fl ) { super( parent, name, fl ); if ( name == null ) setName( "BookForm" ); resize( 478, 498 ); setCaption( trUtf8( "Book" ) ); - BookFormLayout = new QGridLayout( this ); + BookFormLayout = new TQGridLayout( this ); BookFormLayout.setSpacing( 6 ); BookFormLayout.setMargin( 11 ); - AuthorDataTable = new QDataTable( this, "AuthorDataTable" ); + AuthorDataTable = new TQDataTable( this, "AuthorDataTable" ); AuthorDataTable.addColumn( "surname", trUtf8( "Surname", "" ) ); AuthorDataTable.addColumn( "forename", trUtf8( "Forename", "" ) ); AuthorDataTable.setSorting( true ); @@ -46,10 +46,10 @@ BookForm( QWidget parent, String name, int fl ) AuthorDataTable.setSort( new String[] { "surname ASC", "forename ASC" } ); BookFormLayout.addMultiCellWidget( AuthorDataTable, 1, 1, 0, 2 ); - spacer = new QSpacerItem( 20, 20, QSizePolicy.Expanding, QSizePolicy.Minimum ); + spacer = new TQSpacerItem( 20, 20, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); BookFormLayout.addMultiCell( spacer, 0, 0, 1, 2 ); - BookDataTable = new QDataTable( this, "BookDataTable" ); + BookDataTable = new TQDataTable( this, "BookDataTable" ); BookDataTable.addColumn( "title", trUtf8( "Title", "" ) ); BookDataTable.addColumn( "price", trUtf8( "Price", "" ) ); BookDataTable.addColumn( "notes", trUtf8( "Notes", "" ) ); @@ -58,19 +58,19 @@ BookForm( QWidget parent, String name, int fl ) BookDataTable.setSort( new String[] { "title ASC" } ); BookFormLayout.addMultiCellWidget( BookDataTable, 2, 2, 0, 2 ); - spacer_2 = new QSpacerItem( 20, 20, QSizePolicy.Expanding, QSizePolicy.Minimum ); + spacer_2 = new TQSpacerItem( 20, 20, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); BookFormLayout.addMultiCell( spacer_2, 3, 3, 0, 1 ); - connectButton = new QPushButton( this, "connectButton" ); - policy_1 = new QSizePolicy( (int)0, (int)0, connectButton.sizePolicy().hasHeightForWidth() ); + connectButton = new TQPushButton( this, "connectButton" ); + policy_1 = new TQSizePolicy( (int)0, (int)0, connectButton.sizePolicy().hasHeightForWidth() ); connectButton.setSizePolicy( policy_1 ); connectButton.setText( trUtf8( "&Connect..." ) ); BookFormLayout.addWidget( connectButton, 0, 0 ); - editButton = new QPushButton( this, "editButton" ); + editButton = new TQPushButton( this, "editButton" ); editButton.setEnabled( false ); - policy_2 = new QSizePolicy( (int)0, (int)0, editButton.sizePolicy().hasHeightForWidth() ); + policy_2 = new TQSizePolicy( (int)0, (int)0, editButton.sizePolicy().hasHeightForWidth() ); editButton.setSizePolicy( policy_2 ); editButton.setText( trUtf8( "&Edit Books" ) ); @@ -84,8 +84,8 @@ BookForm( QWidget parent, String name, int fl ) // signals and slots connections connect( editButton, SIGNAL( "clicked()" ), this, SLOT( "editClicked()" ) ); - connect( AuthorDataTable, SIGNAL( "primeInsert(QSqlRecord)" ), this, SLOT( "primeInsertAuthor(QSqlRecord)" ) ); - connect( AuthorDataTable, SIGNAL( "currentChanged(QSqlRecord)" ), this, SLOT( "newCurrentAuthor(QSqlRecord)" ) ); + connect( AuthorDataTable, SIGNAL( "primeInsert(TQSqlRecord)" ), this, SLOT( "primeInsertAuthor(TQSqlRecord)" ) ); + connect( AuthorDataTable, SIGNAL( "currentChanged(TQSqlRecord)" ), this, SLOT( "newCurrentAuthor(TQSqlRecord)" ) ); connect( connectButton, SIGNAL( "clicked()" ), this, SLOT( "connectClicked()" ) ); // tab order @@ -93,12 +93,12 @@ BookForm( QWidget parent, String name, int fl ) init(); } -BookForm( QWidget parent, String name ) +BookForm( TQWidget parent, String name ) { this(parent, name, 0); } -BookForm( QWidget parent ) +BookForm( TQWidget parent ) { this(parent, null, 0); } @@ -119,12 +119,12 @@ public void destroy() void editClicked() { EditBookForm dialog = new EditBookForm( this, "Edit Book Form", true, 0 ); - QSqlCursor cur = new QSqlCursor( "book" ); + TQSqlCursor cur = new TQSqlCursor( "book" ); dialog.BookDataBrowser.setSqlCursor( cur ); dialog.BookDataBrowser.setFilter( BookDataTable.filter() ); String[] sort = new String[BookDataTable.sort().size()]; sort = (String[]) BookDataTable.sort().toArray(sort); - dialog.BookDataBrowser.setSort(QSqlIndex.fromStringList( + dialog.BookDataBrowser.setSort(TQSqlIndex.fromStringList( sort, cur ) ); dialog.BookDataBrowser.refresh(); int i = BookDataTable.currentRow(); @@ -139,13 +139,13 @@ void connectClicked() { boolean ok = false; ConnectDialog dialog = new ConnectDialog( this, "Connect", true, 0 ); - String[] drivers = new String[QSqlDatabase.drivers().size()];; - drivers = (String[]) QSqlDatabase.drivers().toArray(drivers); + String[] drivers = new String[TQSqlDatabase.drivers().size()];; + drivers = (String[]) TQSqlDatabase.drivers().toArray(drivers); dialog.comboDriver.insertStringList( drivers ); dialog.editDatabase.setText( "book" ); - if ( dialog.exec() == QDialog.Accepted ) { - // QSqlDatabase.removeDatabase( QSqlDatabase.defaultConnection() ); - QSqlDatabase db = QSqlDatabase.addDatabase( dialog.comboDriver.currentText() ); + if ( dialog.exec() == TQDialog.Accepted ) { + // TQSqlDatabase.removeDatabase( TQSqlDatabase.defaultConnection() ); + TQSqlDatabase db = TQSqlDatabase.addDatabase( dialog.comboDriver.currentText() ); db.setDatabaseName( dialog.editDatabase.text() ); db.setUserName( dialog.editUsername.text() ); db.setPassword( dialog.editPassword.text() ); @@ -158,29 +158,29 @@ void connectClicked() } if ( !ok ) { editButton.setEnabled( false ); - BookDataTable.setSqlCursor( (QSqlCursor) null ); - AuthorDataTable.setSqlCursor( (QSqlCursor) null ); + BookDataTable.setSqlCursor( (TQSqlCursor) null ); + AuthorDataTable.setSqlCursor( (TQSqlCursor) null ); } else { editButton.setEnabled( true ); - authorCursor = new QSqlCursor( "author" ); + authorCursor = new TQSqlCursor( "author" ); AuthorDataTable.setSqlCursor( authorCursor, false, true ); - bookCursor = new QSqlCursor( "book" ); + bookCursor = new TQSqlCursor( "book" ); BookDataTable.setSqlCursor( bookCursor, false, true ); - AuthorDataTable.refresh( QDataTable.RefreshAll ); - BookDataTable.refresh( QDataTable.RefreshAll ); + AuthorDataTable.refresh( TQDataTable.RefreshAll ); + BookDataTable.refresh( TQDataTable.RefreshAll ); } dialog = null; } -void newCurrentAuthor(QSqlRecord author) +void newCurrentAuthor(TQSqlRecord author) { BookDataTable.setFilter( "authorid=" + author.value( "id" ).toString() ); BookDataTable.refresh(); } -void primeInsertAuthor(QSqlRecord buffer) +void primeInsertAuthor(TQSqlRecord buffer) { - QSqlQuery q = new QSqlQuery(); + TQSqlQuery q = new TQSqlQuery(); q.exec( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='author';" ); q.exec( "SELECT sequence FROM sequence WHERE tablename='author';" ); if ( q.next() ) { diff --git a/qtjava/javalib/examples/demo/sql/ConnectDialog.java b/qtjava/javalib/examples/demo/sql/ConnectDialog.java index bbd17391..ad7c331b 100644 --- a/qtjava/javalib/examples/demo/sql/ConnectDialog.java +++ b/qtjava/javalib/examples/demo/sql/ConnectDialog.java @@ -8,22 +8,22 @@ ****************************************************************************/ import org.kde.qt.*; -public class ConnectDialog extends QDialog { - QLineEdit editDatabase; - QLabel TextLabel3; - QLineEdit editPassword; - QLabel TextLabel4; - QLabel TextLabel4_2; - QLabel TextLabel2; - QLabel TextLabel5; - QComboBox comboDriver; - QLineEdit editHostname; - QLineEdit editUsername; - QPushButton PushButton1; - QPushButton PushButton2; - - QGridLayout ConnectDialogLayout; - QSpacerItem spacer; +public class ConnectDialog extends TQDialog { + TQLineEdit editDatabase; + TQLabel TextLabel3; + TQLineEdit editPassword; + TQLabel TextLabel4; + TQLabel TextLabel4_2; + TQLabel TextLabel2; + TQLabel TextLabel5; + TQComboBox comboDriver; + TQLineEdit editHostname; + TQLineEdit editUsername; + TQPushButton PushButton1; + TQPushButton PushButton2; + + TQGridLayout ConnectDialogLayout; + TQSpacerItem spacer; /* * Constructs a ConnectDialog which is a child of 'parent', with the @@ -32,75 +32,75 @@ public class ConnectDialog extends QDialog { * The dialog will by default be modeless, unless you set 'modal' to * true to construct a modal dialog. */ -ConnectDialog( QWidget parent, String name, boolean modal, int fl ) +ConnectDialog( TQWidget parent, String name, boolean modal, int fl ) { super( parent, name, modal, fl ); if ( name == null ) setName( "ConnectDialog" ); resize( 294, 207 ); setCaption( trUtf8( "Connect..." ) ); - ConnectDialogLayout = new QGridLayout( this ); + ConnectDialogLayout = new TQGridLayout( this ); ConnectDialogLayout.setSpacing( 6 ); ConnectDialogLayout.setMargin( 11 ); - editDatabase = new QLineEdit( this, "editDatabase" ); + editDatabase = new TQLineEdit( this, "editDatabase" ); ConnectDialogLayout.addMultiCellWidget( editDatabase, 1, 1, 2, 3 ); - TextLabel3 = new QLabel( this, "TextLabel3" ); + TextLabel3 = new TQLabel( this, "TextLabel3" ); TextLabel3.setText( trUtf8( "Database Name:" ) ); ConnectDialogLayout.addMultiCellWidget( TextLabel3, 1, 1, 0, 1 ); - editPassword = new QLineEdit( this, "editPassword" ); - editPassword.setEchoMode( QLineEdit.Password ); + editPassword = new TQLineEdit( this, "editPassword" ); + editPassword.setEchoMode( TQLineEdit.Password ); ConnectDialogLayout.addMultiCellWidget( editPassword, 3, 3, 2, 3 ); - TextLabel4 = new QLabel( this, "TextLabel4" ); + TextLabel4 = new TQLabel( this, "TextLabel4" ); TextLabel4.setText( trUtf8( "&Username:" ) ); ConnectDialogLayout.addMultiCellWidget( TextLabel4, 2, 2, 0, 1 ); - TextLabel4_2 = new QLabel( this, "TextLabel4_2" ); + TextLabel4_2 = new TQLabel( this, "TextLabel4_2" ); TextLabel4_2.setText( trUtf8( "&Password:" ) ); ConnectDialogLayout.addMultiCellWidget( TextLabel4_2, 3, 3, 0, 1 ); - TextLabel2 = new QLabel( this, "TextLabel2" ); + TextLabel2 = new TQLabel( this, "TextLabel2" ); TextLabel2.setText( trUtf8( "D&river" ) ); ConnectDialogLayout.addMultiCellWidget( TextLabel2, 0, 0, 0, 1 ); - TextLabel5 = new QLabel( this, "TextLabel5" ); + TextLabel5 = new TQLabel( this, "TextLabel5" ); TextLabel5.setText( trUtf8( "&Hostname:" ) ); ConnectDialogLayout.addMultiCellWidget( TextLabel5, 4, 4, 0, 1 ); - comboDriver = new QComboBox( false, this, "comboDriver" ); + comboDriver = new TQComboBox( false, this, "comboDriver" ); comboDriver.setEditable( true ); ConnectDialogLayout.addMultiCellWidget( comboDriver, 0, 0, 2, 3 ); - editHostname = new QLineEdit( this, "editHostname" ); + editHostname = new TQLineEdit( this, "editHostname" ); ConnectDialogLayout.addMultiCellWidget( editHostname, 4, 4, 2, 3 ); - editUsername = new QLineEdit( this, "editUsername" ); + editUsername = new TQLineEdit( this, "editUsername" ); ConnectDialogLayout.addMultiCellWidget( editUsername, 2, 2, 2, 3 ); - PushButton1 = new QPushButton( this, "PushButton1" ); + PushButton1 = new TQPushButton( this, "PushButton1" ); PushButton1.setText( trUtf8( "&OK" ) ); PushButton1.setDefault( true ); ConnectDialogLayout.addMultiCellWidget( PushButton1, 5, 5, 1, 2 ); - PushButton2 = new QPushButton( this, "PushButton2" ); + PushButton2 = new TQPushButton( this, "PushButton2" ); PushButton2.setText( trUtf8( "&Cancel" ) ); ConnectDialogLayout.addWidget( PushButton2, 5, 3 ); - spacer = new QSpacerItem( 20, 20, QSizePolicy.Expanding, QSizePolicy.Minimum ); + spacer = new TQSpacerItem( 20, 20, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); ConnectDialogLayout.addItem( spacer, 5, 0 ); diff --git a/qtjava/javalib/examples/demo/sql/EditBookForm.java b/qtjava/javalib/examples/demo/sql/EditBookForm.java index 6c07176f..4def1743 100644 --- a/qtjava/javalib/examples/demo/sql/EditBookForm.java +++ b/qtjava/javalib/examples/demo/sql/EditBookForm.java @@ -9,33 +9,33 @@ import org.kde.qt.*; import java.util.HashMap; -public class EditBookForm extends QDialog { - QDataBrowser BookDataBrowser; - QLabel labelPrice; - QLabel labelTitle; - QLineEdit QLineEditTitle; - QLineEdit QLineEditPrice; - QPushButton PushButtonInsert; - QPushButton PushButtonUpdate; - QPushButton PushButtonDelete; - QPushButton PushButtonClose; - QPushButton PushButtonFirst; - QPushButton PushButtonPrev; - QPushButton PushButtonNext; - QPushButton PushButtonLast; - QLabel TextLabel1; - QComboBox ComboBoxAuthor; - - QVBoxLayout EditBookFormLayout; - QGridLayout BookDataBrowserLayout; - QGridLayout Layout2; - QHBoxLayout Layout6; - QHBoxLayout Layout3; - QHBoxLayout Layout6_2; +public class EditBookForm extends TQDialog { + TQDataBrowser BookDataBrowser; + TQLabel labelPrice; + TQLabel labelTitle; + TQLineEdit TQLineEditTitle; + TQLineEdit TQLineEditPrice; + TQPushButton PushButtonInsert; + TQPushButton PushButtonUpdate; + TQPushButton PushButtonDelete; + TQPushButton PushButtonClose; + TQPushButton PushButtonFirst; + TQPushButton PushButtonPrev; + TQPushButton PushButtonNext; + TQPushButton PushButtonLast; + TQLabel TextLabel1; + TQComboBox ComboBoxAuthor; + + TQVBoxLayout EditBookFormLayout; + TQGridLayout BookDataBrowserLayout; + TQGridLayout Layout2; + TQHBoxLayout Layout6; + TQHBoxLayout Layout3; + TQHBoxLayout Layout6_2; HashMap authorMap; - QSizePolicy policy_1; - QSqlForm BookDataBrowserForm; + TQSizePolicy policy_1; + TQSqlForm BookDataBrowserForm; /* * Constructs a EditBookForm which is a child of 'parent', with the @@ -44,102 +44,102 @@ public class EditBookForm extends QDialog { * The dialog will by default be modeless, unless you set 'modal' to * true to construct a modal dialog. */ -EditBookForm( QWidget parent, String name, boolean modal, int fl ) +EditBookForm( TQWidget parent, String name, boolean modal, int fl ) { super( parent, name, modal, fl ); if ( name == null ) setName( "EditBookForm" ); resize( 524, 371 ); setCaption( trUtf8( "Edit Books" ) ); - EditBookFormLayout = new QVBoxLayout( this ); + EditBookFormLayout = new TQVBoxLayout( this ); EditBookFormLayout.setSpacing( 6 ); EditBookFormLayout.setMargin( 11 ); - BookDataBrowser = new QDataBrowser( this, "BookDataBrowser" ); - BookDataBrowserLayout = new QGridLayout( BookDataBrowser ); + BookDataBrowser = new TQDataBrowser( this, "BookDataBrowser" ); + BookDataBrowserLayout = new TQGridLayout( BookDataBrowser ); BookDataBrowser.setSort( new String[] { "title ASC" } ); BookDataBrowserLayout.setSpacing( 6 ); BookDataBrowserLayout.setMargin( 11 ); - Layout2 = new QGridLayout(); + Layout2 = new TQGridLayout(); Layout2.setSpacing( 6 ); Layout2.setMargin( 0 ); - labelPrice = new QLabel( BookDataBrowser, "labelPrice" ); + labelPrice = new TQLabel( BookDataBrowser, "labelPrice" ); labelPrice.setText( trUtf8( "Price" ) ); Layout2.addWidget( labelPrice, 1, 0 ); - labelTitle = new QLabel( BookDataBrowser, "labelTitle" ); + labelTitle = new TQLabel( BookDataBrowser, "labelTitle" ); labelTitle.setText( trUtf8( "Title" ) ); Layout2.addWidget( labelTitle, 0, 0 ); - QLineEditTitle = new QLineEdit( BookDataBrowser, "QLineEditTitle" ); + TQLineEditTitle = new TQLineEdit( BookDataBrowser, "TQLineEditTitle" ); - Layout2.addWidget( QLineEditTitle, 0, 1 ); + Layout2.addWidget( TQLineEditTitle, 0, 1 ); - QLineEditPrice = new QLineEdit( BookDataBrowser, "QLineEditPrice" ); + TQLineEditPrice = new TQLineEdit( BookDataBrowser, "TQLineEditPrice" ); - Layout2.addWidget( QLineEditPrice, 1, 1 ); + Layout2.addWidget( TQLineEditPrice, 1, 1 ); BookDataBrowserLayout.addLayout( Layout2, 0, 0 ); - Layout6 = new QHBoxLayout(); + Layout6 = new TQHBoxLayout(); Layout6.setSpacing( 6 ); Layout6.setMargin( 0 ); - PushButtonInsert = new QPushButton( BookDataBrowser, "PushButtonInsert" ); + PushButtonInsert = new TQPushButton( BookDataBrowser, "PushButtonInsert" ); PushButtonInsert.setText( trUtf8( "&Insert" ) ); Layout6.addWidget( PushButtonInsert ); - PushButtonUpdate = new QPushButton( BookDataBrowser, "PushButtonUpdate" ); + PushButtonUpdate = new TQPushButton( BookDataBrowser, "PushButtonUpdate" ); PushButtonUpdate.setText( trUtf8( "&Update" ) ); PushButtonUpdate.setDefault( true ); Layout6.addWidget( PushButtonUpdate ); - PushButtonDelete = new QPushButton( BookDataBrowser, "PushButtonDelete" ); + PushButtonDelete = new TQPushButton( BookDataBrowser, "PushButtonDelete" ); PushButtonDelete.setText( trUtf8( "&Delete" ) ); Layout6.addWidget( PushButtonDelete ); - PushButtonClose = new QPushButton( BookDataBrowser, "PushButtonClose" ); + PushButtonClose = new TQPushButton( BookDataBrowser, "PushButtonClose" ); PushButtonClose.setText( trUtf8( "&Close" ) ); Layout6.addWidget( PushButtonClose ); BookDataBrowserLayout.addLayout( Layout6, 3, 0 ); - Layout3 = new QHBoxLayout(); + Layout3 = new TQHBoxLayout(); Layout3.setSpacing( 6 ); Layout3.setMargin( 0 ); - PushButtonFirst = new QPushButton( BookDataBrowser, "PushButtonFirst" ); + PushButtonFirst = new TQPushButton( BookDataBrowser, "PushButtonFirst" ); PushButtonFirst.setText( trUtf8( "|< &First" ) ); Layout3.addWidget( PushButtonFirst ); - PushButtonPrev = new QPushButton( BookDataBrowser, "PushButtonPrev" ); + PushButtonPrev = new TQPushButton( BookDataBrowser, "PushButtonPrev" ); PushButtonPrev.setText( trUtf8( "<< &Prev" ) ); Layout3.addWidget( PushButtonPrev ); - PushButtonNext = new QPushButton( BookDataBrowser, "PushButtonNext" ); + PushButtonNext = new TQPushButton( BookDataBrowser, "PushButtonNext" ); PushButtonNext.setText( trUtf8( "&Next >>" ) ); Layout3.addWidget( PushButtonNext ); - PushButtonLast = new QPushButton( BookDataBrowser, "PushButtonLast" ); + PushButtonLast = new TQPushButton( BookDataBrowser, "PushButtonLast" ); PushButtonLast.setText( trUtf8( "&Last >|" ) ); Layout3.addWidget( PushButtonLast ); BookDataBrowserLayout.addLayout( Layout3, 2, 0 ); - Layout6_2 = new QHBoxLayout(); + Layout6_2 = new TQHBoxLayout(); Layout6_2.setSpacing( 6 ); Layout6_2.setMargin( 0 ); - TextLabel1 = new QLabel( BookDataBrowser, "TextLabel1" ); + TextLabel1 = new TQLabel( BookDataBrowser, "TextLabel1" ); TextLabel1.setText( trUtf8( "Author" ) ); Layout6_2.addWidget( TextLabel1 ); - ComboBoxAuthor = new QComboBox( false, BookDataBrowser, "ComboBoxAuthor" ); - policy_1 = new QSizePolicy( (int)7, (int)0, ComboBoxAuthor.sizePolicy().hasHeightForWidth() ); + ComboBoxAuthor = new TQComboBox( false, BookDataBrowser, "ComboBoxAuthor" ); + policy_1 = new TQSizePolicy( (int)7, (int)0, ComboBoxAuthor.sizePolicy().hasHeightForWidth() ); ComboBoxAuthor.setSizePolicy( policy_1 ); Layout6_2.addWidget( ComboBoxAuthor ); @@ -147,9 +147,9 @@ EditBookForm( QWidget parent, String name, boolean modal, int fl ) EditBookFormLayout.addWidget( BookDataBrowser ); // database support - BookDataBrowserForm = new QSqlForm( this, "BookDataBrowserForm" ); - BookDataBrowserForm.insert( QLineEditTitle, "title" ); - BookDataBrowserForm.insert( QLineEditPrice, "price" ); + BookDataBrowserForm = new TQSqlForm( this, "BookDataBrowserForm" ); + BookDataBrowserForm.insert( TQLineEditTitle, "title" ); + BookDataBrowserForm.insert( TQLineEditPrice, "price" ); BookDataBrowser.setForm( BookDataBrowserForm ); @@ -169,15 +169,15 @@ EditBookForm( QWidget parent, String name, boolean modal, int fl ) connect( PushButtonUpdate, SIGNAL( "clicked()" ), BookDataBrowser, SLOT( "update()" ) ); connect( PushButtonDelete, SIGNAL( "clicked()" ), BookDataBrowser, SLOT( "del()" ) ); connect( PushButtonClose, SIGNAL( "clicked()" ), this, SLOT( "accept()" ) ); - connect( BookDataBrowser, SIGNAL( "primeUpdate(QSqlRecord)" ), this, SLOT( "primeUpdateBook(QSqlRecord)" ) ); - connect( BookDataBrowser, SIGNAL( "beforeUpdate(QSqlRecord)" ), this, SLOT( "beforeUpdateBook(QSqlRecord)" ) ); - connect( BookDataBrowser, SIGNAL( "beforeInsert(QSqlRecord)" ), this, SLOT( "beforeUpdateBook(QSqlRecord)" ) ); - connect( BookDataBrowser, SIGNAL( "primeInsert(QSqlRecord)" ), this, SLOT( "primeInsertBook(QSqlRecord)" ) ); - connect( BookDataBrowser, SIGNAL( "primeInsert(QSqlRecord)" ), this, SLOT( "primeInsertBook(QSqlRecord)" ) ); + connect( BookDataBrowser, SIGNAL( "primeUpdate(TQSqlRecord)" ), this, SLOT( "primeUpdateBook(TQSqlRecord)" ) ); + connect( BookDataBrowser, SIGNAL( "beforeUpdate(TQSqlRecord)" ), this, SLOT( "beforeUpdateBook(TQSqlRecord)" ) ); + connect( BookDataBrowser, SIGNAL( "beforeInsert(TQSqlRecord)" ), this, SLOT( "beforeUpdateBook(TQSqlRecord)" ) ); + connect( BookDataBrowser, SIGNAL( "primeInsert(TQSqlRecord)" ), this, SLOT( "primeInsertBook(TQSqlRecord)" ) ); + connect( BookDataBrowser, SIGNAL( "primeInsert(TQSqlRecord)" ), this, SLOT( "primeInsertBook(TQSqlRecord)" ) ); // tab order - setTabOrder( QLineEditTitle, QLineEditPrice ); - setTabOrder( QLineEditPrice, ComboBoxAuthor ); + setTabOrder( TQLineEditTitle, TQLineEditPrice ); + setTabOrder( TQLineEditPrice, ComboBoxAuthor ); setTabOrder( ComboBoxAuthor, PushButtonFirst ); setTabOrder( PushButtonFirst, PushButtonPrev ); setTabOrder( PushButtonPrev, PushButtonNext ); @@ -197,7 +197,7 @@ public void polish() { if ( BookDataBrowser != null ) { if ( BookDataBrowser.sqlCursor() == null ) { - QSqlCursor cursor = new QSqlCursor( "book" ); + TQSqlCursor cursor = new TQSqlCursor( "book" ); BookDataBrowser.setSqlCursor( cursor, true ); BookDataBrowser.refresh(); BookDataBrowser.first(); @@ -206,11 +206,11 @@ public void polish() super.polish(); } -void beforeUpdateBook(QSqlRecord buffer) +void beforeUpdateBook(TQSqlRecord buffer) { int[] id = { 0 }; mapAuthor( ComboBoxAuthor.currentText(), id, false ); - buffer.setValue( "authorid", new QVariant(id[0]) ); + buffer.setValue( "authorid", new TQVariant(id[0]) ); } void mapAuthor(String name, int[] id, boolean populate) @@ -221,9 +221,9 @@ void mapAuthor(String name, int[] id, boolean populate) // id[0] = authorMap[ name ]; } -void primeInsertBook(QSqlRecord buffer) +void primeInsertBook(TQSqlRecord buffer) { - QSqlQuery q = new QSqlQuery(); + TQSqlQuery q = new TQSqlQuery(); q.exec( "UPDATE sequence SET sequence = sequence + 1 WHERE tablename='book';" ); q.exec( "SELECT sequence FROM sequence WHERE tablename='book';" ); if ( q.next() ) { @@ -231,10 +231,10 @@ void primeInsertBook(QSqlRecord buffer) } } -void primeUpdateBook(QSqlRecord buffer) +void primeUpdateBook(TQSqlRecord buffer) { // Who is this book's author? - QSqlQuery query = new QSqlQuery( "SELECT surname FROM author WHERE id=" + + TQSqlQuery query = new TQSqlQuery( "SELECT surname FROM author WHERE id=" + buffer.value( "authorid" ).toString() + ";" ); String author = ""; if ( query.next() ) @@ -251,7 +251,7 @@ void primeUpdateBook(QSqlRecord buffer) void init() { authorMap = new HashMap(); - QSqlQuery query = new QSqlQuery( "SELECT surname, id FROM author ORDER BY surname;" ); + TQSqlQuery query = new TQSqlQuery( "SELECT surname, id FROM author ORDER BY surname;" ); while ( query.next() ) { ComboBoxAuthor.insertItem( query.value( 0 ).toString() ); int[] id = new int[1]; diff --git a/qtjava/javalib/examples/demo/sql/Main.java b/qtjava/javalib/examples/demo/sql/Main.java index 1bf81c88..b1697dd8 100644 --- a/qtjava/javalib/examples/demo/sql/Main.java +++ b/qtjava/javalib/examples/demo/sql/Main.java @@ -4,7 +4,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); BookForm form = new BookForm(); a.setMainWidget( form ); diff --git a/qtjava/javalib/examples/demo/widgets/Main.java b/qtjava/javalib/examples/demo/widgets/Main.java index f78ca26d..0caf97ec 100644 --- a/qtjava/javalib/examples/demo/widgets/Main.java +++ b/qtjava/javalib/examples/demo/widgets/Main.java @@ -4,7 +4,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); WidgetsBase widgets = new WidgetsBase(); a.setMainWidget( widgets ); diff --git a/qtjava/javalib/examples/demo/widgets/WidgetsBase.java b/qtjava/javalib/examples/demo/widgets/WidgetsBase.java index 74382cee..857a8fb3 100644 --- a/qtjava/javalib/examples/demo/widgets/WidgetsBase.java +++ b/qtjava/javalib/examples/demo/widgets/WidgetsBase.java @@ -12,80 +12,80 @@ import java.util.Calendar; import java.text.DateFormat; import java.text.SimpleDateFormat; -public class WidgetsBase extends QWidget { - QListBox ListBox3; - QTextEdit TextEdit1; - QTabWidget TabWidget2; - QWidget tab; - QIconView IconView1; - QWidget tab_2; - QTable Table1; - QWidget tab_3; - QListView ListView3; - QGroupBox groupBox; - QLCDNumber lcdDisplay; - QSlider slider; - QLabel TextLabel1_2; - QPushButton pushButton; - QComboBox buttonColorBox; - QLineEdit lineEdit; - QLabel TextLabel1_2_2; - QSpinBox spinBox; - QProgressBar progressBar; - QLabel colorTest; - QLabel PixmapLabel1; - QButtonGroup ButtonGroup1; - QCheckBox CheckBox1; - QCheckBox CheckBox2; - QCheckBox CheckBox3; - QButtonGroup ButtonGroup2; - QRadioButton RadioButton3; - QRadioButton RadioButton4; - QRadioButton RadioButton2; - QGroupBox GroupBox1; +public class WidgetsBase extends TQWidget { + TQListBox ListBox3; + TQTextEdit TextEdit1; + TQTabWidget TabWidget2; + TQWidget tab; + TQIconView IconView1; + TQWidget tab_2; + TQTable Table1; + TQWidget tab_3; + TQListView ListView3; + TQGroupBox groupBox; + TQLCDNumber lcdDisplay; + TQSlider slider; + TQLabel TextLabel1_2; + TQPushButton pushButton; + TQComboBox buttonColorBox; + TQLineEdit lineEdit; + TQLabel TextLabel1_2_2; + TQSpinBox spinBox; + TQProgressBar progressBar; + TQLabel colorTest; + TQLabel PixmapLabel1; + TQButtonGroup ButtonGroup1; + TQCheckBox CheckBox1; + TQCheckBox CheckBox2; + TQCheckBox CheckBox3; + TQButtonGroup ButtonGroup2; + TQRadioButton RadioButton3; + TQRadioButton RadioButton4; + TQRadioButton RadioButton2; + TQGroupBox GroupBox1; AnalogClock clock; - QDateEdit dateEdit; - QTimeEdit timeEdit; - QLabel dateTimeLabel; - - QGridLayout WidgetsBaseLayout; - QGridLayout tabLayout; - QGridLayout tabLayout_2; - QGridLayout tabLayout_3; - QGridLayout groupBoxLayout; - QHBoxLayout Layout9; - QGridLayout ButtonGroup1Layout; - QGridLayout ButtonGroup2Layout; - QGridLayout GroupBox1Layout; - QHBoxLayout Layout5; - QSizePolicy sizePolicy1; - QSizePolicy sizePolicy2; - QSizePolicy sizePolicy3; - - QIconViewItem item1; - QIconViewItem item2; - QIconViewItem item3; - QIconViewItem item4; - QIconViewItem item5; - QIconViewItem item6; - QIconViewItem item7; - QIconViewItem item8; - QIconViewItem item9; - QIconViewItem item10; - QIconViewItem item11; - QIconViewItem item12; - QIconViewItem item13; - QIconViewItem item14; - QIconViewItem item15; - QIconViewItem item16; - QIconViewItem item17; - - QListViewItem item_1; - QListViewItem item_2; - QListViewItem item_3; - QListViewItem item_4; - QListViewItem item_5; - QListViewItem item_6; + TQDateEdit dateEdit; + TQTimeEdit timeEdit; + TQLabel dateTimeLabel; + + TQGridLayout WidgetsBaseLayout; + TQGridLayout tabLayout; + TQGridLayout tabLayout_2; + TQGridLayout tabLayout_3; + TQGridLayout groupBoxLayout; + TQHBoxLayout Layout9; + TQGridLayout ButtonGroup1Layout; + TQGridLayout ButtonGroup2Layout; + TQGridLayout GroupBox1Layout; + TQHBoxLayout Layout5; + TQSizePolicy sizePolicy1; + TQSizePolicy sizePolicy2; + TQSizePolicy sizePolicy3; + + TQIconViewItem item1; + TQIconViewItem item2; + TQIconViewItem item3; + TQIconViewItem item4; + TQIconViewItem item5; + TQIconViewItem item6; + TQIconViewItem item7; + TQIconViewItem item8; + TQIconViewItem item9; + TQIconViewItem item10; + TQIconViewItem item11; + TQIconViewItem item12; + TQIconViewItem item13; + TQIconViewItem item14; + TQIconViewItem item15; + TQIconViewItem item16; + TQIconViewItem item17; + + TQListViewItem item_1; + TQListViewItem item_2; + TQListViewItem item_3; + TQListViewItem item_4; + TQListViewItem item_5; + TQListViewItem item_6; static String[] image0_data = { "16 16 92 2", @@ -267,7 +267,7 @@ static String[] image1_data = { "....#awjxjIEiJKl", "....#eLxjIEjjjMl", "....#axNIEJJOPQl", -"....#RSTUVDWXQYl", +"....#RSTUVDWXTQYl", "....#lllllllllll"}; static String[] image2_data = { @@ -1645,7 +1645,7 @@ static String[] image11_data = { "..a#......jjvlEhhFGvwHIc........", ".cdh#b......jjJwKLGBlfMN........", ".cdGqzcc......jjhOvlBwEhc.......", -".jdyvCKPcc.....bkEGlwQKRS.......", +".jdyvCKPcc.....bkEGlwTQKRS.......", ".jkdeAlKEPcc...TxGBlwwtRc.......", ".jhkdyAJGEEhcccxlGGwUwgVWj......", ".jEhkdeyBlwftqtUwGwwlsXYZWjj....", @@ -2719,7 +2719,7 @@ static String[] image16_data = { "..........#gpgpgponmR#..........", "...........#fpfgQqGS#...........", "............#gffovA#............", -".............rQQqz#.............", +".............rTQQqz#.............", ".............TNqek#.............", ".............OeqvU#.............", ".............#Nqvc#.............", @@ -5651,60 +5651,60 @@ static String[] image41_data = { * Constructs a WidgetsBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -WidgetsBase( QWidget parent, String name, int fl ) +WidgetsBase( TQWidget parent, String name, int fl ) { super( parent, name, fl ); - QPixmap image0 = new QPixmap( ( String[] ) image0_data ); - QPixmap image1 = new QPixmap( ( String[] ) image1_data ); - QPixmap image2 = new QPixmap( ( String[] ) image2_data ); - QPixmap image3 = new QPixmap( ( String[] ) image3_data ); - QPixmap image4 = new QPixmap( ( String[] ) image4_data ); - QPixmap image5 = new QPixmap( ( String[] ) image5_data ); - QPixmap image6 = new QPixmap( ( String[] ) image6_data ); - QPixmap image7 = new QPixmap( ( String[] ) image7_data ); - QPixmap image8 = new QPixmap( ( String[] ) image8_data ); - QPixmap image9 = new QPixmap( ( String[] ) image9_data ); - QPixmap image10 = new QPixmap( ( String[] ) image10_data ); - QPixmap image11 = new QPixmap( ( String[] ) image11_data ); - QPixmap image12 = new QPixmap( ( String[] ) image12_data ); - QPixmap image13 = new QPixmap( ( String[] ) image13_data ); - QPixmap image14 = new QPixmap( ( String[] ) image14_data ); - QPixmap image15 = new QPixmap( ( String[] ) image15_data ); - QPixmap image16 = new QPixmap( ( String[] ) image16_data ); - QPixmap image17 = new QPixmap( ( String[] ) image17_data ); - QPixmap image18 = new QPixmap( ( String[] ) image18_data ); - QPixmap image19 = new QPixmap( ( String[] ) image19_data ); - QPixmap image20 = new QPixmap( ( String[] ) image20_data ); - QPixmap image21 = new QPixmap( ( String[] ) image21_data ); - QPixmap image22 = new QPixmap( ( String[] ) image22_data ); - QPixmap image23 = new QPixmap( ( String[] ) image23_data ); - QPixmap image24 = new QPixmap( ( String[] ) image24_data ); - QPixmap image25 = new QPixmap( ( String[] ) image25_data ); - QPixmap image26 = new QPixmap( ( String[] ) image26_data ); - QPixmap image27 = new QPixmap( ( String[] ) image27_data ); - QPixmap image28 = new QPixmap( ( String[] ) image28_data ); - QPixmap image29 = new QPixmap( ( String[] ) image29_data ); - QPixmap image30 = new QPixmap( ( String[] ) image30_data ); - QPixmap image31 = new QPixmap( ( String[] ) image31_data ); - QPixmap image32 = new QPixmap( ( String[] ) image32_data ); - QPixmap image33 = new QPixmap( ( String[] ) image33_data ); - QPixmap image34 = new QPixmap( ( String[] ) image34_data ); - QPixmap image35 = new QPixmap( ( String[] ) image35_data ); - QPixmap image36 = new QPixmap( ( String[] ) image36_data ); - QPixmap image37 = new QPixmap( ( String[] ) image37_data ); - QPixmap image38 = new QPixmap( ( String[] ) image38_data ); - QPixmap image39 = new QPixmap( ( String[] ) image39_data ); - QPixmap image40 = new QPixmap( ( String[] ) image40_data ); - QPixmap image41 = new QPixmap( ( String[] ) image41_data ); + TQPixmap image0 = new TQPixmap( ( String[] ) image0_data ); + TQPixmap image1 = new TQPixmap( ( String[] ) image1_data ); + TQPixmap image2 = new TQPixmap( ( String[] ) image2_data ); + TQPixmap image3 = new TQPixmap( ( String[] ) image3_data ); + TQPixmap image4 = new TQPixmap( ( String[] ) image4_data ); + TQPixmap image5 = new TQPixmap( ( String[] ) image5_data ); + TQPixmap image6 = new TQPixmap( ( String[] ) image6_data ); + TQPixmap image7 = new TQPixmap( ( String[] ) image7_data ); + TQPixmap image8 = new TQPixmap( ( String[] ) image8_data ); + TQPixmap image9 = new TQPixmap( ( String[] ) image9_data ); + TQPixmap image10 = new TQPixmap( ( String[] ) image10_data ); + TQPixmap image11 = new TQPixmap( ( String[] ) image11_data ); + TQPixmap image12 = new TQPixmap( ( String[] ) image12_data ); + TQPixmap image13 = new TQPixmap( ( String[] ) image13_data ); + TQPixmap image14 = new TQPixmap( ( String[] ) image14_data ); + TQPixmap image15 = new TQPixmap( ( String[] ) image15_data ); + TQPixmap image16 = new TQPixmap( ( String[] ) image16_data ); + TQPixmap image17 = new TQPixmap( ( String[] ) image17_data ); + TQPixmap image18 = new TQPixmap( ( String[] ) image18_data ); + TQPixmap image19 = new TQPixmap( ( String[] ) image19_data ); + TQPixmap image20 = new TQPixmap( ( String[] ) image20_data ); + TQPixmap image21 = new TQPixmap( ( String[] ) image21_data ); + TQPixmap image22 = new TQPixmap( ( String[] ) image22_data ); + TQPixmap image23 = new TQPixmap( ( String[] ) image23_data ); + TQPixmap image24 = new TQPixmap( ( String[] ) image24_data ); + TQPixmap image25 = new TQPixmap( ( String[] ) image25_data ); + TQPixmap image26 = new TQPixmap( ( String[] ) image26_data ); + TQPixmap image27 = new TQPixmap( ( String[] ) image27_data ); + TQPixmap image28 = new TQPixmap( ( String[] ) image28_data ); + TQPixmap image29 = new TQPixmap( ( String[] ) image29_data ); + TQPixmap image30 = new TQPixmap( ( String[] ) image30_data ); + TQPixmap image31 = new TQPixmap( ( String[] ) image31_data ); + TQPixmap image32 = new TQPixmap( ( String[] ) image32_data ); + TQPixmap image33 = new TQPixmap( ( String[] ) image33_data ); + TQPixmap image34 = new TQPixmap( ( String[] ) image34_data ); + TQPixmap image35 = new TQPixmap( ( String[] ) image35_data ); + TQPixmap image36 = new TQPixmap( ( String[] ) image36_data ); + TQPixmap image37 = new TQPixmap( ( String[] ) image37_data ); + TQPixmap image38 = new TQPixmap( ( String[] ) image38_data ); + TQPixmap image39 = new TQPixmap( ( String[] ) image39_data ); + TQPixmap image40 = new TQPixmap( ( String[] ) image40_data ); + TQPixmap image41 = new TQPixmap( ( String[] ) image41_data ); if ( name == null ) setName( "WidgetsBase" ); resize( 718, 565 ); setCaption( trUtf8( "Widgets" ) ); - WidgetsBaseLayout = new QGridLayout( this ); + WidgetsBaseLayout = new TQGridLayout( this ); WidgetsBaseLayout.setSpacing( 6 ); WidgetsBaseLayout.setMargin( 11 ); - ListBox3 = new QListBox( this, "ListBox3" ); + ListBox3 = new TQListBox( this, "ListBox3" ); ListBox3.insertItem( image0, trUtf8( "Applix", "" ) ); ListBox3.insertItem( image1, trUtf8( "Binary", "" ) ); ListBox3.insertItem( image2, trUtf8( "Core", "" ) ); @@ -5718,7 +5718,7 @@ WidgetsBase( QWidget parent, String name, int fl ) WidgetsBaseLayout.addWidget( ListBox3, 2, 0 ); - TextEdit1 = new QTextEdit( this, "TextEdit1" ); + TextEdit1 = new TQTextEdit( this, "TextEdit1" ); TextEdit1.setText( trUtf8( "

Richtext

\n" + "

Qt supports formatted rich text, such as the heading above, emphasized, bold and underlined text, as well as colored text. This is red, while this is green, and this is blue.

\n" + "<> \n" @@ -5726,43 +5726,43 @@ WidgetsBase( QWidget parent, String name, int fl ) WidgetsBaseLayout.addWidget( TextEdit1, 2, 1 ); - TabWidget2 = new QTabWidget( this, "TabWidget2" ); + TabWidget2 = new TQTabWidget( this, "TabWidget2" ); - tab = new QWidget( TabWidget2, "tab" ); - tabLayout = new QGridLayout( tab ); + tab = new TQWidget( TabWidget2, "tab" ); + tabLayout = new TQGridLayout( tab ); tabLayout.setSpacing( 6 ); tabLayout.setMargin( 11 ); - IconView1 = new QIconView( tab, "IconView1" ); - item1 = new QIconViewItem( IconView1, trUtf8( "Item 1", "" ), image10 ); - item2 = new QIconViewItem( IconView1, trUtf8( "Item 2", "" ), image11 ); - item3 = new QIconViewItem( IconView1, trUtf8( "Item 3", "" ), image12 ); - item4 = new QIconViewItem( IconView1, trUtf8( "Item 4", "" ), image13 ); - item5 = new QIconViewItem( IconView1, trUtf8( "Item 5", "" ), image14 ); - item6 = new QIconViewItem( IconView1, trUtf8( "Item 6", "" ), image15 ); - item7 = new QIconViewItem( IconView1, trUtf8( "Item 7", "" ), image16 ); - item8 = new QIconViewItem( IconView1, trUtf8( "Item 8", "" ), image17 ); - item9 = new QIconViewItem( IconView1, trUtf8( "Item 9", "" ), image18 ); - item10 = new QIconViewItem( IconView1, trUtf8( "Item 10", "" ), image19 ); - item11 = new QIconViewItem( IconView1, trUtf8( "Item 11", "" ), image20 ); - item12 = new QIconViewItem( IconView1, trUtf8( "Item 12", "" ), image21 ); - item13 = new QIconViewItem( IconView1, trUtf8( "Item 13", "" ), image22 ); - item14 = new QIconViewItem( IconView1, trUtf8( "Item 14", "" ), image23 ); - item15 = new QIconViewItem( IconView1, trUtf8( "Item 15", "" ), image24 ); - item16 = new QIconViewItem( IconView1, trUtf8( "Item 16", "" ), image25 ); - item17 = new QIconViewItem( IconView1, trUtf8( "Item 17", "" ), image26 ); - IconView1.setArrangement( QIconView.LeftToRight ); - IconView1.setResizeMode( QIconView.Adjust ); + IconView1 = new TQIconView( tab, "IconView1" ); + item1 = new TQIconViewItem( IconView1, trUtf8( "Item 1", "" ), image10 ); + item2 = new TQIconViewItem( IconView1, trUtf8( "Item 2", "" ), image11 ); + item3 = new TQIconViewItem( IconView1, trUtf8( "Item 3", "" ), image12 ); + item4 = new TQIconViewItem( IconView1, trUtf8( "Item 4", "" ), image13 ); + item5 = new TQIconViewItem( IconView1, trUtf8( "Item 5", "" ), image14 ); + item6 = new TQIconViewItem( IconView1, trUtf8( "Item 6", "" ), image15 ); + item7 = new TQIconViewItem( IconView1, trUtf8( "Item 7", "" ), image16 ); + item8 = new TQIconViewItem( IconView1, trUtf8( "Item 8", "" ), image17 ); + item9 = new TQIconViewItem( IconView1, trUtf8( "Item 9", "" ), image18 ); + item10 = new TQIconViewItem( IconView1, trUtf8( "Item 10", "" ), image19 ); + item11 = new TQIconViewItem( IconView1, trUtf8( "Item 11", "" ), image20 ); + item12 = new TQIconViewItem( IconView1, trUtf8( "Item 12", "" ), image21 ); + item13 = new TQIconViewItem( IconView1, trUtf8( "Item 13", "" ), image22 ); + item14 = new TQIconViewItem( IconView1, trUtf8( "Item 14", "" ), image23 ); + item15 = new TQIconViewItem( IconView1, trUtf8( "Item 15", "" ), image24 ); + item16 = new TQIconViewItem( IconView1, trUtf8( "Item 16", "" ), image25 ); + item17 = new TQIconViewItem( IconView1, trUtf8( "Item 17", "" ), image26 ); + IconView1.setArrangement( TQIconView.LeftToRight ); + IconView1.setResizeMode( TQIconView.Adjust ); tabLayout.addWidget( IconView1, 0, 0 ); TabWidget2.insertTab( tab, trUtf8( "Iconview", "" ) ); - tab_2 = new QWidget( TabWidget2, "tab_2" ); - tabLayout_2 = new QGridLayout( tab_2 ); + tab_2 = new TQWidget( TabWidget2, "tab_2" ); + tabLayout_2 = new TQGridLayout( tab_2 ); tabLayout_2.setSpacing( 6 ); tabLayout_2.setMargin( 11 ); - Table1 = new QTable( tab_2, "Table1" ); + Table1 = new TQTable( tab_2, "Table1" ); Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "Tables", "" ) ); Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "are", "" ) ); Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "easy", "" ) ); @@ -5775,9 +5775,9 @@ WidgetsBase( QWidget parent, String name, int fl ) Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "10", "" ) ); Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "11", "" ) ); Table1.setNumCols( Table1.numCols() + 1 ); Table1.horizontalHeader().setLabel( Table1.numCols() - 1, trUtf8( "12", "" ) ); - Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image27), trUtf8( "", "" ) ); - Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image28), trUtf8( "", "" ) ); - Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new QIconSet(image29), trUtf8( "", "" ) ); + Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image27), trUtf8( "", "" ) ); + Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image28), trUtf8( "", "" ) ); + Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, new TQIconSet(image29), trUtf8( "", "" ) ); Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "4", "" ) ); Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "5", "" ) ); Table1.setNumRows( Table1.numRows() + 1 ); Table1.verticalHeader().setLabel( Table1.numRows() - 1, trUtf8( "6", "" ) ); @@ -5794,37 +5794,37 @@ WidgetsBase( QWidget parent, String name, int fl ) tabLayout_2.addWidget( Table1, 0, 0 ); TabWidget2.insertTab( tab_2, trUtf8( "Table", "" ) ); - tab_3 = new QWidget( TabWidget2, "tab_3" ); - tabLayout_3 = new QGridLayout( tab_3 ); + tab_3 = new TQWidget( TabWidget2, "tab_3" ); + tabLayout_3 = new TQGridLayout( tab_3 ); tabLayout_3.setSpacing( 6 ); tabLayout_3.setMargin( 11 ); - ListView3 = new QListView( tab_3, "ListView3" ); + ListView3 = new TQListView( tab_3, "ListView3" ); ListView3.addColumn( trUtf8( "Things", "" ) ); ListView3.addColumn( trUtf8( "Text", "" ) ); ListView3.addColumn( trUtf8( "Stuff", "" ) ); - item_1 = new QListViewItem( ListView3, "" ); + item_1 = new TQListViewItem( ListView3, "" ); item_1.setPixmap( 0, image30 ); item_1.setText( 1, trUtf8( "Airbrush", "" ) ); item_1.setPixmap( 1, image31 ); item_1.setText( 2, trUtf8( "What stuff?", "" ) ); - item_4 = new QListViewItem( ListView3, item_1 ); + item_4 = new TQListViewItem( ListView3, item_1 ); item_4.setPixmap( 0, image32 ); item_4.setText( 1, trUtf8( "Eraser", "" ) ); item_4.setPixmap( 1, image31 ); item_4.setText( 2, trUtf8( "Here?", "" ) ); - item_2 = new QListViewItem( ListView3, item_4 ); + item_2 = new TQListViewItem( ListView3, item_4 ); item_2.setOpen( true ); - item_3 = new QListViewItem( item_2, item_4 ); + item_3 = new TQListViewItem( item_2, item_4 ); item_3.setOpen( true ); - item_5 = new QListViewItem( item_3, item_4 ); + item_5 = new TQListViewItem( item_3, item_4 ); item_5.setText( 0, trUtf8( "Subitem", "" ) ); item_5.setPixmap( 0, image28 ); item_3.setText( 0, trUtf8( "Pixmap subitem 1", "" ) ); item_2.setOpen( true ); - item_6 = new QListViewItem( item_2, item_3 ); + item_6 = new TQListViewItem( item_2, item_3 ); item_6.setText( 0, trUtf8( "Pixmap subitem 2 ", "" ) ); item_2.setText( 0, trUtf8( "Pixmap item", "" ) ); item_2.setPixmap( 0, image33 ); @@ -5832,53 +5832,53 @@ WidgetsBase( QWidget parent, String name, int fl ) item_2.setText( 2, trUtf8( "Nothing Again", "" ) ); ListView3.setAllColumnsShowFocus( true ); - ListView3.setResizeMode( QListView.AllColumns ); + ListView3.setResizeMode( TQListView.AllColumns ); tabLayout_3.addWidget( ListView3, 0, 0 ); TabWidget2.insertTab( tab_3, trUtf8( "Listview", "" ) ); WidgetsBaseLayout.addMultiCellWidget( TabWidget2, 3, 3, 0, 1 ); - groupBox = new QGroupBox( this, "groupBox" ); + groupBox = new TQGroupBox( this, "groupBox" ); groupBox.setTitle( trUtf8( "Group box" ) ); groupBox.setColumnLayout(0, Qt.Vertical ); groupBox.layout().setSpacing( 0 ); groupBox.layout().setMargin( 0 ); - groupBoxLayout = new QGridLayout( groupBox.layout() ); + groupBoxLayout = new TQGridLayout( groupBox.layout() ); groupBoxLayout.setAlignment( Qt.AlignTop ); groupBoxLayout.setSpacing( 6 ); groupBoxLayout.setMargin( 11 ); - lcdDisplay = new QLCDNumber( groupBox, "lcdDisplay" ); - sizePolicy1 = new QSizePolicy(); + lcdDisplay = new TQLCDNumber( groupBox, "lcdDisplay" ); + sizePolicy1 = new TQSizePolicy(); sizePolicy1.setHorData(7); sizePolicy1.setVerData(7); sizePolicy1.setHeightForWidth(lcdDisplay.sizePolicy().hasHeightForWidth()); lcdDisplay.setSizePolicy( sizePolicy1 ); lcdDisplay.setNumDigits( 2 ); - lcdDisplay.setSegmentStyle( QLCDNumber.Filled ); + lcdDisplay.setSegmentStyle( TQLCDNumber.Filled ); groupBoxLayout.addMultiCellWidget( lcdDisplay, 0, 2, 3, 3 ); - slider = new QSlider( groupBox, "slider" ); - slider.setOrientation( QSlider.Horizontal ); - slider.setTickmarks( QSlider.Left ); + slider = new TQSlider( groupBox, "slider" ); + slider.setOrientation( TQSlider.Horizontal ); + slider.setTickmarks( TQSlider.Left ); slider.setTickInterval( 5 ); groupBoxLayout.addWidget( slider, 2, 2 ); - TextLabel1_2 = new QLabel( groupBox, "TextLabel1_2" ); + TextLabel1_2 = new TQLabel( groupBox, "TextLabel1_2" ); TextLabel1_2.setText( trUtf8( "Pick a base color:" ) ); groupBoxLayout.addWidget( TextLabel1_2, 0, 0 ); - pushButton = new QPushButton( groupBox, "pushButton" ); - pushButton.setCursor( new QCursor( 0 ) ); + pushButton = new TQPushButton( groupBox, "pushButton" ); + pushButton.setCursor( new TQCursor( 0 ) ); pushButton.setText( trUtf8( "&Reset colors" ) ); groupBoxLayout.addWidget( pushButton, 2, 0 ); - buttonColorBox = new QComboBox( false, groupBox, "buttonColorBox" ); + buttonColorBox = new TQComboBox( false, groupBox, "buttonColorBox" ); buttonColorBox.insertItem( image34, trUtf8( "pale green", "" ) ); buttonColorBox.insertItem( image35, trUtf8( "deep sky blue", "" ) ); buttonColorBox.insertItem( image36, trUtf8( "steel blue", "" ) ); @@ -5889,101 +5889,101 @@ WidgetsBase( QWidget parent, String name, int fl ) groupBoxLayout.addWidget( buttonColorBox, 1, 0 ); - lineEdit = new QLineEdit( groupBox, "lineEdit" ); + lineEdit = new TQLineEdit( groupBox, "lineEdit" ); lineEdit.setText( trUtf8( "hot pink" ) ); groupBoxLayout.addWidget( lineEdit, 1, 1 ); - TextLabel1_2_2 = new QLabel( groupBox, "TextLabel1_2_2" ); + TextLabel1_2_2 = new TQLabel( groupBox, "TextLabel1_2_2" ); TextLabel1_2_2.setText( trUtf8( "Enter a color name and hit return:" ) ); groupBoxLayout.addWidget( TextLabel1_2_2, 0, 1 ); - spinBox = new QSpinBox( groupBox, "spinBox" ); + spinBox = new TQSpinBox( groupBox, "spinBox" ); groupBoxLayout.addWidget( spinBox, 1, 2 ); - progressBar = new QProgressBar( groupBox, "progressBar" ); + progressBar = new TQProgressBar( groupBox, "progressBar" ); groupBoxLayout.addWidget( progressBar, 0, 2 ); - colorTest = new QLabel( groupBox, "colorTest" ); - colorTest.setFrameShape( QLabel.Box ); - colorTest.setFrameShadow( QLabel.Sunken ); + colorTest = new TQLabel( groupBox, "colorTest" ); + colorTest.setFrameShape( TQLabel.Box ); + colorTest.setFrameShadow( TQLabel.Sunken ); colorTest.setText( trUtf8( "Color test area" ) ); - colorTest.setAlignment( QLabel.AlignAuto | QLabel.AlignCenter ); + colorTest.setAlignment( TQLabel.AlignAuto | TQLabel.AlignCenter ); groupBoxLayout.addWidget( colorTest, 2, 1 ); WidgetsBaseLayout.addMultiCellWidget( groupBox, 1, 1, 0, 1 ); - Layout9 = new QHBoxLayout(); + Layout9 = new TQHBoxLayout(); Layout9.setSpacing( 6 ); Layout9.setMargin( 0 ); - PixmapLabel1 = new QLabel( this, "PixmapLabel1" ); - PixmapLabel1.setFrameShape( QLabel.Panel ); + PixmapLabel1 = new TQLabel( this, "PixmapLabel1" ); + PixmapLabel1.setFrameShape( TQLabel.Panel ); PixmapLabel1.setMargin( 1 ); PixmapLabel1.setPixmap( image41 ); PixmapLabel1.setScaledContents( true ); Layout9.addWidget( PixmapLabel1 ); - ButtonGroup1 = new QButtonGroup( this, "ButtonGroup1" ); + ButtonGroup1 = new TQButtonGroup( this, "ButtonGroup1" ); ButtonGroup1.setTitle( trUtf8( "Check boxes" ) ); ButtonGroup1.setColumnLayout(0, Qt.Vertical ); ButtonGroup1.layout().setSpacing( 0 ); ButtonGroup1.layout().setMargin( 0 ); - ButtonGroup1Layout = new QGridLayout( ButtonGroup1.layout() ); + ButtonGroup1Layout = new TQGridLayout( ButtonGroup1.layout() ); ButtonGroup1Layout.setAlignment( Qt.AlignTop ); ButtonGroup1Layout.setSpacing( 6 ); ButtonGroup1Layout.setMargin( 11 ); - CheckBox1 = new QCheckBox( ButtonGroup1, "CheckBox1" ); + CheckBox1 = new TQCheckBox( ButtonGroup1, "CheckBox1" ); CheckBox1.setText( trUtf8( "Apples" ) ); ButtonGroup1Layout.addWidget( CheckBox1, 0, 0 ); - CheckBox2 = new QCheckBox( ButtonGroup1, "CheckBox2" ); + CheckBox2 = new TQCheckBox( ButtonGroup1, "CheckBox2" ); CheckBox2.setText( trUtf8( "Banana" ) ); ButtonGroup1Layout.addWidget( CheckBox2, 1, 0 ); - CheckBox3 = new QCheckBox( ButtonGroup1, "CheckBox3" ); + CheckBox3 = new TQCheckBox( ButtonGroup1, "CheckBox3" ); CheckBox3.setText( trUtf8( "Orange" ) ); CheckBox3.setChecked( true ); ButtonGroup1Layout.addWidget( CheckBox3, 2, 0 ); Layout9.addWidget( ButtonGroup1 ); - ButtonGroup2 = new QButtonGroup( this, "ButtonGroup2" ); + ButtonGroup2 = new TQButtonGroup( this, "ButtonGroup2" ); ButtonGroup2.setTitle( trUtf8( "Radio buttons" ) ); ButtonGroup2.setColumnLayout(0, Qt.Vertical ); ButtonGroup2.layout().setSpacing( 0 ); ButtonGroup2.layout().setMargin( 0 ); - ButtonGroup2Layout = new QGridLayout( ButtonGroup2.layout() ); + ButtonGroup2Layout = new TQGridLayout( ButtonGroup2.layout() ); ButtonGroup2Layout.setAlignment( Qt.AlignTop ); ButtonGroup2Layout.setSpacing( 6 ); ButtonGroup2Layout.setMargin( 11 ); - RadioButton3 = new QRadioButton( ButtonGroup2, "RadioButton3" ); + RadioButton3 = new TQRadioButton( ButtonGroup2, "RadioButton3" ); RadioButton3.setText( trUtf8( "Sprite" ) ); ButtonGroup2Layout.addWidget( RadioButton3, 1, 0 ); - RadioButton4 = new QRadioButton( ButtonGroup2, "RadioButton4" ); + RadioButton4 = new TQRadioButton( ButtonGroup2, "RadioButton4" ); RadioButton4.setText( trUtf8( "Farris" ) ); ButtonGroup2Layout.addWidget( RadioButton4, 2, 0 ); - RadioButton2 = new QRadioButton( ButtonGroup2, "RadioButton2" ); + RadioButton2 = new TQRadioButton( ButtonGroup2, "RadioButton2" ); RadioButton2.setText( trUtf8( "Solo" ) ); RadioButton2.setChecked( true ); ButtonGroup2Layout.addWidget( RadioButton2, 0, 0 ); Layout9.addWidget( ButtonGroup2 ); - GroupBox1 = new QGroupBox( this, "GroupBox1" ); - sizePolicy2 = new QSizePolicy(); + GroupBox1 = new TQGroupBox( this, "GroupBox1" ); + sizePolicy2 = new TQSizePolicy(); sizePolicy2.setHorData(7); sizePolicy2.setVerData(7); sizePolicy2.setHeightForWidth(GroupBox1.sizePolicy().hasHeightForWidth()); @@ -5992,38 +5992,38 @@ WidgetsBase( QWidget parent, String name, int fl ) GroupBox1.setColumnLayout(0, Qt.Vertical ); GroupBox1.layout().setSpacing( 0 ); GroupBox1.layout().setMargin( 0 ); - GroupBox1Layout = new QGridLayout( GroupBox1.layout() ); + GroupBox1Layout = new TQGridLayout( GroupBox1.layout() ); GroupBox1Layout.setAlignment( Qt.AlignTop ); GroupBox1Layout.setSpacing( 6 ); GroupBox1Layout.setMargin( 11 ); clock = new AnalogClock( GroupBox1, "clock" ); - sizePolicy3 = new QSizePolicy(); + sizePolicy3 = new TQSizePolicy(); sizePolicy3.setHorData(0); sizePolicy3.setVerData(0); sizePolicy3.setHeightForWidth(clock.sizePolicy().hasHeightForWidth()); clock.setSizePolicy( sizePolicy3 ); - clock.setMinimumSize( new QSize( 100, 100 ) ); + clock.setMinimumSize( new TQSize( 100, 100 ) ); GroupBox1Layout.addMultiCellWidget( clock, 0, 2, 0, 0 ); - dateEdit = new QDateEdit( GroupBox1, "dateEdit" ); + dateEdit = new TQDateEdit( GroupBox1, "dateEdit" ); GroupBox1Layout.addWidget( dateEdit, 1, 1 ); - timeEdit = new QTimeEdit( GroupBox1, "timeEdit" ); + timeEdit = new TQTimeEdit( GroupBox1, "timeEdit" ); timeEdit.setAutoAdvance( true ); GroupBox1Layout.addWidget( timeEdit, 2, 1 ); - Layout5 = new QHBoxLayout(); + Layout5 = new TQHBoxLayout(); Layout5.setSpacing( 6 ); Layout5.setMargin( 0 ); - dateTimeLabel = new QLabel( GroupBox1, "dateTimeLabel" ); + dateTimeLabel = new TQLabel( GroupBox1, "dateTimeLabel" ); dateTimeLabel.setText( trUtf8( "DateTime string goes here!" ) ); Layout5.addWidget( dateTimeLabel ); - QSpacerItem spacer = new QSpacerItem( 20, 20, QSizePolicy.Expanding, QSizePolicy.Minimum ); + TQSpacerItem spacer = new TQSpacerItem( 20, 20, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); Layout5.addItem( spacer ); GroupBox1Layout.addLayout( Layout5, 0, 1 ); @@ -6053,12 +6053,12 @@ WidgetsBase( QWidget parent, String name, int fl ) init(); } -WidgetsBase( QWidget parent, String name) +WidgetsBase( TQWidget parent, String name) { this(parent, name, 0); } -WidgetsBase( QWidget parent) +WidgetsBase( TQWidget parent) { this(parent, null, 0); } @@ -6095,12 +6095,12 @@ public void destroy() public void setColor(String color) { - groupBox.setPalette( new QPalette(new QColor( color )) ); + groupBox.setPalette( new TQPalette(new TQColor( color )) ); } public void updateColorTest(String color) { - colorTest.setPalette( new QPalette(new QColor( color )) ); + colorTest.setPalette( new TQPalette(new TQColor( color )) ); } public void updateDateTimeString() diff --git a/qtjava/javalib/examples/dragdrop/DropSite.java b/qtjava/javalib/examples/dragdrop/DropSite.java index 3584f1e4..34f41f12 100644 --- a/qtjava/javalib/examples/dragdrop/DropSite.java +++ b/qtjava/javalib/examples/dragdrop/DropSite.java @@ -15,7 +15,7 @@ import org.kde.qt.*; import java.util.*; -class DropSite extends QLabel +class DropSite extends TQLabel { SecretSource s; @@ -24,12 +24,12 @@ void setSecretSource(SecretSource source) s = source; } -DropSite( QWidget parent ) +DropSite( TQWidget parent ) { this(parent, null); } -DropSite( QWidget parent, String name ) +DropSite( TQWidget parent, String name ) { super( parent, name ); setAcceptDrops(true); @@ -41,20 +41,20 @@ DropSite( QWidget parent, String name ) } -protected void dragMoveEvent( QDragMoveEvent e ) +protected void dragMoveEvent( TQDragMoveEvent e ) { // Check if you want the drag at e.pos()... // Give the user some feedback... } -protected void dragEnterEvent( QDragEnterEvent e ) +protected void dragEnterEvent( TQDragEnterEvent e ) { // Check if you want the drag... if ( SecretDrag.canDecode( e ) - || QTextDrag.canDecode( e ) - || QImageDrag.canDecode( e ) - || QUriDrag.canDecode( e ) ) { + || TQTextDrag.canDecode( e ) + || TQImageDrag.canDecode( e ) + || TQUriDrag.canDecode( e ) ) { e.accept(); } @@ -68,7 +68,7 @@ protected void dragEnterEvent( QDragEnterEvent e ) setBackgroundColor(white()); } -protected void dragLeaveEvent( QDragLeaveEvent e ) +protected void dragLeaveEvent( TQDragLeaveEvent e ) { // Give the user some feedback... emit("message", ""); @@ -76,34 +76,34 @@ protected void dragLeaveEvent( QDragLeaveEvent e ) } -protected void dropEvent( QDropEvent e ) +protected void dropEvent( TQDropEvent e ) { setBackgroundColor(lightGray()); // Try to decode to the data you understand... StringBuffer str = new StringBuffer(""); - if ( QTextDrag.decode( e, str ) ) { + if ( TQTextDrag.decode( e, str ) ) { setText( str.toString() ); setMinimumSize( minimumSize().expandedTo( sizeHint() ) ); return; } - QPixmap pm = new QPixmap(); - if ( QImageDrag.decode( e, pm ) ) { + TQPixmap pm = new TQPixmap(); + if ( TQImageDrag.decode( e, pm ) ) { setPixmap( pm ); setMinimumSize( minimumSize().expandedTo( sizeHint() ) ); return; } ArrayList strings = new ArrayList(); - if ( QUriDrag.decode( e, strings ) ) { + if ( TQUriDrag.decode( e, strings ) ) { String m = "Full URLs:\n"; Iterator it = strings.iterator(); while (it.hasNext()) m += " " + (String) it.next() + "\n"; ArrayList files = new ArrayList(); - if ( QUriDrag.decodeLocalFiles( e, files ) ) { + if ( TQUriDrag.decodeLocalFiles( e, files ) ) { m = m + "Files:\n"; Iterator i = strings.iterator(); while (i.hasNext()) @@ -121,36 +121,36 @@ protected void dropEvent( QDropEvent e ) } } -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { - QDragObject drobj; + TQDragObject drobj; if ( pixmap() != null ) { - drobj = new QImageDrag( pixmap().convertToImage(), this ); - QPixmap pm = new QPixmap(); + drobj = new TQImageDrag( pixmap().convertToImage(), this ); + TQPixmap pm = new TQPixmap(); pm.convertFromImage(pixmap().convertToImage().smoothScale( pixmap().width()/3,pixmap().height()/3)); - drobj.setPixmap(pm,new QPoint(-5,-7)); + drobj.setPixmap(pm,new TQPoint(-5,-7)); // Try it. // new DragMoviePlayer(drobj); } else { - drobj = new QTextDrag( text(), this ); + drobj = new TQTextDrag( text(), this ); } drobj.dragCopy(); } -class DragMoviePlayer extends QObject { - QDragObject dobj; - QMovie movie; +class DragMoviePlayer extends TQObject { + TQDragObject dobj; + TQMovie movie; -DragMoviePlayer( QDragObject p ) +DragMoviePlayer( TQDragObject p ) { -// QObject(p), +// TQObject(p), dobj = p; - movie = new QMovie("trolltech.gif" ); - movie.connectUpdate(this,SLOT("updatePixmap(QRect)")); + movie = new TQMovie("trolltech.gif" ); + movie.connectUpdate(this,SLOT("updatePixmap(TQRect)")); } -void updatePixmap( QRect rect ) +void updatePixmap( TQRect rect ) { dobj.setPixmap(movie.framePixmap()); } @@ -158,7 +158,7 @@ void updatePixmap( QRect rect ) } -void backgroundColorChange( QColor color ) +void backgroundColorChange( TQColor color ) { // Reduce flicker by using repaint() rather than update() repaint(); diff --git a/qtjava/javalib/examples/dragdrop/Main.java b/qtjava/javalib/examples/dragdrop/Main.java index 3297aaec..7ce5ff19 100644 --- a/qtjava/javalib/examples/dragdrop/Main.java +++ b/qtjava/javalib/examples/dragdrop/Main.java @@ -15,40 +15,40 @@ import org.kde.qt.*; public class Main { -static DropSite addStuff( QWidget parent, boolean image ) +static DropSite addStuff( TQWidget parent, boolean image ) { return addStuff(parent, image, false); } -static DropSite addStuff( QWidget parent, boolean image, boolean secret ) +static DropSite addStuff( TQWidget parent, boolean image, boolean secret ) { - QVBoxLayout tll = new QVBoxLayout( parent, 10 ); + TQVBoxLayout tll = new TQVBoxLayout( parent, 10 ); DropSite d = new DropSite( parent ); - d.setFrameStyle( QFrame.Sunken + QFrame.WinPanel ); + d.setFrameStyle( TQFrame.Sunken + TQFrame.WinPanel ); tll.addWidget( d ); if ( image ) { - QPixmap stuff = new QPixmap(); + TQPixmap stuff = new TQPixmap(); if ( !stuff.load( "trolltech.bmp" ) ) { - stuff = new QPixmap(20,20); + stuff = new TQPixmap(20,20); stuff.fill(Qt.green()); } d.setPixmap( stuff ); } else { d.setText("Drag and Drop"); } - d.setFont(new QFont("Helvetica",18)); + d.setFont(new TQFont("Helvetica",18)); if ( secret ) { SecretSource s = new SecretSource( (byte) 42, parent ); tll.addWidget( s ); d.setSecretSource( s); } - QLabel format = new QLabel( "\n\n\n\nNone\n\n\n\n", parent ); + TQLabel format = new TQLabel( "\n\n\n\nNone\n\n\n\n", parent ); tll.addWidget( format ); tll.activate(); parent.resize( parent.sizeHint() ); - QObject.connect( d, Qt.SIGNAL("message(String)"), + TQObject.connect( d, Qt.SIGNAL("message(String)"), format, Qt.SLOT("setText(String)") ); return d; } @@ -58,24 +58,24 @@ static DropSite addStuff( QWidget parent, boolean image, boolean secret ) public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); - QWidget mw = new QWidget(); + TQWidget mw = new TQWidget(); DropSite d1 = addStuff( mw, true ); mw.setCaption( "Qt Example - Drag and Drop" ); mw.show(); - QWidget mw2 = new QWidget(); + TQWidget mw2 = new TQWidget(); DropSite d2 = addStuff( mw2, false ); mw2.setCaption( "Qt Example - Drag and Drop" ); mw2.show(); - QWidget mw3 = new QWidget(); + TQWidget mw3 = new TQWidget(); DropSite d3 = addStuff( mw3, true, true ); mw3.setCaption( "Qt Example - Drag and Drop" ); mw3.show(); - QObject.connect(Qt.qApp(),Qt.SIGNAL("lastWindowClosed()"),Qt.qApp(),Qt.SLOT("quit()")); + TQObject.connect(Qt.qApp(),Qt.SIGNAL("lastWindowClosed()"),Qt.qApp(),Qt.SLOT("quit()")); a.exec(); return; } diff --git a/qtjava/javalib/examples/dragdrop/SecretDrag.java b/qtjava/javalib/examples/dragdrop/SecretDrag.java index fd12aed3..5220fd9f 100644 --- a/qtjava/javalib/examples/dragdrop/SecretDrag.java +++ b/qtjava/javalib/examples/dragdrop/SecretDrag.java @@ -14,10 +14,10 @@ import org.kde.qt.*; -class SecretDrag extends QStoredDrag { +class SecretDrag extends TQStoredDrag { //create the object withe the secret byte -public SecretDrag( byte secret, QWidget parent, String name ) +public SecretDrag( byte secret, TQWidget parent, String name ) { super( "secret/magic", parent, name ); byte[] data = { 0 }; @@ -25,19 +25,19 @@ public SecretDrag( byte secret, QWidget parent, String name ) setEncodedData( data ); } -public SecretDrag( byte secret, QWidget parent ) +public SecretDrag( byte secret, TQWidget parent ) { this(secret, parent, null); } -public static boolean canDecode( QDragMoveEvent e ) +public static boolean canDecode( TQDragMoveEvent e ) { return e.provides( "secret/magic" ); } //decode it into a string -public static boolean decode( QDropEvent e, StringBuffer str ) +public static boolean decode( TQDropEvent e, StringBuffer str ) { byte[] payload = e.data( "secret/magic" ); if ( payload.length > 0 ) { diff --git a/qtjava/javalib/examples/dragdrop/SecretSource.java b/qtjava/javalib/examples/dragdrop/SecretSource.java index 00824dee..9d26f73e 100644 --- a/qtjava/javalib/examples/dragdrop/SecretSource.java +++ b/qtjava/javalib/examples/dragdrop/SecretSource.java @@ -13,16 +13,16 @@ ****************************************************************************/ import org.kde.qt.*; -class SecretSource extends QLabel +class SecretSource extends TQLabel { private int mySecret; -SecretSource( byte secret, QWidget parent ) +SecretSource( byte secret, TQWidget parent ) { this(secret, parent, null); } -SecretSource( byte secret, QWidget parent, String name ) +SecretSource( byte secret, TQWidget parent, String name ) { super( "Secret", parent, name ); setBackgroundColor( blue().light() ); @@ -58,10 +58,10 @@ static String picture_xpm[] = { " ..... ", " "}; -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { SecretDrag sd = new SecretDrag( (byte) mySecret, this ); - sd.setPixmap(new QPixmap(picture_xpm),new QPoint(8,8)); + sd.setPixmap(new TQPixmap(picture_xpm),new TQPoint(8,8)); sd.dragCopy(); mySecret++; } diff --git a/qtjava/javalib/examples/dragdrop/trolltech.bmp b/qtjava/javalib/examples/dragdrop/trolltech.bmp index 220861e2..9f399c70 100644 Binary files a/qtjava/javalib/examples/dragdrop/trolltech.bmp and b/qtjava/javalib/examples/dragdrop/trolltech.bmp differ diff --git a/qtjava/javalib/examples/dragdrop/trolltech.gif b/qtjava/javalib/examples/dragdrop/trolltech.gif index f674369e..02c13b14 100644 Binary files a/qtjava/javalib/examples/dragdrop/trolltech.gif and b/qtjava/javalib/examples/dragdrop/trolltech.gif differ diff --git a/qtjava/javalib/examples/drawlines/ConnectWidget.java b/qtjava/javalib/examples/drawlines/ConnectWidget.java index c51f2703..0292b9a2 100644 --- a/qtjava/javalib/examples/drawlines/ConnectWidget.java +++ b/qtjava/javalib/examples/drawlines/ConnectWidget.java @@ -13,13 +13,13 @@ import java.util.Random; // // ConnectWidget - draws connected lines // -class ConnectWidget extends QWidget +class ConnectWidget extends TQWidget { static final int MAXPOINTS = 2000; // maximum number of points static final int MAXCOLORS = 40; -private QPoint[] points; // point array -private QColor[] colors; // color array +private TQPoint[] points; // point array +private TQColor[] colors; // color array private int count; // count = number of points private boolean down; // true if mouse down private Random generator = new Random(System.currentTimeMillis()); @@ -32,16 +32,16 @@ public ConnectWidget( ) this(null, null); } -public ConnectWidget( QWidget parent, String name ) +public ConnectWidget( TQWidget parent, String name ) { super( parent, name, WStaticContents ); setBackgroundColor( white() ); // white background count = 0; down = false; - points = new QPoint[MAXPOINTS]; - colors = new QColor[MAXCOLORS]; + points = new TQPoint[MAXPOINTS]; + colors = new TQColor[MAXCOLORS]; for ( int i=0; iThis example implements a simple HTML help viewer " + "using Qt's rich text capabilities

" + "

It's just about 100 lines of Java code, so don't expect too much :-)

" @@ -234,12 +234,12 @@ void about() void aboutQt() { - QMessageBox.aboutQt( this, "QBrowser" ); + TQMessageBox.aboutQt( this, "TQBrowser" ); } void openFile() { - String fn = QFileDialog.getOpenFileName( "", "", this ); + String fn = TQFileDialog.getOpenFileName( "", "", this ); if ( !fn.equals("") ) browser.setSource( fn ); } @@ -251,38 +251,38 @@ void newWindow() void print() { - QPrinter printer = new QPrinter();//(QPrinter.HighResolution ); + TQPrinter printer = new TQPrinter();//(TQPrinter.HighResolution ); printer.setFullPage(true); if ( printer.setup( this ) ) { - QPainter p = new QPainter( printer ); - QPaintDeviceMetrics metrics = new QPaintDeviceMetrics(p.device()); + TQPainter p = new TQPainter( printer ); + TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics(p.device()); int dpix = metrics.logicalDpiX(); int dpiy = metrics.logicalDpiY(); int margin = 72; // pt - QRect body = new QRect(margin*dpix/72, margin*dpiy/72, + TQRect body = new TQRect(margin*dpix/72, margin*dpiy/72, metrics.width()-margin*dpix/72*2, metrics.height()-margin*dpiy/72*2 ); - QFont font = new QFont("times", 10); + TQFont font = new TQFont("times", 10); ArrayList filePaths = browser.mimeSourceFactory().filePath(); String file = ""; Iterator it = filePaths.iterator(); while (it.hasNext()) { - file = new QUrl( new QUrl((String) it.next()), new QUrl( browser.source() ).path() ).path(); - if ( QFile.exists( file ) ) + file = new TQUrl( new TQUrl((String) it.next()), new TQUrl( browser.source() ).path() ).path(); + if ( TQFile.exists( file ) ) break; else file = ""; } if ( file.equals("") ) return; - QFile f = new QFile( file ); - if ( !f.open( QIODevice.IO_ReadOnly ) ) + TQFile f = new TQFile( file ); + if ( !f.open( TQIODevice.IO_ReadOnly ) ) return; - QTextStream ts = new QTextStream( f ); - QSimpleRichText richText = new QSimpleRichText( ts.read(), font, browser.context(), browser.styleSheet(), + TQTextStream ts = new TQTextStream( f ); + TQSimpleRichText richText = new TQSimpleRichText( ts.read(), font, browser.context(), browser.styleSheet(), browser.mimeSourceFactory(), body.height() ); richText.setWidth( p, body.width() ); - QRect view = new QRect( body.topLeft(), body.bottomRight() ); + TQRect view = new TQRect( body.topLeft(), body.bottomRight() ); int page = 1; do { richText.draw( p, body.left(), body.top(), view, colorGroup() ); @@ -316,10 +316,10 @@ void pathSelected( String _path ) void readHistory() { - if ( QFile.exists( QDir.currentDirPath() + "/.history" ) ) { - QFile f = new QFile( QDir.currentDirPath() + "/.history" ); - f.open( QIODevice.IO_ReadOnly ); - QTextStream t = new QTextStream( f ); + if ( TQFile.exists( TQDir.currentDirPath() + "/.history" ) ) { + TQFile f = new TQFile( TQDir.currentDirPath() + "/.history" ); + f.open( TQIODevice.IO_ReadOnly ); + TQTextStream t = new TQTextStream( f ); while ( !t.atEnd() ) { String item = t.readLine(); history.add((Object) item); @@ -332,10 +332,10 @@ void readHistory() void readBookmarks() { - if ( QFile.exists( QDir.currentDirPath() + "/.bookmarks" ) ) { - QFile f = new QFile( QDir.currentDirPath() + "/.bookmarks" ); - f.open( QIODevice.IO_ReadOnly ); - QTextStream t = new QTextStream( f ); + if ( TQFile.exists( TQDir.currentDirPath() + "/.bookmarks" ) ) { + TQFile f = new TQFile( TQDir.currentDirPath() + "/.bookmarks" ); + f.open( TQIODevice.IO_ReadOnly ); + TQTextStream t = new TQTextStream( f ); while ( !t.atEnd() ) { String item = t.readLine(); diff --git a/qtjava/javalib/examples/helpviewer/Main.java b/qtjava/javalib/examples/helpviewer/Main.java index da01e3dc..7b6aa17c 100644 --- a/qtjava/javalib/examples/helpviewer/Main.java +++ b/qtjava/javalib/examples/helpviewer/Main.java @@ -14,8 +14,8 @@ public class Main { public static void main( String[] args ) { - QApplication.setColorSpec( QApplication.ManyColor ); - QApplication a = new QApplication(args); + TQApplication.setColorSpec( TQApplication.ManyColor ); + TQApplication a = new TQApplication(args); String home = null; if (args.length > 0) @@ -26,15 +26,15 @@ public static void main( String[] args ) HelpWindow help = new HelpWindow(home, ".", null, "help viewer"); help.setCaption("Qt Example - Helpviewer"); - if ( QApplication.desktop().width() > 400 - && QApplication.desktop().height() > 500 ) + if ( TQApplication.desktop().width() > 400 + && TQApplication.desktop().height() > 500 ) help.show(); else help.showMaximized(); - QObject.connect( a, Qt.SIGNAL("aboutToQuit()"), + TQObject.connect( a, Qt.SIGNAL("aboutToQuit()"), help, Qt.SLOT("cleanUp()") ); - QObject.connect( a, Qt.SIGNAL("lastWindowClosed()"), + TQObject.connect( a, Qt.SIGNAL("lastWindowClosed()"), a, Qt.SLOT("quit()") ); a.exec(); diff --git a/qtjava/javalib/examples/iconview/ListenDND.java b/qtjava/javalib/examples/iconview/ListenDND.java index 59521a55..e6bec795 100644 --- a/qtjava/javalib/examples/iconview/ListenDND.java +++ b/qtjava/javalib/examples/iconview/ListenDND.java @@ -10,13 +10,13 @@ import org.kde.qt.*; -class ListenDND extends QObject +class ListenDND extends TQObject { -public ListenDND( QWidget w ) +public ListenDND( TQWidget w ) {view = w;} - void dropped( QDropEvent mime ) { + void dropped( TQDropEvent mime ) { qDebug( "Dropped Mimesource {0} into the view {1}", new Object[] { mime, view } ); qDebug( " Formats:" ); int i = 0; @@ -31,27 +31,27 @@ public ListenDND( QWidget w ) qDebug( "All selected items were moved to another widget" ); } -protected QWidget view; +protected TQWidget view; public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); - QIconView qiconview = new QIconView(); - qiconview.setSelectionMode( QIconView.Extended ); + TQIconView qiconview = new TQIconView(); + qiconview.setSelectionMode( TQIconView.Extended ); for ( int i = 0; i < 3000; i++ ) { - QIconViewItem item = new QIconViewItem( qiconview, "Item " + (i + 1) ); + TQIconViewItem item = new TQIconViewItem( qiconview, "Item " + (i + 1) ); item.setRenameEnabled( true ); } qiconview.setCaption( "Qt Example - Iconview" ); ListenDND listen_dnd = new ListenDND( qiconview ); - QObject.connect( qiconview, SIGNAL(" dropped( QDropEvent , ArrayList )"), - listen_dnd, SLOT(" dropped( QDropEvent )") ); - QObject.connect( qiconview, SIGNAL(" moved()"), listen_dnd, SLOT(" moved()") ); + TQObject.connect( qiconview, SIGNAL(" dropped( TQDropEvent , ArrayList )"), + listen_dnd, SLOT(" dropped( TQDropEvent )") ); + TQObject.connect( qiconview, SIGNAL(" moved()"), listen_dnd, SLOT(" moved()") ); a.setMainWidget( qiconview ); qiconview.show(); diff --git a/qtjava/javalib/examples/layout/ExampleWidget.java b/qtjava/javalib/examples/layout/ExampleWidget.java index 77d96816..1bdc8e54 100644 --- a/qtjava/javalib/examples/layout/ExampleWidget.java +++ b/qtjava/javalib/examples/layout/ExampleWidget.java @@ -10,7 +10,7 @@ import org.kde.qt.*; -class ExampleWidget extends QWidget +class ExampleWidget extends TQWidget { ExampleWidget( ) @@ -18,18 +18,18 @@ ExampleWidget( ) this(null, null); } -ExampleWidget( QWidget parent, String name ) +ExampleWidget( TQWidget parent, String name ) { super( parent, name ); // Make the top-level layout; a vertical box to contain all widgets // and sub-layouts. - QBoxLayout topLayout = new QVBoxLayout( this, 5 ); + TQBoxLayout topLayout = new TQVBoxLayout( this, 5 ); // Create a menubar... - QMenuBar menubar = new QMenuBar( this ); - menubar.setSeparator( QMenuBar.InWindowsStyle ); - QPopupMenu popup; - popup = new QPopupMenu( this ); + TQMenuBar menubar = new TQMenuBar( this ); + menubar.setSeparator( TQMenuBar.InWindowsStyle ); + TQPopupMenu popup; + popup = new TQPopupMenu( this ); popup.insertItem( "&Quit", qApp(), SLOT("quit()") ); menubar.insertItem( "&File", popup ); @@ -37,10 +37,10 @@ ExampleWidget( QWidget parent, String name ) topLayout.setMenuBar( menubar ); // Make an hbox that will hold a row of buttons. - QBoxLayout buttons = new QHBoxLayout( topLayout ); + TQBoxLayout buttons = new TQHBoxLayout( topLayout ); int i; for ( i = 1; i <= 4; i++ ) { - QPushButton but = new QPushButton( this ); + TQPushButton but = new TQPushButton( this ); String s = "Button " + i; but.setText( s ); @@ -55,12 +55,12 @@ ExampleWidget( QWidget parent, String name ) } // Make another hbox that will hold a left-justified row of buttons. - QBoxLayout buttons2 = new QHBoxLayout( topLayout ); + TQBoxLayout buttons2 = new TQHBoxLayout( topLayout ); - QPushButton but = new QPushButton( "Button five", this ); + TQPushButton but = new TQPushButton( "Button five", this ); buttons2.addWidget( but ); - but = new QPushButton( "Button 6", this ); + but = new TQPushButton( "Button 6", this ); buttons2.addWidget( but ); // Fill up the rest of the hbox with stretchable space, so that @@ -68,9 +68,9 @@ ExampleWidget( QWidget parent, String name ) buttons2.addStretch( 10 ); // Make a big widget that will grab all space in the middle. - QMultiLineEdit bigWidget = new QMultiLineEdit( this ); + TQMultiLineEdit bigWidget = new TQMultiLineEdit( this ); bigWidget.setText( "This widget will get all the remaining space" ); - bigWidget.setFrameStyle( QFrame.Panel | QFrame.Plain ); + bigWidget.setFrameStyle( TQFrame.Panel | TQFrame.Plain ); // Set vertical stretch factor to 10 to let the bigWidget stretch // vertically. It will stretch horizontally because there are no @@ -78,10 +78,10 @@ ExampleWidget( QWidget parent, String name ) // topLayout.addWidget( bigWidget, 10 ); topLayout.addWidget( bigWidget ); - // Make a grid that will hold a vertical table of QLabel/QLineEdit - // pairs next to a large QMultiLineEdit. + // Make a grid that will hold a vertical table of TQLabel/TQLineEdit + // pairs next to a large TQMultiLineEdit. - // Don't use hard-coded row/column numbers in QGridLayout, you'll + // Don't use hard-coded row/column numbers in TQGridLayout, you'll // regret it when you have to change the layout. int numRows = 3; int labelCol = 0; @@ -90,17 +90,17 @@ ExampleWidget( QWidget parent, String name ) // Let the grid-layout have a spacing of 10 pixels between // widgets, overriding the default from topLayout. - QGridLayout grid = new QGridLayout( topLayout, 0, 0, 10 ); + TQGridLayout grid = new TQGridLayout( topLayout, 0, 0, 10 ); int row; for ( row = 0; row < numRows; row++ ) { - QLineEdit ed = new QLineEdit( this ); + TQLineEdit ed = new TQLineEdit( this ); // The line edit goes in the second column grid.addWidget( ed, row, linedCol ); // Make a label that is a buddy of the line edit String s= "Line &" + (row+1); - QLabel label = new QLabel( ed, s, this ); + TQLabel label = new TQLabel( ed, s, this ); // The label goes in the first column. grid.addWidget( label, row, labelCol ); } @@ -108,7 +108,7 @@ ExampleWidget( QWidget parent, String name ) // The multiline edit will cover the entire vertical range of the // grid (rows 0 to numRows) and stay in column 2. - QMultiLineEdit med = new QMultiLineEdit( this ); + TQMultiLineEdit med = new TQMultiLineEdit( this ); grid.addMultiCellWidget( med, 0, -1, multiCol, multiCol ); // The labels will take the space they need. Let the remaining @@ -118,9 +118,9 @@ ExampleWidget( QWidget parent, String name ) grid.setColStretch( multiCol, 20 ); // Add a widget at the bottom. - QLabel sb = new QLabel( this ); + TQLabel sb = new TQLabel( this ); sb.setText( "Let's pretend this is a status bar" ); - sb.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + sb.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); // This widget will use all horizontal space, and have a fixed height. // we should have made a subclass and implemented sizePolicy there... @@ -135,7 +135,7 @@ ExampleWidget( QWidget parent, String name ) public static void main( String[] args ) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ExampleWidget f = new ExampleWidget(); a.setMainWidget(f); diff --git a/qtjava/javalib/examples/lineedits/LineEdits.java b/qtjava/javalib/examples/lineedits/LineEdits.java index ce79891f..4586dbf6 100644 --- a/qtjava/javalib/examples/lineedits/LineEdits.java +++ b/qtjava/javalib/examples/lineedits/LineEdits.java @@ -9,10 +9,10 @@ ****************************************************************************/ import org.kde.qt.*; -class LineEdits extends QGroupBox +class LineEdits extends TQGroupBox { -protected QLineEdit lined1, lined2, lined3, lined4; -protected QComboBox combo1, combo2, combo3, combo4; +protected TQLineEdit lined1, lined2, lined3, lined4; +protected TQComboBox combo1, combo2, combo3, combo4; @@ -28,22 +28,22 @@ LineEdits( ) this(null, null); } -LineEdits( QWidget parent, String name ) +LineEdits( TQWidget parent, String name ) { super( 0, Horizontal, "Line edits", parent, name ); setMargin( 10 ); - QVBoxLayout box = new QVBoxLayout( layout() ); + TQVBoxLayout box = new TQVBoxLayout( layout() ); - QHBoxLayout row1 = new QHBoxLayout( box ); + TQHBoxLayout row1 = new TQHBoxLayout( box ); row1.setMargin( 5 ); // Create a Label - QLabel label = new QLabel( "Echo Mode: ", this); + TQLabel label = new TQLabel( "Echo Mode: ", this); row1.addWidget( label ); // Create a Combobox with three items... - combo1 = new QComboBox( false, this ); + combo1 = new TQComboBox( false, this ); row1.addWidget( combo1 ); combo1.insertItem( "Normal", -1 ); combo1.insertItem( "Password", -1 ); @@ -53,19 +53,19 @@ LineEdits( QWidget parent, String name ) connect( combo1, SIGNAL(" activated( int )"), this, SLOT(" slotEchoChanged( int )") ); // insert the first LineEdit - lined1 = new QLineEdit( this ); + lined1 = new TQLineEdit( this ); box.addWidget( lined1 ); // another widget which is used for layouting - QHBoxLayout row2 = new QHBoxLayout( box ); + TQHBoxLayout row2 = new TQHBoxLayout( box ); row2.setMargin( 5 ); // and the second label - label = new QLabel( "Validator: ", this ); + label = new TQLabel( "Validator: ", this ); row2.addWidget( label ); // A second Combobox with again three items... - combo2 = new QComboBox( false, this ); + combo2 = new TQComboBox( false, this ); row2.addWidget( combo2 ); combo2.insertItem( "No Validator", -1 ); combo2.insertItem( "Integer Validator", -1 ); @@ -74,19 +74,19 @@ LineEdits( QWidget parent, String name ) connect( combo2, SIGNAL(" activated( int )"), this, SLOT(" slotValidatorChanged( int )") ); // and the second LineEdit - lined2 = new QLineEdit( this ); + lined2 = new TQLineEdit( this ); box.addWidget( lined2 ); // yet another widget which is used for layouting - QHBoxLayout row3 = new QHBoxLayout( box ); + TQHBoxLayout row3 = new TQHBoxLayout( box ); row3.setMargin( 5 ); // we need a label for this too - label = new QLabel( "Alignment: ", this ); + label = new TQLabel( "Alignment: ", this ); row3.addWidget( label ); // A combo box for setting alignment - combo3 = new QComboBox( false, this ); + combo3 = new TQComboBox( false, this ); row3.addWidget( combo3 ); combo3.insertItem( "Left", -1 ); combo3.insertItem( "Centered", -1 ); @@ -95,26 +95,26 @@ LineEdits( QWidget parent, String name ) connect( combo3, SIGNAL(" activated( int )"), this, SLOT(" slotAlignmentChanged( int )") ); // and the third lineedit - lined3 = new QLineEdit( this ); + lined3 = new TQLineEdit( this ); box.addWidget( lined3 ); // last widget used for layouting - QHBox row4 = new QHBox( this ); + TQHBox row4 = new TQHBox( this ); box.addWidget( row4 ); row4.setMargin( 5 ); // last label - new QLabel( "Read-Only: ", row4 ); + new TQLabel( "Read-Only: ", row4 ); // A combo box for setting alignment - combo4 = new QComboBox( false, row4 ); + combo4 = new TQComboBox( false, row4 ); combo4.insertItem( "False", -1 ); combo4.insertItem( "True", -1 ); // ...and again the activated() SIGNAL gets connected with a SLOT connect( combo4, SIGNAL(" activated( int )"), this, SLOT(" slotReadOnlyChanged( int )") ); // and the last lineedit - lined4 = new QLineEdit( this ); + lined4 = new TQLineEdit( this ); box.addWidget( lined4 ); // give the first LineEdit the focus at the beginning @@ -133,13 +133,13 @@ void slotEchoChanged( int i ) { switch ( i ) { case 0: - lined1.setEchoMode( QLineEdit.Normal ); + lined1.setEchoMode( TQLineEdit.Normal ); break; case 1: - lined1.setEchoMode( QLineEdit.Password ); + lined1.setEchoMode( TQLineEdit.Password ); break; case 2: - lined1.setEchoMode( QLineEdit.NoEcho ); + lined1.setEchoMode( TQLineEdit.NoEcho ); break; } @@ -163,10 +163,10 @@ void slotValidatorChanged( int i ) lined2.setValidator( null ); break; case 1: - lined2.setValidator( new QIntValidator( lined2 ) ); + lined2.setValidator( new TQIntValidator( lined2 ) ); break; case 2: - lined2.setValidator( new QDoubleValidator( -999.0, 999.0, 2, + lined2.setValidator( new TQDoubleValidator( -999.0, 999.0, 2, lined2 ) ); break; } @@ -188,13 +188,13 @@ void slotAlignmentChanged( int i ) { switch ( i ) { case 0: - lined3.setAlignment( QLineEdit.AlignLeft ); + lined3.setAlignment( TQLineEdit.AlignLeft ); break; case 1: - lined3.setAlignment( QLineEdit.AlignCenter ); + lined3.setAlignment( TQLineEdit.AlignCenter ); break; case 2: - lined3.setAlignment( QLineEdit.AlignRight ); + lined3.setAlignment( TQLineEdit.AlignRight ); break; } diff --git a/qtjava/javalib/examples/lineedits/Main.java b/qtjava/javalib/examples/lineedits/Main.java index 19424534..7ac06fea 100644 --- a/qtjava/javalib/examples/lineedits/Main.java +++ b/qtjava/javalib/examples/lineedits/Main.java @@ -14,7 +14,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); LineEdits lineedits = new LineEdits(); lineedits.setCaption( "Qt Example - Lineedits" ); diff --git a/qtjava/javalib/examples/listbox/ListBoxDemo.java b/qtjava/javalib/examples/listbox/ListBoxDemo.java index 60eecffc..77ef7635 100644 --- a/qtjava/javalib/examples/listbox/ListBoxDemo.java +++ b/qtjava/javalib/examples/listbox/ListBoxDemo.java @@ -12,51 +12,51 @@ import org.kde.qt.*; -class ListBoxDemo extends QWidget +class ListBoxDemo extends TQWidget { -private QListBox l; -private QSpinBox columns; -private QSpinBox rows; -private QButtonGroup bg; +private TQListBox l; +private TQSpinBox columns; +private TQSpinBox rows; +private TQButtonGroup bg; ListBoxDemo() { super( null, null ); - QGridLayout g = new QGridLayout( this, 2, 2, 6 ); + TQGridLayout g = new TQGridLayout( this, 2, 2, 6 ); - g.addWidget( new QLabel( "Configuration:", this ), 0, 0 ); - g.addWidget( new QLabel( "Result:", this ), 0, 1 ); + g.addWidget( new TQLabel( "Configuration:", this ), 0, 0 ); + g.addWidget( new TQLabel( "Result:", this ), 0, 1 ); - l = new QListBox( this ); + l = new TQListBox( this ); g.addWidget( l, 1, 1 ); - l.setFocusPolicy( QWidget.StrongFocus ); + l.setFocusPolicy( TQWidget.StrongFocus ); - QVBoxLayout v = new QVBoxLayout(); + TQVBoxLayout v = new TQVBoxLayout(); g.addLayout( v, 1, 0 ); - QRadioButton b = null; - bg = new QButtonGroup( (QWidget) null ); + TQRadioButton b = null; + bg = new TQButtonGroup( (TQWidget) null ); - b = new QRadioButton( "Fixed number of columns,\n" + b = new TQRadioButton( "Fixed number of columns,\n" + "as many rows as needed.", this ); bg.insert( b ); v.addWidget( b ); b.setChecked( true ); connect( b, SIGNAL("clicked()"), this, SLOT("setNumCols()") ); - QHBoxLayout h = new QHBoxLayout(); + TQHBoxLayout h = new TQHBoxLayout(); v.addLayout( h ); h.addSpacing( 30 ); h.addSpacing( 100 ); - h.addWidget( new QLabel( "Columns:", this ) ); - columns = new QSpinBox( this ); + h.addWidget( new TQLabel( "Columns:", this ) ); + columns = new TQSpinBox( this ); h.addWidget( columns ); v.addSpacing( 12 ); - b = new QRadioButton( "As many columns as fit on-screen,\n" + b = new TQRadioButton( "As many columns as fit on-screen,\n" + "as many rows as needed.", this ); bg.insert( b ); @@ -65,24 +65,24 @@ ListBoxDemo() v.addSpacing( 12 ); - b = new QRadioButton( "Fixed number of rows,\n" + b = new TQRadioButton( "Fixed number of rows,\n" + "as many columns as needed.", this ); bg.insert( b ); v.addWidget( b ); connect( b, SIGNAL("clicked()"), this, SLOT("setNumRows()") ); - h = new QHBoxLayout(); + h = new TQHBoxLayout(); v.addLayout( h ); h.addSpacing( 30 ); h.addSpacing( 100 ); - h.addWidget( new QLabel( "Rows:", this ) ); - rows = new QSpinBox( this ); + h.addWidget( new TQLabel( "Rows:", this ) ); + rows = new TQSpinBox( this ); rows.setEnabled( false ); h.addWidget( rows ); v.addSpacing( 12 ); - b = new QRadioButton( "As many rows as fit on-screen,\n" + b = new TQRadioButton( "As many rows as fit on-screen,\n" + "as many columns as needed.", this ); bg.insert( b ); @@ -91,25 +91,25 @@ ListBoxDemo() v.addSpacing( 12 ); - QCheckBox cb = new QCheckBox( "Variable-height rows", this ); + TQCheckBox cb = new TQCheckBox( "Variable-height rows", this ); cb.setChecked( true ); connect( cb, SIGNAL("toggled(boolean)"), this, SLOT("setVariableHeight(boolean)") ); v.addWidget( cb ); v.addSpacing( 6 ); - cb = new QCheckBox( "Variable-width columns", this ); + cb = new TQCheckBox( "Variable-width columns", this ); connect( cb, SIGNAL("toggled(boolean)"), this, SLOT("setVariableWidth(boolean)") ); v.addWidget( cb ); - cb = new QCheckBox( "Extended-Selection", this ); + cb = new TQCheckBox( "Extended-Selection", this ); connect( cb, SIGNAL("toggled(boolean)"), this, SLOT("setMultiSelection(boolean)") ); v.addWidget( cb ); - QPushButton pb = new QPushButton( "Sort ascending", this ); + TQPushButton pb = new TQPushButton( "Sort ascending", this ); connect( pb, SIGNAL(" clicked()"), this, SLOT(" sortAscending()") ); v.addWidget( pb ); - pb = new QPushButton( "Sort descending", this ); + pb = new TQPushButton( "Sort descending", this ); connect( pb, SIGNAL(" clicked()"), this, SLOT(" sortDescending()") ); v.addWidget( pb ); @@ -149,7 +149,7 @@ void setRowsByHeight() { columns.setEnabled( false ); rows.setEnabled( false ); - l.setRowMode( QListBox.FitToHeight ); + l.setRowMode( TQListBox.FitToHeight ); } @@ -157,7 +157,7 @@ void setColsByWidth() { columns.setEnabled( false ); rows.setEnabled( false ); - l.setColumnMode( QListBox.FitToWidth ); + l.setColumnMode( TQListBox.FitToWidth ); } @@ -175,7 +175,7 @@ void setVariableHeight( boolean b ) void setMultiSelection( boolean b ) { l.clearSelection(); - l.setSelectionMode( b ? QListBox.Extended : QListBox.Single ); + l.setSelectionMode( b ? TQListBox.Extended : TQListBox.Single ); } void sortAscending() diff --git a/qtjava/javalib/examples/listbox/Main.java b/qtjava/javalib/examples/listbox/Main.java index ff21a95f..4b836bb1 100644 --- a/qtjava/javalib/examples/listbox/Main.java +++ b/qtjava/javalib/examples/listbox/Main.java @@ -13,7 +13,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ListBoxDemo t = new ListBoxDemo(); t.setCaption( "Qt Example - Listbox" ); diff --git a/qtjava/javalib/examples/mdi/ApplicationWindow.java b/qtjava/javalib/examples/mdi/ApplicationWindow.java index e74e6233..a2d3cbbc 100644 --- a/qtjava/javalib/examples/mdi/ApplicationWindow.java +++ b/qtjava/javalib/examples/mdi/ApplicationWindow.java @@ -11,16 +11,16 @@ import org.kde.qt.*; import java.util.ArrayList; -class ApplicationWindow extends QMainWindow +class ApplicationWindow extends TQMainWindow { -private QPrinter printer; -private QWorkspace ws; +private TQPrinter printer; +private TQWorkspace ws; /* Keep a copy of ws.windowList(), so that the MDIWindow widgets in it won't get garbage collected */ private ArrayList windows; -private QToolBar fileTools; -private QPopupMenu windowsMenu; +private TQToolBar fileTools; +private TQPopupMenu windowsMenu; @@ -110,75 +110,75 @@ ApplicationWindow() super( null, "example application main window", WDestructiveClose ); int id; - QPixmap openIcon, saveIcon; + TQPixmap openIcon, saveIcon; - fileTools = new QToolBar( this, "file operations" ); + fileTools = new TQToolBar( this, "file operations" ); addToolBar( fileTools, tr( "File Operations" ), DockTop, true ); - openIcon = new QPixmap( fileopen ); - QToolButton fileOpen - = new QToolButton( new QIconSet(openIcon), "Open File", "", + openIcon = new TQPixmap( fileopen ); + TQToolButton fileOpen + = new TQToolButton( new TQIconSet(openIcon), "Open File", "", this, SLOT("load()"), fileTools, "open file" ); - saveIcon = new QPixmap( filesave ); - QToolButton fileSave - = new QToolButton( new QIconSet(saveIcon), "Save File", "", + saveIcon = new TQPixmap( filesave ); + TQToolButton fileSave + = new TQToolButton( new TQIconSet(saveIcon), "Save File", "", this, SLOT("save()"), fileTools, "save file" ); - printer = new QPrinter(); - QPixmap printIcon; + printer = new TQPrinter(); + TQPixmap printIcon; - printIcon = new QPixmap( fileprint ); - QToolButton filePrint - = new QToolButton( new QIconSet(printIcon), "Print File", "", + printIcon = new TQPixmap( fileprint ); + TQToolButton filePrint + = new TQToolButton( new TQIconSet(printIcon), "Print File", "", this, SLOT("print()"), fileTools, "print file" ); - QWhatsThis.add( filePrint, filePrintText ); + TQWhatsThis.add( filePrint, filePrintText ); - QWhatsThis.whatsThisButton( fileTools ); + TQWhatsThis.whatsThisButton( fileTools ); - QWhatsThis.add( fileOpen, fileOpenText ); - QWhatsThis.add( fileSave, fileSaveText ); + TQWhatsThis.add( fileOpen, fileOpenText ); + TQWhatsThis.add( fileSave, fileSaveText ); - QPopupMenu file = new QPopupMenu( this ); + TQPopupMenu file = new TQPopupMenu( this ); menuBar().insertItem( "&File", file ); - file.insertItem( "&New", this, SLOT("newDoc()"), new QKeySequence(CTRL+Key_N) ); + file.insertItem( "&New", this, SLOT("newDoc()"), new TQKeySequence(CTRL+Key_N) ); - id = file.insertItem( new QIconSet(openIcon), "&Open...", - this, SLOT("load()"), new QKeySequence(CTRL+Key_O) ); + id = file.insertItem( new TQIconSet(openIcon), "&Open...", + this, SLOT("load()"), new TQKeySequence(CTRL+Key_O) ); file.setWhatsThis( id, fileOpenText ); - id = file.insertItem( new QIconSet(saveIcon), "&Save", - this, SLOT("save()"), new QKeySequence(CTRL+Key_S) ); + id = file.insertItem( new TQIconSet(saveIcon), "&Save", + this, SLOT("save()"), new TQKeySequence(CTRL+Key_S) ); file.setWhatsThis( id, fileSaveText ); id = file.insertItem( "Save &As...", this, SLOT("saveAs()") ); file.setWhatsThis( id, fileSaveText ); file.insertSeparator(); - id = file.insertItem( new QIconSet(printIcon), "&Print...", - this, SLOT("print()"), new QKeySequence(CTRL+Key_P) ); + id = file.insertItem( new TQIconSet(printIcon), "&Print...", + this, SLOT("print()"), new TQKeySequence(CTRL+Key_P) ); file.setWhatsThis( id, filePrintText ); file.insertSeparator(); - file.insertItem( "&Close", this, SLOT("closeWindow()"), new QKeySequence(CTRL+Key_W) ); - file.insertItem( "&Quit", qApp(), SLOT(" closeAllWindows()"), new QKeySequence(CTRL+Key_Q) ); + file.insertItem( "&Close", this, SLOT("closeWindow()"), new TQKeySequence(CTRL+Key_W) ); + file.insertItem( "&Quit", qApp(), SLOT(" closeAllWindows()"), new TQKeySequence(CTRL+Key_Q) ); - windowsMenu = new QPopupMenu( this ); + windowsMenu = new TQPopupMenu( this ); windowsMenu.setCheckable( true ); connect( windowsMenu, SIGNAL(" aboutToShow()"), this, SLOT(" windowsMenuAboutToShow()") ); menuBar().insertItem( "&Windows", windowsMenu ); menuBar().insertSeparator(); - QPopupMenu help = new QPopupMenu( this ); + TQPopupMenu help = new TQPopupMenu( this ); menuBar().insertItem( "&Help", help ); - help.insertItem( "&About", this, SLOT("about()"), new QKeySequence(Key_F1)); + help.insertItem( "&About", this, SLOT("about()"), new TQKeySequence(Key_F1)); help.insertItem( "About &Qt", this, SLOT("aboutQt()")); help.insertSeparator(); - help.insertItem( "What's &This", this, SLOT("whatsThis()"), new QKeySequence(SHIFT+Key_F1)); + help.insertItem( "What's &This", this, SLOT("whatsThis()"), new TQKeySequence(SHIFT+Key_F1)); - QVBox vb = new QVBox( this ); - vb.setFrameStyle( QFrame.StyledPanel | QFrame.Sunken ); - ws = new QWorkspace( vb ); + TQVBox vb = new TQVBox( this ); + vb.setFrameStyle( TQFrame.StyledPanel | TQFrame.Sunken ); + ws = new TQWorkspace( vb ); ws.setScrollBarsEnabled( true ); setCentralWidget( vb ); @@ -191,7 +191,7 @@ MDIWindow newDoc() MDIWindow w = new MDIWindow( ws, null, WDestructiveClose ); connect( w, SIGNAL("message(String,int)"), statusBar(), SLOT("message(String,int)") ); w.setCaption("unnamed document"); - w.setIcon( new QPixmap("document.xpm") ); + w.setIcon( new TQPixmap("document.xpm") ); // show the very first window in maximized mode windows = ws.windowList(); if ( windows.size() == 0 ) @@ -203,7 +203,7 @@ MDIWindow newDoc() void load() { - String fn = QFileDialog.getOpenFileName( "", "", this ); + String fn = TQFileDialog.getOpenFileName( "", "", this ); if ( !fn.equals("") ) { MDIWindow w = newDoc(); w.load( fn ); @@ -245,7 +245,7 @@ void closeWindow() void about() { - QMessageBox.about( this, "Qt Application Example", + TQMessageBox.about( this, "Qt Application Example", "This example demonstrates simple use of\n " + "Qt's Multiple Document Interface (MDI)."); } @@ -253,7 +253,7 @@ void about() void aboutQt() { - QMessageBox.aboutQt( this, "Qt Application Example" ); + TQMessageBox.aboutQt( this, "Qt Application Example" ); } @@ -269,7 +269,7 @@ void windowsMenuAboutToShow() } windowsMenu.insertSeparator(); for ( int i = 0; i < windows.size(); ++i ) { - int id = windowsMenu.insertItem(((QWidget) windows.get(i)).caption(), + int id = windowsMenu.insertItem(((TQWidget) windows.get(i)).caption(), this, SLOT(" windowsMenuActivated( int )") ); windowsMenu.setItemParameter( id, i ); windowsMenu.setItemChecked( id, ws.activeWindow() == windows.get(i) ); @@ -279,7 +279,7 @@ void windowsMenuAboutToShow() void windowsMenuActivated( int id ) { windows = ws.windowList(); - QWidget w = (QWidget) windows.get( id ); + TQWidget w = (TQWidget) windows.get( id ); if ( w != null ) w.showNormal(); w.setFocus(); diff --git a/qtjava/javalib/examples/mdi/MDIWindow.java b/qtjava/javalib/examples/mdi/MDIWindow.java index ef5efd64..c8abf0be 100644 --- a/qtjava/javalib/examples/mdi/MDIWindow.java +++ b/qtjava/javalib/examples/mdi/MDIWindow.java @@ -11,18 +11,18 @@ import org.kde.qt.*; -class MDIWindow extends QMainWindow +class MDIWindow extends TQMainWindow { -private QMultiLineEdit medit; -private QMovie mmovie; +private TQMultiLineEdit medit; +private TQMovie mmovie; private String filename = ""; -MDIWindow( QWidget parent, String name, int wflags ) +MDIWindow( TQWidget parent, String name, int wflags ) { super( parent, name, wflags ); mmovie = null; - medit = new QMultiLineEdit( this ); + medit = new TQMultiLineEdit( this ); setFocusProxy( medit ); setCentralWidget( medit ); } @@ -31,24 +31,24 @@ MDIWindow( QWidget parent, String name, int wflags ) void load( String fn ) { filename = fn; - QFile f = new QFile( filename ); - if ( !f.open( QIODevice.IO_ReadOnly ) ) + TQFile f = new TQFile( filename ); + if ( !f.open( TQIODevice.IO_ReadOnly ) ) return; if(fn.indexOf(".gif") != -1) { - QWidget tmp=new QWidget(this); + TQWidget tmp=new TQWidget(this); setFocusProxy(tmp); setCentralWidget(tmp); medit.hide(); - QMovie qm=new QMovie(fn); + TQMovie qm=new TQMovie(fn); // qm.setDisplayWidget(tmp); - tmp.setBackgroundMode(QWidget.NoBackground); + tmp.setBackgroundMode(TQWidget.NoBackground); tmp.show(); mmovie=qm; } else { mmovie = null; - QTextStream t = new QTextStream(f); + TQTextStream t = new TQTextStream(f); String s = t.read(); medit.setText( s ); f.close(); @@ -67,14 +67,14 @@ void save() } String text = medit.text(); - QFile f = new QFile( filename ); - if ( !f.open( QIODevice.IO_WriteOnly ) ) { + TQFile f = new TQFile( filename ); + if ( !f.open( TQIODevice.IO_WriteOnly ) ) { emit("message", "Could not write to " + filename, 2000 ); return; } - QTextStream t = new QTextStream( f ); + TQTextStream t = new TQTextStream( f ); t.writeRawBytes( text, text.length() ); f.close(); @@ -85,7 +85,7 @@ void save() void saveAs() { - String fn = QFileDialog.getSaveFileName( filename, "", this ); + String fn = TQFileDialog.getSaveFileName( filename, "", this ); if ( !fn.equals("") ) { filename = fn; save(); @@ -94,20 +94,20 @@ void saveAs() } } -void print( QPrinter printer) +void print( TQPrinter printer) { int Margin = 10; int pageNo = 1; if ( printer.setup(this) ) { // printer dialog emit("message", "Printing...", 0 ); - QPainter p = new QPainter(); + TQPainter p = new TQPainter(); if ( !p.begin( printer ) ) return; // paint on printer p.setFont( medit.font() ); int yPos = 0; // y position for each line - QFontMetrics fm = p.fontMetrics(); - QPaintDeviceMetrics metrics = new QPaintDeviceMetrics( printer ); // need width/height + TQFontMetrics fm = p.fontMetrics(); + TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics( printer ); // need width/height // of printer surface for( int i = 0 ; i < medit.numLines() ; i++ ) { if ( Margin + yPos > metrics.height() - Margin ) { diff --git a/qtjava/javalib/examples/mdi/Main.java b/qtjava/javalib/examples/mdi/Main.java index 8190b7cf..114c4230 100644 --- a/qtjava/javalib/examples/mdi/Main.java +++ b/qtjava/javalib/examples/mdi/Main.java @@ -13,7 +13,7 @@ import org.kde.qt.*; public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ApplicationWindow mw = new ApplicationWindow(); mw.setCaption( "Qt Example - Multiple Documents Interface (MDI)" ); mw.show(); diff --git a/qtjava/javalib/examples/menu/MenuExample.java b/qtjava/javalib/examples/menu/MenuExample.java index 3eca97b5..1c4e7231 100644 --- a/qtjava/javalib/examples/menu/MenuExample.java +++ b/qtjava/javalib/examples/menu/MenuExample.java @@ -10,11 +10,11 @@ import org.kde.qt.*; -class MenuExample extends QWidget +class MenuExample extends TQWidget { -private QMenuBar menu; -private QLabel label; +private TQMenuBar menu; +private TQLabel label; private boolean isBold; private boolean isUnderline; private int boldID, underlineID; @@ -97,26 +97,26 @@ static String p3_xpm[] = { menu. */ /** -class MyMenuItem extends QCustomMenuItem +class MyMenuItem extends TQCustomMenuItem { private String string; -private QFont font; +private TQFont font; - public MyMenuItem( String s, QFont f ) + public MyMenuItem( String s, TQFont f ) { font = f; string = s; } - public void paint( QPainter p, QColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h ) + public void paint( TQPainter p, TQColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h ) { p.setFont ( font ); p.drawText( x, y, w, h, AlignLeft | AlignVCenter | ShowPrefix | DontClip, string ); } - public QSize sizeHint() + public TQSize sizeHint() { - return new QFontMetrics( font ).size( AlignLeft | AlignVCenter | ShowPrefix | DontClip, string ); + return new TQFontMetrics( font ).size( AlignLeft | AlignVCenter | ShowPrefix | DontClip, string ); } } */ @@ -126,14 +126,14 @@ MenuExample( ) this(null, null); } -MenuExample( QWidget parent, String name ) +MenuExample( TQWidget parent, String name ) { super( parent, name ); - QPixmap p1 = new QPixmap( p1_xpm ); - QPixmap p2 = new QPixmap( p2_xpm ); - QPixmap p3 = new QPixmap( p3_xpm ); + TQPixmap p1 = new TQPixmap( p1_xpm ); + TQPixmap p2 = new TQPixmap( p2_xpm ); + TQPixmap p3 = new TQPixmap( p3_xpm ); - QPopupMenu print = new QPopupMenu( this ); + TQPopupMenu print = new TQPopupMenu( this ); print.insertTearOffHandle(); print.insertItem( "&Print to printer", this, SLOT("printer()") ); print.insertItem( "Print to &file", this, SLOT("file()") ); @@ -141,38 +141,38 @@ MenuExample( QWidget parent, String name ) print.insertSeparator(); print.insertItem( "Printer &Setup", this, SLOT("printerSetup()") ); - QPopupMenu file = new QPopupMenu( this ); - file.insertItem( new QIconSet(p1), "&Open", this, SLOT("open()"), new QKeySequence(CTRL+Key_O) ); - file.insertItem( new QIconSet(p2), "&New", this, SLOT("news()"), new QKeySequence(CTRL+Key_N) ); - file.insertItem( new QIconSet(p3), "&Save", this, SLOT("save()"), new QKeySequence(CTRL+Key_S) ); - file.insertItem( "&Close", this, SLOT("closeDoc()"), new QKeySequence(CTRL+Key_W) ); + TQPopupMenu file = new TQPopupMenu( this ); + file.insertItem( new TQIconSet(p1), "&Open", this, SLOT("open()"), new TQKeySequence(CTRL+Key_O) ); + file.insertItem( new TQIconSet(p2), "&New", this, SLOT("news()"), new TQKeySequence(CTRL+Key_N) ); + file.insertItem( new TQIconSet(p3), "&Save", this, SLOT("save()"), new TQKeySequence(CTRL+Key_S) ); + file.insertItem( "&Close", this, SLOT("closeDoc()"), new TQKeySequence(CTRL+Key_W) ); file.insertSeparator(); file.insertItem( "&Print", print, CTRL+Key_P ); file.insertSeparator(); - file.insertItem( "E&xit", qApp(), SLOT("quit()"), new QKeySequence(CTRL+Key_Q) ); + file.insertItem( "E&xit", qApp(), SLOT("quit()"), new TQKeySequence(CTRL+Key_Q) ); - QPopupMenu edit = new QPopupMenu( this ); + TQPopupMenu edit = new TQPopupMenu( this ); int undoID = edit.insertItem( "&Undo", this, SLOT("undo()") ); int redoID = edit.insertItem( "&Redo", this, SLOT("redo()") ); edit.setItemEnabled( undoID, false ); edit.setItemEnabled( redoID, false ); - QPopupMenu options = new QPopupMenu( this ); + TQPopupMenu options = new TQPopupMenu( this ); options.insertTearOffHandle(); options.setCaption("Options"); options.insertItem( "&Normal Font", this, SLOT("normal()") ); options.insertSeparator(); options.polish(); // adjust system settings - QFont f = options.font(); + TQFont f = options.font(); f.setBold( true ); // boldID = options.insertItem( new MyMenuItem( "&Bold", f ) ); - options.setAccel( new QKeySequence(CTRL+Key_B), boldID ); + options.setAccel( new TQKeySequence(CTRL+Key_B), boldID ); options.connectItem( boldID, this, SLOT("bold()") ); f = font(); f.setUnderline( true ); // underlineID = options.insertItem( new MyMenuItem( "&Underline", f ) ); - options.setAccel( new QKeySequence(CTRL+Key_U), underlineID ); + options.setAccel( new TQKeySequence(CTRL+Key_U), underlineID ); options.connectItem( underlineID, this, SLOT("underline()") ); isBold = false; @@ -180,21 +180,21 @@ MenuExample( QWidget parent, String name ) options.setCheckable( true ); - QPopupMenu help = new QPopupMenu( this ); - help.insertItem( "&About", this, SLOT("about()"), new QKeySequence(CTRL+Key_H) ); + TQPopupMenu help = new TQPopupMenu( this ); + help.insertItem( "&About", this, SLOT("about()"), new TQKeySequence(CTRL+Key_H) ); help.insertItem( "About &Qt", this, SLOT("aboutQt()") ); - menu = new QMenuBar( this ); + menu = new TQMenuBar( this ); menu.insertItem( "&File", file ); menu.insertItem( "&Edit", edit ); menu.insertItem( "&Options", options ); menu.insertSeparator(); menu.insertItem( "&Help", help ); - menu.setSeparator( QMenuBar.InWindowsStyle ); + menu.setSeparator( TQMenuBar.InWindowsStyle ); - label = new QLabel( this ); + label = new TQLabel( this ); label.setGeometry( 20, rect().center().y()-20, width()-40, 40 ); - label.setFrameStyle( QFrame.Box | QFrame.Raised ); + label.setFrameStyle( TQFrame.Box | TQFrame.Raised ); label.setLineWidth( 1 ); label.setAlignment( AlignCenter ); @@ -268,7 +268,7 @@ void underline() void about() { - QMessageBox.about( this, "Qt Menu Example", + TQMessageBox.about( this, "Qt Menu Example", "This example demonstrates simple use of Qt menus.\n" + "You can cut and paste lines from it to your own\n" + "programs." ); @@ -277,7 +277,7 @@ void about() void aboutQt() { - QMessageBox.aboutQt( this, "Qt Menu Example" ); + TQMessageBox.aboutQt( this, "Qt Menu Example" ); } @@ -302,7 +302,7 @@ void printerSetup() } -protected void resizeEvent( QResizeEvent e ) +protected void resizeEvent( TQResizeEvent e ) { label.setGeometry( 20, rect().center().y()-20, width()-40, 40 ); } @@ -310,7 +310,7 @@ protected void resizeEvent( QResizeEvent e ) public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); MenuExample m = new MenuExample(); m.setCaption("Qt Examples - Menus"); a.setMainWidget( m ); diff --git a/qtjava/javalib/examples/menu/README b/qtjava/javalib/examples/menu/README index 958edd19..326a3f20 100644 --- a/qtjava/javalib/examples/menu/README +++ b/qtjava/javalib/examples/menu/README @@ -1,2 +1,2 @@ -The class MyMenuItem isn't translated to Java, as the QCustomMenuItem.paint() +The class MyMenuItem isn't translated to Java, as the TQCustomMenuItem.paint() and sizeHint() virtual method callbacks aren't implemented yet. diff --git a/qtjava/javalib/examples/picture/PictureDisplay.java b/qtjava/javalib/examples/picture/PictureDisplay.java index 34b026b4..2f311d51 100644 --- a/qtjava/javalib/examples/picture/PictureDisplay.java +++ b/qtjava/javalib/examples/picture/PictureDisplay.java @@ -10,28 +10,28 @@ import org.kde.qt.*; -class PictureDisplay extends QWidget // picture display widget +class PictureDisplay extends TQWidget // picture display widget { -static void paintCar( QPainter p ) // paint a car +static void paintCar( TQPainter p ) // paint a car { - QPointArray a = new QPointArray(); - QBrush brush = new QBrush( Qt.yellow(), Qt.SolidPattern ); + TQPointArray a = new TQPointArray(); + TQBrush brush = new TQBrush( Qt.yellow(), Qt.SolidPattern ); p.setBrush( brush ); // use solid, yellow brush a.setPoints( 5, new short[] { 50,50, 350,50, 450,120, 450,250, 50,250 } ); p.drawPolygon( a ); // draw car body - QFont f = new QFont( "courier", 12, QFont.Bold, false ); + TQFont f = new TQFont( "courier", 12, TQFont.Bold, false ); p.setFont( f ); - QColor windowColor = new QColor( 120, 120, 255 ); // a light blue color + TQColor windowColor = new TQColor( 120, 120, 255 ); // a light blue color brush.setColor( windowColor ); // set this brush color p.setBrush( brush ); // set brush p.drawRect( 80, 80, 250, 70 ); // car window p.drawText( 180, 80, 150, 70, Qt.AlignCenter, "-- Qt --\nTrolltech AS" ); - QPixmap pixmap = new QPixmap(); + TQPixmap pixmap = new TQPixmap(); if ( pixmap.load("flag.bmp") ) // load and draw image p.drawPixmap( 100, 90, pixmap ); @@ -44,12 +44,12 @@ static void paintCar( QPainter p ) // paint a car -private QPicture pict; +private TQPicture pict; private String name; public PictureDisplay( String fileName ) { - pict = new QPicture(); + pict = new TQPicture(); name = fileName; if ( !pict.load(fileName) ) { // cannot load picture pict = null; @@ -57,16 +57,16 @@ public PictureDisplay( String fileName ) } } -protected void paintEvent( QPaintEvent event ) +protected void paintEvent( TQPaintEvent event ) { - QPainter paint = new QPainter( this ); // paint widget + TQPainter paint = new TQPainter( this ); // paint widget if ( pict != null ) paint.drawPicture( pict ); // draw picture else paint.drawText( rect(), AlignCenter, name ); } -protected void keyPressEvent( QKeyEvent k ) +protected void keyPressEvent( TQKeyEvent k ) { // switch ( tolower(k.ascii()) ) { switch ( k.ascii() ) { @@ -75,7 +75,7 @@ protected void keyPressEvent( QKeyEvent k ) update(); break; case 'q': // quit - QApplication.exit(); + TQApplication.exit(); break; } } @@ -83,23 +83,23 @@ protected void keyPressEvent( QKeyEvent k ) static public void main( String[] args ) { - QApplication a = new QApplication( args ); // QApplication required! + TQApplication a = new TQApplication( args ); // TQApplication retquired! String fileName = "car.pic"; // default picture file name if ( args.length == 1 ) // use argument as file name fileName = args[0]; - if ( !QFile.exists(fileName) ) { - QPicture pict = new QPicture(); // our picture - QPainter paint = new QPainter(); // our painter + if ( !TQFile.exists(fileName) ) { + TQPicture pict = new TQPicture(); // our picture + TQPainter paint = new TQPainter(); // our painter paint.begin( pict ); // begin painting onto picture paintCar( paint ); // paint! paint.end(); // painting done pict.save( fileName ); // save picture - QMessageBox.information(null, "Qt picture example", "Saved. Run me again!"); + TQMessageBox.information(null, "Qt picture example", "Saved. Run me again!"); return; } else { PictureDisplay test = new PictureDisplay( fileName ); // create picture display diff --git a/qtjava/javalib/examples/picture/car_orig.pic b/qtjava/javalib/examples/picture/car_orig.pic index a0141b75..806053d7 100644 Binary files a/qtjava/javalib/examples/picture/car_orig.pic and b/qtjava/javalib/examples/picture/car_orig.pic differ diff --git a/qtjava/javalib/examples/popup/Frame.java b/qtjava/javalib/examples/popup/Frame.java index afbf2edc..1f1e3eb3 100644 --- a/qtjava/javalib/examples/popup/Frame.java +++ b/qtjava/javalib/examples/popup/Frame.java @@ -14,13 +14,13 @@ import org.kde.qt.*; -class Frame extends QFrame +class Frame extends TQFrame { -private QPushButton button1; -private QPushButton button2; +private TQPushButton button1; +private TQPushButton button2; -private QFrame popup1; +private TQFrame popup1; private FancyPopup popup2; Frame() @@ -28,15 +28,15 @@ Frame() this(null, null); } -Frame(QWidget parent, String name) +Frame(TQWidget parent, String name) { super(parent, name); - button1 = new QPushButton("Simple Popup", this); + button1 = new TQPushButton("Simple Popup", this); connect ( button1, SIGNAL(" clicked()"), SLOT(" button1Clicked()") ); - button2 = new QPushButton("Fancy Popup", this); + button2 = new TQPushButton("Fancy Popup", this); connect ( button2, SIGNAL(" pressed()"), SLOT(" button2Pressed()") ); - QBoxLayout l = new QHBoxLayout( this ); + TQBoxLayout l = new TQHBoxLayout( this ); button1.setMaximumSize(button1.sizeHint()); button2.setMaximumSize(button2.sizeHint()); l.addWidget( button1 ); @@ -50,14 +50,14 @@ Frame(QWidget parent, String name) //create a very simple popup: it is just composed with other //widget and will be shown after clicking on button1 - popup1 = new QFrame( this ,null, WType_Popup); + popup1 = new TQFrame( this ,null, WType_Popup); popup1.setFrameStyle( WinPanel|Raised ); popup1.resize(150,100); - QLineEdit tmpE = new QLineEdit( popup1 ); + TQLineEdit tmpE = new TQLineEdit( popup1 ); connect( tmpE, SIGNAL(" returnPressed()"), popup1, SLOT(" hide()") ); tmpE.setGeometry(10,10, 130, 30); tmpE.setFocus(); - QPushButton tmpB = new QPushButton("Click me!", popup1); + TQPushButton tmpB = new TQPushButton("Click me!", popup1); connect( tmpB, SIGNAL(" clicked()"), popup1, SLOT(" close()") ); tmpB.setGeometry(10, 50, 130, 30); @@ -71,7 +71,7 @@ Frame(QWidget parent, String name) // it with any other widget. The next four lines (if not // commented out) will for instance add a line edit widget. -// tmpE = new QLineEdit( popup2 ); +// tmpE = new TQLineEdit( popup2 ); // tmpE.setFocus(); // connect( tmpE, SIGNAL(" returnPressed()"), popup2, SLOT(" close()") ); // tmpE.setGeometry(10, 10, 130, 30); @@ -87,19 +87,19 @@ void button2Pressed(){ popup2.popup(button2); } -class FancyPopup extends QLabel +class FancyPopup extends TQLabel { -private QWidget popupParent; +private TQWidget popupParent; private int moves; -FancyPopup( QWidget parent ) +FancyPopup( TQWidget parent ) { this(parent, null); } -FancyPopup( QWidget parent, String name ) +FancyPopup( TQWidget parent, String name ) { super( parent, name, WType_Popup ); setFrameStyle( WinPanel|Raised ); @@ -109,20 +109,20 @@ FancyPopup( QWidget parent, String name ) setMouseTracking( true ); } -protected void mouseMoveEvent( QMouseEvent e){ +protected void mouseMoveEvent( TQMouseEvent e){ moves++; String s = e.pos().x() + "/" + e.pos().y(); - if ((e.state() & QMouseEvent.LeftButton) != 0) + if ((e.state() & TQMouseEvent.LeftButton) != 0) s += " (down)"; setText(s); } -protected void mouseReleaseEvent( QMouseEvent e){ +protected void mouseReleaseEvent( TQMouseEvent e){ if (rect().contains( e.pos() ) || moves > 5) close(); } -protected void closeEvent( QCloseEvent e ){ +protected void closeEvent( TQCloseEvent e ){ e.accept(); moves = 0; if (popupParent == null) @@ -133,11 +133,11 @@ protected void closeEvent( QCloseEvent e ){ // the popupParent popped us up in its mousePressEvent handler. To // avoid the button remaining in pressed state we simply send a // faked mouse button release event to it. - QMouseEvent me = new QMouseEvent( QEvent.MouseButtonRelease, new QPoint(0,0), new QPoint(0,0), QMouseEvent.LeftButton, QMouseEvent.NoButton); - QApplication.sendEvent( popupParent, me ); + TQMouseEvent me = new TQMouseEvent( TQEvent.MouseButtonRelease, new TQPoint(0,0), new TQPoint(0,0), TQMouseEvent.LeftButton, TQMouseEvent.NoButton); + TQApplication.sendEvent( popupParent, me ); } -void popup( QWidget parent) { +void popup( TQWidget parent) { popupParent = parent; setText("Move the mouse!"); if (popupParent != null) @@ -150,7 +150,7 @@ void popup( QWidget parent) { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Frame frame = new Frame(); frame.setCaption("Qt Example - Custom Popups"); diff --git a/qtjava/javalib/examples/progressbar/Main.java b/qtjava/javalib/examples/progressbar/Main.java index be103c03..cd235a1b 100644 --- a/qtjava/javalib/examples/progressbar/Main.java +++ b/qtjava/javalib/examples/progressbar/Main.java @@ -14,7 +14,7 @@ class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); ProgressBar progressbar = new ProgressBar(); progressbar.setCaption("Qt Example - ProgressBar"); diff --git a/qtjava/javalib/examples/progressbar/ProgressBar.java b/qtjava/javalib/examples/progressbar/ProgressBar.java index 1d8ab1d3..0737e270 100644 --- a/qtjava/javalib/examples/progressbar/ProgressBar.java +++ b/qtjava/javalib/examples/progressbar/ProgressBar.java @@ -11,13 +11,13 @@ import org.kde.qt.*; -class ProgressBar extends QButtonGroup +class ProgressBar extends TQButtonGroup { -protected QRadioButton slow, normal, fast; -protected QPushButton start, pause, reset; -protected QProgressBar progress; -protected QTimer timer; +protected TQRadioButton slow, normal, fast; +protected TQPushButton start, pause, reset; +protected TQProgressBar progress; +protected TQTimer timer; /* @@ -31,39 +31,39 @@ ProgressBar( ) this(null, null); } -ProgressBar( QWidget parent, String name ) +ProgressBar( TQWidget parent, String name ) { super( 0, Horizontal, "Progress Bar", parent, name ); - timer = new QTimer(); + timer = new TQTimer(); setMargin( 10 ); - QGridLayout toplayout = new QGridLayout( layout(), 2, 2, 5); + TQGridLayout toplayout = new TQGridLayout( layout(), 2, 2, 5); setRadioButtonExclusive( true ); // insert three radiobuttons which the user can use // to set the speed of the progress and two pushbuttons // to start/pause/continue and reset the progress - slow = new QRadioButton( "&Slow", this ); - normal = new QRadioButton( "&Normal", this ); - fast = new QRadioButton( "&Fast", this ); - QVBoxLayout vb1 = new QVBoxLayout(); + slow = new TQRadioButton( "&Slow", this ); + normal = new TQRadioButton( "&Normal", this ); + fast = new TQRadioButton( "&Fast", this ); + TQVBoxLayout vb1 = new TQVBoxLayout(); toplayout.addLayout( vb1, 0, 0 ); vb1.addWidget( slow ); vb1.addWidget( normal ); vb1.addWidget( fast ); // two push buttons, one for start, for for reset. - start = new QPushButton( "&Start", this ); - reset = new QPushButton( "&Reset", this ); - QVBoxLayout vb2 = new QVBoxLayout(); + start = new TQPushButton( "&Start", this ); + reset = new TQPushButton( "&Reset", this ); + TQVBoxLayout vb2 = new TQVBoxLayout(); toplayout.addLayout( vb2, 0, 1 ); vb2.addWidget( start ); vb2.addWidget( reset ); // Create the progressbar - progress = new QProgressBar( 100, this ); - // progress.setStyle( new QMotifStyle() ); + progress = new TQProgressBar( 100, this ); + // progress.setStyle( new TQMotifStyle() ); toplayout.addMultiCellWidget( progress, 1, 1, 0, 1 ); // connect the clicked() SIGNALs of the pushbuttons to SLOTs diff --git a/qtjava/javalib/examples/qfd/FontDisplayer.java b/qtjava/javalib/examples/qfd/FontDisplayer.java index 26f658b1..689dbb44 100644 --- a/qtjava/javalib/examples/qfd/FontDisplayer.java +++ b/qtjava/javalib/examples/qfd/FontDisplayer.java @@ -13,52 +13,52 @@ import java.math.*; -class FontDisplayer extends QMainWindow { +class FontDisplayer extends TQMainWindow { -class FontRowTable extends QFrame { -private QFont tablefont; +class FontRowTable extends TQFrame { +private TQFont tablefont; private int row; -FontRowTable( QWidget parent ) +FontRowTable( TQWidget parent ) { this(parent, null); } -FontRowTable( QWidget parent, String name ) +FontRowTable( TQWidget parent, String name ) { super(parent,name); setBackgroundMode(PaletteBase); setFrameStyle(Panel|Sunken); setMargin(8); setRow(0); - tablefont = QApplication.font(); + tablefont = TQApplication.font(); } -public QSize sizeHint() +public TQSize sizeHint() { - return new QSize( 16*cellSize().width()+2*(margin()+frameWidth()), + return new TQSize( 16*cellSize().width()+2*(margin()+frameWidth()), 16*cellSize().height()+2*(margin()+frameWidth()) ); } -QSize cellSize() +TTQSize cellSize() { - QFontMetrics fm = fontMetrics(); - return new QSize( fm.maxWidth(), fm.lineSpacing()+1 ); + TQFontMetrics fm = fontMetrics(); + return new TQSize( fm.maxWidth(), fm.lineSpacing()+1 ); } -protected void paintEvent( QPaintEvent e ) +protected void paintEvent( TQPaintEvent e ) { super.paintEvent(e); System.out.println("In paintEvent"); - QPainter p = new QPainter(this); + TQPainter p = new TQPainter(this); p.setClipRegion(e.region()); - QRect r = e.rect(); - QFontMetrics fm = fontMetrics(); + TQRect r = e.rect(); + TQFontMetrics fm = fontMetrics(); int ml = frameWidth()+margin() + 1 + (-fm.minLeftBearing() > 0 ? -fm.minLeftBearing() : 0); int mt = frameWidth()+margin(); - QSize cell = new QSize((width()-15-ml)/16,(height()-15-mt)/16); + TQSize cell = new TQSize((width()-15-ml)/16,(height()-15-mt)/16); if ( cell.width() == 0 || cell.height() == 0 ) return; @@ -70,11 +70,11 @@ System.out.println("In paintEvent"); int h = fm.height(); - QColor body = new QColor(255,255,192); - QColor negative = new QColor(255,192,192); - QColor positive = new QColor(192,192,255); - QColor rnegative = new QColor(255,128,128); - QColor rpositive = new QColor(128,128,255); + TQColor body = new TQColor(255,255,192); + TQColor negative = new TQColor(255,192,192); + TQColor positive = new TQColor(192,192,255); + TQColor rnegative = new TQColor(255,128,128); + TQColor rpositive = new TQColor(128,128,255); for (int j = minj; j<=maxj; j++) { for (int i = mini; i<=maxi; i++) { @@ -92,20 +92,20 @@ System.out.println("In paintEvent"); x += ml; y += mt+h; - p.fillRect(x,y,w,-h,new QBrush(body)); + p.fillRect(x,y,w,-h,new TQBrush(body)); if ( w != 0) { if ( lb != 0 ) { p.fillRect(x+(lb>0?0:lb), y-h/2, Math.abs(lb),-h/2, - new QBrush(lb < 0 ? negative : positive)); + new TQBrush(lb < 0 ? negative : positive)); } if ( rb != 0) { p.fillRect(x+w-(rb>0?rb:0),y+2, Math.abs(rb),-h/2, - new QBrush(rb < 0 ? rnegative : rpositive)); + new TQBrush(rb < 0 ? rnegative : rpositive)); } } String s = ""; s += ch; - p.setPen(new QPen(Qt.black())); + p.setPen(new TQPen(Qt.black())); p.drawText(x,y,s); } } @@ -118,7 +118,7 @@ void setRow(int r) { row = r; - QFontMetrics fm = fontMetrics(); + TQFontMetrics fm = fontMetrics(); String str = "mLB=" + fm.minLeftBearing() + " mRB=" + fm.minRightBearing() + " mW=" + fm.maxWidth(); @@ -130,8 +130,8 @@ void setRow(int r) void chooseFont() { boolean[] ok = { true }; - QFont oldfont = tablefont; - tablefont = QFontDialog.getFont(ok, oldfont, this); + TQFont oldfont = tablefont; + tablefont = TQFontDialog.getFont(ok, oldfont, this); if (ok[0]) setFont(tablefont); @@ -147,15 +147,15 @@ FontDisplayer( ) this(null, null); } -FontDisplayer( QWidget parent, String name ) +FontDisplayer( TQWidget parent, String name ) { super(parent,name); FontRowTable table = new FontRowTable(this); - QToolBar controls = new QToolBar(this); - new QLabel(tr("Row:"), controls); - QSpinBox row = new QSpinBox(0,255,1,controls); + TQToolBar controls = new TQToolBar(this); + new TQLabel(tr("Row:"), controls); + TQSpinBox row = new TQSpinBox(0,255,1,controls); controls.addSeparator(); - QPushButton fontbutton = new QPushButton(tr("Font..."), controls); + TQPushButton fontbutton = new TQPushButton(tr("Font..."), controls); connect(row,SIGNAL("valueChanged(int)"),table,SLOT("setRow(int)")); connect(fontbutton, SIGNAL("clicked()"), table, SLOT("chooseFont()")); diff --git a/qtjava/javalib/examples/qfd/Main.java b/qtjava/javalib/examples/qfd/Main.java index d25f2389..301c7068 100644 --- a/qtjava/javalib/examples/qfd/Main.java +++ b/qtjava/javalib/examples/qfd/Main.java @@ -15,16 +15,16 @@ class Main { public static void main(String[] args) { // Use an interesting font - QApplication.setFont(new QFont("unifont",16)); + TQApplication.setFont(new TQFont("unifont",16)); - QApplication app = new QApplication(args); + TQApplication app = new TQApplication(args); FontDisplayer m = new FontDisplayer(); - QSize sh = m.centralWidget().sizeHint(); + TQSize sh = m.centralWidget().sizeHint(); m.resize(sh.width(), sh.height()+3*m.statusBar().height()); app.setMainWidget(m); - m.setCaption("Qt Example - QFD"); + m.setCaption("Qt Example - TQFD"); m.show(); app.exec(); diff --git a/qtjava/javalib/examples/qmag/MagWidget.java b/qtjava/javalib/examples/qmag/MagWidget.java index 66c68705..cf766570 100644 --- a/qtjava/javalib/examples/qmag/MagWidget.java +++ b/qtjava/javalib/examples/qmag/MagWidget.java @@ -10,17 +10,17 @@ import org.kde.qt.*; -class MagWidget extends QWidget +class MagWidget extends TQWidget { -private QComboBox zoom; -private QComboBox refresh; -private QPushButton saveButton; -private QPushButton multiSaveButton; -private QPushButton quitButton; -private QPixmap pm; // pixmap, magnified -private QPixmap p; // pixmap -private QImage image; // image of pixmap (for RGB) -private QLabel rgb; +private TQComboBox zoom; +private TQComboBox refresh; +private TQPushButton saveButton; +private TQPushButton multiSaveButton; +private TQPushButton quitButton; +private TQPixmap pm; // pixmap, magnified +private TQPixmap p; // pixmap +private TQImage image; // image of pixmap (for RGB) +private TQLabel rgb; private int yoffset; // pixels in addition to the actual picture private int z; // magnification factor private int r; // autorefresh rate (index into refreshrates) @@ -47,7 +47,7 @@ MagWidget( ) this(null, null); } -MagWidget( QWidget parent, String name ) +MagWidget( TQWidget parent, String name ) { super( parent, name); z = 1; // default zoom (100%) @@ -55,11 +55,11 @@ MagWidget( QWidget parent, String name ) int w=0, x=0, n; - zoom = new QComboBox( false, this ); + zoom = new TQComboBox( false, this ); zoom.insertStrList( zoomfactors, 9 ); connect( zoom, SIGNAL("activated(int)"), SLOT("setZoom(int)") ); - refresh = new QComboBox( false, this ); + refresh = new TQComboBox( false, this ); refresh.insertStrList( refreshrates, 9 ); connect( refresh, SIGNAL("activated(int)"), SLOT("setRefresh(int)") ); @@ -77,20 +77,20 @@ MagWidget( QWidget parent, String name ) } refresh.setGeometry( x, 2, w+30, 20 ); - saveButton = new QPushButton( this ); + saveButton = new TQPushButton( this ); connect( saveButton, SIGNAL("clicked()"), this, SLOT("save()") ); saveButton.setText( "Save" ); saveButton.setGeometry( x+w+30+2, 2, 10+saveButton.fontMetrics().width("Save"), 20 ); - multiSaveButton = new QPushButton( this ); + multiSaveButton = new TQPushButton( this ); multiSaveButton.setToggleButton(true); connect( multiSaveButton, SIGNAL("clicked()"), this, SLOT("multiSave()") ); multiSaveButton.setText( "MultiSave" ); multiSaveButton.setGeometry( saveButton.geometry().right() + 2, 2, 10+multiSaveButton.fontMetrics().width("MultiSave"), 20 ); - quitButton = new QPushButton( this ); + quitButton = new TQPushButton( this ); connect( quitButton, SIGNAL("clicked()"), qApp(), SLOT("quit()") ); quitButton.setText( "Quit" ); quitButton.setGeometry( multiSaveButton.geometry().right() + 2, 2, @@ -103,7 +103,7 @@ MagWidget( QWidget parent, String name ) setRefresh(1); setZoom(5); - rgb = new QLabel( this ); + rgb = new TQLabel( this ); rgb.setText( "" ); rgb.setAlignment( AlignVCenter ); rgb.resize( width(), rgb.fontMetrics().height() + 4 ); @@ -122,7 +122,7 @@ MagWidget( QWidget parent, String name ) setMouseTracking( true ); // and do let me know what pixel I'm at, eh? - grabAround( new QPoint(grabx=qApp().desktop().width()/2, graby=qApp().desktop().height()/2) ); + grabAround( new TQPoint(grabx=qApp().desktop().width()/2, graby=qApp().desktop().height()/2) ); } @@ -149,7 +149,7 @@ void save() { if ( p != null ) { killTimers(); - String fn = QFileDialog.getSaveFileName(); + String fn = TQFileDialog.getSaveFileName(); if ( !fn.equals("") ) p.save( fn, "BMP" ); if ( r != 0) @@ -161,7 +161,7 @@ void multiSave() { if ( p != null ) { multifn = ""; // stops saving - multifn = QFileDialog.getSaveFileName(); + multifn = TQFileDialog.getSaveFileName(); if ( multifn.equals("") ) multiSaveButton.setOn(false); if ( r == 0) @@ -189,40 +189,40 @@ void grab() x = grabx-w/2; // find a suitable position to grab from y = graby-h/2; - if ( x + w > QApplication.desktop().width() ) - x = QApplication.desktop().width()-w; + if ( x + w > TQApplication.desktop().width() ) + x = TQApplication.desktop().width()-w; else if ( x < 0 ) x = 0; - if ( y + h > QApplication.desktop().height() ) - y = QApplication.desktop().height()-h; + if ( y + h > TQApplication.desktop().height() ) + y = TQApplication.desktop().height()-h; else if ( y < 0 ) y = 0; - p = QPixmap.grabWindow( QApplication.desktop().winId(), x, y, w, h ); + p = TQPixmap.grabWindow( TQApplication.desktop().winId(), x, y, w, h ); image = p.convertToImage(); - QWMatrix m = new QWMatrix(); // after getting it, scale it + TQWMatrix m = new TQWMatrix(); // after getting it, scale it m.scale( (double)z, (double)z ); - // A cast from Object to QPixmap is needed in java. The xForm methods + // A cast from Object to TQPixmap is needed in java. The xForm methods // have several different return types in C++, and must all be of type // 'Object' for java - pm = (QPixmap) p.xForm( m ); + pm = (TQPixmap) p.xForm( m ); if ( multiSaveButton == null || !multiSaveButton.isOn() ) repaint( false ); // and finally repaint, flicker-free } -protected void paintEvent( QPaintEvent e ) +protected void paintEvent( TQPaintEvent e ) { if ( pm != null ) { - QPainter paint = new QPainter( this ); + TQPainter paint = new TQPainter( this ); paint.drawPixmap( 0, zoom != null ? zoom.height()+4 : 0, pm, 0,0, width(), height()-yoffset ); } } -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { if ( !grabbing ) { // prepare to grab... grabbing = true; @@ -238,7 +238,7 @@ protected void mousePressEvent( QMouseEvent e ) -protected void mouseReleaseEvent( QMouseEvent e ) +protected void mouseReleaseEvent( TQMouseEvent e ) { if ( grabbing && grabx >= 0 && graby >= 0 ) { grabbing = false; @@ -247,7 +247,7 @@ protected void mouseReleaseEvent( QMouseEvent e ) } } -void grabAround(QPoint pos) +void grabAround(TQPoint pos) { int rx, ry; rx = mapToGlobal(pos).x(); @@ -258,8 +258,8 @@ void grabAround(QPoint pos) int pz; pz = 1; while ( w*pz*h*pz < width()*(height()-yoffset) && - w*pz < QApplication.desktop().width() && - h*pz < QApplication.desktop().height() ) + w*pz < TQApplication.desktop().width() && + h*pz < TQApplication.desktop().height() ) pz++; if ( (w*pz*h*pz - width()*(height()-yoffset)) > (width()*(height()-yoffset) - w*(pz-1)*h*(pz-1)) ) @@ -282,7 +282,7 @@ void grabAround(QPoint pos) } -protected void mouseMoveEvent( QMouseEvent e ) +protected void mouseMoveEvent( TQMouseEvent e ) { if ( grabbing || pm.isNull() || e.pos().y() > height() - (zoom != null ? zoom.fontMetrics().height() - 4 : 0) || @@ -307,18 +307,18 @@ protected void mouseMoveEvent( QMouseEvent e ) } -protected void focusOutEvent( QFocusEvent e ) +protected void focusOutEvent( TQFocusEvent e ) { rgb.setText( "" ); } -protected void timerEvent( QTimerEvent e ) +protected void timerEvent( TQTimerEvent e ) { grab(); /* if ( multiSaveButton.isOn() && !multifn.equals("") ) { - QRegExp num("[0-9][0-9]"); + TQRegExp num("[0-9][0-9]"); int start; int len; if ((start=num.match(multifn,0,&len))>=0) @@ -331,7 +331,7 @@ protected void timerEvent( QTimerEvent e ) } -protected void resizeEvent( QResizeEvent e ) +protected void resizeEvent( TQResizeEvent e ) { rgb.setGeometry( 0, height() - rgb.height(), width(), rgb.height() ); grab(); @@ -342,7 +342,7 @@ protected void resizeEvent( QResizeEvent e ) public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); MagWidget m = new MagWidget(); a.setMainWidget( m ); m.show(); diff --git a/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map b/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map index 1b7058ec..a9c00534 100644 --- a/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map +++ b/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map @@ -14,7 +14,7 @@ CHARMAP /x02 START OF TEXT (STX) /x03 END OF TEXT (ETX) /x04 END OF TRANSMISSION (EOT) - /x05 ENQUIRY (ENQ) + /x05 ENTQUIRY (ENQ) /x06 ACKNOWLEDGE (ACK) /x07 BELL (BEL) /x08 BACKSPACE (BS) @@ -43,7 +43,7 @@ CHARMAP /x1F UNIT SEPARATOR (IS1) /x20 SPACE /x21 EXCLAMATION MARK -<"> /x22 QUOTATION MARK +<"> /x22 TQUOTATION MARK <%> /x25 PERCENT SIGN <&> /x26 AMPERSAND <'> /x27 APOSTROPHE @@ -68,9 +68,9 @@ CHARMAP <:> /x3A COLON <;> /x3B SEMICOLON <<> /x3C LESS-THAN SIGN -<=> /x3D EQUALS SIGN +<=> /x3D ETQUALS SIGN > /x3E GREATER-THAN SIGN - /x3F QUESTION MARK + /x3F TQUESTION MARK /x40 COMMERCIAL AT /x41 LATIN CAPITAL LETTER A /x42 LATIN CAPITAL LETTER B @@ -98,9 +98,9 @@ CHARMAP /x58 LATIN CAPITAL LETTER X /x59 LATIN CAPITAL LETTER Y /x5A LATIN CAPITAL LETTER Z -<<(> /x5B LEFT SQUARE BRACKET +<<(> /x5B LEFT STQUARE BRACKET /x5C REVERSE SOLIDUS -<)/>> /x5D RIGHT SQUARE BRACKET +<)/>> /x5D RIGHT STQUARE BRACKET <'/>> /x5E CIRCUMFLEX ACCENT <_> /x5F LOW LINE <'!> /x60 GRAVE ACCENT @@ -162,7 +162,7 @@ CHARMAP /x98 START OF STRING (SOS) /x99 SINGLE GRAPHIC CHARACTER INTRODUCER (SGCI) /x9A SINGLE CHARACTER INTRODUCER (SCI) - /x9B CONTROL SEQUENCE INTRODUCER (CSI) + /x9B CONTROL SETQUENCE INTRODUCER (CSI) /x9C STRING TERMINATOR (ST) /x9D OPERATING SYSTEM COMMAND (OSC) /x9E PRIVACY MESSAGE (PM) @@ -175,9 +175,9 @@ CHARMAP /xA6 NUMBER SIGN /xA7 SECTION SIGN /xA8 CURRENCY SIGN -<'6> /xA9 LEFT SINGLE QUOTATION MARK -<"6> /xAA LEFT DOUBLE QUOTATION MARK -<<<> /xAB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK +<'6> /xA9 LEFT SINGLE TQUOTATION MARK +<"6> /xAA LEFT DOUBLE TQUOTATION MARK +<<<> /xAB LEFT-POINTING DOUBLE ANGLE TQUOTATION MARK <<-> /xAC LEFTWARDS ARROW <-!> /xAD UPWARDS ARROW <-/>> /xAE RIGHTWARDS ARROW @@ -191,13 +191,13 @@ CHARMAP /xB6 PILCROW SIGN <.M> /xB7 MIDDLE DOT <-:> /xB8 DIVISION SIGN -<'9> /xB9 RIGHT SINGLE QUOTATION MARK -<"9> /xBA RIGHT DOUBLE QUOTATION MARK -/>> /xBB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK -<14> /xBC VULGAR FRACTION ONE QUARTER +<'9> /xB9 RIGHT SINGLE TQUOTATION MARK +<"9> /xBA RIGHT DOUBLE TQUOTATION MARK +/>> /xBB RIGHT-POINTING DOUBLE ANGLE TQUOTATION MARK +<14> /xBC VULGAR FRACTION ONE TQUARTER <12> /xBD VULGAR FRACTION ONE HALF -<34> /xBE VULGAR FRACTION THREE QUARTERS - /xBF INVERTED QUESTION MARK +<34> /xBE VULGAR FRACTION THREE TQUARTERS + /xBF INVERTED TQUESTION MARK <"!> /xC1 NON-SPACING GRAVE ACCENT (not a real character) <"'> /xC2 NON-SPACING ACUTE ACCENT (not a real character) <"/>> /xC3 NON-SPACING CIRCUMFLEX ACCENT (not a real character) @@ -430,7 +430,7 @@ CHARMAP /x02 START OF TEXT (STX) /x03 END OF TEXT (ETX) /x04 END OF TRANSMISSION (EOT) - /x05 ENQUIRY (ENQ) + /x05 ENTQUIRY (ENQ) /x06 ACKNOWLEDGE (ACK) /x07 BELL (BEL) /x07 BELL (BEL) @@ -459,7 +459,7 @@ CHARMAP /x7F DELETE (DEL) /x20 SPACE /x21 EXCLAMATION MARK - /x22 QUOTATION MARK + /x22 TQUOTATION MARK /xA6 NUMBER SIGN /xA4 DOLLAR SIGN /x25 PERCENT SIGN @@ -489,14 +489,14 @@ CHARMAP /x3A COLON /x3B SEMICOLON /x3C LESS-THAN SIGN - /x3D EQUALS SIGN + /x3D ETQUALS SIGN /x3E GREATER-THAN SIGN - /x3F QUESTION MARK + /x3F TQUESTION MARK /x40 COMMERCIAL AT - /x5B LEFT SQUARE BRACKET + /x5B LEFT STQUARE BRACKET /x5C REVERSE SOLIDUS /x5C REVERSE SOLIDUS - /x5D RIGHT SQUARE BRACKET + /x5D RIGHT STQUARE BRACKET /x5E CIRCUMFLEX ACCENT /x5E CIRCUMFLEX ACCENT /x5F LOW LINE diff --git a/qtjava/javalib/examples/qwerty/Editor.java b/qtjava/javalib/examples/qwerty/Editor.java index ba11c685..3598c144 100644 --- a/qtjava/javalib/examples/qwerty/Editor.java +++ b/qtjava/javalib/examples/qwerty/Editor.java @@ -11,13 +11,13 @@ import org.kde.qt.*; import java.util.ArrayList; -class Editor extends QWidget +class Editor extends TQWidget { -private QMenuBar m; -private QMultiLineEdit e; -private QPrinter printer = new QPrinter(); -private QPopupMenu save_as; -private QPopupMenu open_as; +private TQMenuBar m; +private TQMultiLineEdit e; +private TQPrinter printer = new TQPrinter(); +private TQPopupMenu save_as; +private TQPopupMenu open_as; private boolean changed; @@ -38,42 +38,42 @@ Editor( ) this(null, null); } -Editor( QWidget parent , String name ) +Editor( TQWidget parent , String name ) { super( parent, name, WDestructiveClose ); - m = new QMenuBar( this, "menu" ); + m = new TQMenuBar( this, "menu" ); - QPopupMenu file = new QPopupMenu(this); + TQPopupMenu file = new TQPopupMenu(this); m.insertItem( "&File", file ); - file.insertItem( "&New", this, SLOT("newDoc()"), new QKeySequence(ALT+Key_N) ); - file.insertItem( "&Open...", this, SLOT("load()"), new QKeySequence(ALT+Key_O) ); - file.insertItem( "&Save...", this, SLOT("save()"), new QKeySequence(ALT+Key_S) ); + file.insertItem( "&New", this, SLOT("newDoc()"), new TQKeySequence(ALT+Key_N) ); + file.insertItem( "&Open...", this, SLOT("load()"), new TQKeySequence(ALT+Key_O) ); + file.insertItem( "&Save...", this, SLOT("save()"), new TQKeySequence(ALT+Key_S) ); file.insertSeparator(); - open_as = new QPopupMenu(file); + open_as = new TQPopupMenu(file); file.insertItem( "Open &As", open_as ); - save_as = new QPopupMenu(file); + save_as = new TQPopupMenu(file); file.insertItem( "Sa&ve As", save_as ); file.insertItem( "Add &Encoding", this, SLOT("addEncoding()") ); file.insertSeparator(); - file.insertItem( "&Print...", this, SLOT("print()"), new QKeySequence(ALT+Key_P) ); + file.insertItem( "&Print...", this, SLOT("print()"), new TQKeySequence(ALT+Key_P) ); file.insertSeparator(); - file.insertItem( "&Close", this, SLOT("close()"),new QKeySequence(ALT+Key_W) ); - file.insertItem( "&Quit", qApp(), SLOT("closeAllWindows()"), new QKeySequence(ALT+Key_Q) ); + file.insertItem( "&Close", this, SLOT("close()"),new TQKeySequence(ALT+Key_W) ); + file.insertItem( "&Quit", qApp(), SLOT("closeAllWindows()"), new TQKeySequence(ALT+Key_Q) ); connect( save_as, SIGNAL("activated(int)"), this, SLOT("saveAsEncoding(int)") ); connect( open_as, SIGNAL("activated(int)"), this, SLOT("openAsEncoding(int)") ); rebuildCodecList(); - QPopupMenu edit = new QPopupMenu(m); + TQPopupMenu edit = new TQPopupMenu(m); m.insertItem( "&Edit", edit ); - edit.insertItem( "To &Uppercase", this, SLOT("toUpper()"), new QKeySequence(ALT+Key_U) ); - edit.insertItem( "To &Lowercase", this, SLOT("toLower()"), new QKeySequence(ALT+Key_L) ); + edit.insertItem( "To &Uppercase", this, SLOT("toUpper()"), new TQKeySequence(ALT+Key_U) ); + edit.insertItem( "To &Lowercase", this, SLOT("toLower()"), new TQKeySequence(ALT+Key_L) ); edit.insertSeparator(); - edit.insertItem( "&Select Font" , this, SLOT("getFont()"), new QKeySequence(ALT+Key_F) ); + edit.insertItem( "&Select Font" , this, SLOT("getFont()"), new TQKeySequence(ALT+Key_F) ); changed = false; - e = new QMultiLineEdit( this, "editor" ); + e = new TQMultiLineEdit( this, "editor" ); connect( e, SIGNAL(" textChanged()"), this, SLOT(" textChanged()") ); // We use Unifont - if you have it installed you'll see all @@ -82,7 +82,7 @@ Editor( QWidget parent , String name ) // Unifont only comes in one pixel size, so we cannot let // it change pixel size as the display DPI changes. // - QFont unifont = new QFont("unifont",16,50); unifont.setPixelSize(16); + TQFont unifont = new TQFont("unifont",16,50); unifont.setPixelSize(16); e.setFont( unifont ); e.setFocus(); @@ -92,7 +92,7 @@ Editor( QWidget parent , String name ) public void getFont() { boolean[] ok = { true }; - QFont f = QFontDialog.getFont( ok, e.font() ); + TQFont f = TQFontDialog.getFont( ok, e.font() ); if ( ok[0] ) { e.setFont( f ); } @@ -103,16 +103,16 @@ public void getFont() void rebuildCodecList() { codecList = new ArrayList(); - QTextCodec codec = null; + TQTextCodec codec = null; int i; - for (i = 0; (codec = QTextCodec.codecForIndex(i)) != null; i++) + for (i = 0; (codec = TQTextCodec.codecForIndex(i)) != null; i++) codecList.add( codec ); int n = codecList.size(); for (int pm=0; pm<2; pm++) { - QPopupMenu menu = pm != 0 ? open_as : save_as; + TQPopupMenu menu = pm != 0 ? open_as : save_as; menu.clear(); String local = "Local ("; - local += QTextCodec.codecForLocale().name(); + local += TQTextCodec.codecForLocale().name(); local += ")"; menu.insertItem( local, Local ); menu.insertItem( "Unicode", Uni ); @@ -121,7 +121,7 @@ void rebuildCodecList() if ( pm != 0 ) menu.insertItem( "[guess]", Guess ); for ( i = 0; i < n; i++ ) - menu.insertItem( ((QTextCodec) codecList.get(i)).name(), Codec + i ); + menu.insertItem( ((TQTextCodec) codecList.get(i)).name(), Codec + i ); } } @@ -140,7 +140,7 @@ void newDoc() void load() { - String fn = QFileDialog.getOpenFileName( "", "", this ); + String fn = TQFileDialog.getOpenFileName( "", "", this ); if ( fn != null ) load( fn, -1 ); } @@ -152,30 +152,30 @@ void load( String fileName ) void load( String fileName, int code ) { - QFile f = new QFile( fileName ); - if ( !f.open( QIODevice.IO_ReadOnly ) ) + TQFile f = new TQFile( fileName ); + if ( !f.open( TQIODevice.IO_ReadOnly ) ) return; e.setAutoUpdate( false ); - QTextStream t = new QTextStream(f); + TQTextStream t = new TQTextStream(f); if ( code >= Codec ) - t.setCodec( (QTextCodec) codecList.get(code-Codec) ); + t.setCodec( (TQTextCodec) codecList.get(code-Codec) ); else if ( code == Uni ) - t.setEncoding( QTextStream.Unicode ); + t.setEncoding( TQTextStream.Unicode ); else if ( code == MBug ) - t.setEncoding( QTextStream.UnicodeReverse ); + t.setEncoding( TQTextStream.UnicodeReverse ); else if ( code == Lat1 ) - t.setEncoding( QTextStream.Latin1 ); + t.setEncoding( TQTextStream.Latin1 ); else if ( code == Guess ) { - f = new QFile(fileName); - f.open(QIODevice.IO_ReadOnly); + f = new TQFile(fileName); + f.open(TQIODevice.IO_ReadOnly); StringBuffer buffer = new StringBuffer(); int l = 256; l=(int)f.readBlock(buffer,l); - QTextCodec codec = QTextCodec.codecForContent(buffer.toString(), l); + TQTextCodec codec = TQTextCodec.codecForContent(buffer.toString(), l); if ( codec != null ) { - QMessageBox.information(this,"Encoding","Codec: "+codec.name()); + TQMessageBox.information(this,"Encoding","Codec: "+codec.name()); t.setCodec( codec ); } } @@ -192,7 +192,7 @@ void load( String fileName, int code ) void openAsEncoding( int code ) { //storing filename (proper save) is left as an exercise... - String fn = QFileDialog.getOpenFileName( "", "", this ); + String fn = TQFileDialog.getOpenFileName( "", "", this ); if ( !fn.equals("") ) load( fn, code ); } @@ -200,7 +200,7 @@ void openAsEncoding( int code ) boolean save() { //storing filename (proper save) is left as an exercise... - String fn = QFileDialog.getSaveFileName( "", "", this ); + String fn = TQFileDialog.getSaveFileName( "", "", this ); if ( !fn.equals("") ) return saveAs( fn ); return false; @@ -209,21 +209,21 @@ boolean save() void saveAsEncoding( int code ) { //storing filename (proper save) is left as an exercise... - String fn = QFileDialog.getSaveFileName( "", "", this ); + String fn = TQFileDialog.getSaveFileName( "", "", this ); if ( !fn.equals("") ) saveAs( fn, code ); } void addEncoding() { - String fn = QFileDialog.getOpenFileName( "", "*.map", this ); + String fn = TQFileDialog.getOpenFileName( "", "*.map", this ); if ( !fn.equals("") ) { - QFile f = new QFile(fn); - if (f.open(QIODevice.IO_ReadOnly)) { - if (QTextCodec.loadCharmap(f) != null) { + TQFile f = new TQFile(fn); + if (f.open(TQIODevice.IO_ReadOnly)) { + if (TQTextCodec.loadCharmap(f) != null) { rebuildCodecList(); } else { - QMessageBox.warning(null,"Charmap error", + TQMessageBox.warning(null,"Charmap error", "The file did not contain a valid charmap.\n\n" + "A charmap file should look like this:\n" + " thename\n" @@ -248,22 +248,22 @@ boolean saveAs( String fileName ) boolean saveAs( String fileName, int code ) { - QFile f = new QFile( fileName ); - if ( no_writing || !f.open( QIODevice.IO_WriteOnly ) ) { - QMessageBox.warning(this,"I/O Error", + TQFile f = new TQFile( fileName ); + if ( no_writing || !f.open( TQIODevice.IO_WriteOnly ) ) { + TQMessageBox.warning(this,"I/O Error", "The file could not be opened.\n\n" +fileName); return false; } - QTextStream t = new QTextStream(f); + TQTextStream t = new TQTextStream(f); if ( code >= Codec ) - t.setCodec( (QTextCodec) codecList.get(code-Codec) ); + t.setCodec( (TQTextCodec) codecList.get(code-Codec) ); else if ( code == Uni ) - t.setEncoding( QTextStream.Unicode ); + t.setEncoding( TQTextStream.Unicode ); else if ( code == MBug ) - t.setEncoding( QTextStream.UnicodeReverse ); + t.setEncoding( TQTextStream.UnicodeReverse ); else if ( code == Lat1 ) - t.setEncoding( QTextStream.Latin1 ); + t.setEncoding( TQTextStream.Latin1 ); t.writeRawBytes(e.text(), e.text().length()); f.close(); setCaption( fileName ); @@ -275,11 +275,11 @@ void print() { if ( printer.setup(this) ) { // opens printer dialog printer.setFullPage(true); // we'll set our own margins - QPainter p = new QPainter(); + TQPainter p = new TQPainter(); p.begin( printer ); // paint on printer p.setFont( e.font() ); - QFontMetrics fm = p.fontMetrics(); - QPaintDeviceMetrics metrics = new QPaintDeviceMetrics( printer ); // need width/height + TQFontMetrics fm = p.fontMetrics(); + TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics( printer ); // need width/height // of printer surface int MARGIN = metrics.logicalDpiX() / 2; // half-inch margin int yPos = MARGIN; // y position for each line @@ -301,18 +301,18 @@ void print() } } -protected void resizeEvent( QResizeEvent event ) +protected void resizeEvent( TQResizeEvent event ) { if ( e != null && m != null ) e.setGeometry( 0, m.height(), width(), height() - m.height() ); } -protected void closeEvent( QCloseEvent event ) +protected void closeEvent( TQCloseEvent event ) { event.accept(); if ( changed ) { // the text has been changed - switch ( QMessageBox.warning( this, "Qwerty", + switch ( TQMessageBox.warning( this, "Qwerty", "Save changes to Document?", tr("&Yes"), tr("&No"), diff --git a/qtjava/javalib/examples/qwerty/IBM277.map b/qtjava/javalib/examples/qwerty/IBM277.map index 51a2472d..e9d40b05 100644 --- a/qtjava/javalib/examples/qwerty/IBM277.map +++ b/qtjava/javalib/examples/qwerty/IBM277.map @@ -53,7 +53,7 @@ CHARMAP /x2A LINE TABULATION SET (VTS) /x2B PARTIAL LINE FORWARD (PLD) /x2C PARTIAL LINE BACKWARD (PLU) - /x2D ENQUIRY (ENQ) + /x2D ENTQUIRY (ENQ) /x2E ACKNOWLEDGE (ACK) /x2F BELL (BEL) /x30 DEVICE CONTROL STRING (DCS) @@ -67,7 +67,7 @@ CHARMAP /x38 START OF STRING (SOS) /x39 SINGLE GRAPHIC CHARACTER INTRODUCER (SGCI) /x3A SINGLE CHARACTER INTRODUCER (SCI) - /x3B CONTROL SEQUENCE INTRODUCER (CSI) + /x3B CONTROL SETQUENCE INTRODUCER (CSI) /x3C DEVICE CONTROL FOUR (DC4) /x3D NEGATIVE ACKNOWLEDGE (NAK) /x3E PRIVACY MESSAGE (PM) @@ -119,7 +119,7 @@ CHARMAP <%> /x6C PERCENT SIGN <_> /x6D LOW LINE > /x6E GREATER-THAN SIGN - /x6F QUESTION MARK + /x6F TQUESTION MARK /x70 BROKEN BAR /x71 LATIN CAPITAL LETTER E WITH ACUTE > /x72 LATIN CAPITAL LETTER E WITH CIRCUMFLEX @@ -134,8 +134,8 @@ CHARMAP /x7B LATIN CAPITAL LETTER AE /x7C LATIN CAPITAL LETTER O WITH STROKE <'> /x7D APOSTROPHE -<=> /x7E EQUALS SIGN -<"> /x7F QUOTATION MARK +<=> /x7E ETQUALS SIGN +<"> /x7F TQUOTATION MARK /x80 COMMERCIAL AT /x81 LATIN SMALL LETTER A /x82 LATIN SMALL LETTER B @@ -146,8 +146,8 @@ CHARMAP /x87 LATIN SMALL LETTER G /x88 LATIN SMALL LETTER H /x89 LATIN SMALL LETTER I -<<<> /x8A LEFT-POINTING DOUBLE ANGLE QUOTATION MARK -/>> /x8B RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK +<<<> /x8A LEFT-POINTING DOUBLE ANGLE TQUOTATION MARK +/>> /x8B RIGHT-POINTING DOUBLE ANGLE TQUOTATION MARK /x8C LATIN SMALL LETTER ETH (Icelandic) /x8D LATIN SMALL LETTER Y WITH ACUTE /x8E LATIN SMALL LETTER THORN (Icelandic) @@ -166,8 +166,8 @@ CHARMAP <-o> /x9B MASCULINE ORDINAL INDICATOR <(!> /x9C LEFT CURLY BRACKET <',> /x9D CEDILLA -<<(> /x9E LEFT SQUARE BRACKET -<)/>> /x9F RIGHT SQUARE BRACKET +<<(> /x9E LEFT STQUARE BRACKET +<)/>> /x9F RIGHT STQUARE BRACKET /xA0 MICRO SIGN /xA1 LATIN SMALL LETTER U WITH DIAERESIS /xA2 LATIN SMALL LETTER S @@ -179,7 +179,7 @@ CHARMAP /xA8 LATIN SMALL LETTER Y /xA9 LATIN SMALL LETTER Z /xAA INVERTED EXCLAMATION MARK - /xAB INVERTED QUESTION MARK + /xAB INVERTED TQUESTION MARK /xAC LATIN CAPITAL LETTER ETH (Icelandic) /xAD LATIN CAPITAL LETTER Y WITH ACUTE /xAE LATIN CAPITAL LETTER THORN (Icelandic) @@ -191,9 +191,9 @@ CHARMAP /xB4 COPYRIGHT SIGN /xB5 SECTION SIGN /xB6 PILCROW SIGN -<14> /xB7 VULGAR FRACTION ONE QUARTER +<14> /xB7 VULGAR FRACTION ONE TQUARTER <12> /xB8 VULGAR FRACTION ONE HALF -<34> /xB9 VULGAR FRACTION THREE QUARTERS +<34> /xB9 VULGAR FRACTION THREE TQUARTERS /xBA NOT SIGN /xBB VERTICAL LINE <'-> /xBC OVERLINE @@ -269,7 +269,7 @@ CHARMAP /x02 START OF TEXT (STX) /x03 END OF TEXT (ETX) /x37 END OF TRANSMISSION (EOT) - /x2D ENQUIRY (ENQ) + /x2D ENTQUIRY (ENQ) /x2E ACKNOWLEDGE (ACK) /x2F BELL (BEL) /x2F BELL (BEL) @@ -298,7 +298,7 @@ CHARMAP /x07 DELETE (DEL) /x40 SPACE /x4F EXCLAMATION MARK - /x7F QUOTATION MARK + /x7F TQUOTATION MARK /x4A NUMBER SIGN /x67 DOLLAR SIGN /x6C PERCENT SIGN @@ -328,14 +328,14 @@ CHARMAP /x7A COLON /x5E SEMICOLON /x4C LESS-THAN SIGN - /x7E EQUALS SIGN + /x7E ETQUALS SIGN /x6E GREATER-THAN SIGN - /x6F QUESTION MARK + /x6F TQUESTION MARK /x80 COMMERCIAL AT - /x9E LEFT SQUARE BRACKET + /x9E LEFT STQUARE BRACKET /xE0 REVERSE SOLIDUS /xE0 REVERSE SOLIDUS - /x9F RIGHT SQUARE BRACKET + /x9F RIGHT STQUARE BRACKET /x5F CIRCUMFLEX ACCENT /x5F CIRCUMFLEX ACCENT /x6D LOW LINE diff --git a/qtjava/javalib/examples/qwerty/IBM277.txt b/qtjava/javalib/examples/qwerty/IBM277.txt index 00cc7b94..57a2edc9 100644 --- a/qtjava/javalib/examples/qwerty/IBM277.txt +++ b/qtjava/javalib/examples/qwerty/IBM277.txt @@ -1,5 +1,5 @@ ÁÂÃÄÅ -%EBFCÐÀHTQRSXUVWŒIÍÎËÏÌjÝE +%EBFCÐÀHTTQRSXUVWŒIÍÎËÏÌjÝE %????? %????? %????? diff --git a/qtjava/javalib/examples/qwerty/Main.java b/qtjava/javalib/examples/qwerty/Main.java index 67cac77e..81bb4d8a 100644 --- a/qtjava/javalib/examples/qwerty/Main.java +++ b/qtjava/javalib/examples/qwerty/Main.java @@ -14,7 +14,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); boolean isSmall = Qt.qApp().desktop().size().width() < 450 @@ -23,7 +23,7 @@ public static void main(String[] args) int i; for ( i= 0; iTest with italic stuff" ); - QBrush paper = new QBrush(); - paper.setPixmap( new QPixmap( "../richtext/marble.png" ) ); + TQBrush paper = new TQBrush(); + paper.setPixmap( new TQPixmap( "../richtext/marble.png" ) ); if ( paper.pixmap() != null ) view.setPaper( paper ); else - view.setPaper( new QBrush(white()) ); + view.setPaper( new TQBrush(white()) ); view.setText( sayings[0] ); view.setMinimumSize( 450, 250 ); - QHBox buttons = new QHBox( this ); + TQHBox buttons = new TQHBox( this ); buttons.setMargin( 5 ); - bClose = new QPushButton( "&Close", buttons ); - bPrev = new QPushButton( "<< &Prev", buttons ); - bNext = new QPushButton( "&Next >>", buttons ); + bClose = new TQPushButton( "&Close", buttons ); + bPrev = new TQPushButton( "<< &Prev", buttons ); + bNext = new TQPushButton( "&Next >>", buttons ); bPrev.setEnabled( false ); diff --git a/qtjava/javalib/examples/richtext/marble.png b/qtjava/javalib/examples/richtext/marble.png index 49ea3098..c81145c3 100644 Binary files a/qtjava/javalib/examples/richtext/marble.png and b/qtjava/javalib/examples/richtext/marble.png differ diff --git a/qtjava/javalib/examples/rot13/Rot13.java b/qtjava/javalib/examples/rot13/Rot13.java index 345f2a9d..67c2ee7f 100644 --- a/qtjava/javalib/examples/rot13/Rot13.java +++ b/qtjava/javalib/examples/rot13/Rot13.java @@ -15,23 +15,23 @@ import org.kde.qt.*; -class Rot13 extends QWidget { -private QMultiLineEdit left, right; +class Rot13 extends TQWidget { +private TQMultiLineEdit left, right; Rot13() { - left = new QMultiLineEdit( this, "left" ); - right = new QMultiLineEdit( this, "right" ); + left = new TQMultiLineEdit( this, "left" ); + right = new TQMultiLineEdit( this, "right" ); connect( left, SIGNAL("textChanged()"), this, SLOT("changeRight()") ); connect( right, SIGNAL("textChanged()"), this, SLOT("changeLeft()") ); - QPushButton quit = new QPushButton( "&Quit", this ); + TQPushButton quit = new TQPushButton( "&Quit", this ); quit.setFocusPolicy( NoFocus ); connect( quit, SIGNAL("clicked()"), qApp(), SLOT("quit()") ); - QGridLayout l = new QGridLayout( this, 2, 2, 5 ); + TQGridLayout l = new TQGridLayout( this, 2, 2, 5 ); l.addWidget( left, 0, 0 ); l.addWidget( right, 0, 1 ); l.addWidget( quit, 1, 1, AlignRight ); @@ -74,7 +74,7 @@ String rot13( String input ) public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Rot13 r = new Rot13(); r.resize( 400, 400 ); a.setMainWidget( r ); diff --git a/qtjava/javalib/examples/scribble/Main.java b/qtjava/javalib/examples/scribble/Main.java index 01d7a416..1e77807d 100644 --- a/qtjava/javalib/examples/scribble/Main.java +++ b/qtjava/javalib/examples/scribble/Main.java @@ -14,15 +14,15 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Scribble scribble = new Scribble(); scribble.resize( 500, 350 ); scribble.setCaption("Qt Example - Scribble"); a.setMainWidget( scribble ); - if ( QApplication.desktop().width() > 550 - && QApplication.desktop().height() > 366 ) + if ( TQApplication.desktop().width() > 550 + && TQApplication.desktop().height() > 366 ) scribble.show(); else scribble.showMaximized(); diff --git a/qtjava/javalib/examples/scribble/Scribble.java b/qtjava/javalib/examples/scribble/Scribble.java index 2adf609c..e9ecda9e 100644 --- a/qtjava/javalib/examples/scribble/Scribble.java +++ b/qtjava/javalib/examples/scribble/Scribble.java @@ -11,55 +11,55 @@ import org.kde.qt.*; import java.util.*; -class Scribble extends QMainWindow +class Scribble extends TQMainWindow { protected Canvas canvas; -protected QSpinBox bPWidth; -protected QToolButton bPColor, bSave, bClear; +protected TQSpinBox bPWidth; +protected TQToolButton bPColor, bSave, bClear; -class Canvas extends QWidget +class Canvas extends TQWidget { - void setPenColor( QColor c ) + void setPenColor( TQColor c ) { pen.setColor( c ); } void setPenWidth( int w ) { pen.setWidth( w ); } - QColor penColor() + TQColor penColor() { return pen.color(); } int penWidth() { return pen.width(); } -protected QPen pen; -protected QPointArray polyline; +protected TQPen pen; +protected TQPointArray polyline; protected boolean mousePressed; -protected QPixmap buffer = new QPixmap(); +protected TQPixmap buffer = new TQPixmap(); public boolean no_writing = false; -Canvas( QWidget parent ) +Canvas( TQWidget parent ) { this(parent, null); } -Canvas( QWidget parent, String name ) +Canvas( TQWidget parent, String name ) { super( parent, name, WStaticContents ); - pen = new QPen( Qt.red(), 3 ); - polyline = new QPointArray(3); + pen = new TQPen( Qt.red(), 3 ); + polyline = new TQPointArray(3); if ((qApp().args().length > 0) && !buffer.load(qApp().args()[0])) buffer.fill( colorGroup().base() ); - setBackgroundMode( QWidget.PaletteBase ); + setBackgroundMode( TQWidget.PaletteBase ); setCursor( Qt.crossCursor() ); } @@ -75,7 +75,7 @@ void clearScreen() repaint( false ); } -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { mousePressed = true; polyline.setPoint(0, e.pos()); @@ -83,15 +83,15 @@ protected void mousePressEvent( QMouseEvent e ) polyline.setPoint(2, e.pos()); } -protected void mouseReleaseEvent( QMouseEvent e ) +protected void mouseReleaseEvent( TQMouseEvent e ) { mousePressed = false; } -protected void mouseMoveEvent( QMouseEvent e ) +protected void mouseMoveEvent( TQMouseEvent e ) { if ( mousePressed ) { - QPainter painter = new QPainter(); + TQPainter painter = new TQPainter(); painter.begin( buffer ); painter.setPen( pen ); polyline.setPoint(2, polyline.at(1)); @@ -100,7 +100,7 @@ protected void mouseMoveEvent( QMouseEvent e ) painter.drawPolyline( polyline ); painter.end(); - QRect r = polyline.boundingRect(); + TQRect r = polyline.boundingRect(); r = r.normalize(); r.setLeft( r.left() - penWidth() ); r.setTop( r.top() - penWidth() ); @@ -111,7 +111,7 @@ protected void mouseMoveEvent( QMouseEvent e ) } } -protected void resizeEvent( QResizeEvent e ) +protected void resizeEvent( TQResizeEvent e ) { super.resizeEvent( e ); @@ -120,18 +120,18 @@ protected void resizeEvent( QResizeEvent e ) int h = height() > buffer.height() ? height() : buffer.height(); - QPixmap tmp = new QPixmap( buffer ); + TQPixmap tmp = new TQPixmap( buffer ); buffer.resize( w, h ); buffer.fill( colorGroup().base() ); bitBlt( buffer, 0, 0, tmp, 0, 0, tmp.width(), tmp.height() ); } -protected void paintEvent( QPaintEvent e ) +protected void paintEvent( TQPaintEvent e ) { super.paintEvent( e ); ArrayList rects = e.region().rects(); for ( int i = 0; i < rects.size(); i++ ) { - QRect r = (QRect) rects.get(i); + TQRect r = (TQRect) rects.get(i); bitBlt( this, r.x(), r.y(), buffer, r.x(), r.y(), r.width(), r.height() ); } } @@ -145,52 +145,52 @@ Scribble( ) this(null, null); } -Scribble( QWidget parent, String name ) +Scribble( TQWidget parent, String name ) { super( parent, name ); canvas = new Canvas( this ); setCentralWidget( canvas ); - QToolBar tools = new QToolBar( this ); + TQToolBar tools = new TQToolBar( this ); - bSave = new QToolButton( new QIconSet(), "Save", "Save as PNG image", this, SLOT(" slotSave()"), tools ); + bSave = new TQToolButton( new TQIconSet(), "Save", "Save as PNG image", this, SLOT(" slotSave()"), tools ); bSave.setText( "Save as..." ); tools.addSeparator(); - bPColor = new QToolButton( new QIconSet(), "Choose Pen Color", "Choose Pen Color", this, SLOT(" slotColor()"), tools ); + bPColor = new TQToolButton( new TQIconSet(), "Choose Pen Color", "Choose Pen Color", this, SLOT(" slotColor()"), tools ); bPColor.setText( "Choose Pen Color..." ); tools.addSeparator(); - bPWidth = new QSpinBox( 1, 20, 1, tools ); - QToolTip.add( bPWidth, "Choose Pen Width" ); + bPWidth = new TQSpinBox( 1, 20, 1, tools ); + TQToolTip.add( bPWidth, "Choose Pen Width" ); connect( bPWidth, SIGNAL(" valueChanged( int )"), this, SLOT(" slotWidth( int )") ); bPWidth.setValue( 3 ); tools.addSeparator(); - bClear = new QToolButton( new QIconSet(), "Clear Screen", "Clear Screen", this, SLOT(" slotClear()"), tools ); + bClear = new TQToolButton( new TQIconSet(), "Clear Screen", "Clear Screen", this, SLOT(" slotClear()"), tools ); bClear.setText( "Clear Screen" ); } void slotSave() { - QPopupMenu menu = new QPopupMenu( null ); + TQPopupMenu menu = new TQPopupMenu( null ); HashMap formats = new HashMap(); - for ( int i = 0; i < QImageIO.outputFormats().size(); i++ ) { - String str = (String) QImageIO.outputFormats().get( i ); + for ( int i = 0; i < TQImageIO.outputFormats().size(); i++ ) { + String str = (String) TQImageIO.outputFormats().get( i ); formats.put( new Integer(menu.insertItem( str + "..." )), str ); } menu.setMouseTracking( true ); - int id = menu.exec( bSave.mapToGlobal( new QPoint( 0, bSave.height() + 1 ) ) ); + int id = menu.exec( bSave.mapToGlobal( new TQPoint( 0, bSave.height() + 1 ) ) ); if ( id != -1 ) { String format = (String) formats.get( new Integer(id) ); - String filename = QFileDialog.getSaveFileName( "", "*." + format.toLowerCase(), this ); + String filename = TQFileDialog.getSaveFileName( "", "*." + format.toLowerCase(), this ); if ( !filename.equals("") ) canvas.save( filename, format ); } @@ -199,7 +199,7 @@ void slotSave() void slotColor() { - QColor c = QColorDialog.getColor( canvas.penColor(), this ); + TQColor c = TQColorDialog.getColor( canvas.penColor(), this ); if ( c.isValid() ) canvas.setPenColor( c ); } diff --git a/qtjava/javalib/examples/showimg/ImageIconProvider.java b/qtjava/javalib/examples/showimg/ImageIconProvider.java index 5d3dba76..0a73a6b7 100644 --- a/qtjava/javalib/examples/showimg/ImageIconProvider.java +++ b/qtjava/javalib/examples/showimg/ImageIconProvider.java @@ -12,10 +12,10 @@ import org.kde.qt.*; import java.util.ArrayList; -class ImageIconProvider extends QFileIconProvider +class ImageIconProvider extends TQFileIconProvider { ArrayList fmts; - QPixmap imagepm; + TQPixmap imagepm; @@ -53,15 +53,15 @@ ImageIconProvider( ) this(null, null); } -ImageIconProvider( QWidget parent, String name ) +ImageIconProvider( TQWidget parent, String name ) { super( parent, name ); - imagepm = new QPixmap(image_xpm); - fmts = QImage.inputFormats(); + imagepm = new TQPixmap(image_xpm); + fmts = TQImage.inputFormats(); } -public QPixmap pixmap( QFileInfo fi ) +public TQPixmap pixmap( TQFileInfo fi ) { String ext = fi.extension().toUpperCase(); if ( fmts.indexOf(ext) != -1 ) { diff --git a/qtjava/javalib/examples/showimg/ImageTextEditor.java b/qtjava/javalib/examples/showimg/ImageTextEditor.java index 6c11c1a4..691bdf5b 100644 --- a/qtjava/javalib/examples/showimg/ImageTextEditor.java +++ b/qtjava/javalib/examples/showimg/ImageTextEditor.java @@ -11,48 +11,48 @@ import org.kde.qt.*; -class ImageTextEditor extends QDialog +class ImageTextEditor extends TQDialog { -private QImage image; -private QComboBox languages; -private QComboBox keys; -private QMultiLineEdit text; -private QLineEdit newlang; -private QLineEdit newkey; +private TQImage image; +private TQComboBox languages; +private TQComboBox keys; +private TQMultiLineEdit text; +private TQLineEdit newlang; +private TQLineEdit newkey; -ImageTextEditor( QImage i, QWidget parent ) +ImageTextEditor( TQImage i, TQWidget parent ) { this(i, parent, null, 0); } -ImageTextEditor( QImage i, QWidget parent, String name, int f ) +ImageTextEditor( TQImage i, TQWidget parent, String name, int f ) { super(parent,name,true,f); image = i; - QVBoxLayout vbox = new QVBoxLayout(this,8); + TQVBoxLayout vbox = new TQVBoxLayout(this,8); vbox.setAutoAdd(true); - QGrid controls = new QGrid(3,QGrid.Horizontal,this); + TQGrid controls = new TQGrid(3,TQGrid.Horizontal,this); controls.setSpacing(8); - QLabel l; - l=new QLabel("Language",controls); l.setAlignment(AlignCenter); - l=new QLabel("Key",controls); l.setAlignment(AlignCenter); - new QLabel("",controls); // dummy - languages = new QComboBox(controls); - keys = new QComboBox(controls); - QPushButton remove = new QPushButton("Remove",controls); - - newlang = new QLineEdit(controls); - newkey = new QLineEdit(controls); - QPushButton add = new QPushButton("Add",controls); - - text = new QMultiLineEdit(this); - - QHBox hbox = new QHBox(this); - QPushButton cancel = new QPushButton("Cancel",hbox); - QPushButton ok = new QPushButton("OK",hbox); + TQLabel l; + l=new TQLabel("Language",controls); l.setAlignment(AlignCenter); + l=new TQLabel("Key",controls); l.setAlignment(AlignCenter); + new TQLabel("",controls); // dummy + languages = new TQComboBox(controls); + keys = new TQComboBox(controls); + TQPushButton remove = new TQPushButton("Remove",controls); + + newlang = new TQLineEdit(controls); + newkey = new TQLineEdit(controls); + TQPushButton add = new TQPushButton("Add",controls); + + text = new TQMultiLineEdit(this); + + TQHBox hbox = new TQHBox(this); + TQPushButton cancel = new TQPushButton("Cancel",hbox); + TQPushButton ok = new TQPushButton("OK",hbox); connect(add,SIGNAL("clicked()"), this,SLOT("addText()")); diff --git a/qtjava/javalib/examples/showimg/ImageViewer.java b/qtjava/javalib/examples/showimg/ImageViewer.java index 0b419ea9..c902e413 100644 --- a/qtjava/javalib/examples/showimg/ImageViewer.java +++ b/qtjava/javalib/examples/showimg/ImageViewer.java @@ -11,24 +11,24 @@ import org.kde.qt.*; import java.util.*; -class ImageViewer extends QWidget +class ImageViewer extends TQWidget { private int conversion_flags; private int alloc_context; private String filename; -private QImage image = new QImage(); // the loaded image -private QPixmap pm = new QPixmap(); // the converted pixmap -private QPixmap pmScaled; // the scaled pixmap - -private QMenuBar menubar; -private QPopupMenu file; -private QPopupMenu saveimage; -private QPopupMenu savepixmap; -private QPopupMenu edit; -private QPopupMenu options; - -private QWidget helpmsg; -private QLabel status; +private TQImage image = new TQImage(); // the loaded image +private TQPixmap pm = new TQPixmap(); // the converted pixmap +private TQPixmap pmScaled; // the scaled pixmap + +private TQMenuBar menubar; +private TQPopupMenu file; +private TQPopupMenu saveimage; +private TQPopupMenu savepixmap; +private TQPopupMenu edit; +private TQPopupMenu options; + +private TQWidget helpmsg; +private TQLabel status; private int si, sp, ac, co, mo, fd, bd, // Menu item ids td, ta, ba, fa, au, ad, dd, ss, cc, t1, t8, t32; @@ -44,12 +44,12 @@ private static ImageViewer other = null; /* In the constructor, we just pass the standard parameters on to - QWidget. + TQWidget. The menu uses a single slot to simplify the process of adding more items to the options menu. */ -ImageViewer( QWidget parent, String name, int wFlags ) +ImageViewer( TQWidget parent, String name, int wFlags ) { super( parent, name, wFlags ); conversion_flags = PreferDither; @@ -61,12 +61,12 @@ ImageViewer( QWidget parent, String name, int wFlags ) clicky[0] = -1; alloc_context = 0; - menubar = new QMenuBar(this); - menubar.setSeparator( QMenuBar.InWindowsStyle ); + menubar = new TQMenuBar(this); + menubar.setSeparator( TQMenuBar.InWindowsStyle ); - ArrayList fmt = QImage.outputFormats(); - saveimage = new QPopupMenu( menubar ); - savepixmap = new QPopupMenu( menubar ); + ArrayList fmt = TQImage.outputFormats(); + saveimage = new TQPopupMenu( menubar ); + savepixmap = new TQPopupMenu( menubar ); Iterator it = fmt.iterator(); while (it.hasNext()) { String f = (String) it.next(); @@ -76,23 +76,23 @@ ImageViewer( QWidget parent, String name, int wFlags ) connect( saveimage, SIGNAL("activated(int)"), this, SLOT("saveImage(int)") ); connect( savepixmap, SIGNAL("activated(int)"), this, SLOT("savePixmap(int)") ); - file = new QPopupMenu( menubar ); + file = new TQPopupMenu( menubar ); menubar.insertItem( "&File", file ); - file.insertItem( "&New window", this, SLOT("newWindow()"), new QKeySequence(CTRL+Key_N) ); - file.insertItem( "&Open...", this, SLOT("openFile()"), new QKeySequence(CTRL+Key_O) ); + file.insertItem( "&New window", this, SLOT("newWindow()"), new TQKeySequence(CTRL+Key_N) ); + file.insertItem( "&Open...", this, SLOT("openFile()"), new TQKeySequence(CTRL+Key_O) ); si = file.insertItem( "Save image", saveimage ); sp = file.insertItem( "Save pixmap", savepixmap ); file.insertSeparator(); - file.insertItem( "E&xit", qApp(), SLOT("quit()"), new QKeySequence(CTRL+Key_Q) ); + file.insertItem( "E&xit", qApp(), SLOT("quit()"), new TQKeySequence(CTRL+Key_Q) ); - edit = new QPopupMenu( menubar ); + edit = new TQPopupMenu( menubar ); menubar.insertItem( "&Edit", edit ); - edit.insertItem("&Copy", this, SLOT("copy()"), new QKeySequence(CTRL+Key_C)); - edit.insertItem("&Paste", this, SLOT("paste()"), new QKeySequence(CTRL+Key_V)); + edit.insertItem("&Copy", this, SLOT("copy()"), new TQKeySequence(CTRL+Key_C)); + edit.insertItem("&Paste", this, SLOT("paste()"), new TQKeySequence(CTRL+Key_V)); edit.insertSeparator(); - edit.insertItem("&Horizontal flip", this, SLOT("hFlip()"), new QKeySequence(ALT+Key_H)); - edit.insertItem("&Vertical flip", this, SLOT("vFlip()"), new QKeySequence(ALT+Key_V)); - edit.insertItem("&Rotate 180", this, SLOT("rot180()"), new QKeySequence(ALT+Key_R)); + edit.insertItem("&Horizontal flip", this, SLOT("hFlip()"), new TQKeySequence(ALT+Key_H)); + edit.insertItem("&Vertical flip", this, SLOT("vFlip()"), new TQKeySequence(ALT+Key_V)); + edit.insertItem("&Rotate 180", this, SLOT("rot180()"), new TQKeySequence(ALT+Key_R)); edit.insertSeparator(); edit.insertItem("&Text...", this, SLOT("editText()")); edit.insertSeparator(); @@ -100,7 +100,7 @@ ImageViewer( QWidget parent, String name, int wFlags ) t8 = edit.insertItem( "Convert to &8 bit", this, SLOT("to8Bit()") ); t32 = edit.insertItem( "Convert to &32 bit", this, SLOT("to32Bit()") ); - options = new QPopupMenu( menubar ); + options = new TQPopupMenu( menubar ); menubar.insertItem( "&Options", options ); ac = options.insertItem( "AutoColor" ); co = options.insertItem( "ColorOnly" ); @@ -119,21 +119,21 @@ ImageViewer( QWidget parent, String name, int wFlags ) options.insertSeparator(); ss = options.insertItem( "Smooth scaling" ); cc = options.insertItem( "Use color context" ); - if ( QApplication.colorSpec() == QApplication.ManyColor ) + if ( TQApplication.colorSpec() == TQApplication.ManyColor ) options.setItemEnabled( cc, false ); options.setCheckable( true ); setMenuItemFlags(); menubar.insertSeparator(); - QPopupMenu help = new QPopupMenu( menubar ); + TQPopupMenu help = new TQPopupMenu( menubar ); menubar.insertItem( "&Help", help ); - help.insertItem( "Help!", this, SLOT("giveHelp()"), new QKeySequence(CTRL+Key_H) ); + help.insertItem( "Help!", this, SLOT("giveHelp()"), new TQKeySequence(CTRL+Key_H) ); connect( options, SIGNAL("activated(int)"), this, SLOT("doOption(int)") ); - status = new QLabel(this); - status.setFrameStyle( QFrame.WinPanel | QFrame.Sunken ); + status = new TQLabel(this); + status.setFrameStyle( TQFrame.WinPanel | TQFrame.Sunken ); status.setFixedHeight( fontMetrics().height() + 4 ); setMouseTracking( true ); @@ -142,7 +142,7 @@ ImageViewer( QWidget parent, String name, int wFlags ) void cleanUp() { if ( alloc_context != 0 ) - QColor.destroyAllocContext( alloc_context ); + TQColor.destroyAllocContext( alloc_context ); if ( other == this ) other = null; } @@ -218,10 +218,10 @@ void setMenuItemFlags() // Options boolean may_need_color_dithering = !valid_image - || image.depth() == 32 && QPixmap.defaultDepth() < 24; + || image.depth() == 32 && TQPixmap.defaultDepth() < 24; boolean may_need_dithering = may_need_color_dithering || image.depth() > 1 && options.isItemChecked(mo) - || image.depth() > 1 && QPixmap.defaultDepth() == 1; + || image.depth() > 1 && TQPixmap.defaultDepth() == 1; boolean has_alpha_mask = !valid_image || image.hasAlphaBuffer(); options.setItemEnabled( fd, may_need_dithering ); @@ -320,11 +320,11 @@ void updateStatus() void saveImage( int item ) { String fmt = saveimage.text(item); - String savefilename = QFileDialog.getSaveFileName("", "", + String savefilename = TQFileDialog.getSaveFileName("", "", this, filename); if ( !savefilename.equals("") ) if ( !image.save( savefilename, fmt ) ) - QMessageBox.warning( this, "Save failed", "Error saving file" ); + TQMessageBox.warning( this, "Save failed", "Error saving file" ); } /* @@ -333,11 +333,11 @@ void saveImage( int item ) void savePixmap( int item ) { String fmt = savepixmap.text(item); - String savefilename = QFileDialog.getSaveFileName("", + String savefilename = TQFileDialog.getSaveFileName("", "", this, filename); if ( !savefilename.equals("") ) if ( !pmScaled.save( savefilename, fmt ) ) - QMessageBox.warning( this, "Save failed", "Error saving file" ); + TQMessageBox.warning( this, "Save failed", "Error saving file" ); } @@ -353,7 +353,7 @@ void newWindow() */ void openFile() { - String newfilename = QFileDialog.getOpenFileName(); + String newfilename = TQFileDialog.getOpenFileName(); if ( !newfilename.equals("") ) { loadImage( newfilename ) ; repaint(); // show image in widget @@ -374,7 +374,7 @@ boolean loadImage( String fileName ) filename = fileName; boolean ok = false; if ( ! filename.equals("") ) { - QApplication.setOverrideCursor( waitCursor() ); // this might take time + TQApplication.setOverrideCursor( waitCursor() ); // this might take time ok = image.load(filename, null); pickx[0] = -1; clickx[0] = -1; @@ -399,7 +399,7 @@ boolean loadImage( String fileName ) pm.resize(0,0); // couldn't load image update(); } - QApplication.restoreOverrideCursor(); // restore original cursor + TQApplication.restoreOverrideCursor(); // restore original cursor } updateStatus(); setMenuItemFlags(); @@ -413,20 +413,20 @@ boolean reconvertImage() if ( image.isNull() ) return false; if ( alloc_context != 0 ) { - QColor.destroyAllocContext( alloc_context ); + TQColor.destroyAllocContext( alloc_context ); alloc_context = 0; } if ( useColorContext() ) { - alloc_context = QColor.enterAllocContext(); + alloc_context = TQColor.enterAllocContext(); // Clear the image to hide flickering palette - QPainter painter = new QPainter(this); + TQPainter painter = new TQPainter(this); painter.eraseRect(0, menubar.heightForWidth( width() ), width(), height()); } - QApplication.setOverrideCursor( waitCursor() ); // this might take time + TQApplication.setOverrideCursor( waitCursor() ); // this might take time if ( pm.convertFromImage(image, conversion_flags) ) { - pmScaled = new QPixmap(); + pmScaled = new TQPixmap(); scale(); resize( width(), height() ); success = true; // load successful @@ -435,10 +435,10 @@ boolean reconvertImage() } updateStatus(); setMenuItemFlags(); - QApplication.restoreOverrideCursor(); // restore original cursor + TQApplication.restoreOverrideCursor(); // restore original cursor if ( useColorContext() ) - QColor.leaveAllocContext(); + TQColor.leaveAllocContext(); return success; // true if loaded OK } @@ -464,7 +464,7 @@ void scale() if ( image.isNull() ) return; - QApplication.setOverrideCursor( waitCursor() ); // this might take time + TQApplication.setOverrideCursor( waitCursor() ); // this might take time if ( width() == pm.width() && h == pm.height() ) { // no need to scale if widget pmScaled = pm; // size equals pixmap size @@ -473,13 +473,13 @@ void scale() pmScaled.convertFromImage(image.smoothScale(width(), h), conversion_flags); } else { - QWMatrix m = new QWMatrix(); // transformation matrix + TQWMatrix m = new TQWMatrix(); // transformation matrix m.scale(((double)width())/pm.width(),// define scale factors ((double)h)/pm.height()); - pmScaled = (QPixmap) pm.xForm( m ); // create scaled pixmap + pmScaled = (TQPixmap) pm.xForm( m ); // create scaled pixmap } } - QApplication.restoreOverrideCursor(); // restore original cursor + TQApplication.restoreOverrideCursor(); // restore original cursor } /* @@ -487,7 +487,7 @@ void scale() scale() to fit the pixmap to the new widget size. */ -protected void resizeEvent( QResizeEvent e ) +protected void resizeEvent( TQResizeEvent e ) { status.setGeometry(0, height() - status.height(), width(), status.height()); @@ -505,7 +505,7 @@ protected void resizeEvent( QResizeEvent e ) erase(); } -protected boolean convertEvent( QMouseEvent e, int[] x, int[] y) +protected boolean convertEvent( TQMouseEvent e, int[] x, int[] y) { if ( pm.size().width() != 0 || pm.size().height() != 0 ) { int h = height() - menubar.heightForWidth( width() ) - status.height(); @@ -521,12 +521,12 @@ protected boolean convertEvent( QMouseEvent e, int[] x, int[] y) return false; } -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { may_be_other = convertEvent(e, clickx, clicky); } -protected void mouseReleaseEvent( QMouseEvent e ) +protected void mouseReleaseEvent( TQMouseEvent e ) { if ( may_be_other ) other = this; @@ -535,7 +535,7 @@ protected void mouseReleaseEvent( QMouseEvent e ) /* Record the pixel position of interest. */ -protected void mouseMoveEvent( QMouseEvent e ) +protected void mouseMoveEvent( TQMouseEvent e ) { if (convertEvent(e,pickx,picky)) { updateStatus(); @@ -553,10 +553,10 @@ protected void mouseMoveEvent( QMouseEvent e ) an error message if no legal pixmap has been loaded. */ -protected void paintEvent( QPaintEvent e ) +protected void paintEvent( TQPaintEvent e ) { if ( pm.size().width() != 0 || pm.size().height() != 0 ) { // is an image loaded? - QPainter painter = new QPainter(this); + TQPainter painter = new TQPainter(this); painter.setClipRect(e.rect()); painter.drawPixmap(0, menubar.heightForWidth( width() ), pmScaled); } @@ -576,7 +576,7 @@ void giveHelp() + "" + "

Supported input formats:" + "

"; - Iterator it = QImage.inputFormatList().iterator(); + Iterator it = TQImage.inputFormatList().iterator(); if (it.hasNext()) helptext += (String) it.next(); while (it.hasNext()) { @@ -584,8 +584,8 @@ void giveHelp() } helptext += "
"; - helpmsg = new QMessageBox( "Help", helptext, - QMessageBox.Information, QMessageBox.Ok, 0, 0, null, null, false ); + helpmsg = new TQMessageBox( "Help", helptext, + TQMessageBox.Information, TQMessageBox.Ok, 0, 0, null, null, false ); } helpmsg.show(); helpmsg.raise(); @@ -608,7 +608,7 @@ void copyFrom(ImageViewer s) dy = picky[0]; sy -= sh-1; } - bitBlt( new QPixmap(image), dx, dy, new QPixmap(s.image), sx, sy, sw, sh ); + bitBlt( new TQPixmap(image), dx, dy, new TQPixmap(s.image), sx, sy, sw, sh ); reconvertImage(); repaint( image.hasAlphaBuffer() ); } @@ -631,19 +631,19 @@ void rot180() void copy() { - QApplication.clipboard().setImage(image); // Less information loss + TQApplication.clipboard().setImage(image); // Less information loss } void paste() { - QImage p = QApplication.clipboard().image(); + TQImage p = TQApplication.clipboard().image(); if ( !p.isNull() ) { filename = "pasted"; setImage(p); } } -void setImage(QImage newimage) +void setImage(TQImage newimage) { image = newimage; diff --git a/qtjava/javalib/examples/showimg/Main.java b/qtjava/javalib/examples/showimg/Main.java index a72a39c9..97cc30a6 100644 --- a/qtjava/javalib/examples/showimg/Main.java +++ b/qtjava/javalib/examples/showimg/Main.java @@ -15,20 +15,20 @@ public class Main { public static void main(String[] args) { if ( args.length > 0 && args[0].equals("-m") ) { - QApplication.setColorSpec( QApplication.ManyColor ); + TQApplication.setColorSpec( TQApplication.ManyColor ); } else if ( args.length > 1 && args[1].equals("-n") ) { - QApplication.setColorSpec( QApplication.NormalColor ); + TQApplication.setColorSpec( TQApplication.NormalColor ); } else { - QApplication.setColorSpec( QApplication.CustomColor ); + TQApplication.setColorSpec( TQApplication.CustomColor ); } - QApplication.setFont( new QFont("Helvetica", 12) ); - QApplication a = new QApplication( args ); + TQApplication.setFont( new TQFont("Helvetica", 12) ); + TQApplication a = new TQApplication( args ); ImageIconProvider iip = new ImageIconProvider(); - QFileDialog.setIconProvider( iip ); + TQFileDialog.setIconProvider( iip ); if ( args.length == 0 ) { // Create a window which looks after its own existence. @@ -47,7 +47,7 @@ public static void main(String[] args) } } - QObject.connect(Qt.qApp(), Qt.SIGNAL("lastWindowClosed()"), Qt.qApp(), Qt.SLOT("quit()")); + TQObject.connect(Qt.qApp(), Qt.SIGNAL("lastWindowClosed()"), Qt.qApp(), Qt.SLOT("quit()")); a.exec(); return; diff --git a/qtjava/javalib/examples/showimg/README b/qtjava/javalib/examples/showimg/README index a6c9ca98..cf29b844 100644 --- a/qtjava/javalib/examples/showimg/README +++ b/qtjava/javalib/examples/showimg/README @@ -3,7 +3,7 @@ conversion facilities available. The CuteWidget can read a file into a pixmap and resizes the displayed pixmap when the widget is resized. Note that the function CuteWidget::paintEvent uses the drawPixmap function -of QPainter to display the pixmap, the bitBlt function can also be used to +of TQPainter to display the pixmap, the bitBlt function can also be used to display pixmaps. If you have installed the Qt imageio extension (see extensions/imageio diff --git a/qtjava/javalib/examples/sound/SoundPlayer.java b/qtjava/javalib/examples/sound/SoundPlayer.java index ad6cf7a7..81b7a932 100644 --- a/qtjava/javalib/examples/sound/SoundPlayer.java +++ b/qtjava/javalib/examples/sound/SoundPlayer.java @@ -11,13 +11,13 @@ import org.kde.qt.*; -class SoundPlayer extends QMainWindow { +class SoundPlayer extends TQMainWindow { -private QSound bucket3; -private QSound bucket4; +private TQSound bucket3; +private TQSound bucket4; // -// Very simple example of QSound.play(filename) +// Very simple example of TQSound.play(filename) // // 99% of this program is just boilerplate Qt code to put up a nice // window so you think something special is happening. @@ -27,14 +27,14 @@ private QSound bucket4; SoundPlayer() { super(); - bucket3 = new QSound("sounds/3.wav"); - bucket4 = new QSound("sounds/4.wav"); + bucket3 = new TQSound("sounds/3.wav"); + bucket4 = new TQSound("sounds/4.wav"); - if (!QSound.isAvailable()) { + if (!TQSound.isAvailable()) { // Bail out. Programs in which sound is not critical // could just silently (hehe) ignore the lack of a server. // - QMessageBox.warning(this,"No Sound", + TQMessageBox.warning(this,"No Sound", "

Sorry, you are not running the Network Audio System." + "

If you have the `au' command, run it in the background before this program. " + "The latest release of the Network Audio System can be obtained from:" @@ -48,11 +48,11 @@ SoundPlayer() + "

After installing NAS, you will then need to reconfigure Qt with NAS sound support"); } - QPopupMenu file = new QPopupMenu(this); - file.insertItem("Play &1", this, SLOT("doPlay1()"), new QKeySequence(CTRL+Key_1)); - file.insertItem("Play &2", this, SLOT("doPlay2()"), new QKeySequence(CTRL+Key_2)); - file.insertItem("Play from bucket &3", this, SLOT("doPlay3()"), new QKeySequence(CTRL+Key_3)); - file.insertItem("Play from bucket &4", this, SLOT("doPlay4()"), new QKeySequence(CTRL+Key_4)); + TQPopupMenu file = new TQPopupMenu(this); + file.insertItem("Play &1", this, SLOT("doPlay1()"), new TQKeySequence(CTRL+Key_1)); + file.insertItem("Play &2", this, SLOT("doPlay2()"), new TQKeySequence(CTRL+Key_2)); + file.insertItem("Play from bucket &3", this, SLOT("doPlay3()"), new TQKeySequence(CTRL+Key_3)); + file.insertItem("Play from bucket &4", this, SLOT("doPlay4()"), new TQKeySequence(CTRL+Key_4)); file.insertSeparator(); file.insertItem("Play 3 and 4 together", this, SLOT("doPlay34()")); file.insertItem("Play all together", this, SLOT("doPlay1234()")); @@ -63,12 +63,12 @@ SoundPlayer() void doPlay1() { - QSound.play("sounds/1.wav"); + TQSound.play("sounds/1.wav"); } void doPlay2() { - QSound.play("sounds/2.wav"); + TQSound.play("sounds/2.wav"); } void doPlay3() @@ -91,15 +91,15 @@ void doPlay34() void doPlay1234() { // Some sound platforms will only play one sound at a time - QSound.play("sounds/1.wav"); - QSound.play("sounds/2.wav"); + TQSound.play("sounds/1.wav"); + TQSound.play("sounds/2.wav"); bucket3.play(); bucket4.play(); } public static void main(String[] args) { - QApplication app = new QApplication(args); + TQApplication app = new TQApplication(args); SoundPlayer sp = new SoundPlayer(); app.setMainWidget(sp); sp.setCaption("Qt Example - Sounds"); diff --git a/qtjava/javalib/examples/splitter/Test.java b/qtjava/javalib/examples/splitter/Test.java index f174bc2b..99ff9aa8 100644 --- a/qtjava/javalib/examples/splitter/Test.java +++ b/qtjava/javalib/examples/splitter/Test.java @@ -12,23 +12,23 @@ import org.kde.qt.*; -class Test extends QWidget { +class Test extends TQWidget { -Test(QWidget parent, String name) +Test(TQWidget parent, String name) { this(parent, name, 0); } -Test(QWidget parent, String name, int f) +Test(TQWidget parent, String name, int f) { super(parent, name, f); } -public void paintEvent(QPaintEvent e) +public void paintEvent(TQPaintEvent e) { - QPainter p = new QPainter(this); + TQPainter p = new TQPainter(this); p.setClipRect(e.rect()); int d = 1000; //large number int x1 = 0; @@ -53,11 +53,11 @@ public void paintEvent(QPaintEvent e) public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); - QSplitter s1 = new QSplitter( QSplitter.Vertical, null , "main" ); + TQSplitter s1 = new TQSplitter( TQSplitter.Vertical, null , "main" ); - QSplitter s2 = new QSplitter( QSplitter.Horizontal, s1, "top" ); + TQSplitter s2 = new TQSplitter( TQSplitter.Horizontal, s1, "top" ); Test t1 = new Test( s2, "topLeft" ); t1.setBackgroundColor( Qt.blue().light( 180 ) ); @@ -65,10 +65,10 @@ public static void main(String[] args) Test t2 = new Test( s2, "topRight" ); t2.setBackgroundColor( Qt.green().light( 180 ) ); - s2.setResizeMode( t2, QSplitter.KeepSize ); + s2.setResizeMode( t2, TQSplitter.KeepSize ); s2.moveToFirst( t2 ); - QSplitter s3 = new QSplitter( QSplitter.Horizontal, s1, "bottom" ); + TQSplitter s3 = new TQSplitter( TQSplitter.Horizontal, s1, "bottom" ); Test t3 = new Test( s3, "bottomLeft" ); t3.setBackgroundColor( Qt.red() ); diff --git a/qtjava/javalib/examples/tabdialog/Main.java b/qtjava/javalib/examples/tabdialog/Main.java index 27a0ef6a..200bd0f3 100644 --- a/qtjava/javalib/examples/tabdialog/Main.java +++ b/qtjava/javalib/examples/tabdialog/Main.java @@ -15,7 +15,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); TabDialog tabdialog = new TabDialog( null, "tabdialog", ( args.length < 1 ? "." : args[0] ) ); tabdialog.resize( 450, 350 ); diff --git a/qtjava/javalib/examples/tabdialog/TabDialog.java b/qtjava/javalib/examples/tabdialog/TabDialog.java index 838bec10..bbfeb0ff 100644 --- a/qtjava/javalib/examples/tabdialog/TabDialog.java +++ b/qtjava/javalib/examples/tabdialog/TabDialog.java @@ -11,18 +11,18 @@ import org.kde.qt.*; import java.text.*; -class TabDialog extends QTabDialog +class TabDialog extends TQTabDialog { protected String filename; -protected QFileInfo fileinfo; +protected TQFileInfo fileinfo; -TabDialog( QWidget parent, String name, String _filename ) +TabDialog( TQWidget parent, String name, String _filename ) { super( parent, name ); filename = _filename; - fileinfo = new QFileInfo(filename); + fileinfo = new TQFileInfo(filename); setupTab1(); setupTab2(); setupTab3(); @@ -32,82 +32,82 @@ TabDialog( QWidget parent, String name, String _filename ) void setupTab1() { - QVBox tab1 = new QVBox( this ); + TQVBox tab1 = new TQVBox( this ); tab1.setMargin( 5 ); - new QLabel( "Filename:", tab1 ); - QLineEdit fname = new QLineEdit( filename, tab1 ); + new TQLabel( "Filename:", tab1 ); + TQLineEdit fname = new TQLineEdit( filename, tab1 ); fname.setFocus(); - new QLabel( "Path:", tab1 ); - QLabel path = new QLabel( fileinfo.dirPath( true ), tab1 ); - path.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Path:", tab1 ); + TQLabel path = new TQLabel( fileinfo.dirPath( true ), tab1 ); + path.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); - new QLabel( "Size:", tab1 ); - QLabel size = new QLabel( fileinfo.size() + " KB", tab1 ); - size.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Size:", tab1 ); + TQLabel size = new TQLabel( fileinfo.size() + " KB", tab1 ); + size.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); SimpleDateFormat dateFormat = new SimpleDateFormat("EE MMM d hh:mm:ss yyyy"); - new QLabel( "Last Read:", tab1 ); - QLabel lread = new QLabel( dateFormat.format(fileinfo.lastRead().getTime()), tab1 ); - lread.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Last Read:", tab1 ); + TQLabel lread = new TQLabel( dateFormat.format(fileinfo.lastRead().getTime()), tab1 ); + lread.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); - new QLabel( "Last Modified:", tab1 ); - QLabel lmodif = new QLabel( dateFormat.format(fileinfo.lastModified().getTime()), tab1 ); - lmodif.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Last Modified:", tab1 ); + TQLabel lmodif = new TQLabel( dateFormat.format(fileinfo.lastModified().getTime()), tab1 ); + lmodif.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); addTab( tab1, "General" ); } void setupTab2() { - QVBox tab2 = new QVBox( this ); + TQVBox tab2 = new TQVBox( this ); tab2.setMargin( 5 ); - QButtonGroup bg = new QButtonGroup( 1, QGroupBox.Horizontal, "Permissions", tab2 ); + TQButtonGroup bg = new TQButtonGroup( 1, TQGroupBox.Horizontal, "Permissions", tab2 ); - QCheckBox readable = new QCheckBox( "Readable", bg ); + TQCheckBox readable = new TQCheckBox( "Readable", bg ); if ( fileinfo.isReadable() ) readable.setChecked( true ); - QCheckBox writable = new QCheckBox( "Writeable", bg ); + TQCheckBox writable = new TQCheckBox( "Writeable", bg ); if ( fileinfo.isWritable() ) writable.setChecked( true ); - QCheckBox executable = new QCheckBox( "Executable", bg ); + TQCheckBox executable = new TQCheckBox( "Executable", bg ); if ( fileinfo.isExecutable() ) executable.setChecked( true ); - QButtonGroup bg2 = new QButtonGroup( 2, QGroupBox.Horizontal, "Owner", tab2 ); + TQButtonGroup bg2 = new TQButtonGroup( 2, TQGroupBox.Horizontal, "Owner", tab2 ); - new QLabel( "Owner", bg2 ); - QLabel owner = new QLabel( fileinfo.owner(), bg2 ); - owner.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Owner", bg2 ); + TQLabel owner = new TQLabel( fileinfo.owner(), bg2 ); + owner.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); - new QLabel( "Group", bg2 ); - QLabel group = new QLabel( fileinfo.group(), bg2 ); - group.setFrameStyle( QFrame.Panel | QFrame.Sunken ); + new TQLabel( "Group", bg2 ); + TQLabel group = new TQLabel( fileinfo.group(), bg2 ); + group.setFrameStyle( TQFrame.Panel | TQFrame.Sunken ); addTab( tab2, "Permissions" ); } void setupTab3() { - QVBox tab3 = new QVBox( this ); + TQVBox tab3 = new TQVBox( this ); tab3.setMargin( 5 ); tab3.setSpacing( 5 ); - new QLabel( "Open " + filename + " with:", tab3 ); + new TQLabel( "Open " + filename + " with:", tab3 ); - QListBox prgs = new QListBox( tab3 ); + TQListBox prgs = new TQListBox( tab3 ); for ( int i = 0; i < 30; i++ ) { String prg = "Application " + i; prgs.insertItem( prg ); } prgs.setCurrentItem( 3 ); - new QCheckBox( "Open files with the extension '" + fileinfo.extension() + "' always with this application", tab3 ); + new TQCheckBox( "Open files with the extension '" + fileinfo.extension() + "' always with this application", tab3 ); addTab( tab3, "Applications" ); } diff --git a/qtjava/javalib/examples/table/small-table-demo/Main.java b/qtjava/javalib/examples/table/small-table-demo/Main.java index a3e38843..f848adc2 100644 --- a/qtjava/javalib/examples/table/small-table-demo/Main.java +++ b/qtjava/javalib/examples/table/small-table-demo/Main.java @@ -10,7 +10,7 @@ import org.kde.qt.*; -public class Main extends QObject { +public class Main extends TQObject { // Qt logo: static String qtlogo_xpm[] /* XPM */ @@ -146,30 +146,30 @@ static int numCols = 10; public static void main(String[] args) { - QApplication app = new QApplication( args ); + TQApplication app = new TQApplication( args ); - QTable table = new QTable( numRows, numCols ); + TQTable table = new TQTable( numRows, numCols ); - QHeader header = table.horizontalHeader(); + TQHeader header = table.horizontalHeader(); header.setLabel( 0, "Tiny", 40 ); header.setLabel( 1, "Checkboxes" ); header.setLabel( 5, "Combos" ); header.setMovingEnabled(true); - QImage img = new QImage( qtlogo_xpm ); - QPixmap pix = new QPixmap(img.scaleHeight( table.rowHeight(3) )); + TQImage img = new TQImage( qtlogo_xpm ); + TQPixmap pix = new TQPixmap(img.scaleHeight( table.rowHeight(3) )); table.setPixmap( 3, 2, pix ); table.setText( 3, 2, "A Pixmap" ); String[] comboEntries = { "one", "two", "three", "four" }; for ( int i = 0; i < numRows; ++i ){ - QComboTableItem item = new QComboTableItem( table, comboEntries, false ); + TQComboTableItem item = new TQComboTableItem( table, comboEntries, false ); item.setCurrentItem( i % 4 ); table.setItem( i, 5, item ); } for ( int j = 0; j < numRows; ++j ) - table.setItem( j, 1, new QCheckTableItem( table, "Check me" ) ); + table.setItem( j, 1, new TQCheckTableItem( table, "Check me" ) ); app.setMainWidget( table ); table.show(); diff --git a/qtjava/javalib/examples/textedit/Main.java b/qtjava/javalib/examples/textedit/Main.java index c1597460..43cbb636 100644 --- a/qtjava/javalib/examples/textedit/Main.java +++ b/qtjava/javalib/examples/textedit/Main.java @@ -14,7 +14,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); TextEdit mw = new TextEdit(); mw.setCaption( "Richtext Editor" ); mw.resize( 640, 800 ); diff --git a/qtjava/javalib/examples/textedit/TextEdit.java b/qtjava/javalib/examples/textedit/TextEdit.java index c4adfa7a..2b4f9a3a 100644 --- a/qtjava/javalib/examples/textedit/TextEdit.java +++ b/qtjava/javalib/examples/textedit/TextEdit.java @@ -11,11 +11,11 @@ import org.kde.qt.*; import java.util.HashMap; -class TextEdit extends QMainWindow +class TextEdit extends TQMainWindow { -private QAction actionTextBold, +private TQAction actionTextBold, actionTextUnderline, actionTextItalic, actionTextColor, @@ -23,10 +23,10 @@ private QAction actionTextBold, actionAlignCenter, actionAlignRight, actionAlignJustify; - QComboBox comboStyle, + TQComboBox comboStyle, comboFont, comboSize; -private QTabWidget tabWidget; +private TQTabWidget tabWidget; private HashMap filenames = new HashMap(); @@ -36,16 +36,16 @@ TextEdit( ) this(null, null); } -TextEdit( QWidget parent, String name ) +TextEdit( TQWidget parent, String name ) { super( parent, name ); setupFileActions(); setupEditActions(); setupTextActions(); - tabWidget = new QTabWidget( this ); - connect( tabWidget, SIGNAL(" currentChanged( QWidget )"), - this, SLOT(" editorChanged( QWidget )") ); + tabWidget = new TQTabWidget( this ); + connect( tabWidget, SIGNAL(" currentChanged( TQWidget )"), + this, SLOT(" editorChanged( TQWidget )") ); setCentralWidget( tabWidget ); if ( qApp().args().length == 0 ) { @@ -58,67 +58,67 @@ TextEdit( QWidget parent, String name ) void setupFileActions() { - QToolBar tb = new QToolBar( this ); + TQToolBar tb = new TQToolBar( this ); tb.setLabel( "File Actions" ); - QPopupMenu menu = new QPopupMenu( this ); + TQPopupMenu menu = new TQPopupMenu( this ); menuBar().insertItem( tr( "&File" ), menu ); - QAction a; - a = new QAction( tr( "New" ), new QIconSet(new QPixmap( "filenew.xpm" )), tr( "&New..." ), new QKeySequence(CTRL + Key_N), this, "fileNew" ); + TQAction a; + a = new TQAction( tr( "New" ), new TQIconSet(new TQPixmap( "filenew.xpm" )), tr( "&New..." ), new TQKeySequence(CTRL + Key_N), this, "fileNew" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileNew()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Open" ), new QIconSet(new QPixmap( "fileopen.xpm" )), tr( "&Open..." ), new QKeySequence(CTRL + Key_O), this, "fileOpen" ); + a = new TQAction( tr( "Open" ), new TQIconSet(new TQPixmap( "fileopen.xpm" )), tr( "&Open..." ), new TQKeySequence(CTRL + Key_O), this, "fileOpen" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileOpen()") ); a.addTo( tb ); a.addTo( menu ); menu.insertSeparator(); - a = new QAction( tr( "Save" ), new QIconSet(new QPixmap( "filesave.xpm" )), tr( "&Save..." ), new QKeySequence(CTRL + Key_S), this, "fileSave" ); + a = new TQAction( tr( "Save" ), new TQIconSet(new TQPixmap( "filesave.xpm" )), tr( "&Save..." ), new TQKeySequence(CTRL + Key_S), this, "fileSave" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileSave()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Save As" ), new QIconSet(new QPixmap()), tr( "Save &As..." ), new QKeySequence(0), this, "fileSaveAs" ); + a = new TQAction( tr( "Save As" ), new TQIconSet(new TQPixmap()), tr( "Save &As..." ), new TQKeySequence(0), this, "fileSaveAs" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileSaveAs()") ); a.addTo( menu ); menu.insertSeparator(); - a = new QAction( tr( "Print" ), new QIconSet(new QPixmap( "fileprint.xpm" )), tr( "&Print..." ), new QKeySequence(CTRL + Key_P), this, "filePrint" ); + a = new TQAction( tr( "Print" ), new TQIconSet(new TQPixmap( "fileprint.xpm" )), tr( "&Print..." ), new TQKeySequence(CTRL + Key_P), this, "filePrint" ); connect( a, SIGNAL(" activated()"), this, SLOT(" filePrint()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Close" ), new QIconSet(new QPixmap()), tr( "&Close" ), new QKeySequence(0), this, "fileClose" ); + a = new TQAction( tr( "Close" ), new TQIconSet(new TQPixmap()), tr( "&Close" ), new TQKeySequence(0), this, "fileClose" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileClose()") ); a.addTo( menu ); - a = new QAction( tr( "Exit" ), new QIconSet(new QPixmap()), tr( "E&xit" ), new QKeySequence(0), this, "fileExit" ); + a = new TQAction( tr( "Exit" ), new TQIconSet(new TQPixmap()), tr( "E&xit" ), new TQKeySequence(0), this, "fileExit" ); connect( a, SIGNAL(" activated()"), this, SLOT(" fileExit()") ); a.addTo( menu ); } void setupEditActions() { - QToolBar tb = new QToolBar( this ); + TQToolBar tb = new TQToolBar( this ); tb.setLabel( "Edit Actions" ); - QPopupMenu menu = new QPopupMenu( this ); + TQPopupMenu menu = new TQPopupMenu( this ); menuBar().insertItem( tr( "&Edit" ), menu ); - QAction a; - a = new QAction( tr( "Undo" ), new QIconSet(new QPixmap( "editundo.xpm" )), tr( "&Undo" ), new QKeySequence(CTRL + Key_Z), this, "editUndo" ); + TQAction a; + a = new TQAction( tr( "Undo" ), new TQIconSet(new TQPixmap( "editundo.xpm" )), tr( "&Undo" ), new TQKeySequence(CTRL + Key_Z), this, "editUndo" ); connect( a, SIGNAL(" activated()"), this, SLOT(" editUndo()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Redo" ), new QIconSet(new QPixmap( "editredo.xpm" )), tr( "&Redo" ), new QKeySequence(CTRL + Key_Y), this, "editRedo" ); + a = new TQAction( tr( "Redo" ), new TQIconSet(new TQPixmap( "editredo.xpm" )), tr( "&Redo" ), new TQKeySequence(CTRL + Key_Y), this, "editRedo" ); connect( a, SIGNAL(" activated()"), this, SLOT(" editRedo()") ); a.addTo( tb ); a.addTo( menu ); menu.insertSeparator(); - a = new QAction( tr( "Copy" ), new QIconSet(new QPixmap( "editcopy.xpm" )), tr( "&Copy" ), new QKeySequence(CTRL + Key_C), this, "editCopy" ); + a = new TQAction( tr( "Copy" ), new TQIconSet(new TQPixmap( "editcopy.xpm" )), tr( "&Copy" ), new TQKeySequence(CTRL + Key_C), this, "editCopy" ); connect( a, SIGNAL(" activated()"), this, SLOT(" editCopy()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Cut" ), new QIconSet(new QPixmap( "editcut.xpm" )), tr( "Cu&t" ), new QKeySequence(CTRL + Key_X), this, "editCut" ); + a = new TQAction( tr( "Cut" ), new TQIconSet(new TQPixmap( "editcut.xpm" )), tr( "Cu&t" ), new TQKeySequence(CTRL + Key_X), this, "editCut" ); connect( a, SIGNAL(" activated()"), this, SLOT(" editCut()") ); a.addTo( tb ); a.addTo( menu ); - a = new QAction( tr( "Paste" ), new QIconSet(new QPixmap( "editpaste.xpm" )), tr( "&Paste" ), new QKeySequence(CTRL + Key_V), this, "editPaste" ); + a = new TQAction( tr( "Paste" ), new TQIconSet(new TQPixmap( "editpaste.xpm" )), tr( "&Paste" ), new TQKeySequence(CTRL + Key_V), this, "editPaste" ); connect( a, SIGNAL(" activated()"), this, SLOT(" editPaste()") ); a.addTo( tb ); a.addTo( menu ); @@ -126,12 +126,12 @@ void setupEditActions() void setupTextActions() { - QToolBar tb = new QToolBar( this ); + TQToolBar tb = new TQToolBar( this ); tb.setLabel( "Format Actions" ); - QPopupMenu menu = new QPopupMenu( this ); + TQPopupMenu menu = new TQPopupMenu( this ); menuBar().insertItem( tr( "F&ormat" ), menu ); - comboStyle = new QComboBox( false, tb ); + comboStyle = new TQComboBox( false, tb ); comboStyle.insertItem( "Standard" ); comboStyle.insertItem( "Bullet List (Disc)" ); comboStyle.insertItem( "Bullet List (Circle)" ); @@ -142,64 +142,64 @@ void setupTextActions() connect( comboStyle, SIGNAL(" activated( int )"), this, SLOT(" textStyle( int )") ); - comboFont = new QComboBox( true, tb ); - QFontDatabase db = new QFontDatabase(); + comboFont = new TQComboBox( true, tb ); + TQFontDatabase db = new TQFontDatabase(); comboFont.insertStringList( (String[]) db.families().toArray(new String[0]) ); connect( comboFont, SIGNAL(" activated( String )"), this, SLOT(" textFamily( String )") ); - comboFont.lineEdit().setText( QApplication.font().family() ); + comboFont.lineEdit().setText( TQApplication.font().family() ); - comboSize = new QComboBox( true, tb ); + comboSize = new TQComboBox( true, tb ); int[] sizes = db.standardSizes(); for (int i = 0; i < sizes.length; i++ ) comboSize.insertItem( Integer.toString(sizes[i]) ); connect( comboSize, SIGNAL(" activated( String )"), this, SLOT(" textSize( String )") ); - comboSize.lineEdit().setText( Integer.toString( QApplication.font().pointSize() ) ); + comboSize.lineEdit().setText( Integer.toString( TQApplication.font().pointSize() ) ); - actionTextBold = new QAction( tr( "Bold" ), new QIconSet(new QPixmap( "textbold.xpm" )), tr( "&Bold" ), new QKeySequence(CTRL + Key_B), this, "textBold" ); + actionTextBold = new TQAction( tr( "Bold" ), new TQIconSet(new TQPixmap( "textbold.xpm" )), tr( "&Bold" ), new TQKeySequence(CTRL + Key_B), this, "textBold" ); connect( actionTextBold, SIGNAL(" activated()"), this, SLOT(" textBold()") ); actionTextBold.addTo( tb ); actionTextBold.addTo( menu ); actionTextBold.setToggleAction( true ); - actionTextItalic = new QAction( tr( "Italic" ), new QIconSet(new QPixmap( "textitalic.xpm" )), tr( "&Italic" ), new QKeySequence(CTRL + Key_I), this, "textItalic" ); + actionTextItalic = new TQAction( tr( "Italic" ), new TQIconSet(new TQPixmap( "textitalic.xpm" )), tr( "&Italic" ), new TQKeySequence(CTRL + Key_I), this, "textItalic" ); connect( actionTextItalic, SIGNAL(" activated()"), this, SLOT(" textItalic()") ); actionTextItalic.addTo( tb ); actionTextItalic.addTo( menu ); actionTextItalic.setToggleAction( true ); - actionTextUnderline = new QAction( tr( "Underline" ), new QIconSet(new QPixmap( "textunder.xpm" )), tr( "&Underline" ), new QKeySequence(CTRL + Key_U), this, "textUnderline" ); + actionTextUnderline = new TQAction( tr( "Underline" ), new TQIconSet(new TQPixmap( "textunder.xpm" )), tr( "&Underline" ), new TQKeySequence(CTRL + Key_U), this, "textUnderline" ); connect( actionTextUnderline, SIGNAL(" activated()"), this, SLOT(" textUnderline()") ); actionTextUnderline.addTo( tb ); actionTextUnderline.addTo( menu ); actionTextUnderline.setToggleAction( true ); menu.insertSeparator(); - QActionGroup grp = new QActionGroup( this ); + TQActionGroup grp = new TQActionGroup( this ); grp.setExclusive( true ); - connect( grp, SIGNAL(" selected( QAction )"), this, SLOT(" textAlign( QAction )") ); + connect( grp, SIGNAL(" selected( TQAction )"), this, SLOT(" textAlign( TQAction )") ); - actionAlignLeft = new QAction( tr( "Left" ), new QIconSet(new QPixmap( "textleft.xpm" )), tr( "&Left" ), new QKeySequence(CTRL + Key_L), grp, "textLeft" ); + actionAlignLeft = new TQAction( tr( "Left" ), new TQIconSet(new TQPixmap( "textleft.xpm" )), tr( "&Left" ), new TQKeySequence(CTRL + Key_L), grp, "textLeft" ); actionAlignLeft.addTo( tb ); actionAlignLeft.addTo( menu ); actionAlignLeft.setToggleAction( true ); - actionAlignCenter = new QAction( tr( "Center" ), new QIconSet(new QPixmap( "textcenter.xpm" )), tr( "C&enter" ), new QKeySequence(CTRL + Key_E), grp, "textCenter" ); + actionAlignCenter = new TQAction( tr( "Center" ), new TQIconSet(new TQPixmap( "textcenter.xpm" )), tr( "C&enter" ), new TQKeySequence(CTRL + Key_E), grp, "textCenter" ); actionAlignCenter.addTo( tb ); actionAlignCenter.addTo( menu ); actionAlignCenter.setToggleAction( true ); - actionAlignRight = new QAction( tr( "Right" ), new QIconSet(new QPixmap( "textright.xpm" )), tr( "&Right" ), new QKeySequence(CTRL + Key_R), grp, "textRight" ); + actionAlignRight = new TQAction( tr( "Right" ), new TQIconSet(new TQPixmap( "textright.xpm" )), tr( "&Right" ), new TQKeySequence(CTRL + Key_R), grp, "textRight" ); actionAlignRight.addTo( tb ); actionAlignRight.addTo( menu ); actionAlignRight.setToggleAction( true ); - actionAlignJustify = new QAction( tr( "Justify" ), new QIconSet(new QPixmap( "textjustify.xpm" )), tr( "&Justify" ), new QKeySequence(CTRL + Key_J), grp, "textjustify" ); + actionAlignJustify = new TQAction( tr( "Justify" ), new TQIconSet(new TQPixmap( "textjustify.xpm" )), tr( "&Justify" ), new TQKeySequence(CTRL + Key_J), grp, "textjustify" ); actionAlignJustify.addTo( tb ); actionAlignJustify.addTo( menu ); actionAlignJustify.setToggleAction( true ); menu.insertSeparator(); - QPixmap pix = new QPixmap( 16, 16 ); + TQPixmap pix = new TQPixmap( 16, 16 ); pix.fill( black() ); - actionTextColor = new QAction( tr( "Color" ), new QIconSet(pix), tr( "&Color..." ), new QKeySequence(0), this, "textColor" ); + actionTextColor = new TQAction( tr( "Color" ), new TQIconSet(pix), tr( "&Color..." ), new TQKeySequence(0), this, "textColor" ); connect( actionTextColor, SIGNAL(" activated()"), this, SLOT(" textColor()") ); actionTextColor.addTo( tb ); actionTextColor.addTo( menu ); @@ -207,42 +207,42 @@ void setupTextActions() void load( String f ) { - if ( !QFile.exists( f ) ) + if ( !TQFile.exists( f ) ) return; - QTextEdit edit = new QTextEdit( tabWidget ); + TQTextEdit edit = new TQTextEdit( tabWidget ); doConnections( edit ); - tabWidget.addTab( edit, new QFileInfo( f ).fileName() ); - QFile file = new QFile( f ); - if ( !file.open( QIODevice.IO_ReadOnly ) ) + tabWidget.addTab( edit, new TQFileInfo( f ).fileName() ); + TQFile file = new TQFile( f ); + if ( !file.open( TQIODevice.IO_ReadOnly ) ) return; - QTextStream ts = new QTextStream( file ); + TQTextStream ts = new TQTextStream( file ); edit.setText( ts.read() ); tabWidget.showPage( edit ); edit.viewport().setFocus(); filenames.put( edit, f ); } -QTextEdit currentEditor() +TTQTextEdit currentEditor() { if ( tabWidget.currentPage() != null && - tabWidget.currentPage().inherits( "QTextEdit" ) ) - return (QTextEdit)tabWidget.currentPage(); + tabWidget.currentPage().inherits( "TQTextEdit" ) ) + return (TQTextEdit)tabWidget.currentPage(); return null; } -void doConnections( QTextEdit e ) +void doConnections( TQTextEdit e ) { - connect( e, SIGNAL(" currentFontChanged( QFont )"), - this, SLOT(" fontChanged( QFont )") ); - connect( e, SIGNAL(" currentColorChanged( QColor )"), - this, SLOT(" colorChanged( QColor )") ); + connect( e, SIGNAL(" currentFontChanged( TQFont )"), + this, SLOT(" fontChanged( TQFont )") ); + connect( e, SIGNAL(" currentColorChanged( TQColor )"), + this, SLOT(" colorChanged( TQColor )") ); connect( e, SIGNAL(" currentAlignmentChanged( int )"), this, SLOT(" alignmentChanged( int )") ); } void fileNew() { - QTextEdit edit = new QTextEdit( tabWidget ); + TQTextEdit edit = new TQTextEdit( tabWidget ); edit.setTextFormat( RichText ); doConnections( edit ); tabWidget.addTab( edit, tr( "noname" ) ); @@ -252,7 +252,7 @@ void fileNew() void fileOpen() { - String fn = QFileDialog.getOpenFileName( "", tr( "HTML-Files (*.htm *.html);;All Files (*)" ), this ); + String fn = TQFileDialog.getOpenFileName( "", tr( "HTML-Files (*.htm *.html);;All Files (*)" ), this ); if ( !fn.equals("") ) load( fn ); } @@ -265,10 +265,10 @@ void fileSave() if ( !filenames.containsKey( currentEditor() ) ) { fileSaveAs(); } else { - QFile file = new QFile( (String) filenames.get( currentEditor() ) ); - if ( !file.open( QIODevice.IO_WriteOnly ) ) + TQFile file = new TQFile( (String) filenames.get( currentEditor() ) ); + if ( !file.open( TQIODevice.IO_WriteOnly ) ) return; - QTextStream ts = new QTextStream( file ); + TQTextStream ts = new TQTextStream( file ); ts.writeRawBytes(currentEditor().text(), currentEditor().text().length()); } } @@ -277,11 +277,11 @@ void fileSaveAs() { if ( currentEditor() == null ) return; - String fn = QFileDialog.getSaveFileName( "", tr( "HTML-Files (*.htm *.html);;All Files (*)" ), this ); + String fn = TQFileDialog.getSaveFileName( "", tr( "HTML-Files (*.htm *.html);;All Files (*)" ), this ); if ( !fn.equals("") ) { filenames.put( currentEditor(), fn ); fileSave(); - tabWidget.setTabLabel( currentEditor(), new QFileInfo( fn ).fileName() ); + tabWidget.setTabLabel( currentEditor(), new TQFileInfo( fn ).fileName() ); } } @@ -289,24 +289,24 @@ void filePrint() { if ( currentEditor() == null ) return; - QPrinter printer = new QPrinter(); + TQPrinter printer = new TQPrinter(); printer.setFullPage(true); if ( printer.setup( this ) ) { - QPainter p = new QPainter( printer ); + TQPainter p = new TQPainter( printer ); // Check that there is a valid device to print to. if ( p.device() == null ) return; - QPaintDeviceMetrics metrics = new QPaintDeviceMetrics( p.device() ); + TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics( p.device() ); int dpix = metrics.logicalDpiX(); int dpiy = metrics.logicalDpiY(); int margin = 72; // pt - QRect body = new QRect( margin * dpix / 72, margin * dpiy / 72, + TQRect body = new TQRect( margin * dpix / 72, margin * dpiy / 72, metrics.width() - margin * dpix / 72 * 2, metrics.height() - margin * dpiy / 72 * 2 ); - QFont font = new QFont( "times", 10 ); - QSimpleRichText richText = new QSimpleRichText( currentEditor().text(), font, currentEditor().context(), currentEditor().styleSheet(), + TQFont font = new TQFont( "times", 10 ); + TQSimpleRichText richText = new TQSimpleRichText( currentEditor().text(), font, currentEditor().context(), currentEditor().styleSheet(), currentEditor().mimeSourceFactory(), body.height() ); richText.setWidth( p, body.width() ); - QRect view = new QRect( body.topLeft(), body.bottomRight() ); + TQRect view = new TQRect( body.topLeft(), body.bottomRight() ); int page = 1; do { richText.draw( p, body.left(), body.top(), view, colorGroup() ); @@ -412,19 +412,19 @@ void textStyle( int i ) if ( currentEditor() == null ) return; if ( i == 0 ) - currentEditor().setParagType( QStyleSheetItem.DisplayBlock, QStyleSheetItem.ListDisc ); + currentEditor().setParagType( TQStyleSheetItem.DisplayBlock, TQStyleSheetItem.ListDisc ); else if ( i == 1 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListDisc ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListDisc ); else if ( i == 2 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListCircle ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListCircle ); else if ( i == 3 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListSquare ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListSquare ); else if ( i == 4 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListDecimal ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListDecimal ); else if ( i == 5 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListLowerAlpha ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListLowerAlpha ); else if ( i == 6 ) - currentEditor().setParagType( QStyleSheetItem.DisplayListItem, QStyleSheetItem.ListUpperAlpha ); + currentEditor().setParagType( TQStyleSheetItem.DisplayListItem, TQStyleSheetItem.ListUpperAlpha ); currentEditor().viewport().setFocus(); } @@ -432,16 +432,16 @@ void textColor() { if ( currentEditor() == null ) return; - QColor col = QColorDialog.getColor( currentEditor().color(), this ); + TQColor col = TQColorDialog.getColor( currentEditor().color(), this ); if ( !col.isValid() ) return; currentEditor().setColor( col ); - QPixmap pix = new QPixmap( 16, 16 ); + TQPixmap pix = new TQPixmap( 16, 16 ); pix.fill( black() ); - actionTextColor.setIconSet( new QIconSet(pix) ); + actionTextColor.setIconSet( new TQIconSet(pix) ); } -void textAlign( QAction a ) +void textAlign( TQAction a ) { if ( currentEditor() == null ) return; @@ -455,7 +455,7 @@ void textAlign( QAction a ) currentEditor().setAlignment( AlignJustify ); } -void fontChanged( QFont f ) +void fontChanged( TQFont f ) { comboFont.lineEdit().setText( f.family() ); comboSize.lineEdit().setText( Integer.toString( f.pointSize() ) ); @@ -464,11 +464,11 @@ void fontChanged( QFont f ) actionTextUnderline.setOn( f.underline() ); } -void colorChanged( QColor c ) +void colorChanged( TQColor c ) { - QPixmap pix = new QPixmap( 16, 16 ); + TQPixmap pix = new TQPixmap( 16, 16 ); pix.fill( c ); - actionTextColor.setIconSet( new QIconSet(pix) ); + actionTextColor.setIconSet( new TQIconSet(pix) ); } void alignmentChanged( int a ) @@ -483,7 +483,7 @@ void alignmentChanged( int a ) actionAlignJustify.setOn( true ); } -void editorChanged( QWidget w ) +void editorChanged( TQWidget w ) { if ( currentEditor() == null ) return; diff --git a/qtjava/javalib/examples/textedit/example.html b/qtjava/javalib/examples/textedit/example.html index b6b1cf5b..cc802550 100644 --- a/qtjava/javalib/examples/textedit/example.html +++ b/qtjava/javalib/examples/textedit/example.html @@ -1,29 +1,29 @@ -Qt Toolkit - TQLabel Class -

TQLabel Class Reference


+

TTQLabel Class Reference


-The TQLabel widget provides a static information display +The TTQLabel widget provides a static information display More...

#include <tqlabel.h>

-Inherits TQFrame. +Inherits TTQFrame.

List of all member functions.

Public Members

    -
  • TQLabel ( QWidget * parent, const char * name=0, WFlags f=0 ) 
    -
  • TQLabel ( const QString & text, QWidget * parent, const char * name=0, WFlags f=0 ) 
    -
  • TQLabel ( QWidget * buddy, const QString &, QWidget * parent, const char * name=0, WFlags f=0 ) 
    -
  • ~TQLabel () 
    -
  • QString text () const
    -
  • TQPixmap* pixmap () const
    -
  • TQMovie* movie () const
    +
  • TTQLabel ( QWidget * parent, const char * name=0, WFlags f=0 ) 
    +
  • TTQLabel ( const QString & text, TQWidget * parent, const char * name=0, WFlags f=0 ) 
    +
  • TTQLabel ( QWidget * buddy, const QString &, TQWidget * parent, const char * name=0, WFlags f=0 ) 
    +
  • ~TTQLabel () 
    +
  • TQString text () const
    +
  • TTQPixmap* pixmap () const
    +
  • TTQMovie* movie () const
  • TextFormat textFormat () const
  • void setTextFormat ( TextFormat ) 
  • int alignment () const
    @@ -35,7 +35,7 @@ Inherits TQFrame.
  • bool hasScaledContents () const
  • void setScaledContents ( bool ) 
  • virtual void setBuddy ( QWidget * ) 
    -
  • TQWidget* buddy () const
    +
  • TTQWidget* buddy () const

Public Slots

    @@ -54,137 +54,137 @@ Inherits TQFrame.

    Properties

    TypeNameREADWRITEOptions -
    TQStringtexttextsetText  +
    TTQStringtexttextsetText 
    TextFormattextFormattextFormatsetTextFormat  -
    TQPixmappixmappixmapsetPixmap  +
    TTQPixmappixmappixmapsetPixmap 
    boolscaledContentshasScaledContentssetScaledContents 
    AlignmentalignmentalignmentsetAlignment 
    intindentindentsetIndent 


    Detailed Description

    -The TQLabel widget provides a static information display +The TTQLabel widget provides a static information display

    -TQLabel is used for displaying information in the form of text or +TTQLabel is used for displaying information in the form of text or image to the user. No user interaction functionality is provided. The visual appearance of the label can be configured in various ways, and it can be used for specifying a focus accelerator key for another widget. -

    A TQLabel can contain any of the following content types: +

    A TTQLabel can contain any of the following content types:

      -
    • A plain text: set by passing a TQString to setText(). -
    • A rich text: set by passing a TQString that contains a rich text to setText(). -
    • A pixmap: set by passing a TQPixmap to setPixmap(). -
    • A movie: set by passing a TQMovie to setMovie(). +
    • A plain text: set by passing a TTQString to setText(). +
    • A rich text: set by passing a TTQString that contains a rich text to setText(). +
    • A pixmap: set by passing a TTQPixmap to setPixmap(). +
    • A movie: set by passing a TTQMovie to setMovie().
    • A number: set by passing an int or a double to setNum(), which converts the number to plain text.
    • Nothing: The same as an empty plain text. This is the default. Set by clear().

    When the content is changed using any of these functions, any previous content is cleared. -

    The look of a TQLabel can be tuned in several ways. All the settings -of TQFrame are available for specifying a widget frame. The -positioning of the content within the TQLabel widget area can be +

    The look of a TTQLabel can be tuned in several ways. All the settings +of TTQFrame are available for specifying a widget frame. The +positioning of the content within the TTQLabel widget area can be tuned with setAlignment() and setIndent(). For example, this code sets up a sunken panel with a two-line text in the bottom right corner (both lines being flush with the right side of the label): -

        TQLabel *label = new TQLabel;
    -    label->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
    +

        TTQLabel *label = new TTQLabel;
    +    label->setFrameStyle( TTQFrame::Panel | TTQFrame::Sunken );
         label->setText( "first line\nsecond line" );
         label->setAlignment( AlignBottom | AlignRight );
     
    -

    A TQLabel is often used as a label for another, interactive -widget. For this use, TQLabel provides a handy mechanism for adding -an accelerator key (see TQAccel) that will set the keyboard focus to -the other widget (called the QLabel's "buddy"). Example: -

         TQLineEdit* phoneEdit = new TQLineEdit( this, "phoneEdit" );
    -     TQLabel* phoneLabel = new TQLabel( phoneEdit, "&Phone:", this, "phoneLabel" );
    +

    A TTQLabel is often used as a label for another, interactive +widget. For this use, TTQLabel provides a handy mechanism for adding +an accelerator key (see TTQAccel) that will set the keyboard focus to +the other widget (called the TQLabel's "buddy"). Example: +

         TTQLineEdit* phoneEdit = new TTQLineEdit( this, "phoneEdit" );
    +     TTQLabel* phoneLabel = new TTQLabel( phoneEdit, "&Phone:", this, "phoneLabel" );
     

    In this example, keyboard focus is transferred to the label's buddy -(the TQLineEdit) when the user presses Alt-P. You can also +(the TTQLineEdit) when the user presses Alt-P. You can also use the setBuddy() function to accomplish the same.

    -

    See also TQLineEdit, TQTextView, TQPixmap, TQMovie and GUI Design Handbook: Label +

    See also TTQLineEdit, TTQTextView, TTQPixmap, TTQMovie and GUI Design Handbook: Label

    Examples: - cursor/cursor.cpp - layout/layout.cpp - popup/popup.cpp - menu/menu.cpp - progress/progress.cpp - qmag/qmag.cpp - movies/main.cpp - customlayout/main.cpp + cursor/cursor.cpp + layout/layout.cpp + popup/popup.cpp + menu/menu.cpp + progress/progress.cpp + qmag/qmag.cpp + movies/main.cpp + customlayout/main.cpp


    Member Function Documentation

    -

    TQLabel::QLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

    +

    TTQLabel::TQLabel ( TTQWidget * buddy, const TTQString & text, TTQWidget * parent, const char * name=0, WFlags f=0 )

    Constructs a label with a text and a buddy.

    The text is set with setText(). The buddy is set with setBuddy(). -

    The parent, name and f arguments are passed to the TQFrame +

    The parent, name and f arguments are passed to the TTQFrame constructor.

    See also setText(), setBuddy(), setAlignment(), setFrameStyle() and setIndent(). -

    TQLabel::QLabel ( TQWidget * parent, const char * name=0, WFlags f=0 )

    +

    TTQLabel::TQLabel ( TTQWidget * parent, const char * name=0, WFlags f=0 )

    Constructs an empty label. -

    The parent, name and f arguments are passed to the TQFrame +

    The parent, name and f arguments are passed to the TTQFrame constructor.

    See also setAlignment(), setFrameStyle() and setIndent(). -

    TQLabel::QLabel ( const TQString & text, TQWidget * parent, const char * name=0, WFlags f=0 )

    +

    TTQLabel::TQLabel ( const TTQString & text, TTQWidget * parent, const char * name=0, WFlags f=0 )

    Constructs a label with a text. The text is set with setText(). -

    The parent, name and f arguments are passed to the TQFrame +

    The parent, name and f arguments are passed to the TTQFrame constructor.

    See also setText(), setAlignment(), setFrameStyle() and setIndent(). -

    TQLabel::~QLabel ()

    +

    TTQLabel::~TQLabel ()

    Destructs the label. -

    int TQLabel::alignment () const

    +

    int TTQLabel::alignment () const

    Returns the alignment setting.

    See also setAlignment(). -

    bool TQLabel::autoResize () const

    +

    bool TTQLabel::autoResize () const

    This function is obsolete. It is provided to keep old source working, and will probably be removed in a future version of Qt. We strongly advise against using it in new code.

    Returns TRUE if auto-resizing is enabled, or FALSE if auto-resizing is disabled.

    Auto-resizing is disabled by default.

    See also setAutoResize(). -

    TQWidget * TQLabel::buddy () const

    +

    TTQWidget * TTQLabel::buddy () const

    Returns the buddy of this label, or 0 if no buddy is currently set.

    See also setBuddy(). -

    void TQLabel::clear () [slot]

    +

    void TTQLabel::clear () [slot]

    Clears any label contents. Equivalent with setText( "" ). -

    void TQLabel::drawContents ( TQPainter * p ) [virtual protected]

    +

    void TTQLabel::drawContents ( TTQPainter * p ) [virtual protected]

    Draws the label contents using the painter p. -

    Reimplemented from TQFrame. -

    void TQLabel::drawContentsMask ( TQPainter * p ) [virtual protected]

    +

    Reimplemented from TTQFrame. +

    void TTQLabel::drawContentsMask ( TTQPainter * p ) [virtual protected]

    Draws the label contents mask using the painter p. Used only in transparent mode. -

    See also TQWidget::setAutoMask();. -

    Reimplemented from TQFrame. -

    void TQLabel::fontChange ( const TQFont & ) [virtual protected]

    +

    See also TTQWidget::setAutoMask();. +

    Reimplemented from TTQFrame. +

    void TTQLabel::fontChange ( const TTQFont & ) [virtual protected]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    bool TQLabel::hasScaledContents () const

    +

    Reimplemented from TTQWidget. +

    bool TTQLabel::hasScaledContents () const

    Returns whether the label will scale its contents to fill all available space.

    See also setScaledContents(). -

    int TQLabel::heightForWidth ( int w ) const [virtual]

    +

    int TTQLabel::heightForWidth ( int w ) const [virtual]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    int TQLabel::indent () const

    +

    Reimplemented from TTQWidget. +

    int TTQLabel::indent () const

    Returns the indent of the label.

    See also setIndent(). -

    TQSize TQLabel::minimumSizeHint () const [virtual]

    +

    TTQSize TTQLabel::minimumSizeHint () const [virtual]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    TQMovieTQLabel::movie () const

    +

    Reimplemented from TTQWidget. +

    TTQMovieTTQLabel::movie () const

    If the label contains a movie, returns a pointer to it. Otherwise, returns 0.

    See also setMovie(). -

    TQPixmap * TQLabel::pixmap () const

    +

    TTQPixmap * TTQLabel::pixmap () const

    If the label contains a pixmap, returns a pointer to it. Otherwise, returns 0.

    See also setPixmap(). -

    void TQLabel::resizeEvent ( TQResizeEvent * e ) [virtual protected]

    +

    void TTQLabel::resizeEvent ( TTQResizeEvent * e ) [virtual protected]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    void TQLabel::setAlignment ( int alignment ) [virtual]

    +

    Reimplemented from TTQWidget. +

    void TTQLabel::setAlignment ( int alignment ) [virtual]

    Sets the alignment of the label contents. -

    The alignment must be a bitwise OR of Qt::AlignmentFlags +

    The alignment must be a bitwise OR of TQt::AlignmentFlags values. The WordBreak, ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains a plain text, and are otherwise ignored. The DontClip flag is always ignored.

    If the label has a buddy, the ShowPrefix flag is forced to TRUE. @@ -192,30 +192,30 @@ are otherwise ignored. The DontClip flag is always ignored. ExpandTabs if the label doesn't have a buddy and AlignLeft | AlignVCenter | ExpandTabs | ShowPrefix if the label has a buddy. -

    See also Qt::AlignmentFlags, alignment(), setBuddy() and setText(). +

    See also TQt::AlignmentFlags, alignment(), setBuddy() and setText().

    Examples: cursor/cursor.cpp layout/layout.cpp popup/popup.cpp qmag/qmag.cpp customlayout/main.cpp -

    void TQLabel::setAutoMask ( bool b ) [virtual]

    +

    void TTQLabel::setAutoMask ( bool b ) [virtual]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    void TQLabel::setAutoResize ( bool enable ) [virtual]

    +

    Reimplemented from TTQWidget. +

    void TTQLabel::setAutoResize ( bool enable ) [virtual]

    This function is obsolete. It is provided to keep old source working, and will probably be removed in a future version of Qt. We strongly advise against using it in new code.

    Enables auto-resizing if enable is TRUE, or disables it if enable is FALSE.

    When auto-resizing is enabled, the label will resize itself to fit the contents whenever the contents change. The top left corner is -not moved. This is useful for TQLabel widgets that are not managed by -a TQLayout (e.g. top-level widgets). +not moved. This is useful for TTQLabel widgets that are not managed by +a TTQLayout (e.g. top-level widgets).

    Auto-resizing is disabled by default.

    See also autoResize(), adjustSize() and sizeHint(). -

    void TQLabel::setBuddy ( TQWidget * buddy ) [virtual]

    +

    void TTQLabel::setBuddy ( TTQWidget * buddy ) [virtual]

    Sets the buddy of this label to buddy.

    When the user presses the accelerator key indicated by this label, the keyboard focus is transferred to the label's buddy widget. -

    The buddy mechanism is only available for QLabels that contain a +

    The buddy mechanism is only available for TQLabels that contain a plain text in which one letter is prefixed with '&'. It is this letter that is set as the accelerator key. The letter is displayed underlined, and the '&' is not displayed (i.e. the ShowPrefix @@ -223,11 +223,11 @@ alignment flag is turned on; see setAlignment()).

    In a dialog, you might create two data entry widgets and a label for each, and set up the geometry layout so each label is just to the left of its data entry widget (its "buddy"), somewhat like this: -

        TQLineEdit *nameEd  = new TQLineEdit( this );
    -    TQLabel    *nameLb  = new TQLabel( "&Name:", this );
    +

        TTQLineEdit *nameEd  = new TTQLineEdit( this );
    +    TTQLabel    *nameLb  = new TTQLabel( "&Name:", this );
         nameLb->setBuddy( nameEd );
    -    TQLineEdit *phoneEd = new TQLineEdit( this );
    -    TQLabel    *phoneLb = new TQLabel( "&Phone:", this );
    +    TTQLineEdit *phoneEd = new TTQLineEdit( this );
    +    TTQLabel    *phoneLb = new TTQLabel( "&Phone:", this );
         phoneLb->setBuddy( phoneEd );
         // ( layout setup not shown )
     
    @@ -235,10 +235,10 @@ left of its data entry widget (its "buddy"), somewhat like this: presses Alt-N, and to the Phone field when the user presses Alt-P.

    To unset a previously set buddy, call this function with buddy set to 0. -

    See also buddy(), setText(), TQAccel and setAlignment(). +

    See also buddy(), setText(), TTQAccel and setAlignment().

    Examples: layout/layout.cpp -

    void TQLabel::setIndent ( int indent )

    +

    void TTQLabel::setIndent ( int indent )

    Sets the indent of the label to indent pixels.

    The indent applies to the left edge if alignment() is AlignLeft, to the right edge if alignment() is AlignRight, to the top edge @@ -254,47 +254,47 @@ pixels.

    See also indent(), setAlignment(), frameWidth() and font().

    Examples: movies/main.cpp -

    void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot]

    +

    void TTQLabel::setMovie ( const TTQMovie & movie ) [virtual slot]

    Sets the label contents to movie. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled.

    See also movie() and setBuddy(). -

    void TQLabel::setNum ( double num ) [virtual slot]

    +

    void TTQLabel::setNum ( double num ) [virtual slot]

    Sets the label contents to a plain text containing the printed value of num. Does nothing if this is equal to the current contents of the label. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled. -

    See also setText(), TQString::setNum() and setBuddy(). -

    void TQLabel::setNum ( int num ) [virtual slot]

    +

    See also setText(), TTQString::setNum() and setBuddy(). +

    void TTQLabel::setNum ( int num ) [virtual slot]

    Sets the label contents to a plain text containing the printed value of num. Does nothing if this is equal to the current contents of the label. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled. -

    See also setText(), TQString::setNum() and setBuddy(). -

    void TQLabel::setPixmap ( const TQPixmap & pixmap ) [virtual slot]

    +

    See also setText(), TTQString::setNum() and setBuddy(). +

    void TTQLabel::setPixmap ( const TTQPixmap & pixmap ) [virtual slot]

    Sets the label contents to pixmap. Any previous content is cleared.

    The buddy accelerator, if any, is disabled.

    The label resizes itself if auto-resizing is enabled.

    See also pixmap() and setBuddy(). -

    void TQLabel::setScaledContents ( bool enable )

    +

    void TTQLabel::setScaledContents ( bool enable )

    When called with enable == TRUE, and the label shows a pixmap, it will scale the pixmap to fill available space.

    See also hasScaledContents(). -

    void TQLabel::setText ( const TQString & text ) [virtual slot]

    +

    void TTQLabel::setText ( const TTQString & text ) [virtual slot]

    Sets the label contents to text, or does nothing if text is equal to the current contents of the label. Any previous content is cleared.

    text will be interpreted either as a plain text or as a rich text, depending on the text format setting; see setTextFormat(). The -default setting is AutoText, i.e. TQLabel will try to auto-detect +default setting is AutoText, i.e. TTQLabel will try to auto-detect the format of text.

    If text is interpreted as a plain text, and a buddy has been set, the buddy accelerator key is updated from the new text.

    The label resizes itself if auto-resizing is enabled.

    Note that Qlabel is well suited to display small rich text documents -only. For large documents, use TQTextView instead. It will flicker +only. For large documents, use TTQTextView instead. It will flicker less on resize and can also provide a scrollbar if necessary.

    See also text(), setTextFormat(), setBuddy() and setAlignment().

    Examples: @@ -303,25 +303,25 @@ less on resize and can also provide a scrollbar if necessary. popup/popup.cpp qmag/qmag.cpp customlayout/main.cpp -

    void TQLabel::setTextFormat ( Qt::TextFormat format )

    -

    Sets the text format to format. See the Qt::TextFormat enum for +

    void TTQLabel::setTextFormat ( TQt::TextFormat format )

    +

    Sets the text format to format. See the TQt::TextFormat enum for an explanation of the possible options.

    The default format is AutoText.

    See also textFormat() and setText(). -

    TQSize TQLabel::sizeHint () const [virtual]

    +

    TTQSize TTQLabel::sizeHint () const [virtual]

    Reimplemented for internal reasons; the API is not affected.

    Examples: layout/layout.cpp -

    Reimplemented from TQWidget. -

    TQSizePolicy TQLabel::sizePolicy () const [virtual]

    +

    Reimplemented from TTQWidget. +

    TTQSizePolicy TTQLabel::sizePolicy () const [virtual]

    Reimplemented for internal reasons; the API is not affected. -

    Reimplemented from TQWidget. -

    TQString TQLabel::text () const

    +

    Reimplemented from TTQWidget. +

    TTQString TTQLabel::text () const

    Returns the label text. If the content is a plain or a rich text, this is the string that was passed to setText(). Otherwise, it is an empty/null string.

    See also setText(), setNum() and clear(). -

    Qt::TextFormat TQLabel::textFormat() const

    +

    TQt::TextFormat TTQLabel::textFormat() const

    Returns the current text format.

    See also setTextFormat().


    diff --git a/qtjava/javalib/examples/tux/MoveMe.java b/qtjava/javalib/examples/tux/MoveMe.java index 02c4bf9a..185ac776 100644 --- a/qtjava/javalib/examples/tux/MoveMe.java +++ b/qtjava/javalib/examples/tux/MoveMe.java @@ -1,25 +1,25 @@ import org.kde.qt.*; -class MoveMe extends QWidget +class MoveMe extends TQWidget { -public MoveMe( QWidget parent, String name, int f) +public MoveMe( TQWidget parent, String name, int f) { super(parent,name, f); } -private QPoint clickPos; +private TQPoint clickPos; -protected void mousePressEvent( QMouseEvent e ) +protected void mousePressEvent( TQMouseEvent e ) { // if ( e.button() == LeftButton ) clickPos = e.pos(); } -protected void mouseMoveEvent( QMouseEvent e ) +protected void mouseMoveEvent( TQMouseEvent e ) { // if ( e.state() & LeftButton ) - move( new QPoint( e.globalPos().x() - clickPos.x(), + move( new TQPoint( e.globalPos().x() - clickPos.x(), e.globalPos().y() - clickPos.y() ) ); } @@ -27,25 +27,25 @@ protected void mouseMoveEvent( QMouseEvent e ) public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); String fn="tux.png"; if ( args.length >= 1 ) fn = args[0]; - if ( ! QFile.exists( fn ) ) + if ( ! TQFile.exists( fn ) ) System.exit( 1 ); - QImage img = new QImage( fn ); - QPixmap p = new QPixmap(); + TQImage img = new TQImage( fn ); + TQPixmap p = new TQPixmap(); p.convertFromImage( img ); if ( p.mask() == null ) if ( img.hasAlphaBuffer() ) { - QBitmap bm = new QBitmap(img.createAlphaMask()); + TQBitmap bm = new TQBitmap(img.createAlphaMask()); p.setMask( bm ); } else { - QBitmap bm = new QBitmap(img.createHeuristicMask()); + TQBitmap bm = new TQBitmap(img.createHeuristicMask()); p.setMask( bm ); } MoveMe w = new MoveMe(null,null,Qt.WStyle_Customize|Qt.WStyle_NoBorder); diff --git a/qtjava/javalib/examples/widgets/MyWidgetView.java b/qtjava/javalib/examples/widgets/MyWidgetView.java index db42cb9a..968a13ea 100644 --- a/qtjava/javalib/examples/widgets/MyWidgetView.java +++ b/qtjava/javalib/examples/widgets/MyWidgetView.java @@ -19,7 +19,7 @@ public MyWidgetView( ) this(null, null); } -public MyWidgetView( QWidget parent, String name ) +public MyWidgetView( TQWidget parent, String name ) { super(parent, name); s = 0; @@ -28,7 +28,7 @@ public MyWidgetView( QWidget parent, String name ) void button1Clicked() { - ArrayList styles = QStyleFactory.keys(); + ArrayList styles = TQStyleFactory.keys(); s = (++s)%styles.size(); qApp().setStyle( (String) styles.get(s) ); @@ -42,8 +42,8 @@ public MyWidgetView( QWidget parent, String name ) public static void main(String[] args) { - QApplication.setColorSpec( QApplication.CustomColor ); - QApplication a = new QApplication( args ); + TQApplication.setColorSpec( TQApplication.CustomColor ); + TQApplication a = new TQApplication( args ); MyWidgetView w = new MyWidgetView(); a.setMainWidget( w ); diff --git a/qtjava/javalib/examples/widgets/README b/qtjava/javalib/examples/widgets/README index 8e1767e4..46a11824 100644 --- a/qtjava/javalib/examples/widgets/README +++ b/qtjava/javalib/examples/widgets/README @@ -1,4 +1,4 @@ Click the right mouse button + CTRL to identify a widget. The classes MyWhatsThis and MyMenuItem can't be translated to java -yet, as the required virtual methods callbacks aren't implemented +yet, as the retquired virtual methods callbacks aren't implemented diff --git a/qtjava/javalib/examples/widgets/WidgetView.java b/qtjava/javalib/examples/widgets/WidgetView.java index d000ce8b..2907f49c 100644 --- a/qtjava/javalib/examples/widgets/WidgetView.java +++ b/qtjava/javalib/examples/widgets/WidgetView.java @@ -15,23 +15,23 @@ import org.kde.qt.*; -class WidgetView extends QMainWindow +class WidgetView extends TQMainWindow { private String MOVIEFILENAME = "trolltech.gif"; -private QLabel msg; -private QCheckBox cb[] = new QCheckBox[3]; -private QGroupBox bg; -private QLabel movielabel; -private QMovie movie; -private QWidget central; -private QProgressBar prog; +private TQLabel msg; +private TQCheckBox cb[] = new TQCheckBox[3]; +private TQGroupBox bg; +private TQLabel movielabel; +private TQMovie movie; +private TQWidget central; +private TQProgressBar prog; private int progress; -private QTabWidget tabs; -private QMultiLineEdit edit; -private QPopupMenu textStylePopup; +private TQTabWidget tabs; +private TQMultiLineEdit edit; +private TQPopupMenu textStylePopup; private int plainStyleID; -private QWidget bla; +private TQWidget bla; private AnalogClock aclock; private DigitalClock dclock; @@ -110,23 +110,23 @@ static String[] fileprint = { -class MyListView extends QListView +class MyListView extends TQListView { -public MyListView( QWidget parent ) +public MyListView( TQWidget parent ) { this(parent, null); } -public MyListView( QWidget parent, String name ) +public MyListView( TQWidget parent, String name ) { super( parent, name ); selected = null; } -protected void contentsMousePressEvent( QMouseEvent e ) +protected void contentsMousePressEvent( TQMouseEvent e ) { selected = selectedItem(); // super.contentsMousePressEvent( e ); } -protected void contentsMouseReleaseEvent( QMouseEvent e ) +protected void contentsMouseReleaseEvent( TQMouseEvent e ) { // super.contentsMouseReleaseEvent( e ); if ( selectedItem() != selected ) { @@ -135,7 +135,7 @@ protected void contentsMouseReleaseEvent( QMouseEvent e ) } } -private QListViewItem selected; +private TQListViewItem selected; } // // WidgetView contains lots of Qt widgets. @@ -150,38 +150,38 @@ private QListViewItem selected; /* -class MyWhatsThis extends QWhatsThis +class MyWhatsThis extends TQWhatsThis { -public MyWhatsThis( QListBox lb) +public MyWhatsThis( TQListBox lb) { super( lb ); listbox = lb; } -public String text( QPoint p) { - QListBoxItem i = listbox.itemAt( p ); +public String text( TQPoint p) { + TQListBoxItem i = listbox.itemAt( p ); if ( i != null && i.pixmap() != null ) { return "Isn't that a wonderful pixmap?
    " + "Imagine, you could even decorate a" + " red pushbutton with it! :-)"; } - return "This is a QListBox."; + return "This is a TQListBox."; } -private QListBox listbox; +private TQListBox listbox; } -class MyMenuItem extends QCustomMenuItem +class MyMenuItem extends TQCustomMenuItem { -public MyMenuItem( String s, QFont f ) +public MyMenuItem( String s, TQFont f ) { string = s; font = f; } - public void paint( QPainter p, QColorGroup cg, boolean act, + public void paint( TQPainter p, TQColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h ) { p.setFont ( font ); @@ -190,13 +190,13 @@ public MyMenuItem( String s, QFont f ) string ); } - public QSize sizeHint() + public TQSize sizeHint() { - return QFontMetrics( font ).size( AlignAuto | AlignVCenter | + return TQFontMetrics( font ).size( AlignAuto | AlignVCenter | ShowPrefix | DontClip, string ); } private String string; -private QFont font; +private TQFont font; } */ @@ -205,40 +205,40 @@ private QFont font; // Construct the WidgetView with children // -WidgetView( QWidget parent, String name ) +WidgetView( TQWidget parent, String name ) { super( parent, name ); - QColor col = new QColor(); + TQColor col = new TQColor(); // Set the window caption/title setCaption( "Qt Example - Widgets Demo Application" ); // create a toolbar - QToolBar tools = new QToolBar( this, "toolbar" ); + TQToolBar tools = new TQToolBar( this, "toolbar" ); // put something in it - QPixmap openIcon = new QPixmap( fileopen ); - QToolButton toolb = new QToolButton( new QIconSet(openIcon), "toolbutton 1", + TQPixmap openIcon = new TQPixmap( fileopen ); + TQToolButton toolb = new TQToolButton( new TQIconSet(openIcon), "toolbutton 1", "", this, SLOT("open()"), tools, "open file" ); - QWhatsThis.add( toolb, "This is a QToolButton. It lives in a " - + "QToolBar. This particular button doesn't do anything " + TQWhatsThis.add( toolb, "This is a TQToolButton. It lives in a " + + "TQToolBar. This particular button doesn't do anything " + "useful." ); - QPixmap saveIcon = new QPixmap( filesave ); - toolb = new QToolButton( new QIconSet(saveIcon), "toolbutton 2", "", + TQPixmap saveIcon = new TQPixmap( filesave ); + toolb = new TQToolButton( new TQIconSet(saveIcon), "toolbutton 2", "", this, SLOT("dummy()"), tools, "save file" ); - QWhatsThis.add( toolb, "This is also a QToolButton." ); + TQWhatsThis.add( toolb, "This is also a TQToolButton." ); - QPixmap printIcon = new QPixmap( fileprint ); - toolb = new QToolButton( new QIconSet(printIcon), "toolbutton 3", "", + TQPixmap printIcon = new TQPixmap( fileprint ); + toolb = new TQToolButton( new TQIconSet(printIcon), "toolbutton 3", "", this, SLOT("dummy()"), tools, "print file" ); - QWhatsThis.add( toolb, "This is the third QToolButton."); + TQWhatsThis.add( toolb, "This is the third TQToolButton."); - toolb = QWhatsThis.whatsThisButton( tools ); - QWhatsThis.add( toolb, "This is a What's This button " + toolb = TQWhatsThis.whatsThisButton( tools ); + TQWhatsThis.add( toolb, "This is a What's This button " + "It enables the user to ask for help " + "about widgets on the screen."); @@ -246,51 +246,51 @@ WidgetView( QWidget parent, String name ) qApp().installEventFilter( this ); //make a central widget to contain the other widgets - central = new QWidget( this ); + central = new TQWidget( this ); setCentralWidget( central ); // Create a layout to position the widgets - QHBoxLayout topLayout = new QHBoxLayout( central, 10 ); + TQHBoxLayout topLayout = new TQHBoxLayout( central, 10 ); // Create a grid layout to hold most of the widgets - QGridLayout grid = new QGridLayout( 0, 3 ); //3 wide and autodetect number of rows + TQGridLayout grid = new TQGridLayout( 0, 3 ); //3 wide and autodetect number of rows topLayout.addLayout( grid, 1 ); // Create an easter egg - QToolTip.add( menuBar(), new QRect( 0, 0, 2, 2 ), "easter egg" ); + TQToolTip.add( menuBar(), new TQRect( 0, 0, 2, 2 ), "easter egg" ); - QPopupMenu popup; - popup = new QPopupMenu( this ); + TQPopupMenu popup; + popup = new TQPopupMenu( this ); menuBar().insertItem( "&File", popup ); int id; id = popup.insertItem( "&New" ); popup.setItemEnabled( id, false ); - id = popup.insertItem( new QIconSet(openIcon), "&Open", this, SLOT(" open()") ); + id = popup.insertItem( new TQIconSet(openIcon), "&Open", this, SLOT(" open()") ); popup.insertSeparator(); - popup.insertItem( "&Quit", qApp(), SLOT("quit()"), new QKeySequence(CTRL+Key_Q) ); + popup.insertItem( "&Quit", qApp(), SLOT("quit()"), new TQKeySequence(CTRL+Key_Q) ); - textStylePopup = popup = new QPopupMenu( this ); + textStylePopup = popup = new TQPopupMenu( this ); menuBar().insertItem( "&Edit", popup ); plainStyleID = id = popup.insertItem( "&Plain" ); - popup.setAccel( new QKeySequence(CTRL+Key_T), id ); + popup.setAccel( new TQKeySequence(CTRL+Key_T), id ); popup.insertSeparator(); -/* QFont f = font(); +/* TQFont f = font(); f.setBold( true ); id = popup.insertItem( new MyMenuItem( "&Bold", f ) ); - popup.setAccel( new QKeySequence(CTRL+Key_B), id ); + popup.setAccel( new TQKeySequence(CTRL+Key_B), id ); f = font(); f.setItalic( true ); id = popup.insertItem( new MyMenuItem( "&Italic", f ) ); popup.setItemChecked( id, true ); - popup.setAccel( new QKeySequence(CTRL+Key_I), id ); + popup.setAccel( new TQKeySequence(CTRL+Key_I), id ); f = font(); f.setUnderline( true ); id = popup.insertItem( new MyMenuItem( "&Underline", f ) ); - popup.setAccel( new QKeySequence(CTRL+Key_U), id ); + popup.setAccel( new TQKeySequence(CTRL+Key_U), id ); f = font(); f.setStrikeOut( true ); id = popup.insertItem( new MyMenuItem( "&Strike", f ) ); @@ -307,101 +307,101 @@ WidgetView( QWidget parent, String name ) // Give the dclock widget a blue palette col.setRgb( 0xaa, 0xbe, 0xff ); - dclock.setPalette( new QPalette( col ) ); + dclock.setPalette( new TQPalette( col ) ); // make tool tips for both of them - QToolTip.add( aclock, "custom widget: analog clock" ); - QToolTip.add( dclock, "custom widget: digital clock" ); + TQToolTip.add( aclock, "custom widget: analog clock" ); + TQToolTip.add( dclock, "custom widget: digital clock" ); // Create a push button. - QPushButton pb; - pb = new QPushButton( "&Push button 1", central, "button1" ); + TQPushButton pb; + pb = new TQPushButton( "&Push button 1", central, "button1" ); grid.addWidget( pb, 0, 0, AlignVCenter ); connect( pb, SIGNAL("clicked()"), SLOT("button1Clicked()") ); - QToolTip.add( pb, "push button 1" ); - QWhatsThis.add( pb, "This is a QPushButton.
    " + TQToolTip.add( pb, "push button 1" ); + TQWhatsThis.add( pb, "This is a TQPushButton.
    " + "Click it and watch...
    " + "The wonders of modern technology."); - QPixmap pm = new QPixmap(); + TQPixmap pm = new TQPixmap(); boolean pix = pm.load("qt.png"); if ( !pix ) { - QMessageBox.information( null, "Qt Widgets Example", + TQMessageBox.information( null, "Qt Widgets Example", "Could not load the file \"qt.png\", which\n" + "contains an icon used...\n\n" + "The text \"line 42\" will be substituted.", - QMessageBox.Ok + QMessageBox.Default ); + TQMessageBox.Ok + TQMessageBox.Default ); } - // Create a label containing a QMovie - movie = new QMovie( MOVIEFILENAME ); - movielabel = new QLabel( central, "label0" ); + // Create a label containing a TQMovie + movie = new TQMovie( MOVIEFILENAME ); + movielabel = new TQLabel( central, "label0" ); movie.connectStatus(this, SLOT("movieStatus(int)")); - movie.connectUpdate(this, SLOT("movieUpdate(QRect)")); - movielabel.setFrameStyle( QFrame.Box | QFrame.Plain ); + movie.connectUpdate(this, SLOT("movieUpdate(TQRect)")); + movielabel.setFrameStyle( TQFrame.Box | TQFrame.Plain ); movielabel.setMovie( movie ); movielabel.setFixedSize( 128+movielabel.frameWidth()*2, 64+movielabel.frameWidth()*2 ); grid.addWidget( movielabel, 0, 1, AlignCenter ); - QToolTip.add( movielabel, "movie" ); - QWhatsThis.add( movielabel, "This is a QLabel " - + "that contains a QMovie." ); + TQToolTip.add( movielabel, "movie" ); + TQWhatsThis.add( movielabel, "This is a TQLabel " + + "that contains a TQMovie." ); // Create a group of check boxes - bg = new QButtonGroup( central, "checkGroup" ); + bg = new TQButtonGroup( central, "checkGroup" ); bg.setTitle( "Check Boxes" ); grid.addWidget( bg, 1, 0 ); // Create a layout for the check boxes - QVBoxLayout vbox = new QVBoxLayout(bg, 10); + TQVBoxLayout vbox = new TQVBoxLayout(bg, 10); vbox.addSpacing( bg.fontMetrics().height() ); - cb[0] = new QCheckBox( bg ); + cb[0] = new TQCheckBox( bg ); cb[0].setText( "&Read" ); vbox.addWidget( cb[0] ); - cb[1] = new QCheckBox( bg ); + cb[1] = new TQCheckBox( bg ); cb[1].setText( "&Write" ); vbox.addWidget( cb[1] ); - cb[2] = new QCheckBox( bg ); + cb[2] = new TQCheckBox( bg ); cb[2].setText( "&Execute" ); vbox.addWidget( cb[2] ); connect( bg, SIGNAL("clicked(int)"), SLOT("checkBoxClicked(int)") ); - QToolTip.add( cb[0], "check box 1" ); - QToolTip.add( cb[1], "check box 2" ); - QToolTip.add( cb[2], "check box 3" ); + TQToolTip.add( cb[0], "check box 1" ); + TQToolTip.add( cb[1], "check box 2" ); + TQToolTip.add( cb[2], "check box 3" ); // Create a group of radio buttons - QRadioButton rb; - bg = new QButtonGroup( central, "radioGroup" ); + TQRadioButton rb; + bg = new TQButtonGroup( central, "radioGroup" ); bg.setTitle( "Radio buttons" ); grid.addWidget( bg, 1, 1 ); // Create a layout for the radio buttons - vbox = new QVBoxLayout(bg, 10); + vbox = new TQVBoxLayout(bg, 10); vbox.addSpacing( bg.fontMetrics().height() ); - rb = new QRadioButton( bg ); + rb = new TQRadioButton( bg ); rb.setText( "&AM" ); rb.setChecked( true ); vbox.addWidget(rb); - QToolTip.add( rb, "radio button 1" ); - rb = new QRadioButton( bg ); + TQToolTip.add( rb, "radio button 1" ); + rb = new TQRadioButton( bg ); rb.setText( "F&M" ); vbox.addWidget(rb); - QToolTip.add( rb, "radio button 2" ); - rb = new QRadioButton( bg ); + TQToolTip.add( rb, "radio button 2" ); + rb = new TQRadioButton( bg ); rb.setText( "&Short Wave" ); vbox.addWidget(rb); connect( bg, SIGNAL("clicked(int)"), SLOT("radioButtonClicked(int)") ); - QToolTip.add( rb, "radio button 3" ); + TQToolTip.add( rb, "radio button 3" ); // Create a list box - QListBox lb = new QListBox( central, "listBox" ); + TQListBox lb = new TQListBox( central, "listBox" ); for ( int i=0; i<100; i++ ) { // fill list box String str = "line " + i; if ( i == 42 && pix ) @@ -411,27 +411,27 @@ WidgetView( QWidget parent, String name ) } grid.addMultiCellWidget( lb, 2, 4, 0, 0 ); connect( lb, SIGNAL("selected(int)"), SLOT("listBoxItemSelected(int)") ); - QToolTip.add( lb, "list box" ); + TQToolTip.add( lb, "list box" ); // new MyWhatsThis( lb ); - vbox = new QVBoxLayout(8); + vbox = new TQVBoxLayout(8); grid.addLayout( vbox, 2, 1 ); // Create a slider - QSlider sb = new QSlider( 0, 300, 30, 100, QSlider.Horizontal, + TQSlider sb = new TQSlider( 0, 300, 30, 100, TQSlider.Horizontal, central, "Slider" ); - sb.setTickmarks( QSlider.Below ); + sb.setTickmarks( TQSlider.Below ); sb.setTickInterval( 10 ); - sb.setFocusPolicy( QWidget.TabFocus ); + sb.setFocusPolicy( TQWidget.TabFocus ); vbox.addWidget( sb ); connect( sb, SIGNAL("valueChanged(int)"), SLOT("sliderValueChanged(int)") ); - QToolTip.add( sb, "slider" ); - QWhatsThis.add( sb, "This is a QSlider. " + TQToolTip.add( sb, "slider" ); + TQWhatsThis.add( sb, "This is a TQSlider. " + "The tick marks are optional." + " This slider controls the speed of the movie." ); // Create a combo box - QComboBox combo = new QComboBox( false, central, "comboBox" ); + TQComboBox combo = new TQComboBox( false, central, "comboBox" ); combo.insertItem( "darkBlue" ); combo.insertItem( "darkRed" ); combo.insertItem( "darkGreen" ); @@ -440,10 +440,10 @@ WidgetView( QWidget parent, String name ) vbox.addWidget( combo ); connect( combo, SIGNAL("activated(int)"), this, SLOT("comboBoxItemActivated(int)") ); - QToolTip.add( combo, "read-only combo box" ); + TQToolTip.add( combo, "read-only combo box" ); // Create an editable combo box - QComboBox edCombo = new QComboBox( true, central, "edComboBox" ); + TQComboBox edCombo = new TQComboBox( true, central, "edComboBox" ); edCombo.insertItem( "Permutable" ); edCombo.insertItem( "Malleable" ); edCombo.insertItem( "Adaptable" ); @@ -452,21 +452,21 @@ WidgetView( QWidget parent, String name ) vbox.addWidget( edCombo ); connect( edCombo, SIGNAL("activated(String)"), this, SLOT("edComboBoxItemActivated(String)") ); - QToolTip.add( edCombo, "editable combo box" ); + TQToolTip.add( edCombo, "editable combo box" ); edCombo.setAutoCompletion( true ); - vbox = new QVBoxLayout(8); + vbox = new TQVBoxLayout(8); grid.addLayout( vbox, 2, 2 ); // Create a spin box - QSpinBox spin = new QSpinBox( 0, 10, 1, central, "spin" ); + TQSpinBox spin = new TQSpinBox( 0, 10, 1, central, "spin" ); spin.setSuffix(" mm"); spin.setSpecialValueText( "Auto" ); connect( spin, SIGNAL(" valueChanged(String)"), SLOT(" spinBoxValueChanged(String)") ); - QToolTip.add( spin, "spin box" ); - QWhatsThis.add( spin, "This is a QSpinBox. " + TQToolTip.add( spin, "spin box" ); + TQWhatsThis.add( spin, "This is a TQSpinBox. " + "You can chose values in a given range " + "either by using the arrow buttons " + "or by typing them in." ); @@ -475,22 +475,22 @@ WidgetView( QWidget parent, String name ) vbox.addStretch( 1 ); // Create a tabwidget that switches between multi line edits - tabs = new QTabWidget( central ); - //tabs.setTabPosition( QTabWidget.Bottom ); + tabs = new TQTabWidget( central ); + //tabs.setTabPosition( TQTabWidget.Bottom ); tabs.setMargin( 4 ); grid.addMultiCellWidget( tabs, 3, 3, 1, 2 ); - QMultiLineEdit mle = new QMultiLineEdit( tabs, "multiLineEdit" ); + TQMultiLineEdit mle = new TQMultiLineEdit( tabs, "multiLineEdit" ); edit = mle; - mle.setWordWrap( QMultiLineEdit.WidgetWidth ); - mle.setText("This is a QMultiLineEdit widget, " + mle.setWordWrap( TQMultiLineEdit.WidgetWidth ); + mle.setText("This is a TQMultiLineEdit widget, " + "useful for small multi-line " + "input fields."); - QToolTip.add( mle, "multi line editor" ); + TQToolTip.add( mle, "multi line editor" ); tabs.addTab( mle, "F&irst"); - mle = new QMultiLineEdit( tabs, "multiLineEdit" ); - String mleText = "This is another QMultiLineEdit widget."; + mle = new TQMultiLineEdit( tabs, "multiLineEdit" ); + String mleText = "This is another TQMultiLineEdit widget."; mleText += "\n"; mleText += "Japanese: "; mleText += (char) 0x6a38; // Kanji @@ -502,22 +502,22 @@ WidgetView( QWidget parent, String name ) mleText += (char) 0x00d8; // Norwegian mleText += "\n"; mleText += "Unicode (black square):"; - mleText += (char) 0x25A0; // BLACK SQUARE + mleText += (char) 0x25A0; // BLACK STQUARE mleText += "\n"; mle.setText( mleText ); - QToolTip.add( mle, "second multi line editor" ); + TQToolTip.add( mle, "second multi line editor" ); tabs.addTab( mle, "Se&cond"); // Create a single line edit - QLineEdit le = new QLineEdit( central, "lineEdit" ); + TQLineEdit le = new TQLineEdit( central, "lineEdit" ); grid.addMultiCellWidget( le, 4, 4, 1, 2 ); connect( le, SIGNAL("textChanged(String)"), SLOT("lineEditTextChanged(String)") ); - QToolTip.add( le, "single line editor" ); - QWhatsThis.add( le, "This is a QLineEdit, you can enter a " + TQToolTip.add( le, "single line editor" ); + TQWhatsThis.add( le, "This is a TQLineEdit, you can enter a " + "single line of text in it. " + "It also it accepts text drops." ); @@ -532,85 +532,85 @@ WidgetView( QWidget parent, String name ) grid.setColStretch(2,1); - QSplitter split = new QSplitter( Vertical, central, "splitter" ); + TQSplitter split = new TQSplitter( Vertical, central, "splitter" ); split.setOpaqueResize( true ); topLayout.addWidget( split, 1 ); - QListView lv = new MyListView( split ); + TQListView lv = new MyListView( split ); connect(lv, SIGNAL("selectionChanged()"), this, SLOT(" selectionChanged()") ); - connect(lv, SIGNAL("selectionChanged(QListViewItem)"), - this, SLOT(" selectionChanged(QListViewItem)") ); - connect(lv, SIGNAL("clicked(QListViewItem)"), - this, SLOT(" clicked(QListViewItem)") ); - connect(lv, SIGNAL("mySelectionChanged(QListViewItem)"), - this, SLOT(" mySelectionChanged(QListViewItem)") ); + connect(lv, SIGNAL("selectionChanged(TQListViewItem)"), + this, SLOT(" selectionChanged(TQListViewItem)") ); + connect(lv, SIGNAL("clicked(TQListViewItem)"), + this, SLOT(" clicked(TQListViewItem)") ); + connect(lv, SIGNAL("mySelectionChanged(TQListViewItem)"), + this, SLOT(" mySelectionChanged(TQListViewItem)") ); lv.addColumn( "One" ); lv.addColumn( "Two" ); lv.setAllColumnsShowFocus( true ); - QListViewItem lvi= new QListViewItem( lv, "Text", "Text" ); - lvi= new QListViewItem( lv, "Text", "Other Text" ); - lvi= new QListViewItem( lv, "Text", "More Text" ); - lvi= new QListViewItem( lv, "Text", "Extra Text" ); + TQListViewItem lvi= new TQListViewItem( lv, "Text", "Text" ); + lvi= new TQListViewItem( lv, "Text", "Other Text" ); + lvi= new TQListViewItem( lv, "Text", "More Text" ); + lvi= new TQListViewItem( lv, "Text", "Extra Text" ); lvi.setOpen(true); - new QListViewItem( lvi, "SubText", "Additional Text" ); - lvi= new QListViewItem( lvi, "SubText", "Side Text" ); - lvi= new QListViewItem( lvi, "SubSubText", "Complimentary Text" ); + new TQListViewItem( lvi, "SubText", "Additional Text" ); + lvi= new TQListViewItem( lvi, "SubText", "Side Text" ); + lvi= new TQListViewItem( lvi, "SubSubText", "Complimentary Text" ); - QToolTip.add( lv, "list view" ); - QWhatsThis.add( lv, "This is a QListView, you can display lists " + TQToolTip.add( lv, "list view" ); + TQWhatsThis.add( lv, "This is a TQListView, you can display lists " + "(or outline lists) of multiple-column data in it." ); - lv = new QListView( split ); + lv = new TQListView( split ); lv.addColumn( "Choices" ); - new QCheckListItem( lv, "Onion", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Artichoke", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Pepper", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Habaneros", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Pineapple", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Ham", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Pepperoni", QCheckListItem.CheckBox ); - new QCheckListItem( lv, "Garlic", QCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Onion", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Artichoke", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Pepper", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Habaneros", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Pineapple", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Ham", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Pepperoni", TQCheckListItem.CheckBox ); + new TQCheckListItem( lv, "Garlic", TQCheckListItem.CheckBox ); - QCheckListItem lit = new QCheckListItem( lv, "Cheese" ); + TQCheckListItem lit = new TQCheckListItem( lv, "Cheese" ); lit.setOpen( true ); - new QCheckListItem( lit, "Cheddar", QCheckListItem.RadioButton ); - new QCheckListItem( lit, "Mozarella", QCheckListItem.RadioButton ); - new QCheckListItem( lit, "Jarlsberg", QCheckListItem.RadioButton ); + new TQCheckListItem( lit, "Cheddar", TQCheckListItem.RadioButton ); + new TQCheckListItem( lit, "Mozarella", TQCheckListItem.RadioButton ); + new TQCheckListItem( lit, "Jarlsberg", TQCheckListItem.RadioButton ); - QToolTip.add( lv, "list view" ); - QWhatsThis.add( lv, "This is also a QListView, with " + TQToolTip.add( lv, "list view" ); + TQWhatsThis.add( lv, "This is also a TQListView, with " + "interactive items." ); - QTextView qmlv = new QTextView( "


    QTextView

    " + TQTextView qmlv = new TQTextView( "

    TQTextView

    " + "

    Qt supports formatted rich text, such " + "as the heading above, emphasized and " + "bold text, via an XML subset.

    " + "

    Style sheets are supported.

    ", "", split ); - qmlv.setFont(new QFont("Charter",11)); - qmlv.setFrameStyle( QFrame.WinPanel | QFrame.Sunken ); + qmlv.setFont(new TQFont("Charter",11)); + qmlv.setFrameStyle( TQFrame.WinPanel | TQFrame.Sunken ); // Create an label and a message in the status bar // The message is updated when buttons are clicked etc. - msg = new QLabel( statusBar(), "message" ); + msg = new TQLabel( statusBar(), "message" ); msg.setAlignment( AlignCenter ); - QFont boldfont = new QFont(); boldfont.setWeight(QFont.Bold); + TQFont boldfont = new TQFont(); boldfont.setWeight(TQFont.Bold); msg.setFont( boldfont ); statusBar().addWidget( msg, 4 ); - QToolTip.add( msg, "Message area" ); + TQToolTip.add( msg, "Message area" ); - QAccel a = new QAccel( this ); - a.connectItem( a.insertItem( new QKeySequence(Key_F9) ), + TQAccel a = new TQAccel( this ); + a.connectItem( a.insertItem( new TQKeySequence(Key_F9) ), this, SLOT(" showProperties()") ); - prog = new QProgressBar( statusBar(), "progress" ); + prog = new TQProgressBar( statusBar(), "progress" ); prog.setTotalSteps( 100 ); progress = 64; prog.setProgress( progress ); statusBar().addWidget( prog , 1 ); - QWhatsThis.add( prog, "This is a QProgressBar " + TQWhatsThis.add( prog, "This is a TQProgressBar " + "You can use it to show that a lengthy " + " process is progressing. " + "In this program, nothing much seems to happen." ); @@ -629,7 +629,7 @@ void button1Clicked() } -void movieUpdate( QRect r ) +void movieUpdate( TQRect r ) { // Uncomment this to test animated icons on your window manager //setIcon( movie.framePixmap() ); @@ -638,10 +638,10 @@ void movieUpdate( QRect r ) void movieStatus( int s ) { switch ( s ) { - case QMovie.SourceEmpty: - case QMovie.UnrecognizedFormat: + case TQMovie.SourceEmpty: + case TQMovie.UnrecognizedFormat: { - QPixmap pm = new QPixmap("tt-logo.png"); + TQPixmap pm = new TQPixmap("tt-logo.png"); movielabel.setPixmap(pm); movielabel.setFixedSize(pm.size()); } @@ -710,19 +710,19 @@ void comboBoxItemActivated( int index ) switch ( index ) { default: case 0: - QApplication.setWinStyleHighlightColor( darkBlue() ); + TQApplication.setWinStyleHighlightColor( darkBlue() ); break; case 1: - QApplication.setWinStyleHighlightColor( darkRed() ); + TQApplication.setWinStyleHighlightColor( darkRed() ); break; case 2: - QApplication.setWinStyleHighlightColor( darkGreen() ); + TQApplication.setWinStyleHighlightColor( darkGreen() ); break; case 3: - QApplication.setWinStyleHighlightColor( blue() ); + TQApplication.setWinStyleHighlightColor( blue() ); break; case 4: - QApplication.setWinStyleHighlightColor( red() ); + TQApplication.setWinStyleHighlightColor( red() ); break; } } @@ -757,12 +757,12 @@ void spinBoxValueChanged( String valueText ) static boolean identify_now = true; -public boolean eventFilter( QObject obj, QEvent event ) +public boolean eventFilter( TQObject obj, TQEvent event ) { - if ( event.type() == QEvent.MouseButtonPress && event instanceof QMouseEvent && identify_now ) { - QMouseEvent e = (QMouseEvent)event; - if ( e.button() == QMouseEvent.RightButton && - (e.state() & QMouseEvent.ControlButton) != 0 ){ + if ( event.type() == TQEvent.MouseButtonPress && event instanceof TQMouseEvent && identify_now ) { + TQMouseEvent e = (TQMouseEvent)event; + if ( e.button() == TQMouseEvent.RightButton && + (e.state() & TQMouseEvent.ControlButton) != 0 ){ String str = "The clicked widget is a\n"; str += obj.className(); str += "\nThe widget's name is\n"; @@ -771,7 +771,7 @@ public boolean eventFilter( QObject obj, QEvent event ) else str += ""; identify_now = false; // don't do it in message box - QMessageBox.information( (QWidget)obj, "Identify Widget", str ); + TQMessageBox.information( (TQWidget)obj, "Identify Widget", str ); identify_now = true; // allow it again } } @@ -782,13 +782,13 @@ public boolean eventFilter( QObject obj, QEvent event ) void open() { - QFileDialog.getOpenFileName( "", "Textfiles (.txt)", this ); + TQFileDialog.getOpenFileName( "", "Textfiles (.txt)", this ); } void dummy() { - QMessageBox.information( this, "Sorry", + TQMessageBox.information( this, "Sorry", "This function is not implemented" ); } @@ -796,17 +796,17 @@ void selectionChanged() { //qDebug("selectionChanged"); } -void selectionChanged( QListViewItem item) +void selectionChanged( TQListViewItem item) { //qDebug("selectionChanged %p", item ); } -void clicked( QListViewItem item ) +void clicked( TQListViewItem item ) { //qDebug("clicked %p", item ); } -void mySelectionChanged( QListViewItem item ) +void mySelectionChanged( TQListViewItem item ) { //qDebug("mySelectionChanged %p", item ); } @@ -818,7 +818,7 @@ void showProperties() String output = "Properties for class '" + qApp().focusWidget().className() + "'"; int i = 0; while( i < (int) qApp().focusWidget().metaObject().numProperties( true ) ) { - QMetaProperty p + TQMetaProperty p = qApp().focusWidget().metaObject().property( i, true ); String tmp = "\n " + (++i) + ": " + p.name() + " (read-" + (p.writable() ? "write" : "only") + ", " + p.type() + ")"; diff --git a/qtjava/javalib/examples/widgets/trolltech.bmp b/qtjava/javalib/examples/widgets/trolltech.bmp index 01a56a2e..18899f2b 100644 Binary files a/qtjava/javalib/examples/widgets/trolltech.bmp and b/qtjava/javalib/examples/widgets/trolltech.bmp differ diff --git a/qtjava/javalib/examples/widgets/trolltech.gif b/qtjava/javalib/examples/widgets/trolltech.gif index f674369e..02c13b14 100644 Binary files a/qtjava/javalib/examples/widgets/trolltech.gif and b/qtjava/javalib/examples/widgets/trolltech.gif differ diff --git a/qtjava/javalib/examples/widgets/tt-logo.png b/qtjava/javalib/examples/widgets/tt-logo.png index a0d9e340..1e51bfe2 100644 Binary files a/qtjava/javalib/examples/widgets/tt-logo.png and b/qtjava/javalib/examples/widgets/tt-logo.png differ diff --git a/qtjava/javalib/examples/wizard/Main.java b/qtjava/javalib/examples/wizard/Main.java index 9f689214..4dbbebd3 100644 --- a/qtjava/javalib/examples/wizard/Main.java +++ b/qtjava/javalib/examples/wizard/Main.java @@ -14,7 +14,7 @@ public class Main { public static void main(String[] args) { - QApplication a = new QApplication( args ); + TQApplication a = new TQApplication( args ); Wizard wizard = new Wizard(); wizard.setCaption("Qt Example - Wizard"); diff --git a/qtjava/javalib/examples/wizard/Wizard.java b/qtjava/javalib/examples/wizard/Wizard.java index dd0659dc..ab355e08 100644 --- a/qtjava/javalib/examples/wizard/Wizard.java +++ b/qtjava/javalib/examples/wizard/Wizard.java @@ -10,11 +10,11 @@ import org.kde.qt.*; -class Wizard extends QWizard +class Wizard extends TQWizard { -protected QHBox page1, page2, page3; -protected QLineEdit key, firstName, lastName, address, phone, email; -protected QLabel lKey, lFirstName, lLastName, lAddress, lPhone, lEmail; +protected TQHBox page1, page2, page3; +protected TQLineEdit key, firstName, lastName, address, phone, email; +protected TQLabel lKey, lFirstName, lLastName, lAddress, lPhone, lEmail; @@ -24,7 +24,7 @@ Wizard( ) this(null, null); } -Wizard( QWidget parent, String name ) +Wizard( TQWidget parent, String name ) { super( parent, name, true ); setupPage1(); @@ -37,11 +37,11 @@ Wizard( QWidget parent, String name ) void setupPage1() { - page1 = new QHBox( this ); + page1 = new TQHBox( this ); page1.setSpacing(8); - QLabel info = new QLabel( page1 ); - info.setPalette( new QPalette(yellow()) ); + TQLabel info = new TQLabel( page1 ); + info.setPalette( new TQPalette(yellow()) ); info.setText( "Enter your personal\n" + "key here.\n\n" + "Your personal key\n" @@ -49,15 +49,15 @@ void setupPage1() info.setIndent( 8 ); info.setMaximumWidth( info.sizeHint().width() ); - QVBox page = new QVBox( page1 ); + TQVBox page = new TQVBox( page1 ); - QHBox row1 = new QHBox( page ); + TQHBox row1 = new TQHBox( page ); - new QLabel( "Key:", row1 ); + new TQLabel( "Key:", row1 ); - key = new QLineEdit( row1 ); + key = new TQLineEdit( row1 ); key.setMaxLength( 4 ); - key.setValidator( new QIntValidator( 1000, 9999, key ) ); + key.setValidator( new TQIntValidator( 1000, 9999, key ) ); connect( key, SIGNAL(" textChanged( String )"), this, SLOT(" keyChanged( String )") ); @@ -70,37 +70,37 @@ void setupPage1() void setupPage2() { - page2 = new QHBox( this ); + page2 = new TQHBox( this ); page2.setSpacing(8); - QLabel info = new QLabel( page2 ); - info.setPalette( new QPalette(yellow()) ); + TQLabel info = new TQLabel( page2 ); + info.setPalette( new TQPalette(yellow()) ); info.setText( "\n" + " Enter your personal \n" + " data here. \n\n" - + " The required fields are \n" + + " The retquired fields are \n" + " First Name, Last Name \n" + " and E-Mail. \n" ); info.setIndent(8); info.setMaximumWidth( info.sizeHint().width() ); - QVBox page = new QVBox( page2 ); + TQVBox page = new TQVBox( page2 ); - QHBox row1 = new QHBox( page ); - QHBox row2 = new QHBox( page ); - QHBox row3 = new QHBox( page ); - QHBox row4 = new QHBox( page ); - QHBox row5 = new QHBox( page ); + TQHBox row1 = new TQHBox( page ); + TQHBox row2 = new TQHBox( page ); + TQHBox row3 = new TQHBox( page ); + TQHBox row4 = new TQHBox( page ); + TQHBox row5 = new TQHBox( page ); - QLabel label1 = new QLabel( " First Name: ", row1 ); + TQLabel label1 = new TQLabel( " First Name: ", row1 ); label1.setAlignment( Qt.AlignVCenter ); - QLabel label2 = new QLabel( " Last Name: ", row2 ); + TQLabel label2 = new TQLabel( " Last Name: ", row2 ); label2.setAlignment( Qt.AlignVCenter ); - QLabel label3 = new QLabel( " Address: ", row3 ); + TQLabel label3 = new TQLabel( " Address: ", row3 ); label3.setAlignment( Qt.AlignVCenter ); - QLabel label4 = new QLabel( " Phone Number: ", row4 ); + TQLabel label4 = new TQLabel( " Phone Number: ", row4 ); label4.setAlignment( Qt.AlignVCenter ); - QLabel label5 = new QLabel( " E-Mail: ", row5 ); + TQLabel label5 = new TQLabel( " E-Mail: ", row5 ); label5.setAlignment( Qt.AlignVCenter ); label1.setMinimumWidth( label4.sizeHint().width() ); @@ -109,11 +109,11 @@ void setupPage2() label4.setMinimumWidth( label4.sizeHint().width() ); label5.setMinimumWidth( label4.sizeHint().width() ); - firstName = new QLineEdit( row1 ); - lastName = new QLineEdit( row2 ); - address = new QLineEdit( row3 ); - phone = new QLineEdit( row4 ); - email = new QLineEdit( row5 ); + firstName = new TQLineEdit( row1 ); + lastName = new TQLineEdit( row2 ); + address = new TQLineEdit( row3 ); + phone = new TQLineEdit( row4 ); + email = new TQLineEdit( row5 ); connect( firstName, SIGNAL(" textChanged( String )"), this, SLOT(" dataChanged( String )") ); @@ -129,11 +129,11 @@ void setupPage2() void setupPage3() { - page3 = new QHBox( this ); + page3 = new TQHBox( this ); page3.setSpacing(8); - QLabel info = new QLabel( page3 ); - info.setPalette( new QPalette(yellow()) ); + TQLabel info = new TQLabel( page3 ); + info.setPalette( new TQPalette(yellow()) ); info.setText( "\n" + " Look here to see of \n" + " the data you entered \n" @@ -145,26 +145,26 @@ void setupPage3() info.setAlignment( AlignTop|AlignLeft ); info.setMaximumWidth( info.sizeHint().width() ); - QVBox page = new QVBox( page3 ); + TQVBox page = new TQVBox( page3 ); - QHBox row1 = new QHBox( page ); - QHBox row2 = new QHBox( page ); - QHBox row3 = new QHBox( page ); - QHBox row4 = new QHBox( page ); - QHBox row5 = new QHBox( page ); - QHBox row6 = new QHBox( page ); + TQHBox row1 = new TQHBox( page ); + TQHBox row2 = new TQHBox( page ); + TQHBox row3 = new TQHBox( page ); + TQHBox row4 = new TQHBox( page ); + TQHBox row5 = new TQHBox( page ); + TQHBox row6 = new TQHBox( page ); - QLabel label1 = new QLabel( " Personal Key: ", row1 ); + TQLabel label1 = new TQLabel( " Personal Key: ", row1 ); label1.setAlignment( Qt.AlignVCenter ); - QLabel label2 = new QLabel( " First Name: ", row2 ); + TQLabel label2 = new TQLabel( " First Name: ", row2 ); label2.setAlignment( Qt.AlignVCenter ); - QLabel label3 = new QLabel( " Last Name: ", row3 ); + TQLabel label3 = new TQLabel( " Last Name: ", row3 ); label3.setAlignment( Qt.AlignVCenter ); - QLabel label4 = new QLabel( " Address: ", row4 ); + TQLabel label4 = new TQLabel( " Address: ", row4 ); label4.setAlignment( Qt.AlignVCenter ); - QLabel label5 = new QLabel( " Phone Number: ", row5 ); + TQLabel label5 = new TQLabel( " Phone Number: ", row5 ); label5.setAlignment( Qt.AlignVCenter ); - QLabel label6 = new QLabel( " E-Mail: ", row6 ); + TQLabel label6 = new TQLabel( " E-Mail: ", row6 ); label6.setAlignment( Qt.AlignVCenter ); label1.setMinimumWidth( label1.sizeHint().width() ); @@ -174,12 +174,12 @@ void setupPage3() label5.setMinimumWidth( label1.sizeHint().width() ); label6.setMinimumWidth( label1.sizeHint().width() ); - lKey = new QLabel( row1 ); - lFirstName = new QLabel( row2 ); - lLastName = new QLabel( row3 ); - lAddress = new QLabel( row4 ); - lPhone = new QLabel( row5 ); - lEmail = new QLabel( row6 ); + lKey = new TQLabel( row1 ); + lFirstName = new TQLabel( row2 ); + lLastName = new TQLabel( row3 ); + lAddress = new TQLabel( row4 ); + lPhone = new TQLabel( row5 ); + lEmail = new TQLabel( row6 ); addPage( page3, "Finish" ); @@ -187,12 +187,12 @@ void setupPage3() setHelpEnabled( page3, false ); } -// The QWizard.showPage() virtual method callback isn't implemented in the java +// The TQWizard.showPage() virtual method callback isn't implemented in the java // bindings yet, so use the selected() signal connected to this slot 'doShowPage()' // instead.. public void doShowPage( String title ) { - QWidget page = currentPage(); + TQWidget page = currentPage(); if ( page == page1 ) { } else if ( page == page2 ) { @@ -221,7 +221,7 @@ void keyChanged( String text ) { StringBuffer t = new StringBuffer(text); int[] p = { 0 }; - boolean on = ( key.validator().validate(t, p) == QValidator.Acceptable ); + boolean on = ( key.validator().validate(t, p) == TQValidator.Acceptable ); nextButton().setEnabled( on ); } diff --git a/qtjava/javalib/org/kde/qt/Invocation.java b/qtjava/javalib/org/kde/qt/Invocation.java index 04a41949..7ae31bd3 100644 --- a/qtjava/javalib/org/kde/qt/Invocation.java +++ b/qtjava/javalib/org/kde/qt/Invocation.java @@ -70,7 +70,7 @@ public class Invocation { try { parameterTypes.add(Class.forName(token)); } catch (ClassNotFoundException e) { - Qt.qWarning("QObject.connect: No such argument type: " + token); + Qt.qWarning("TQObject.connect: No such argument type: " + token); return null; } } @@ -131,7 +131,7 @@ public class Invocation { targetClass = targetClass.getSuperclass(); } while (targetClass != null); - System.out.print("QObject.connect: No such slot " + methodName + "("); + System.out.print("TQObject.connect: No such slot " + methodName + "("); for (int index = 0; index < parameterTypes.length; index++) { System.out.print(parameterTypes[index].toString()); @@ -170,7 +170,7 @@ public class Invocation { /** Used for Java slot/signal targets, handles callbacks */ public Object invoke(Object[] args) throws IllegalAccessException, InvocationTargetException { if (signalName != null) { - // If the target is a signal, then there are two parameters needed for QObject.emit(). + // If the target is a signal, then there are two parameters needed for TQObject.emit(). // A signal name, followed by an array of arguments to be emitted. Object[] emitArgs = new Object[2]; emitArgs[0] = signalName; @@ -400,7 +400,7 @@ public class Invocation { Used for boolean callbacks such as KMainWindow::queryClose() */ public static boolean booleanInvoke(long target, String methodName) throws NoSuchMethodException, ClassNotFoundException { Method method; - Object onThis = qtjava.objectForQtKey(target, "QObject", false); + Object onThis = qtjava.objectForQtKey(target, "TQObject", false); try { method = onThis.getClass().getMethod(methodName, (Class[]) null); @@ -439,7 +439,7 @@ public class Invocation { Method method = null; Class[] parameterType = new Class[1]; parameterType[0] = Class.forName(qtjava.toFullyQualifiedClassName(argClass)); - Object onThis = qtjava.objectForQtKey(target, "org.kde.qt.QObject", false); + Object onThis = qtjava.objectForQtKey(target, "org.kde.qt.TQObject", false); Class targetClass = onThis.getClass(); @@ -495,8 +495,8 @@ public class Invocation { arguments[0] = qtjava.objectForQtKey(arg1, arg1class, false); arguments[1] = qtjava.objectForQtKey(arg2, arg2class, false); - Class[] parameterTypes = new Class[] { QObject.class, QEvent.class }; - Object onThis = qtjava.objectForQtKey(target, "QObject", false); + Class[] parameterTypes = new Class[] { TQObject.class, TQEvent.class }; + Object onThis = qtjava.objectForQtKey(target, "TQObject", false); try { method = onThis.getClass().getMethod(methodName, parameterTypes); 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 index 7f6efa58..bd0c455f 100644 --- a/qtjava/javalib/org/kde/qt/QAccel.java +++ b/qtjava/javalib/org/kde/qt/QAccel.java @@ -4,45 +4,45 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QAccelSignals} for signals emitted by QAccel + See {@link TQAccelSignals} for signals emitted by TQAccel */ -public class QAccel extends QObject { - protected QAccel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQAccel extends TQObject { + protected TQAccel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QAccel(QWidget parent, String name) { + public TQAccel(TQWidget parent, String name) { super((Class) null); - newQAccel(parent,name); + newTQAccel(parent,name); } - private native void newQAccel(QWidget parent, String name); - public QAccel(QWidget parent) { + private native void newTQAccel(TQWidget parent, String name); + public TQAccel(TQWidget parent) { super((Class) null); - newQAccel(parent); + newTQAccel(parent); } - private native void newQAccel(QWidget parent); - public QAccel(QWidget watch, QObject parent, String name) { + private native void newTQAccel(TQWidget parent); + public TQAccel(TQWidget watch, TQObject parent, String name) { super((Class) null); - newQAccel(watch,parent,name); + newTQAccel(watch,parent,name); } - private native void newQAccel(QWidget watch, QObject parent, String name); - public QAccel(QWidget watch, QObject parent) { + private native void newTQAccel(TQWidget watch, TQObject parent, String name); + public TQAccel(TQWidget watch, TQObject parent) { super((Class) null); - newQAccel(watch,parent); + newTQAccel(watch,parent); } - private native void newQAccel(QWidget watch, QObject 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(QKeySequence key, int id); - public native int insertItem(QKeySequence key); + 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 QKeySequence key(int id); - public native int findKey(QKeySequence key); + 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, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + 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); @@ -50,10 +50,10 @@ public class QAccel extends QObject { public native boolean ignoreWhatsThis(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QKeySequence shortcutKey(String arg1); - public static native String keyToString(QKeySequence k); - public static native QKeySequence stringToKey(String arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QAccelSignals.java b/qtjava/javalib/org/kde/qt/QAccelSignals.java index ee9abb2b..5c213698 100644 --- a/qtjava/javalib/org/kde/qt/QAccelSignals.java +++ b/qtjava/javalib/org/kde/qt/QAccelSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QAccelSignals { +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 index 365bfc40..19632563 100644 --- a/qtjava/javalib/org/kde/qt/QAction.java +++ b/qtjava/javalib/org/kde/qt/QAction.java @@ -4,79 +4,79 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QActionSignals} for signals emitted by QAction + See {@link TQActionSignals} for signals emitted by TQAction */ -public class QAction extends QObject { - protected QAction(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQAction extends TQObject { + protected TQAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QAction(QObject parent, String name) { + public TQAction(TQObject parent, String name) { super((Class) null); - newQAction(parent,name); + newTQAction(parent,name); } - private native void newQAction(QObject parent, String name); - public QAction(QObject parent) { + private native void newTQAction(TQObject parent, String name); + public TQAction(TQObject parent) { super((Class) null); - newQAction(parent); + newTQAction(parent); } - private native void newQAction(QObject parent); - public QAction(String menuText, QKeySequence accel, QObject parent, String name) { + private native void newTQAction(TQObject parent); + public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { super((Class) null); - newQAction(menuText,accel,parent,name); + newTQAction(menuText,accel,parent,name); } - private native void newQAction(String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String menuText, QKeySequence accel, QObject parent) { + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String menuText, TQKeySequence accel, TQObject parent) { super((Class) null); - newQAction(menuText,accel,parent); + newTQAction(menuText,accel,parent); } - private native void newQAction(String menuText, QKeySequence accel, QObject parent); - public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + 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); - newQAction(icon,menuText,accel,parent,name); + newTQAction(icon,menuText,accel,parent,name); } - private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + 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); - newQAction(icon,menuText,accel,parent); + newTQAction(icon,menuText,accel,parent); } - private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + 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); - newQAction(text,icon,menuText,accel,parent,name,toggle); + newTQAction(text,icon,menuText,accel,parent,name,toggle); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + 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); - newQAction(text,icon,menuText,accel,parent,name); + newTQAction(text,icon,menuText,accel,parent,name); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + 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); - newQAction(text,icon,menuText,accel,parent); + newTQAction(text,icon,menuText,accel,parent); } - private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent); - public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + 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); - newQAction(text,menuText,accel,parent,name,toggle); + newTQAction(text,menuText,accel,parent,name,toggle); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); - public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name) { + 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); - newQAction(text,menuText,accel,parent,name); + newTQAction(text,menuText,accel,parent,name); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name); - public QAction(String text, String menuText, QKeySequence accel, QObject parent) { + 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); - newQAction(text,menuText,accel,parent); + newTQAction(text,menuText,accel,parent); } - private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent); - public QAction(QObject parent, String name, boolean toggle) { + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQObject parent, String name, boolean toggle) { super((Class) null); - newQAction(parent,name,toggle); + newTQAction(parent,name,toggle); } - private native void newQAction(QObject parent, String name, boolean toggle); - public native void setIconSet(QIconSet arg1); - public native QIconSet iconSet(); + 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); @@ -87,15 +87,15 @@ public class QAction extends QObject { public native String statusTip(); public native void setWhatsThis(String arg1); public native String whatsThis(); - public native void setAccel(QKeySequence key); - public native QKeySequence accel(); + 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(QWidget arg1); - public native boolean removeFrom(QWidget arg1); + 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); @@ -104,8 +104,8 @@ public class QAction extends QObject { 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(QWidget actionWidget, QWidget container); - protected native void addedTo(int index, QPopupMenu menu); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QActionGroup.java b/qtjava/javalib/org/kde/qt/QActionGroup.java index cddbbf78..14c4dc87 100644 --- a/qtjava/javalib/org/kde/qt/QActionGroup.java +++ b/qtjava/javalib/org/kde/qt/QActionGroup.java @@ -4,51 +4,51 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QActionGroupSignals} for signals emitted by QActionGroup + See {@link TQActionGroupSignals} for signals emitted by TQActionGroup */ -public class QActionGroup extends QAction { - protected QActionGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQActionGroup extends TQAction { + protected TQActionGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QActionGroup(QObject parent, String name) { + public TQActionGroup(TQObject parent, String name) { super((Class) null); - newQActionGroup(parent,name); + newTQActionGroup(parent,name); } - private native void newQActionGroup(QObject parent, String name); - public QActionGroup(QObject parent) { + private native void newTQActionGroup(TQObject parent, String name); + public TQActionGroup(TQObject parent) { super((Class) null); - newQActionGroup(parent); + newTQActionGroup(parent); } - private native void newQActionGroup(QObject parent); - public QActionGroup(QObject parent, String name, boolean exclusive) { + private native void newTQActionGroup(TQObject parent); + public TQActionGroup(TQObject parent, String name, boolean exclusive) { super((Class) null); - newQActionGroup(parent,name,exclusive); + newTQActionGroup(parent,name,exclusive); } - private native void newQActionGroup(QObject parent, String name, boolean 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(QAction a); + public native void add(TQAction a); public native void addSeparator(); - public native boolean addTo(QWidget arg1); - public native boolean removeFrom(QWidget arg1); + 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(QIconSet arg1); + 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(QAction a); + 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(QChildEvent arg1); - protected native void addedTo(QWidget actionWidget, QWidget container, QAction a); - protected native void addedTo(int index, QPopupMenu menu, QAction a); - protected native void addedTo(QWidget actionWidget, QWidget container); - protected native void addedTo(int index, QPopupMenu menu); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QActionGroupSignals.java b/qtjava/javalib/org/kde/qt/QActionGroupSignals.java index 7cb2eb9e..94c340bb 100644 --- a/qtjava/javalib/org/kde/qt/QActionGroupSignals.java +++ b/qtjava/javalib/org/kde/qt/QActionGroupSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QActionGroupSignals { - void selected(QAction arg1); +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 index 9eabb4ad..a5811b1c 100644 --- a/qtjava/javalib/org/kde/qt/QActionSignals.java +++ b/qtjava/javalib/org/kde/qt/QActionSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QActionSignals { +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 index b86bffcb..1a3e6736 100644 --- a/qtjava/javalib/org/kde/qt/QApplication.java +++ b/qtjava/javalib/org/kde/qt/QApplication.java @@ -5,10 +5,10 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QApplicationSignals} for signals emitted by QApplication + See {@link TQApplicationSignals} for signals emitted by TQApplication */ -public class QApplication extends QObject { - protected QApplication(Class dummy){super((Class) null);} +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; @@ -23,29 +23,29 @@ public class QApplication extends QObject { public static final int DefaultCodec = 0; public static final int UnicodeUTF8 = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QApplication(String[] argv) { + public TQApplication(String[] argv) { super((Class) null); - newQApplication(argv); + newTQApplication(argv); } - private native void newQApplication(String[] argv); - public QApplication(String[] argv, boolean GUIenabled) { + private native void newTQApplication(String[] argv); + public TQApplication(String[] argv, boolean GUIenabled) { super((Class) null); - newQApplication(argv,GUIenabled); + newTQApplication(argv,GUIenabled); } - private native void newQApplication(String[] argv, boolean GUIenabled); - public QApplication(String[] argv, int arg3) { + private native void newTQApplication(String[] argv, boolean GUIenabled); + public TQApplication(String[] argv, int arg3) { super((Class) null); - newQApplication(argv,arg3); + newTQApplication(argv,arg3); } - private native void newQApplication(String[] argv, int arg3); + private native void newTQApplication(String[] argv, int arg3); public native int type(); - public native QWidget mainWidget(); - public native void setMainWidget(QWidget arg1); - public native void polish(QWidget arg1); - public native QWidget focusWidget(); - public native QWidget activeWindow(); + 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); @@ -54,11 +54,11 @@ public class QApplication extends QObject { public native int enter_loop(); public native void exit_loop(); public native int loopLevel(); - public native boolean notify(QObject arg1, QEvent arg2); - public native void setDefaultCodec(QTextCodec arg1); - public native QTextCodec defaultCodec(); - public native void installTranslator(QTranslator arg1); - public native void removeTranslator(QTranslator arg1); + 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); @@ -67,64 +67,64 @@ public class QApplication extends QObject { public native boolean isSessionRestored(); public native String sessionId(); public native String sessionKey(); - public native void commitData(QSessionManager sm); - public native void saveState(QSessionManager sm); + 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 aboutQt(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QStyle style(); - public static native void setStyle(QStyle arg1); - public static native QStyle setStyle(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 QCursor overrideCursor(); - public static native void setOverrideCursor(QCursor arg1, boolean replace); - public static native void setOverrideCursor(QCursor 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 QPalette palette(QWidget arg1); - public static native QPalette palette(); - public static native void setPalette(QPalette arg1, boolean informWidgets, String className); - public static native void setPalette(QPalette arg1, boolean informWidgets); - public static native void setPalette(QPalette arg1); - public static native QFont font(QWidget arg1); - public static native QFont font(); - public static native void setFont(QFont arg1, boolean informWidgets, String className); - public static native void setFont(QFont arg1, boolean informWidgets); - public static native void setFont(QFont arg1); - public static native QFontMetrics fontMetrics(); + 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 QDesktopWidget desktop(); - public static native QWidget activePopupWidget(); - public static native QWidget activeModalWidget(); - public static native QClipboard clipboard(); - public static native QWidget widgetAt(int x, int y, boolean child); - public static native QWidget widgetAt(int x, int y); - public static native QWidget widgetAt(QPoint arg1, boolean child); - public static native QWidget widgetAt(QPoint arg1); - public static native QEventLoop eventLoop(); + 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(QObject receiver, QEvent event); - public static native void postEvent(QObject receiver, QEvent event); - public static native void sendPostedEvents(QObject receiver, int event_type); + 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(QObject receiver); + 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(QColor c); - public static native QColor winStyleHighlightColor(); + 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); @@ -133,8 +133,8 @@ public class QApplication extends QObject { public static native int doubleClickInterval(); public static native void setWheelScrollLines(int arg1); public static native int wheelScrollLines(); - public static native void setGlobalStrut(QSize arg1); - public static native QSize globalStrut(); + 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); @@ -149,7 +149,7 @@ public class QApplication extends QObject { 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(QEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QApplicationSignals.java b/qtjava/javalib/org/kde/qt/QApplicationSignals.java index 811d4bc3..358c9bbb 100644 --- a/qtjava/javalib/org/kde/qt/QApplicationSignals.java +++ b/qtjava/javalib/org/kde/qt/QApplicationSignals.java @@ -3,7 +3,7 @@ package org.kde.qt; import java.util.ArrayList; -public interface QApplicationSignals { +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 index fee8ddf4..55da2b83 100644 --- a/qtjava/javalib/org/kde/qt/QAsyncIO.java +++ b/qtjava/javalib/org/kde/qt/QAsyncIO.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QAsyncIO implements QtSupport { +public class TQAsyncIO implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QAsyncIO(Class dummy){} + protected TQAsyncIO(Class dummy){} - public native void connect(QObject arg1, String member); - public QAsyncIO() { - newQAsyncIO(); + public native void connect(TQObject arg1, String member); + public TQAsyncIO() { + newTQAsyncIO(); } - private native void newQAsyncIO(); + private native void newTQAsyncIO(); protected native void ready(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QAuServer.java b/qtjava/javalib/org/kde/qt/QAuServer.java index 54d37b43..326764c6 100644 --- a/qtjava/javalib/org/kde/qt/QAuServer.java +++ b/qtjava/javalib/org/kde/qt/QAuServer.java @@ -3,14 +3,14 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QAuServer extends QObject { - protected QAuServer(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQAuServer extends TQObject { + protected TQAuServer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public native void init(QSound arg1); + public native void init(TQSound arg1); public native void play(String filename); - public native void play(QSound arg1); - public native void stop(QSound arg1); + 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 index f829da96..7517b6e9 100644 --- a/qtjava/javalib/org/kde/qt/QBig5Codec.java +++ b/qtjava/javalib/org/kde/qt/QBig5Codec.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QBig5Codec extends QTextCodec { - protected QBig5Codec(Class dummy){super((Class) null);} +public class TQBig5Codec extends TQTextCodec { + protected TQBig5Codec(Class dummy){super((Class) null);} public native int mibEnum(); public native String name(); - public native QTextDecoder makeDecoder(); + 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 QBig5Codec() { + public TQBig5Codec() { super((Class) null); - newQBig5Codec(); + newTQBig5Codec(); } - private native void newQBig5Codec(); + private native void newTQBig5Codec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QBitmap.java b/qtjava/javalib/org/kde/qt/QBitmap.java index e276b090..53e78c65 100644 --- a/qtjava/javalib/org/kde/qt/QBitmap.java +++ b/qtjava/javalib/org/kde/qt/QBitmap.java @@ -3,94 +3,94 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QBitmap extends QPixmap { - protected QBitmap(Class dummy){super((Class) null);} - public QBitmap() { +public class TQBitmap extends TQPixmap { + protected TQBitmap(Class dummy){super((Class) null);} + public TQBitmap() { super((Class) null); - newQBitmap(); + newTQBitmap(); } - private native void newQBitmap(); - public QBitmap(int w, int h, boolean clear, int arg4) { + private native void newTQBitmap(); + public TQBitmap(int w, int h, boolean clear, int arg4) { super((Class) null); - newQBitmap(w,h,clear,arg4); + newTQBitmap(w,h,clear,arg4); } - private native void newQBitmap(int w, int h, boolean clear, int arg4); - public QBitmap(int w, int h, boolean clear) { + private native void newTQBitmap(int w, int h, boolean clear, int arg4); + public TQBitmap(int w, int h, boolean clear) { super((Class) null); - newQBitmap(w,h,clear); + newTQBitmap(w,h,clear); } - private native void newQBitmap(int w, int h, boolean clear); - public QBitmap(int w, int h) { + private native void newTQBitmap(int w, int h, boolean clear); + public TQBitmap(int w, int h) { super((Class) null); - newQBitmap(w,h); + newTQBitmap(w,h); } - private native void newQBitmap(int w, int h); - public QBitmap(QSize arg1, boolean clear, int arg3) { + private native void newTQBitmap(int w, int h); + public TQBitmap(TQSize arg1, boolean clear, int arg3) { super((Class) null); - newQBitmap(arg1,clear,arg3); + newTQBitmap(arg1,clear,arg3); } - private native void newQBitmap(QSize arg1, boolean clear, int arg3); - public QBitmap(QSize arg1, boolean clear) { + private native void newTQBitmap(TQSize arg1, boolean clear, int arg3); + public TQBitmap(TQSize arg1, boolean clear) { super((Class) null); - newQBitmap(arg1,clear); + newTQBitmap(arg1,clear); } - private native void newQBitmap(QSize arg1, boolean clear); - public QBitmap(QSize arg1) { + private native void newTQBitmap(TQSize arg1, boolean clear); + public TQBitmap(TQSize arg1) { super((Class) null); - newQBitmap(arg1); + newTQBitmap(arg1); } - private native void newQBitmap(QSize arg1); - public QBitmap(int w, int h, char[] bits, boolean isXbitmap) { + private native void newTQBitmap(TQSize arg1); + public TQBitmap(int w, int h, char[] bits, boolean isXbitmap) { super((Class) null); - newQBitmap(w,h,bits,isXbitmap); + newTQBitmap(w,h,bits,isXbitmap); } - private native void newQBitmap(int w, int h, char[] bits, boolean isXbitmap); - public QBitmap(int w, int h, char[] bits) { + private native void newTQBitmap(int w, int h, char[] bits, boolean isXbitmap); + public TQBitmap(int w, int h, char[] bits) { super((Class) null); - newQBitmap(w,h,bits); + newTQBitmap(w,h,bits); } - private native void newQBitmap(int w, int h, char[] bits); - public QBitmap(QSize arg1, char[] bits, boolean isXbitmap) { + private native void newTQBitmap(int w, int h, char[] bits); + public TQBitmap(TQSize arg1, char[] bits, boolean isXbitmap) { super((Class) null); - newQBitmap(arg1,bits,isXbitmap); + newTQBitmap(arg1,bits,isXbitmap); } - private native void newQBitmap(QSize arg1, char[] bits, boolean isXbitmap); - public QBitmap(QSize arg1, char[] bits) { + private native void newTQBitmap(TQSize arg1, char[] bits, boolean isXbitmap); + public TQBitmap(TQSize arg1, char[] bits) { super((Class) null); - newQBitmap(arg1,bits); + newTQBitmap(arg1,bits); } - private native void newQBitmap(QSize arg1, char[] bits); - public QBitmap(QBitmap arg1) { + private native void newTQBitmap(TQSize arg1, char[] bits); + public TQBitmap(TQBitmap arg1) { super((Class) null); - newQBitmap(arg1); + newTQBitmap(arg1); } - private native void newQBitmap(QBitmap arg1); - public QBitmap(String fileName, String format) { + private native void newTQBitmap(TQBitmap arg1); + public TQBitmap(String fileName, String format) { super((Class) null); - newQBitmap(fileName,format); + newTQBitmap(fileName,format); } - private native void newQBitmap(String fileName, String format); - public QBitmap(String fileName) { + private native void newTQBitmap(String fileName, String format); + public TQBitmap(String fileName) { super((Class) null); - newQBitmap(fileName); + newTQBitmap(fileName); } - private native void newQBitmap(String fileName); - public native Object xForm(QWMatrix arg1); + 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 QBitmap(QPixmap arg1) { + public TQBitmap(TQPixmap arg1) { super((Class) null); - newQBitmap(arg1); + newTQBitmap(arg1); } - private native void newQBitmap(QPixmap arg1); - public QBitmap(QImage arg1) { + private native void newTQBitmap(TQPixmap arg1); + public TQBitmap(TQImage arg1) { super((Class) null); - newQBitmap(arg1); + newTQBitmap(arg1); } - private native void newQBitmap(QImage 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 index 8e8fb0dc..c7a20317 100644 --- a/qtjava/javalib/org/kde/qt/QBoxLayout.java +++ b/qtjava/javalib/org/kde/qt/QBoxLayout.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QBoxLayout extends QLayout { - protected QBoxLayout(Class dummy){super((Class) null);} +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; @@ -12,94 +12,94 @@ public class QBoxLayout extends QLayout { public static final int Down = TopToBottom; public static final int Up = BottomToTop; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QBoxLayout(QWidget parent, int arg2, int border, int spacing, String name) { + public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name) { super((Class) null); - newQBoxLayout(parent,arg2,border,spacing,name); + newTQBoxLayout(parent,arg2,border,spacing,name); } - private native void newQBoxLayout(QWidget parent, int arg2, int border, int spacing, String name); - public QBoxLayout(QWidget parent, int arg2, int border, int spacing) { + 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); - newQBoxLayout(parent,arg2,border,spacing); + newTQBoxLayout(parent,arg2,border,spacing); } - private native void newQBoxLayout(QWidget parent, int arg2, int border, int spacing); - public QBoxLayout(QWidget parent, int arg2, int border) { + private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing); + public TQBoxLayout(TQWidget parent, int arg2, int border) { super((Class) null); - newQBoxLayout(parent,arg2,border); + newTQBoxLayout(parent,arg2,border); } - private native void newQBoxLayout(QWidget parent, int arg2, int border); - public QBoxLayout(QWidget parent, int arg2) { + private native void newTQBoxLayout(TQWidget parent, int arg2, int border); + public TQBoxLayout(TQWidget parent, int arg2) { super((Class) null); - newQBoxLayout(parent,arg2); + newTQBoxLayout(parent,arg2); } - private native void newQBoxLayout(QWidget parent, int arg2); - public QBoxLayout(QLayout parentLayout, int arg2, int spacing, String name) { + private native void newTQBoxLayout(TQWidget parent, int arg2); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name) { super((Class) null); - newQBoxLayout(parentLayout,arg2,spacing,name); + newTQBoxLayout(parentLayout,arg2,spacing,name); } - private native void newQBoxLayout(QLayout parentLayout, int arg2, int spacing, String name); - public QBoxLayout(QLayout parentLayout, int arg2, int spacing) { + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing) { super((Class) null); - newQBoxLayout(parentLayout,arg2,spacing); + newTQBoxLayout(parentLayout,arg2,spacing); } - private native void newQBoxLayout(QLayout parentLayout, int arg2, int spacing); - public QBoxLayout(QLayout parentLayout, int arg2) { + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing); + public TQBoxLayout(TQLayout parentLayout, int arg2) { super((Class) null); - newQBoxLayout(parentLayout,arg2); + newTQBoxLayout(parentLayout,arg2); } - private native void newQBoxLayout(QLayout parentLayout, int arg2); - public QBoxLayout(int arg1, int spacing, String name) { + private native void newTQBoxLayout(TQLayout parentLayout, int arg2); + public TQBoxLayout(int arg1, int spacing, String name) { super((Class) null); - newQBoxLayout(arg1,spacing,name); + newTQBoxLayout(arg1,spacing,name); } - private native void newQBoxLayout(int arg1, int spacing, String name); - public QBoxLayout(int arg1, int spacing) { + private native void newTQBoxLayout(int arg1, int spacing, String name); + public TQBoxLayout(int arg1, int spacing) { super((Class) null); - newQBoxLayout(arg1,spacing); + newTQBoxLayout(arg1,spacing); } - private native void newQBoxLayout(int arg1, int spacing); - public QBoxLayout(int arg1) { + private native void newTQBoxLayout(int arg1, int spacing); + public TQBoxLayout(int arg1) { super((Class) null); - newQBoxLayout(arg1); + newTQBoxLayout(arg1); } - private native void newQBoxLayout(int arg1); - public native void addItem(QLayoutItemInterface 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(QWidget arg1, int stretch, int alignment); - public native void addWidget(QWidget arg1, int stretch); - public native void addWidget(QWidget arg1); - public native void addLayout(QLayout layout, int stretch); - public native void addLayout(QLayout layout); + 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, QWidget widget, int stretch, int alignment); - public native void insertWidget(int index, QWidget widget, int stretch); - public native void insertWidget(int index, QWidget widget); - public native void insertLayout(int index, QLayout layout, int stretch); - public native void insertLayout(int index, QLayout layout); - public native boolean setStretchFactor(QWidget arg1, int stretch); - public native boolean setStretchFactor(QLayout l, int stretch); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize maximumSize(); + 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(); - // QLayoutIterator iterator(); >>>> NOT CONVERTED - public native void setGeometry(QRect arg1); - public native int findWidget(QWidget w); + // 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, QLayoutItemInterface arg2); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QBrush.java b/qtjava/javalib/org/kde/qt/QBrush.java index f987fa4d..3f324da4 100644 --- a/qtjava/javalib/org/kde/qt/QBrush.java +++ b/qtjava/javalib/org/kde/qt/QBrush.java @@ -3,46 +3,46 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QBrush extends Qt { - protected QBrush(Class dummy){super((Class) null);} - public QBrush() { +public class TQBrush extends Qt { + protected TQBrush(Class dummy){super((Class) null);} + public TQBrush() { super((Class) null); - newQBrush(); + newTQBrush(); } - private native void newQBrush(); - public QBrush(int arg1) { + private native void newTQBrush(); + public TQBrush(int arg1) { super((Class) null); - newQBrush(arg1); + newTQBrush(arg1); } - private native void newQBrush(int arg1); - public QBrush(QColor arg1, int arg2) { + private native void newTQBrush(int arg1); + public TQBrush(TQColor arg1, int arg2) { super((Class) null); - newQBrush(arg1,arg2); + newTQBrush(arg1,arg2); } - private native void newQBrush(QColor arg1, int arg2); - public QBrush(QColor arg1) { + private native void newTQBrush(TQColor arg1, int arg2); + public TQBrush(TQColor arg1) { super((Class) null); - newQBrush(arg1); + newTQBrush(arg1); } - private native void newQBrush(QColor arg1); - public QBrush(QColor arg1, QPixmap arg2) { + private native void newTQBrush(TQColor arg1); + public TQBrush(TQColor arg1, TQPixmap arg2) { super((Class) null); - newQBrush(arg1,arg2); + newTQBrush(arg1,arg2); } - private native void newQBrush(QColor arg1, QPixmap arg2); - public QBrush(QBrush arg1) { + private native void newTQBrush(TQColor arg1, TQPixmap arg2); + public TQBrush(TQBrush arg1) { super((Class) null); - newQBrush(arg1); + newTQBrush(arg1); } - private native void newQBrush(QBrush arg1); + private native void newTQBrush(TQBrush arg1); public native int style(); public native void setStyle(int arg1); - public native QColor color(); - public native void setColor(QColor arg1); - public native QPixmap pixmap(); - public native void setPixmap(QPixmap arg1); - public native boolean op_equals(QBrush p); - public native boolean op_not_equals(QBrush b); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QBuffer.java b/qtjava/javalib/org/kde/qt/QBuffer.java index 6ed688b2..30cfcdb5 100644 --- a/qtjava/javalib/org/kde/qt/QBuffer.java +++ b/qtjava/javalib/org/kde/qt/QBuffer.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QBuffer extends QIODevice { - protected QBuffer(Class dummy){super((Class) null);} - public QBuffer() { +public class TQBuffer extends TQIODevice { + protected TQBuffer(Class dummy){super((Class) null);} + public TQBuffer() { super((Class) null); - newQBuffer(); + newTQBuffer(); } - private native void newQBuffer(); - public QBuffer(byte[] arg1) { + private native void newTQBuffer(); + public TQBuffer(byte[] arg1) { super((Class) null); - newQBuffer(arg1); + newTQBuffer(arg1); } - private native void newQBuffer(byte[] arg1); + private native void newTQBuffer(byte[] arg1); public native byte[] buffer(); public native boolean setBuffer(byte[] arg1); public native boolean open(int arg1); diff --git a/qtjava/javalib/org/kde/qt/QButton.java b/qtjava/javalib/org/kde/qt/QButton.java index 57a3ab1f..cf03c64d 100644 --- a/qtjava/javalib/org/kde/qt/QButton.java +++ b/qtjava/javalib/org/kde/qt/QButton.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QButtonSignals} for signals emitted by QButton + See {@link TQButtonSignals} for signals emitted by TQButton */ -public class QButton extends QWidget { - protected QButton(Class dummy){super((Class) null);} +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; @@ -16,34 +16,34 @@ public class QButton extends QWidget { public static final int NoChange = 1; public static final int On = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QButton(QWidget parent, String name, int f) { + public TQButton(TQWidget parent, String name, int f) { super((Class) null); - newQButton(parent,name,f); + newTQButton(parent,name,f); } - private native void newQButton(QWidget parent, String name, int f); - public QButton(QWidget parent, String name) { + private native void newTQButton(TQWidget parent, String name, int f); + public TQButton(TQWidget parent, String name) { super((Class) null); - newQButton(parent,name); + newTQButton(parent,name); } - private native void newQButton(QWidget parent, String name); - public QButton(QWidget parent) { + private native void newTQButton(TQWidget parent, String name); + public TQButton(TQWidget parent) { super((Class) null); - newQButton(parent); + newTQButton(parent); } - private native void newQButton(QWidget parent); - public QButton() { + private native void newTQButton(TQWidget parent); + public TQButton() { super((Class) null); - newQButton(); + newTQButton(); } - private native void newQButton(); + private native void newTQButton(); public native String text(); public native void setText(String arg1); - public native QPixmap pixmap(); - public native void setPixmap(QPixmap arg1); - public native QKeySequence accel(); - public native void setAccel(QKeySequence 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); @@ -55,7 +55,7 @@ public class QButton extends QWidget { public native boolean autoRepeat(); public native void setAutoRepeat(boolean arg1); public native boolean isExclusiveToggle(); - public native QButtonGroup group(); + public native TQButtonGroup group(); public native void animateClick(); public native void toggle(); public static native String tr(String arg1, String arg2); @@ -64,17 +64,17 @@ public class QButton extends QWidget { protected native void setToggleType(int arg1); protected native void setOn(boolean arg1); public native void setState(int arg1); - protected native boolean hitButton(QPoint pos); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void keyReleaseEvent(QKeyEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent 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; diff --git a/qtjava/javalib/org/kde/qt/QButtonGroup.java b/qtjava/javalib/org/kde/qt/QButtonGroup.java index f69b0665..5570c131 100644 --- a/qtjava/javalib/org/kde/qt/QButtonGroup.java +++ b/qtjava/javalib/org/kde/qt/QButtonGroup.java @@ -4,89 +4,89 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QButtonGroupSignals} for signals emitted by QButtonGroup + See {@link TQButtonGroupSignals} for signals emitted by TQButtonGroup */ -public class QButtonGroup extends QGroupBox { - protected QButtonGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQButtonGroup extends TQGroupBox { + protected TQButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QButtonGroup(QWidget parent, String name) { + public TQButtonGroup(TQWidget parent, String name) { super((Class) null); - newQButtonGroup(parent,name); + newTQButtonGroup(parent,name); } - private native void newQButtonGroup(QWidget parent, String name); - public QButtonGroup(QWidget parent) { + private native void newTQButtonGroup(TQWidget parent, String name); + public TQButtonGroup(TQWidget parent) { super((Class) null); - newQButtonGroup(parent); + newTQButtonGroup(parent); } - private native void newQButtonGroup(QWidget parent); - public QButtonGroup() { + private native void newTQButtonGroup(TQWidget parent); + public TQButtonGroup() { super((Class) null); - newQButtonGroup(); + newTQButtonGroup(); } - private native void newQButtonGroup(); - public QButtonGroup(String title, QWidget parent, String name) { + private native void newTQButtonGroup(); + public TQButtonGroup(String title, TQWidget parent, String name) { super((Class) null); - newQButtonGroup(title,parent,name); + newTQButtonGroup(title,parent,name); } - private native void newQButtonGroup(String title, QWidget parent, String name); - public QButtonGroup(String title, QWidget parent) { + private native void newTQButtonGroup(String title, TQWidget parent, String name); + public TQButtonGroup(String title, TQWidget parent) { super((Class) null); - newQButtonGroup(title,parent); + newTQButtonGroup(title,parent); } - private native void newQButtonGroup(String title, QWidget parent); - public QButtonGroup(String title) { + private native void newTQButtonGroup(String title, TQWidget parent); + public TQButtonGroup(String title) { super((Class) null); - newQButtonGroup(title); + newTQButtonGroup(title); } - private native void newQButtonGroup(String title); - public QButtonGroup(int columns, int o, QWidget parent, String name) { + private native void newTQButtonGroup(String title); + public TQButtonGroup(int columns, int o, TQWidget parent, String name) { super((Class) null); - newQButtonGroup(columns,o,parent,name); + newTQButtonGroup(columns,o,parent,name); } - private native void newQButtonGroup(int columns, int o, QWidget parent, String name); - public QButtonGroup(int columns, int o, QWidget parent) { + private native void newTQButtonGroup(int columns, int o, TQWidget parent, String name); + public TQButtonGroup(int columns, int o, TQWidget parent) { super((Class) null); - newQButtonGroup(columns,o,parent); + newTQButtonGroup(columns,o,parent); } - private native void newQButtonGroup(int columns, int o, QWidget parent); - public QButtonGroup(int columns, int o) { + private native void newTQButtonGroup(int columns, int o, TQWidget parent); + public TQButtonGroup(int columns, int o) { super((Class) null); - newQButtonGroup(columns,o); + newTQButtonGroup(columns,o); } - private native void newQButtonGroup(int columns, int o); - public QButtonGroup(int columns, int o, String title, QWidget parent, String name) { + private native void newTQButtonGroup(int columns, int o); + public TQButtonGroup(int columns, int o, String title, TQWidget parent, String name) { super((Class) null); - newQButtonGroup(columns,o,title,parent,name); + newTQButtonGroup(columns,o,title,parent,name); } - private native void newQButtonGroup(int columns, int o, String title, QWidget parent, String name); - public QButtonGroup(int columns, int o, String title, QWidget parent) { + 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); - newQButtonGroup(columns,o,title,parent); + newTQButtonGroup(columns,o,title,parent); } - private native void newQButtonGroup(int columns, int o, String title, QWidget parent); - public QButtonGroup(int columns, int o, String title) { + private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent); + public TQButtonGroup(int columns, int o, String title) { super((Class) null); - newQButtonGroup(columns,o,title); + newTQButtonGroup(columns,o,title); } - private native void newQButtonGroup(int columns, int o, String 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(QButton arg1, int id); - public native int insert(QButton arg1); - public native void remove(QButton arg1); - public native QButton findButton(int id); - public native int id(QButton 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 QButton selected(); + 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(QEvent e); + public native boolean event(TQEvent e); protected native void buttonPressed(); protected native void buttonReleased(); protected native void buttonClicked(); diff --git a/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java b/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java index d88385b4..8c93250a 100644 --- a/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java +++ b/qtjava/javalib/org/kde/qt/QButtonGroupSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QButtonGroupSignals { +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 index ee228b1a..79d0fc85 100644 --- a/qtjava/javalib/org/kde/qt/QButtonSignals.java +++ b/qtjava/javalib/org/kde/qt/QButtonSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QButtonSignals { +public interface TQButtonSignals { void pressed(); void released(); void clicked(); diff --git a/qtjava/javalib/org/kde/qt/QCanvas.java b/qtjava/javalib/org/kde/qt/QCanvas.java index c8a298f5..36baff0c 100644 --- a/qtjava/javalib/org/kde/qt/QCanvas.java +++ b/qtjava/javalib/org/kde/qt/QCanvas.java @@ -5,42 +5,42 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QCanvasSignals} for signals emitted by QCanvas + See {@link TQCanvasSignals} for signals emitted by TQCanvas */ -public class QCanvas extends QObject { - protected QCanvas(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQCanvas extends TQObject { + protected TQCanvas(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QCanvas(QObject parent, String name) { + public TQCanvas(TQObject parent, String name) { super((Class) null); - newQCanvas(parent,name); + newTQCanvas(parent,name); } - private native void newQCanvas(QObject parent, String name); - public QCanvas(QObject parent) { + private native void newTQCanvas(TQObject parent, String name); + public TQCanvas(TQObject parent) { super((Class) null); - newQCanvas(parent); + newTQCanvas(parent); } - private native void newQCanvas(QObject parent); - public QCanvas() { + private native void newTQCanvas(TQObject parent); + public TQCanvas() { super((Class) null); - newQCanvas(); + newTQCanvas(); } - private native void newQCanvas(); - public QCanvas(int w, int h) { + private native void newTQCanvas(); + public TQCanvas(int w, int h) { super((Class) null); - newQCanvas(w,h); + newTQCanvas(w,h); } - private native void newQCanvas(int w, int h); - public QCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight) { + private native void newTQCanvas(int w, int h); + public TQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight) { super((Class) null); - newQCanvas(p,h,v,tilewidth,tileheight); + newTQCanvas(p,h,v,tilewidth,tileheight); } - private native void newQCanvas(QPixmap p, int h, int v, int tilewidth, int tileheight); - public native void setTiles(QPixmap tiles, int h, int v, int tilewidth, int tileheight); - public native void setBackgroundPixmap(QPixmap p); - public native QPixmap backgroundPixmap(); - public native void setBackgroundColor(QColor c); - public native QColor backgroundColor(); + 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(); @@ -50,12 +50,12 @@ public class QCanvas extends QObject { public native void resize(int width, int height); public native int width(); public native int height(); - public native QSize size(); - public native QRect rect(); + public native TQSize size(); + public native TQRect rect(); public native boolean onCanvas(int x, int y); - public native boolean onCanvas(QPoint p); + public native boolean onCanvas(TQPoint p); public native boolean validChunk(int x, int y); - public native boolean validChunk(QPoint p); + public native boolean validChunk(TQPoint p); public native int chunkSize(); public native void retune(int chunksize, int maxclusters); public native void retune(int chunksize); @@ -63,28 +63,28 @@ public class QCanvas extends QObject { public native void setChangedChunk(int i, int j); public native void setChangedChunkContaining(int x, int y); public native void setAllChanged(); - public native void setChanged(QRect area); - public native void setUnchanged(QRect area); - public native void addItemToChunk(QCanvasItem arg1, int i, int j); - public native void removeItemFromChunk(QCanvasItem arg1, int i, int j); - public native void addItemToChunkContaining(QCanvasItem arg1, int x, int y); - public native void removeItemFromChunkContaining(QCanvasItem arg1, int x, int y); + 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(QPoint arg1); - public native ArrayList collisions(QRect arg1); - public native ArrayList collisions(QPointArray pa, QCanvasItem item, boolean exact); - public native void drawArea(QRect arg1, QPainter p, boolean double_buffer); - public native void drawArea(QRect arg1, QPainter p); - public native void addView(QCanvasView arg1); - public native void removeView(QCanvasView arg1); - public native void drawCanvasArea(QRect arg1, QPainter p, boolean double_buffer); - public native void drawCanvasArea(QRect arg1, QPainter p); - public native void drawCanvasArea(QRect arg1); - public native void drawViewArea(QCanvasView view, QPainter p, QRect r, boolean dbuf); - public native void addItem(QCanvasItem arg1); - public native void addAnimation(QCanvasItem arg1); - public native void removeItem(QCanvasItem arg1); - public native void removeAnimation(QCanvasItem arg1); + 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); @@ -92,8 +92,8 @@ public class QCanvas extends QObject { public native void update(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void drawBackground(QPainter arg1, QRect area); - protected native void drawForeground(QPainter arg1, QRect area); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasEllipse.java b/qtjava/javalib/org/kde/qt/QCanvasEllipse.java index c73b2ba9..472e6877 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasEllipse.java +++ b/qtjava/javalib/org/kde/qt/QCanvasEllipse.java @@ -3,33 +3,33 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasEllipse extends QCanvasPolygonalItem { - protected QCanvasEllipse(Class dummy){super((Class) null);} - public QCanvasEllipse(QCanvas canvas) { +public class TQCanvasEllipse extends TQCanvasPolygonalItem { + protected TQCanvasEllipse(Class dummy){super((Class) null);} + public TQCanvasEllipse(TQCanvas canvas) { super((Class) null); - newQCanvasEllipse(canvas); + newTQCanvasEllipse(canvas); } - private native void newQCanvasEllipse(QCanvas canvas); - public QCanvasEllipse(int width, int height, QCanvas canvas) { + private native void newTQCanvasEllipse(TQCanvas canvas); + public TQCanvasEllipse(int width, int height, TQCanvas canvas) { super((Class) null); - newQCanvasEllipse(width,height,canvas); + newTQCanvasEllipse(width,height,canvas); } - private native void newQCanvasEllipse(int width, int height, QCanvas canvas); - public QCanvasEllipse(int width, int height, int startangle, int angle, QCanvas 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); - newQCanvasEllipse(width,height,startangle,angle,canvas); + newTQCanvasEllipse(width,height,startangle,angle,canvas); } - private native void newQCanvasEllipse(int width, int height, int startangle, int angle, QCanvas 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 QPointArray areaPoints(); - public native boolean collidesWith(QCanvasItem arg1); + public native TQPointArray areaPoints(); + public native boolean collidesWith(TQCanvasItem arg1); public native int rtti(); - protected native void drawShape(QPainter arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasItem.java b/qtjava/javalib/org/kde/qt/QCanvasItem.java index f5cecb6d..91cb3296 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasItem.java +++ b/qtjava/javalib/org/kde/qt/QCanvasItem.java @@ -4,8 +4,8 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QCanvasItem extends Qt { - protected QCanvasItem(Class dummy){super((Class) null);} +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; @@ -32,10 +32,10 @@ public class QCanvasItem extends Qt { public native double xVelocity(); public native double yVelocity(); public native void advance(int stage); - public native boolean collidesWith(QCanvasItem arg1); + public native boolean collidesWith(TQCanvasItem arg1); public native ArrayList collisions(boolean exact); - public native void setCanvas(QCanvas arg1); - public native void draw(QPainter arg1); + 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); @@ -51,7 +51,7 @@ public class QCanvasItem extends Qt { public native boolean enabled(); public native boolean active(); public native int rtti(); - public native QRect boundingRect(); - public native QRect boundingRectAdvanced(); - public native QCanvas canvas(); + 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 index f12de15e..1805e77f 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasLine.java +++ b/qtjava/javalib/org/kde/qt/QCanvasLine.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasLine extends QCanvasPolygonalItem { - protected QCanvasLine(Class dummy){super((Class) null);} - public QCanvasLine(QCanvas canvas) { +public class TQCanvasLine extends TQCanvasPolygonalItem { + protected TQCanvasLine(Class dummy){super((Class) null);} + public TQCanvasLine(TQCanvas canvas) { super((Class) null); - newQCanvasLine(canvas); + newTQCanvasLine(canvas); } - private native void newQCanvasLine(QCanvas canvas); + private native void newTQCanvasLine(TQCanvas canvas); public native void setPoints(int x1, int y1, int x2, int y2); - public native QPoint startPoint(); - public native QPoint endPoint(); + public native TQPoint startPoint(); + public native TQPoint endPoint(); public native int rtti(); - public native void setPen(QPen p); + public native void setPen(TQPen p); public native void moveBy(double dx, double dy); - protected native void drawShape(QPainter arg1); - public native QPointArray areaPoints(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasPixmap.java b/qtjava/javalib/org/kde/qt/QCanvasPixmap.java index a8a67274..25add0c4 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasPixmap.java +++ b/qtjava/javalib/org/kde/qt/QCanvasPixmap.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasPixmap extends QPixmap { - protected QCanvasPixmap(Class dummy){super((Class) null);} - public QCanvasPixmap(String datafilename) { +public class TQCanvasPixmap extends TQPixmap { + protected TQCanvasPixmap(Class dummy){super((Class) null);} + public TQCanvasPixmap(String datafilename) { super((Class) null); - newQCanvasPixmap(datafilename); + newTQCanvasPixmap(datafilename); } - private native void newQCanvasPixmap(String datafilename); - public QCanvasPixmap(QImage image) { + private native void newTQCanvasPixmap(String datafilename); + public TQCanvasPixmap(TQImage image) { super((Class) null); - newQCanvasPixmap(image); + newTQCanvasPixmap(image); } - private native void newQCanvasPixmap(QImage image); - public QCanvasPixmap(QPixmap arg1, QPoint hotspot) { + private native void newTQCanvasPixmap(TQImage image); + public TQCanvasPixmap(TQPixmap arg1, TQPoint hotspot) { super((Class) null); - newQCanvasPixmap(arg1,hotspot); + newTQCanvasPixmap(arg1,hotspot); } - private native void newQCanvasPixmap(QPixmap arg1, QPoint 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); diff --git a/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java b/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java index ea870001..113bd5a8 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java +++ b/qtjava/javalib/org/kde/qt/QCanvasPixmapArray.java @@ -3,33 +3,33 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasPixmapArray implements QtSupport { +public class TQCanvasPixmapArray implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QCanvasPixmapArray(Class dummy){} + protected TQCanvasPixmapArray(Class dummy){} - public QCanvasPixmapArray() { - newQCanvasPixmapArray(); + public TQCanvasPixmapArray() { + newTQCanvasPixmapArray(); } - private native void newQCanvasPixmapArray(); - public QCanvasPixmapArray(String datafilenamepattern, int framecount) { - newQCanvasPixmapArray(datafilenamepattern,framecount); + private native void newTQCanvasPixmapArray(); + public TQCanvasPixmapArray(String datafilenamepattern, int framecount) { + newTQCanvasPixmapArray(datafilenamepattern,framecount); } - private native void newQCanvasPixmapArray(String datafilenamepattern, int framecount); - public QCanvasPixmapArray(String datafilenamepattern) { - newQCanvasPixmapArray(datafilenamepattern); + private native void newTQCanvasPixmapArray(String datafilenamepattern, int framecount); + public TQCanvasPixmapArray(String datafilenamepattern) { + newTQCanvasPixmapArray(datafilenamepattern); } - private native void newQCanvasPixmapArray(String datafilenamepattern); - // QCanvasPixmapArray* QCanvasPixmapArray(QPtrList arg1,QPtrList arg2); >>>> NOT CONVERTED - // QCanvasPixmapArray* QCanvasPixmapArray(QValueList arg1,QPointArray arg2); >>>> NOT CONVERTED - // QCanvasPixmapArray* QCanvasPixmapArray(QValueList arg1); >>>> NOT CONVERTED + 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 QCanvasPixmap image(int i); - public native void setImage(int i, QCanvasPixmap p); + 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; diff --git a/qtjava/javalib/org/kde/qt/QCanvasPolygon.java b/qtjava/javalib/org/kde/qt/QCanvasPolygon.java index 2ad59fdd..3a09748f 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasPolygon.java +++ b/qtjava/javalib/org/kde/qt/QCanvasPolygon.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasPolygon extends QCanvasPolygonalItem { - protected QCanvasPolygon(Class dummy){super((Class) null);} - public QCanvasPolygon(QCanvas canvas) { +public class TQCanvasPolygon extends TQCanvasPolygonalItem { + protected TQCanvasPolygon(Class dummy){super((Class) null);} + public TQCanvasPolygon(TQCanvas canvas) { super((Class) null); - newQCanvasPolygon(canvas); + newTQCanvasPolygon(canvas); } - private native void newQCanvasPolygon(QCanvas canvas); - public native void setPoints(QPointArray arg1); - public native QPointArray points(); + 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 QPointArray areaPoints(); + public native TQPointArray areaPoints(); public native int rtti(); - protected native void drawShape(QPainter arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java b/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java index 66758ec6..47421c4d 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java +++ b/qtjava/javalib/org/kde/qt/QCanvasPolygonalItem.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasPolygonalItem extends QCanvasItem { - protected QCanvasPolygonalItem(Class dummy){super((Class) null);} - public native boolean collidesWith(QCanvasItem arg1); - public native void setPen(QPen p); - public native void setBrush(QBrush b); - public native QPen pen(); - public native QBrush brush(); - public native QPointArray areaPoints(); - public native QPointArray areaPointsAdvanced(); - public native QRect boundingRect(); +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 index d121a9d2..5fa5dbbe 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasRectangle.java +++ b/qtjava/javalib/org/kde/qt/QCanvasRectangle.java @@ -3,33 +3,33 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasRectangle extends QCanvasPolygonalItem { - protected QCanvasRectangle(Class dummy){super((Class) null);} - public QCanvasRectangle(QCanvas canvas) { +public class TQCanvasRectangle extends TQCanvasPolygonalItem { + protected TQCanvasRectangle(Class dummy){super((Class) null);} + public TQCanvasRectangle(TQCanvas canvas) { super((Class) null); - newQCanvasRectangle(canvas); + newTQCanvasRectangle(canvas); } - private native void newQCanvasRectangle(QCanvas canvas); - public QCanvasRectangle(QRect arg1, QCanvas canvas) { + private native void newTQCanvasRectangle(TQCanvas canvas); + public TQCanvasRectangle(TQRect arg1, TQCanvas canvas) { super((Class) null); - newQCanvasRectangle(arg1,canvas); + newTQCanvasRectangle(arg1,canvas); } - private native void newQCanvasRectangle(QRect arg1, QCanvas canvas); - public QCanvasRectangle(int x, int y, int width, int height, QCanvas canvas) { + private native void newTQCanvasRectangle(TQRect arg1, TQCanvas canvas); + public TQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas) { super((Class) null); - newQCanvasRectangle(x,y,width,height,canvas); + newTQCanvasRectangle(x,y,width,height,canvas); } - private native void newQCanvasRectangle(int x, int y, int width, int height, QCanvas 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 QSize size(); - public native QPointArray areaPoints(); - public native QRect rect(); - public native boolean collidesWith(QCanvasItem arg1); + 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(QPainter arg1); - protected native QPointArray chunks(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasSignals.java b/qtjava/javalib/org/kde/qt/QCanvasSignals.java index f4d074d4..bd33e65e 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasSignals.java +++ b/qtjava/javalib/org/kde/qt/QCanvasSignals.java @@ -3,6 +3,6 @@ package org.kde.qt; import java.util.ArrayList; -public interface QCanvasSignals { +public interface TQCanvasSignals { void resized(); } diff --git a/qtjava/javalib/org/kde/qt/QCanvasSpline.java b/qtjava/javalib/org/kde/qt/QCanvasSpline.java index 98fcf552..593c9de1 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasSpline.java +++ b/qtjava/javalib/org/kde/qt/QCanvasSpline.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasSpline extends QCanvasPolygon { - protected QCanvasSpline(Class dummy){super((Class) null);} - public QCanvasSpline(QCanvas canvas) { +public class TQCanvasSpline extends TQCanvasPolygon { + protected TQCanvasSpline(Class dummy){super((Class) null);} + public TQCanvasSpline(TQCanvas canvas) { super((Class) null); - newQCanvasSpline(canvas); + newTQCanvasSpline(canvas); } - private native void newQCanvasSpline(QCanvas canvas); - public native void setControlPoints(QPointArray arg1, boolean closed); - public native void setControlPoints(QPointArray arg1); - public native QPointArray controlPoints(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasSprite.java b/qtjava/javalib/org/kde/qt/QCanvasSprite.java index 81741467..b093ab45 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasSprite.java +++ b/qtjava/javalib/org/kde/qt/QCanvasSprite.java @@ -3,17 +3,17 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasSprite extends QCanvasItem { - protected QCanvasSprite(Class dummy){super((Class) null);} +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 QCanvasSprite(QCanvasPixmapArray array, QCanvas canvas) { + public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) { super((Class) null); - newQCanvasSprite(array,canvas); + newTQCanvasSprite(array,canvas); } - private native void newQCanvasSprite(QCanvasPixmapArray array, QCanvas canvas); - public native void setSequence(QCanvasPixmapArray seq); + 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); @@ -24,8 +24,8 @@ public class QCanvasSprite extends QCanvasItem { public native int frame(); public native int frameCount(); public native int rtti(); - public native boolean collidesWith(QCanvasItem arg1); - public native QRect boundingRect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native TQRect boundingRect(); public native int width(); public native int height(); public native int leftEdge(); @@ -36,11 +36,11 @@ public class QCanvasSprite extends QCanvasItem { public native int topEdge(int ny); public native int rightEdge(int nx); public native int bottomEdge(int ny); - public native QCanvasPixmap image(); - public native QCanvasPixmap imageAdvanced(); - public native QCanvasPixmap image(int f); + public native TQCanvasPixmap image(); + public native TQCanvasPixmap imageAdvanced(); + public native TQCanvasPixmap image(int f); public native void advance(int stage); - public native void draw(QPainter painter); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasText.java b/qtjava/javalib/org/kde/qt/QCanvasText.java index 03cf7ecd..c8866043 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasText.java +++ b/qtjava/javalib/org/kde/qt/QCanvasText.java @@ -3,36 +3,36 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasText extends QCanvasItem { - protected QCanvasText(Class dummy){super((Class) null);} - public QCanvasText(QCanvas canvas) { +public class TQCanvasText extends TQCanvasItem { + protected TQCanvasText(Class dummy){super((Class) null);} + public TQCanvasText(TQCanvas canvas) { super((Class) null); - newQCanvasText(canvas); + newTQCanvasText(canvas); } - private native void newQCanvasText(QCanvas canvas); - public QCanvasText(String arg1, QCanvas canvas) { + private native void newTQCanvasText(TQCanvas canvas); + public TQCanvasText(String arg1, TQCanvas canvas) { super((Class) null); - newQCanvasText(arg1,canvas); + newTQCanvasText(arg1,canvas); } - private native void newQCanvasText(String arg1, QCanvas canvas); - public QCanvasText(String arg1, QFont arg2, QCanvas canvas) { + private native void newTQCanvasText(String arg1, TQCanvas canvas); + public TQCanvasText(String arg1, TQFont arg2, TQCanvas canvas) { super((Class) null); - newQCanvasText(arg1,arg2,canvas); + newTQCanvasText(arg1,arg2,canvas); } - private native void newQCanvasText(String arg1, QFont arg2, QCanvas canvas); + private native void newTQCanvasText(String arg1, TQFont arg2, TQCanvas canvas); public native void setText(String arg1); - public native void setFont(QFont arg1); - public native void setColor(QColor arg1); + public native void setFont(TQFont arg1); + public native void setColor(TQColor arg1); public native String text(); - public native QFont font(); - public native QColor color(); + 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 QRect boundingRect(); - public native boolean collidesWith(QCanvasItem arg1); + public native TQRect boundingRect(); + public native boolean collidesWith(TQCanvasItem arg1); public native int rtti(); - public native void draw(QPainter arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCanvasView.java b/qtjava/javalib/org/kde/qt/QCanvasView.java index d4138e03..8aa46876 100644 --- a/qtjava/javalib/org/kde/qt/QCanvasView.java +++ b/qtjava/javalib/org/kde/qt/QCanvasView.java @@ -3,59 +3,59 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCanvasView extends QScrollView { - protected QCanvasView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQCanvasView extends TQScrollView { + protected TQCanvasView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QCanvasView(QWidget parent, String name, int f) { + public TQCanvasView(TQWidget parent, String name, int f) { super((Class) null); - newQCanvasView(parent,name,f); + newTQCanvasView(parent,name,f); } - private native void newQCanvasView(QWidget parent, String name, int f); - public QCanvasView(QWidget parent, String name) { + private native void newTQCanvasView(TQWidget parent, String name, int f); + public TQCanvasView(TQWidget parent, String name) { super((Class) null); - newQCanvasView(parent,name); + newTQCanvasView(parent,name); } - private native void newQCanvasView(QWidget parent, String name); - public QCanvasView(QWidget parent) { + private native void newTQCanvasView(TQWidget parent, String name); + public TQCanvasView(TQWidget parent) { super((Class) null); - newQCanvasView(parent); + newTQCanvasView(parent); } - private native void newQCanvasView(QWidget parent); - public QCanvasView() { + private native void newTQCanvasView(TQWidget parent); + public TQCanvasView() { super((Class) null); - newQCanvasView(); + newTQCanvasView(); } - private native void newQCanvasView(); - public QCanvasView(QCanvas viewing, QWidget parent, String name, int f) { + private native void newTQCanvasView(); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f) { super((Class) null); - newQCanvasView(viewing,parent,name,f); + newTQCanvasView(viewing,parent,name,f); } - private native void newQCanvasView(QCanvas viewing, QWidget parent, String name, int f); - public QCanvasView(QCanvas viewing, QWidget parent, String name) { + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name) { super((Class) null); - newQCanvasView(viewing,parent,name); + newTQCanvasView(viewing,parent,name); } - private native void newQCanvasView(QCanvas viewing, QWidget parent, String name); - public QCanvasView(QCanvas viewing, QWidget parent) { + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name); + public TQCanvasView(TQCanvas viewing, TQWidget parent) { super((Class) null); - newQCanvasView(viewing,parent); + newTQCanvasView(viewing,parent); } - private native void newQCanvasView(QCanvas viewing, QWidget parent); - public QCanvasView(QCanvas viewing) { + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent); + public TQCanvasView(TQCanvas viewing) { super((Class) null); - newQCanvasView(viewing); + newTQCanvasView(viewing); } - private native void newQCanvasView(QCanvas viewing); - public native QCanvas canvas(); - public native void setCanvas(QCanvas v); - public native QWMatrix worldMatrix(); - public native QWMatrix inverseWorldMatrix(); - public native boolean setWorldMatrix(QWMatrix arg1); + 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(QPainter arg1, int cx, int cy, int cw, int ch); - public native QSize sizeHint(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCheckBox.java b/qtjava/javalib/org/kde/qt/QCheckBox.java index d7359519..71a7ed18 100644 --- a/qtjava/javalib/org/kde/qt/QCheckBox.java +++ b/qtjava/javalib/org/kde/qt/QCheckBox.java @@ -3,44 +3,44 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCheckBox extends QButton { - protected QCheckBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQCheckBox extends TQButton { + protected TQCheckBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QCheckBox(QWidget parent, String name) { + public TQCheckBox(TQWidget parent, String name) { super((Class) null); - newQCheckBox(parent,name); + newTQCheckBox(parent,name); } - private native void newQCheckBox(QWidget parent, String name); - public QCheckBox(QWidget parent) { + private native void newTQCheckBox(TQWidget parent, String name); + public TQCheckBox(TQWidget parent) { super((Class) null); - newQCheckBox(parent); + newTQCheckBox(parent); } - private native void newQCheckBox(QWidget parent); - public QCheckBox(String text, QWidget parent, String name) { + private native void newTQCheckBox(TQWidget parent); + public TQCheckBox(String text, TQWidget parent, String name) { super((Class) null); - newQCheckBox(text,parent,name); + newTQCheckBox(text,parent,name); } - private native void newQCheckBox(String text, QWidget parent, String name); - public QCheckBox(String text, QWidget parent) { + private native void newTQCheckBox(String text, TQWidget parent, String name); + public TQCheckBox(String text, TQWidget parent) { super((Class) null); - newQCheckBox(text,parent); + newTQCheckBox(text,parent); } - private native void newQCheckBox(String text, QWidget 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 QSize sizeHint(); + 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(QResizeEvent arg1); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter 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(QPoint pos); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QCheckListItem.java b/qtjava/javalib/org/kde/qt/QCheckListItem.java index b0ab448a..292da40f 100644 --- a/qtjava/javalib/org/kde/qt/QCheckListItem.java +++ b/qtjava/javalib/org/kde/qt/QCheckListItem.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCheckListItem extends QListViewItem { - protected QCheckListItem(Class dummy){super((Class) null);} +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; @@ -15,79 +15,79 @@ public class QCheckListItem extends QListViewItem { public static final int NoChange = 1; public static final int On = 2; - public QCheckListItem(QCheckListItem parent, String text, int arg3) { + public TQCheckListItem(TQCheckListItem parent, String text, int arg3) { super((Class) null); - newQCheckListItem(parent,text,arg3); + newTQCheckListItem(parent,text,arg3); } - private native void newQCheckListItem(QCheckListItem parent, String text, int arg3); - public QCheckListItem(QCheckListItem parent, String text) { + private native void newTQCheckListItem(TQCheckListItem parent, String text, int arg3); + public TQCheckListItem(TQCheckListItem parent, String text) { super((Class) null); - newQCheckListItem(parent,text); + newTQCheckListItem(parent,text); } - private native void newQCheckListItem(QCheckListItem parent, String text); - public QCheckListItem(QCheckListItem parent, QListViewItem after, String text, int arg4) { + private native void newTQCheckListItem(TQCheckListItem parent, String text); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4) { super((Class) null); - newQCheckListItem(parent,after,text,arg4); + newTQCheckListItem(parent,after,text,arg4); } - private native void newQCheckListItem(QCheckListItem parent, QListViewItem after, String text, int arg4); - public QCheckListItem(QCheckListItem parent, QListViewItem after, String text) { + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text) { super((Class) null); - newQCheckListItem(parent,after,text); + newTQCheckListItem(parent,after,text); } - private native void newQCheckListItem(QCheckListItem parent, QListViewItem after, String text); - public QCheckListItem(QListViewItem parent, String text, int arg3) { + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, int arg3) { super((Class) null); - newQCheckListItem(parent,text,arg3); + newTQCheckListItem(parent,text,arg3); } - private native void newQCheckListItem(QListViewItem parent, String text, int arg3); - public QCheckListItem(QListViewItem parent, String text) { + private native void newTQCheckListItem(TQListViewItem parent, String text, int arg3); + public TQCheckListItem(TQListViewItem parent, String text) { super((Class) null); - newQCheckListItem(parent,text); + newTQCheckListItem(parent,text); } - private native void newQCheckListItem(QListViewItem parent, String text); - public QCheckListItem(QListViewItem parent, QListViewItem after, String text, int arg4) { + private native void newTQCheckListItem(TQListViewItem parent, String text); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4) { super((Class) null); - newQCheckListItem(parent,after,text,arg4); + newTQCheckListItem(parent,after,text,arg4); } - private native void newQCheckListItem(QListViewItem parent, QListViewItem after, String text, int arg4); - public QCheckListItem(QListViewItem parent, QListViewItem after, String text) { + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text) { super((Class) null); - newQCheckListItem(parent,after,text); + newTQCheckListItem(parent,after,text); } - private native void newQCheckListItem(QListViewItem parent, QListViewItem after, String text); - public QCheckListItem(QListView parent, String text, int arg3) { + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListView parent, String text, int arg3) { super((Class) null); - newQCheckListItem(parent,text,arg3); + newTQCheckListItem(parent,text,arg3); } - private native void newQCheckListItem(QListView parent, String text, int arg3); - public QCheckListItem(QListView parent, String text) { + private native void newTQCheckListItem(TQListView parent, String text, int arg3); + public TQCheckListItem(TQListView parent, String text) { super((Class) null); - newQCheckListItem(parent,text); + newTQCheckListItem(parent,text); } - private native void newQCheckListItem(QListView parent, String text); - public QCheckListItem(QListView parent, QListViewItem after, String text, int arg4) { + private native void newTQCheckListItem(TQListView parent, String text); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4) { super((Class) null); - newQCheckListItem(parent,after,text,arg4); + newTQCheckListItem(parent,after,text,arg4); } - private native void newQCheckListItem(QListView parent, QListViewItem after, String text, int arg4); - public QCheckListItem(QListView parent, QListViewItem after, String text) { + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text) { super((Class) null); - newQCheckListItem(parent,after,text); + newTQCheckListItem(parent,after,text); } - private native void newQCheckListItem(QListView parent, QListViewItem after, String text); - public QCheckListItem(QListViewItem parent, String text, QPixmap arg3) { + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3) { super((Class) null); - newQCheckListItem(parent,text,arg3); + newTQCheckListItem(parent,text,arg3); } - private native void newQCheckListItem(QListViewItem parent, String text, QPixmap arg3); - public QCheckListItem(QListView parent, String text, QPixmap arg3) { + private native void newTQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3); + public TQCheckListItem(TQListView parent, String text, TQPixmap arg3) { super((Class) null); - newQCheckListItem(parent,text,arg3); + newTQCheckListItem(parent,text,arg3); } - private native void newQCheckListItem(QListView parent, String text, QPixmap arg3); - public native void paintCell(QPainter arg1, QColorGroup cg, int column, int width, int alignment); - public native void paintFocus(QPainter arg1, QColorGroup cg, QRect r); - public native int width(QFontMetrics arg1, QListView arg2, int column); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QCheckTableItem.java b/qtjava/javalib/org/kde/qt/QCheckTableItem.java index 541cdc98..098dbb0b 100644 --- a/qtjava/javalib/org/kde/qt/QCheckTableItem.java +++ b/qtjava/javalib/org/kde/qt/QCheckTableItem.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCheckTableItem extends QTableItem { - protected QCheckTableItem(Class dummy){super((Class) null);} - public QCheckTableItem(QTable table, String txt) { +public class TQCheckTableItem extends TQTableItem { + protected TQCheckTableItem(Class dummy){super((Class) null);} + public TQCheckTableItem(TQTable table, String txt) { super((Class) null); - newQCheckTableItem(table,txt); + newTQCheckTableItem(table,txt); } - private native void newQCheckTableItem(QTable table, String txt); + private native void newTQCheckTableItem(TQTable table, String txt); public native void setText(String t); - public native QWidget createEditor(); - public native void setContentFromEditor(QWidget w); - public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected); + 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 QSize sizeHint(); + public native TQSize sizeHint(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QChildEvent.java b/qtjava/javalib/org/kde/qt/QChildEvent.java index 3b16d74e..c143594a 100644 --- a/qtjava/javalib/org/kde/qt/QChildEvent.java +++ b/qtjava/javalib/org/kde/qt/QChildEvent.java @@ -3,14 +3,14 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QChildEvent extends QEvent { - protected QChildEvent(Class dummy){super((Class) null);} - public QChildEvent(int type, QObject child) { +public class TQChildEvent extends TQEvent { + protected TQChildEvent(Class dummy){super((Class) null);} + public TQChildEvent(int type, TQObject child) { super((Class) null); - newQChildEvent(type,child); + newTQChildEvent(type,child); } - private native void newQChildEvent(int type, QObject child); - public native QObject 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 */ diff --git a/qtjava/javalib/org/kde/qt/QClassInfo.java b/qtjava/javalib/org/kde/qt/QClassInfo.java index 147f5e09..59e32689 100644 --- a/qtjava/javalib/org/kde/qt/QClassInfo.java +++ b/qtjava/javalib/org/kde/qt/QClassInfo.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QClassInfo implements QtSupport { +public class TQClassInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QClassInfo(Class dummy){} + protected TQClassInfo(Class dummy){} - public QClassInfo() { - newQClassInfo(); + public TQClassInfo() { + newTQClassInfo(); } - private native void newQClassInfo(); + private native void newTQClassInfo(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QClipboard.java b/qtjava/javalib/org/kde/qt/QClipboard.java index 4ef8d32c..80f05a12 100644 --- a/qtjava/javalib/org/kde/qt/QClipboard.java +++ b/qtjava/javalib/org/kde/qt/QClipboard.java @@ -3,12 +3,12 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QClipboard extends QObject { - protected QClipboard(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native void clear(int mode); public native void clear(); @@ -20,21 +20,21 @@ public class QClipboard extends QObject { public native String text(int mode); public native String text(StringBuffer subtype, int mode); public native void setText(String arg1, int mode); - public native QMimeSourceInterface data(int mode); - public native void setData(QMimeSourceInterface arg1, int mode); - public native QImage image(int mode); - public native QPixmap pixmap(int mode); - public native void setImage(QImage arg1, int mode); - public native void setPixmap(QPixmap 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 QMimeSourceInterface data(); - public native void setData(QMimeSourceInterface arg1); - public native QImage image(); - public native QPixmap pixmap(); - public native void setImage(QImage arg1); - public native void setPixmap(QPixmap 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 index 1b437326..84c4abf1 100644 --- a/qtjava/javalib/org/kde/qt/QCloseEvent.java +++ b/qtjava/javalib/org/kde/qt/QCloseEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCloseEvent extends QEvent { - protected QCloseEvent(Class dummy){super((Class) null);} - public QCloseEvent() { +public class TQCloseEvent extends TQEvent { + protected TQCloseEvent(Class dummy){super((Class) null);} + public TQCloseEvent() { super((Class) null); - newQCloseEvent(); + newTQCloseEvent(); } - private native void newQCloseEvent(); + private native void newTQCloseEvent(); public native boolean isAccepted(); public native void accept(); public native void ignore(); diff --git a/qtjava/javalib/org/kde/qt/QColor.java b/qtjava/javalib/org/kde/qt/QColor.java index 31db66bf..bc91c67a 100644 --- a/qtjava/javalib/org/kde/qt/QColor.java +++ b/qtjava/javalib/org/kde/qt/QColor.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QColor implements QtSupport { +public class TQColor implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QColor(Class dummy){} + protected TQColor(Class dummy){} public static final int Dirt = 0x44495254; public static final int Invalid = 0x49000000; @@ -15,34 +15,34 @@ public class QColor implements QtSupport { public static final int Rgb = 0; public static final int Hsv = 1; - public QColor() { - newQColor(); + public TQColor() { + newTQColor(); } - private native void newQColor(); - public QColor(int r, int g, int b) { - newQColor(r,g,b); + private native void newTQColor(); + public TQColor(int r, int g, int b) { + newTQColor(r,g,b); } - private native void newQColor(int r, int g, int b); - public QColor(int x, int y, int z, int arg4) { - newQColor(x,y,z,arg4); + 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 newQColor(int x, int y, int z, int arg4); - public QColor(int rgb, int pixel) { - newQColor(rgb,pixel); + private native void newTQColor(int x, int y, int z, int arg4); + public TQColor(int rgb, int pixel) { + newTQColor(rgb,pixel); } - private native void newQColor(int rgb, int pixel); - public QColor(int rgb) { - newQColor(rgb); + private native void newTQColor(int rgb, int pixel); + public TQColor(int rgb) { + newTQColor(rgb); } - private native void newQColor(int rgb); - public QColor(String name) { - newQColor(name); + private native void newTQColor(int rgb); + public TQColor(String name) { + newTQColor(name); } - private native void newQColor(String name); - public QColor(QColor arg1) { - newQColor(arg1); + private native void newTQColor(String name); + public TQColor(TQColor arg1) { + newTQColor(arg1); } - private native void newQColor(QColor arg1); + private native void newTQColor(TQColor arg1); public native boolean isValid(); public native boolean isDirty(); public native String name(); @@ -58,12 +58,12 @@ public class QColor implements QtSupport { 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 QColor light(int f); - public native QColor light(); - public native QColor dark(int f); - public native QColor dark(); - public native boolean op_equals(QColor c); - public native boolean op_not_equals(QColor c); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QColorDialog.java b/qtjava/javalib/org/kde/qt/QColorDialog.java index a4477e1a..e18d4ac9 100644 --- a/qtjava/javalib/org/kde/qt/QColorDialog.java +++ b/qtjava/javalib/org/kde/qt/QColorDialog.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QColorDialog extends QDialog { - protected QColorDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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 QColor getColor(QColor init, QWidget parent, String name); - public static native QColor getColor(QColor init, QWidget parent); - public static native QColor getColor(QColor init); - public static native QColor getColor(); - public static native int getRgba(int arg1, boolean[] ok, QWidget parent, String name); - public static native int getRgba(int arg1, boolean[] ok, QWidget parent); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QColorDrag.java b/qtjava/javalib/org/kde/qt/QColorDrag.java index 2c41932f..2e59be2b 100644 --- a/qtjava/javalib/org/kde/qt/QColorDrag.java +++ b/qtjava/javalib/org/kde/qt/QColorDrag.java @@ -3,45 +3,45 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QColorDrag extends QStoredDrag { - protected QColorDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQColorDrag extends TQStoredDrag { + protected TQColorDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QColorDrag(QColor col, QWidget dragsource, String name) { + public TQColorDrag(TQColor col, TQWidget dragsource, String name) { super((Class) null); - newQColorDrag(col,dragsource,name); + newTQColorDrag(col,dragsource,name); } - private native void newQColorDrag(QColor col, QWidget dragsource, String name); - public QColorDrag(QColor col, QWidget dragsource) { + private native void newTQColorDrag(TQColor col, TQWidget dragsource, String name); + public TQColorDrag(TQColor col, TQWidget dragsource) { super((Class) null); - newQColorDrag(col,dragsource); + newTQColorDrag(col,dragsource); } - private native void newQColorDrag(QColor col, QWidget dragsource); - public QColorDrag(QColor col) { + private native void newTQColorDrag(TQColor col, TQWidget dragsource); + public TQColorDrag(TQColor col) { super((Class) null); - newQColorDrag(col); + newTQColorDrag(col); } - private native void newQColorDrag(QColor col); - public QColorDrag(QWidget dragSource, String name) { + private native void newTQColorDrag(TQColor col); + public TQColorDrag(TQWidget dragSource, String name) { super((Class) null); - newQColorDrag(dragSource,name); + newTQColorDrag(dragSource,name); } - private native void newQColorDrag(QWidget dragSource, String name); - public QColorDrag(QWidget dragSource) { + private native void newTQColorDrag(TQWidget dragSource, String name); + public TQColorDrag(TQWidget dragSource) { super((Class) null); - newQColorDrag(dragSource); + newTQColorDrag(dragSource); } - private native void newQColorDrag(QWidget dragSource); - public QColorDrag() { + private native void newTQColorDrag(TQWidget dragSource); + public TQColorDrag() { super((Class) null); - newQColorDrag(); + newTQColorDrag(); } - private native void newQColorDrag(); - public native void setColor(QColor col); + 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(QMimeSourceInterface arg1); - public static native boolean decode(QMimeSourceInterface arg1, QColor col); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QColorGroup.java b/qtjava/javalib/org/kde/qt/QColorGroup.java index a59ef735..47257fc6 100644 --- a/qtjava/javalib/org/kde/qt/QColorGroup.java +++ b/qtjava/javalib/org/kde/qt/QColorGroup.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QColorGroup implements QtSupport { +public class TQColorGroup implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QColorGroup(Class dummy){} + protected TQColorGroup(Class dummy){} public static final int Foreground = 0; public static final int Button = 1; @@ -26,44 +26,44 @@ public class QColorGroup implements QtSupport { public static final int LinkVisited = 15; public static final int NColorRoles = 16; - public QColorGroup() { - newQColorGroup(); + public TQColorGroup() { + newTQColorGroup(); } - private native void newQColorGroup(); - public QColorGroup(QColor foreground, QColor button, QColor light, QColor dark, QColor mid, QColor text, QColor base) { - newQColorGroup(foreground,button,light,dark,mid,text,base); + 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 newQColorGroup(QColor foreground, QColor button, QColor light, QColor dark, QColor mid, QColor text, QColor base); - public QColorGroup(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background) { - newQColorGroup(foreground,button,light,dark,mid,text,bright_text,base,background); + 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 newQColorGroup(QBrush foreground, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush background); - public QColorGroup(QColorGroup arg1) { - newQColorGroup(arg1); + 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 newQColorGroup(QColorGroup arg1); - public native QColor color(int arg1); - public native QBrush brush(int arg1); - public native void setColor(int arg1, QColor arg2); - public native void setBrush(int arg1, QBrush arg2); - public native QColor foreground(); - public native QColor button(); - public native QColor light(); - public native QColor dark(); - public native QColor mid(); - public native QColor text(); - public native QColor base(); - public native QColor background(); - public native QColor midlight(); - public native QColor brightText(); - public native QColor buttonText(); - public native QColor shadow(); - public native QColor highlight(); - public native QColor highlightedText(); - public native QColor link(); - public native QColor linkVisited(); - public native boolean op_equals(QColorGroup g); - public native boolean op_not_equals(QColorGroup g); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QComboBox.java b/qtjava/javalib/org/kde/qt/QComboBox.java index 92f0eeb4..8055993d 100644 --- a/qtjava/javalib/org/kde/qt/QComboBox.java +++ b/qtjava/javalib/org/kde/qt/QComboBox.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QComboBoxSignals} for signals emitted by QComboBox + See {@link TQComboBoxSignals} for signals emitted by TQComboBox */ -public class QComboBox extends QWidget { - protected QComboBox(Class dummy){super((Class) null);} +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; @@ -15,38 +15,38 @@ public class QComboBox extends QWidget { public static final int AfterCurrent = 4; public static final int BeforeCurrent = 5; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QComboBox(QWidget parent, String name) { + public TQComboBox(TQWidget parent, String name) { super((Class) null); - newQComboBox(parent,name); + newTQComboBox(parent,name); } - private native void newQComboBox(QWidget parent, String name); - public QComboBox(QWidget parent) { + private native void newTQComboBox(TQWidget parent, String name); + public TQComboBox(TQWidget parent) { super((Class) null); - newQComboBox(parent); + newTQComboBox(parent); } - private native void newQComboBox(QWidget parent); - public QComboBox() { + private native void newTQComboBox(TQWidget parent); + public TQComboBox() { super((Class) null); - newQComboBox(); + newTQComboBox(); } - private native void newQComboBox(); - public QComboBox(boolean rw, QWidget parent, String name) { + private native void newTQComboBox(); + public TQComboBox(boolean rw, TQWidget parent, String name) { super((Class) null); - newQComboBox(rw,parent,name); + newTQComboBox(rw,parent,name); } - private native void newQComboBox(boolean rw, QWidget parent, String name); - public QComboBox(boolean rw, QWidget parent) { + private native void newTQComboBox(boolean rw, TQWidget parent, String name); + public TQComboBox(boolean rw, TQWidget parent) { super((Class) null); - newQComboBox(rw,parent); + newTQComboBox(rw,parent); } - private native void newQComboBox(boolean rw, QWidget parent); - public QComboBox(boolean rw) { + private native void newTQComboBox(boolean rw, TQWidget parent); + public TQComboBox(boolean rw) { super((Class) null); - newQComboBox(rw); + newTQComboBox(rw); } - private native void newQComboBox(boolean 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); @@ -55,25 +55,25 @@ public class QComboBox extends QWidget { 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(QPixmap pixmap, int index); - public native void insertItem(QPixmap pixmap); - public native void insertItem(QPixmap pixmap, String text, int index); - public native void insertItem(QPixmap pixmap, 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 QPixmap pixmap(int index); + public native TQPixmap pixmap(int index); public native void changeItem(String text, int index); - public native void changeItem(QPixmap pixmap, int index); - public native void changeItem(QPixmap pixmap, 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 QSize sizeHint(); - public native void setPalette(QPalette arg1); - public native void setFont(QFont 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(); @@ -81,15 +81,15 @@ public class QComboBox extends QWidget { public native int maxCount(); public native void setInsertionPolicy(int policy); public native int insertionPolicy(); - public native void setValidator(QValidator arg1); - public native QValidator validator(); - public native void setListBox(QListBox arg1); - public native QListBox listBox(); - public native void setLineEdit(QLineEdit edit); - public native QLineEdit lineEdit(); + 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(QObject object, QEvent event); + public native boolean eventFilter(TQObject object, TQEvent event); public native void setDuplicatesEnabled(boolean enable); public native boolean duplicatesEnabled(); public native boolean editable(); @@ -102,17 +102,17 @@ public class QComboBox extends QWidget { 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(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void wheelEvent(QWheelEvent e); - public native void styleChange(QStyle 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; diff --git a/qtjava/javalib/org/kde/qt/QComboBoxSignals.java b/qtjava/javalib/org/kde/qt/QComboBoxSignals.java index b43c06b6..d0e8663f 100644 --- a/qtjava/javalib/org/kde/qt/QComboBoxSignals.java +++ b/qtjava/javalib/org/kde/qt/QComboBoxSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QComboBoxSignals { +public interface TQComboBoxSignals { void activated(int index); void highlighted(int index); void activated(String arg1); diff --git a/qtjava/javalib/org/kde/qt/QComboTableItem.java b/qtjava/javalib/org/kde/qt/QComboTableItem.java index 87896fbd..393d4323 100644 --- a/qtjava/javalib/org/kde/qt/QComboTableItem.java +++ b/qtjava/javalib/org/kde/qt/QComboTableItem.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QComboTableItem extends QTableItem { - protected QComboTableItem(Class dummy){super((Class) null);} - public QComboTableItem(QTable table, String[] list, boolean editable) { +public class TQComboTableItem extends TQTableItem { + protected TQComboTableItem(Class dummy){super((Class) null);} + public TQComboTableItem(TQTable table, String[] list, boolean editable) { super((Class) null); - newQComboTableItem(table,list,editable); + newTQComboTableItem(table,list,editable); } - private native void newQComboTableItem(QTable table, String[] list, boolean editable); - public QComboTableItem(QTable table, String[] list) { + private native void newTQComboTableItem(TQTable table, String[] list, boolean editable); + public TQComboTableItem(TQTable table, String[] list) { super((Class) null); - newQComboTableItem(table,list); + newTQComboTableItem(table,list); } - private native void newQComboTableItem(QTable table, String[] list); - public native QWidget createEditor(); - public native void setContentFromEditor(QWidget w); - public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected); + 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(); @@ -28,7 +28,7 @@ public class QComboTableItem extends QTableItem { public native boolean isEditable(); public native void setStringList(String[] l); public native int rtti(); - public native QSize sizeHint(); + public native TQSize sizeHint(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QContextMenuEvent.java b/qtjava/javalib/org/kde/qt/QContextMenuEvent.java index 88a5eed6..27dbce0f 100644 --- a/qtjava/javalib/org/kde/qt/QContextMenuEvent.java +++ b/qtjava/javalib/org/kde/qt/QContextMenuEvent.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QContextMenuEvent extends QEvent { - protected QContextMenuEvent(Class dummy){super((Class) null);} +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 QContextMenuEvent(int reason, QPoint pos, QPoint globalPos, int state) { + public TQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state) { super((Class) null); - newQContextMenuEvent(reason,pos,globalPos,state); + newTQContextMenuEvent(reason,pos,globalPos,state); } - private native void newQContextMenuEvent(int reason, QPoint pos, QPoint globalPos, int state); - public QContextMenuEvent(int reason, QPoint pos, int state) { + private native void newTQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state); + public TQContextMenuEvent(int reason, TQPoint pos, int state) { super((Class) null); - newQContextMenuEvent(reason,pos,state); + newTQContextMenuEvent(reason,pos,state); } - private native void newQContextMenuEvent(int reason, QPoint pos, int 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 QPoint pos(); - public native QPoint globalPos(); + public native TQPoint pos(); + public native TQPoint globalPos(); public native int state(); public native boolean isAccepted(); public native boolean isConsumed(); diff --git a/qtjava/javalib/org/kde/qt/QCursor.java b/qtjava/javalib/org/kde/qt/QCursor.java index ef789934..02575205 100644 --- a/qtjava/javalib/org/kde/qt/QCursor.java +++ b/qtjava/javalib/org/kde/qt/QCursor.java @@ -3,61 +3,61 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCursor extends Qt { - protected QCursor(Class dummy){super((Class) null);} - public QCursor() { +public class TQCursor extends Qt { + protected TQCursor(Class dummy){super((Class) null);} + public TQCursor() { super((Class) null); - newQCursor(); + newTQCursor(); } - private native void newQCursor(); - public QCursor(int shape) { + private native void newTQCursor(); + public TQCursor(int shape) { super((Class) null); - newQCursor(shape); + newTQCursor(shape); } - private native void newQCursor(int shape); - public QCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY) { + private native void newTQCursor(int shape); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY) { super((Class) null); - newQCursor(bitmap,mask,hotX,hotY); + newTQCursor(bitmap,mask,hotX,hotY); } - private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX, int hotY); - public QCursor(QBitmap bitmap, QBitmap mask, int hotX) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX) { super((Class) null); - newQCursor(bitmap,mask,hotX); + newTQCursor(bitmap,mask,hotX); } - private native void newQCursor(QBitmap bitmap, QBitmap mask, int hotX); - public QCursor(QBitmap bitmap, QBitmap mask) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX); + public TQCursor(TQBitmap bitmap, TQBitmap mask) { super((Class) null); - newQCursor(bitmap,mask); + newTQCursor(bitmap,mask); } - private native void newQCursor(QBitmap bitmap, QBitmap mask); - public QCursor(QPixmap pixmap, int hotX, int hotY) { + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask); + public TQCursor(TQPixmap pixmap, int hotX, int hotY) { super((Class) null); - newQCursor(pixmap,hotX,hotY); + newTQCursor(pixmap,hotX,hotY); } - private native void newQCursor(QPixmap pixmap, int hotX, int hotY); - public QCursor(QPixmap pixmap, int hotX) { + private native void newTQCursor(TQPixmap pixmap, int hotX, int hotY); + public TQCursor(TQPixmap pixmap, int hotX) { super((Class) null); - newQCursor(pixmap,hotX); + newTQCursor(pixmap,hotX); } - private native void newQCursor(QPixmap pixmap, int hotX); - public QCursor(QPixmap pixmap) { + private native void newTQCursor(TQPixmap pixmap, int hotX); + public TQCursor(TQPixmap pixmap) { super((Class) null); - newQCursor(pixmap); + newTQCursor(pixmap); } - private native void newQCursor(QPixmap pixmap); - public QCursor(QCursor arg1) { + private native void newTQCursor(TQPixmap pixmap); + public TQCursor(TQCursor arg1) { super((Class) null); - newQCursor(arg1); + newTQCursor(arg1); } - private native void newQCursor(QCursor arg1); + private native void newTQCursor(TQCursor arg1); public native int shape(); public native void setShape(int arg1); - public native QBitmap bitmap(); - public native QBitmap mask(); - public native QPoint hotSpot(); - public static native QPoint pos(); + 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(QPoint arg1); + public static native void setPos(TQPoint arg1); public static native void initialize(); public static native void cleanup(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QCustomEvent.java b/qtjava/javalib/org/kde/qt/QCustomEvent.java index de31cc90..76e8a743 100644 --- a/qtjava/javalib/org/kde/qt/QCustomEvent.java +++ b/qtjava/javalib/org/kde/qt/QCustomEvent.java @@ -3,14 +3,14 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCustomEvent extends QEvent { - protected QCustomEvent(Class dummy){super((Class) null);} - public QCustomEvent(int type) { +public class TQCustomEvent extends TQEvent { + protected TQCustomEvent(Class dummy){super((Class) null);} + public TQCustomEvent(int type) { super((Class) null); - newQCustomEvent(type); + newTQCustomEvent(type); } - private native void newQCustomEvent(int type); - // QCustomEvent* QCustomEvent(QEvent::Type arg1,void* arg2); >>>> NOT CONVERTED + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QCustomMenuItem.java b/qtjava/javalib/org/kde/qt/QCustomMenuItem.java index 3c16b21f..4a792f1b 100644 --- a/qtjava/javalib/org/kde/qt/QCustomMenuItem.java +++ b/qtjava/javalib/org/kde/qt/QCustomMenuItem.java @@ -3,11 +3,11 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QCustomMenuItem extends Qt { - protected QCustomMenuItem(Class dummy){super((Class) null);} +public class TQCustomMenuItem extends Qt { + protected TQCustomMenuItem(Class dummy){super((Class) null);} public native boolean fullSpan(); public native boolean isSeparator(); - public native void setFont(QFont font); - public native void paint(QPainter p, QColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h); - public native QSize sizeHint(); + 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 index d668a6f3..2aac2525 100644 --- a/qtjava/javalib/org/kde/qt/QDataBrowser.java +++ b/qtjava/javalib/org/kde/qt/QDataBrowser.java @@ -5,10 +5,10 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QDataBrowserSignals} for signals emitted by QDataBrowser + See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser */ -public class QDataBrowser extends QWidget { - protected QDataBrowser(Class dummy){super((Class) null);} +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; @@ -16,41 +16,41 @@ public class QDataBrowser extends QWidget { public static final int End = 4; public static final int AfterEnd = 5; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDataBrowser(QWidget parent, String name, int fl) { + public TQDataBrowser(TQWidget parent, String name, int fl) { super((Class) null); - newQDataBrowser(parent,name,fl); + newTQDataBrowser(parent,name,fl); } - private native void newQDataBrowser(QWidget parent, String name, int fl); - public QDataBrowser(QWidget parent, String name) { + private native void newTQDataBrowser(TQWidget parent, String name, int fl); + public TQDataBrowser(TQWidget parent, String name) { super((Class) null); - newQDataBrowser(parent,name); + newTQDataBrowser(parent,name); } - private native void newQDataBrowser(QWidget parent, String name); - public QDataBrowser(QWidget parent) { + private native void newTQDataBrowser(TQWidget parent, String name); + public TQDataBrowser(TQWidget parent) { super((Class) null); - newQDataBrowser(parent); + newTQDataBrowser(parent); } - private native void newQDataBrowser(QWidget parent); - public QDataBrowser() { + private native void newTQDataBrowser(TQWidget parent); + public TQDataBrowser() { super((Class) null); - newQDataBrowser(); + newTQDataBrowser(); } - private native void newQDataBrowser(); + private native void newTQDataBrowser(); public native int boundary(); public native void setBoundaryChecking(boolean active); public native boolean boundaryChecking(); - public native void setSort(QSqlIndex sort); + 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(QSqlCursor cursor, boolean autoDelete); - public native void setSqlCursor(QSqlCursor cursor); - public native QSqlCursor sqlCursor(); - public native void setForm(QSqlForm form); - public native QSqlForm form(); + 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); @@ -87,7 +87,7 @@ public class QDataBrowser extends QWidget { protected native boolean currentEdited(); protected native int confirmEdit(int m); protected native int confirmCancel(int m); - protected native void handleError(QSqlError error); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java b/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java index 1835c0ae..b22b6263 100644 --- a/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java +++ b/qtjava/javalib/org/kde/qt/QDataBrowserSignals.java @@ -3,17 +3,17 @@ package org.kde.qt; import java.util.ArrayList; -public interface QDataBrowserSignals { +public interface TQDataBrowserSignals { void firstRecordAvailable(boolean available); void lastRecordAvailable(boolean available); void nextRecordAvailable(boolean available); void prevRecordAvailable(boolean available); - void currentChanged(QSqlRecord record); - void primeInsert(QSqlRecord buf); - void primeUpdate(QSqlRecord buf); - void primeDelete(QSqlRecord buf); - void beforeInsert(QSqlRecord buf); - void beforeUpdate(QSqlRecord buf); - void beforeDelete(QSqlRecord buf); + 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 index 11af9ee4..533a71b3 100644 --- a/qtjava/javalib/org/kde/qt/QDataPump.java +++ b/qtjava/javalib/org/kde/qt/QDataPump.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataPump extends QObject { - protected QDataPump(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDataPump extends TQObject { + protected TQDataPump(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDataPump(QDataSource arg1, QDataSink arg2) { + public TQDataPump(TQDataSource arg1, TQDataSink arg2) { super((Class) null); - newQDataPump(arg1,arg2); + newTQDataPump(arg1,arg2); } - private native void newQDataPump(QDataSource arg1, QDataSink 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 */ diff --git a/qtjava/javalib/org/kde/qt/QDataSink.java b/qtjava/javalib/org/kde/qt/QDataSink.java index 4a823ed5..b98297b2 100644 --- a/qtjava/javalib/org/kde/qt/QDataSink.java +++ b/qtjava/javalib/org/kde/qt/QDataSink.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataSink extends QAsyncIO { - protected QDataSink(Class dummy){super((Class) null);} +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(); diff --git a/qtjava/javalib/org/kde/qt/QDataSource.java b/qtjava/javalib/org/kde/qt/QDataSource.java index cbb25d3e..02c74933 100644 --- a/qtjava/javalib/org/kde/qt/QDataSource.java +++ b/qtjava/javalib/org/kde/qt/QDataSource.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataSource extends QAsyncIO { - protected QDataSource(Class dummy){super((Class) null);} +public class TQDataSource extends TQAsyncIO { + protected TQDataSource(Class dummy){super((Class) null);} public native int readyToSend(); - public native void sendTo(QDataSink arg1, int count); + public native void sendTo(TQDataSink arg1, int count); public native void maybeReady(); public native boolean rewindable(); public native void enableRewind(boolean arg1); diff --git a/qtjava/javalib/org/kde/qt/QDataStream.java b/qtjava/javalib/org/kde/qt/QDataStream.java index af0f1b43..e171c3e9 100644 --- a/qtjava/javalib/org/kde/qt/QDataStream.java +++ b/qtjava/javalib/org/kde/qt/QDataStream.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataStream implements QtSupport { +public class TQDataStream implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDataStream(Class dummy){} + protected TQDataStream(Class dummy){} public static final int BigEndian = 0; public static final int LittleEndian = 1; - public QDataStream() { - newQDataStream(); + public TQDataStream() { + newTQDataStream(); } - private native void newQDataStream(); - public QDataStream(QIODeviceInterface arg1) { - newQDataStream(arg1); + private native void newTQDataStream(); + public TQDataStream(TQIODeviceInterface arg1) { + newTQDataStream(arg1); } - private native void newQDataStream(QIODeviceInterface arg1); - public QDataStream(byte[] arg1, int mode) { - newQDataStream(arg1,mode); + private native void newTQDataStream(TQIODeviceInterface arg1); + public TQDataStream(byte[] arg1, int mode) { + newTQDataStream(arg1,mode); } - private native void newQDataStream(byte[] arg1, int mode); - public native QIODeviceInterface device(); - public native void setDevice(QIODeviceInterface arg1); + 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(); @@ -34,26 +34,26 @@ public class QDataStream implements QtSupport { public native void setPrintableData(boolean arg1); public native int version(); public native void setVersion(int arg1); - public native QDataStream op_read(char i); - public native QDataStream op_read(short i); - public native QDataStream op_read(int i); - // QDataStream& op_read(Q_INT64& arg1); >>>> NOT CONVERTED - // QDataStream& op_read(Q_UINT64& arg1); >>>> NOT CONVERTED - public native QDataStream op_read(long i); - public native QDataStream op_read(float f); - public native QDataStream op_read(double f); - public native QDataStream op_read(String str); - public native QDataStream op_write(char i); - public native QDataStream op_write(short i); - public native QDataStream op_write(int i); - public native QDataStream op_write(long i); - public native QDataStream op_write(float f); - public native QDataStream op_write(double f); - public native QDataStream op_write(String str); - public native QDataStream readBytes(String arg1, int len); - public native QDataStream readRawBytes(String arg1, int len); - public native QDataStream writeBytes(String arg1, int len); - public native QDataStream writeRawBytes(String arg1, int len); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDataTable.java b/qtjava/javalib/org/kde/qt/QDataTable.java index a847ed39..70e90726 100644 --- a/qtjava/javalib/org/kde/qt/QDataTable.java +++ b/qtjava/javalib/org/kde/qt/QDataTable.java @@ -5,57 +5,57 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QDataTableSignals} for signals emitted by QDataTable + See {@link TQDataTableSignals} for signals emitted by TQDataTable */ -public class QDataTable extends QTable { - protected QDataTable(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDataTable(QWidget parent, String name) { + public TQDataTable(TQWidget parent, String name) { super((Class) null); - newQDataTable(parent,name); + newTQDataTable(parent,name); } - private native void newQDataTable(QWidget parent, String name); - public QDataTable(QWidget parent) { + private native void newTQDataTable(TQWidget parent, String name); + public TQDataTable(TQWidget parent) { super((Class) null); - newQDataTable(parent); + newTQDataTable(parent); } - private native void newQDataTable(QWidget parent); - public QDataTable() { + private native void newTQDataTable(TQWidget parent); + public TQDataTable() { super((Class) null); - newQDataTable(); + newTQDataTable(); } - private native void newQDataTable(); - public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name) { + private native void newTQDataTable(); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name) { super((Class) null); - newQDataTable(cursor,autoPopulate,parent,name); + newTQDataTable(cursor,autoPopulate,parent,name); } - private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent, String name); - public QDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent) { + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent) { super((Class) null); - newQDataTable(cursor,autoPopulate,parent); + newTQDataTable(cursor,autoPopulate,parent); } - private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate, QWidget parent); - public QDataTable(QSqlCursor cursor, boolean autoPopulate) { + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate) { super((Class) null); - newQDataTable(cursor,autoPopulate); + newTQDataTable(cursor,autoPopulate); } - private native void newQDataTable(QSqlCursor cursor, boolean autoPopulate); - public QDataTable(QSqlCursor cursor) { + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate); + public TQDataTable(TQSqlCursor cursor) { super((Class) null); - newQDataTable(cursor); + newTQDataTable(cursor); } - private native void newQDataTable(QSqlCursor cursor); - public native void addColumn(String fieldName, String label, int width, QIconSet iconset); + 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, QIconSet iconset); + 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); @@ -72,11 +72,11 @@ public class QDataTable extends QTable { public native boolean autoEdit(); public native String filter(); public native ArrayList sort(); - public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate, boolean autoDelete); - public native void setSqlCursor(QSqlCursor cursor, boolean autoPopulate); - public native void setSqlCursor(QSqlCursor cursor); + 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 QSqlCursor sqlCursor(); + public native TQSqlCursor sqlCursor(); public native void setNullText(String nullText); public native void setTrueText(String trueText); public native void setFalseText(String falseText); @@ -90,22 +90,22 @@ public class QDataTable extends QTable { public native void setAutoEdit(boolean autoEdit); public native void setFilter(String filter); public native void setSort(String[] sort); - public native void setSort(QSqlIndex 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 QVariant value(int row, int col); - public native QSqlRecord currentRecord(); - public native void installEditorFactory(QSqlEditorFactory f); - public native void installPropertyMap(QSqlPropertyMap m); + 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(QSqlIndex idx, int atHint); - public native boolean findBuffer(QSqlIndex idx); + 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); @@ -124,32 +124,32 @@ public class QDataTable extends QTable { protected native boolean deleteCurrent(); protected native int confirmEdit(int m); protected native int confirmCancel(int m); - protected native void handleError(QSqlError e); + protected native void handleError(TQSqlError e); protected native boolean beginInsert(); - protected native QWidget beginUpdate(int row, int col, boolean replace); - public native boolean eventFilter(QObject o, QEvent e); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsContextMenuEvent(QContextMenuEvent e); + 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 QWidget createEditor(int row, int col, boolean initFromCell); + 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(QSqlCursor sql); + protected native void setSize(TQSqlCursor sql); protected native void repaintCell(int row, int col); - public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg); - protected native void paintField(QPainter p, QSqlField field, QRect cr, boolean selected); - protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch); - protected native int fieldAlignment(QSqlField field); + 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 QTableItem item(int row, int col); - public native void setItem(int row, int col, QTableItem item); + 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, QPixmap pix); - public native void takeItem(QTableItem i); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDataTableSignals.java b/qtjava/javalib/org/kde/qt/QDataTableSignals.java index 11c32209..82747661 100644 --- a/qtjava/javalib/org/kde/qt/QDataTableSignals.java +++ b/qtjava/javalib/org/kde/qt/QDataTableSignals.java @@ -3,13 +3,13 @@ package org.kde.qt; import java.util.ArrayList; -public interface QDataTableSignals { - void currentChanged(QSqlRecord record); - void primeInsert(QSqlRecord buf); - void primeUpdate(QSqlRecord buf); - void primeDelete(QSqlRecord buf); - void beforeInsert(QSqlRecord buf); - void beforeUpdate(QSqlRecord buf); - void beforeDelete(QSqlRecord buf); +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 index dfbf75eb..39b1e200 100644 --- a/qtjava/javalib/org/kde/qt/QDataView.java +++ b/qtjava/javalib/org/kde/qt/QDataView.java @@ -3,35 +3,35 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDataView extends QWidget { - protected QDataView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDataView extends TQWidget { + protected TQDataView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDataView(QWidget parent, String name, int fl) { + public TQDataView(TQWidget parent, String name, int fl) { super((Class) null); - newQDataView(parent,name,fl); + newTQDataView(parent,name,fl); } - private native void newQDataView(QWidget parent, String name, int fl); - public QDataView(QWidget parent, String name) { + private native void newTQDataView(TQWidget parent, String name, int fl); + public TQDataView(TQWidget parent, String name) { super((Class) null); - newQDataView(parent,name); + newTQDataView(parent,name); } - private native void newQDataView(QWidget parent, String name); - public QDataView(QWidget parent) { + private native void newTQDataView(TQWidget parent, String name); + public TQDataView(TQWidget parent) { super((Class) null); - newQDataView(parent); + newTQDataView(parent); } - private native void newQDataView(QWidget parent); - public QDataView() { + private native void newTQDataView(TQWidget parent); + public TQDataView() { super((Class) null); - newQDataView(); + newTQDataView(); } - private native void newQDataView(); - public native void setForm(QSqlForm form); - public native QSqlForm form(); - public native void setRecord(QSqlRecord record); - public native QSqlRecord record(); - public native void refresh(QSqlRecord buf); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QDateEdit.java b/qtjava/javalib/org/kde/qt/QDateEdit.java index d735c6a3..7847fdf6 100644 --- a/qtjava/javalib/org/kde/qt/QDateEdit.java +++ b/qtjava/javalib/org/kde/qt/QDateEdit.java @@ -5,49 +5,49 @@ import org.kde.qt.Qt; import java.util.Calendar; /** - See {@link QDateEditSignals} for signals emitted by QDateEdit + See {@link TQDateEditSignals} for signals emitted by TQDateEdit */ -public class QDateEdit extends QDateTimeEditBase { - protected QDateEdit(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDateEdit(QWidget parent, String name) { + public TQDateEdit(TQWidget parent, String name) { super((Class) null); - newQDateEdit(parent,name); + newTQDateEdit(parent,name); } - private native void newQDateEdit(QWidget parent, String name); - public QDateEdit(QWidget parent) { + private native void newTQDateEdit(TQWidget parent, String name); + public TQDateEdit(TQWidget parent) { super((Class) null); - newQDateEdit(parent); + newTQDateEdit(parent); } - private native void newQDateEdit(QWidget parent); - public QDateEdit() { + private native void newTQDateEdit(TQWidget parent); + public TQDateEdit() { super((Class) null); - newQDateEdit(); + newTQDateEdit(); } - private native void newQDateEdit(); - public QDateEdit(Calendar date, QWidget parent, String name) { + private native void newTQDateEdit(); + public TQDateEdit(Calendar date, TQWidget parent, String name) { super((Class) null); - newQDateEdit(date,parent,name); + newTQDateEdit(date,parent,name); } - private native void newQDateEdit(Calendar date, QWidget parent, String name); - public QDateEdit(Calendar date, QWidget parent) { + private native void newTQDateEdit(Calendar date, TQWidget parent, String name); + public TQDateEdit(Calendar date, TQWidget parent) { super((Class) null); - newQDateEdit(date,parent); + newTQDateEdit(date,parent); } - private native void newQDateEdit(Calendar date, QWidget parent); - public QDateEdit(Calendar date) { + private native void newTQDateEdit(Calendar date, TQWidget parent); + public TQDateEdit(Calendar date) { super((Class) null); - newQDateEdit(date); + newTQDateEdit(date); } - private native void newQDateEdit(Calendar date); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(); @@ -64,9 +64,9 @@ public class QDateEdit extends QDateTimeEditBase { 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(QEvent e); - protected native void timerEvent(QTimerEvent arg1); - protected native void resizeEvent(QResizeEvent 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); diff --git a/qtjava/javalib/org/kde/qt/QDateEditSignals.java b/qtjava/javalib/org/kde/qt/QDateEditSignals.java index fb5a5ce0..aee437df 100644 --- a/qtjava/javalib/org/kde/qt/QDateEditSignals.java +++ b/qtjava/javalib/org/kde/qt/QDateEditSignals.java @@ -3,6 +3,6 @@ package org.kde.qt; import java.util.Calendar; -public interface QDateEditSignals { +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 index 782c4bd5..01d88efe 100644 --- a/qtjava/javalib/org/kde/qt/QDateTimeEdit.java +++ b/qtjava/javalib/org/kde/qt/QDateTimeEdit.java @@ -6,54 +6,54 @@ import java.util.Calendar; import java.util.Date; /** - See {@link QDateTimeEditSignals} for signals emitted by QDateTimeEdit + See {@link TQDateTimeEditSignals} for signals emitted by TQDateTimeEdit */ -public class QDateTimeEdit extends QWidget { - protected QDateTimeEdit(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDateTimeEdit extends TQWidget { + protected TQDateTimeEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDateTimeEdit(QWidget parent, String name) { + public TQDateTimeEdit(TQWidget parent, String name) { super((Class) null); - newQDateTimeEdit(parent,name); + newTQDateTimeEdit(parent,name); } - private native void newQDateTimeEdit(QWidget parent, String name); - public QDateTimeEdit(QWidget parent) { + private native void newTQDateTimeEdit(TQWidget parent, String name); + public TQDateTimeEdit(TQWidget parent) { super((Class) null); - newQDateTimeEdit(parent); + newTQDateTimeEdit(parent); } - private native void newQDateTimeEdit(QWidget parent); - public QDateTimeEdit() { + private native void newTQDateTimeEdit(TQWidget parent); + public TQDateTimeEdit() { super((Class) null); - newQDateTimeEdit(); + newTQDateTimeEdit(); } - private native void newQDateTimeEdit(); - public QDateTimeEdit(Calendar datetime, QWidget parent, String name) { + private native void newTQDateTimeEdit(); + public TQDateTimeEdit(Calendar datetime, TQWidget parent, String name) { super((Class) null); - newQDateTimeEdit(datetime,parent,name); + newTQDateTimeEdit(datetime,parent,name); } - private native void newQDateTimeEdit(Calendar datetime, QWidget parent, String name); - public QDateTimeEdit(Calendar datetime, QWidget parent) { + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent, String name); + public TQDateTimeEdit(Calendar datetime, TQWidget parent) { super((Class) null); - newQDateTimeEdit(datetime,parent); + newTQDateTimeEdit(datetime,parent); } - private native void newQDateTimeEdit(Calendar datetime, QWidget parent); - public QDateTimeEdit(Calendar datetime) { + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent); + public TQDateTimeEdit(Calendar datetime) { super((Class) null); - newQDateTimeEdit(datetime); + newTQDateTimeEdit(datetime); } - private native void newQDateTimeEdit(Calendar datetime); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + private native void newTQDateTimeEdit(Calendar datetime); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native Calendar dateTime(); - public native QDateEdit dateEdit(); - public native QTimeEdit timeEdit(); + 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(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); protected native void newValue(Calendar d); protected native void newValue(Date t); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java b/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java index 322ad016..7b43775e 100644 --- a/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java +++ b/qtjava/javalib/org/kde/qt/QDateTimeEditBase.java @@ -3,9 +3,9 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDateTimeEditBase extends QWidget { - protected QDateTimeEditBase(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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); diff --git a/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java index f5cae3c6..214856ec 100644 --- a/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java +++ b/qtjava/javalib/org/kde/qt/QDateTimeEditSignals.java @@ -4,6 +4,6 @@ package org.kde.qt; import java.util.Calendar; import java.util.Date; -public interface QDateTimeEditSignals { +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 index e147bbdd..a075b96d 100644 --- a/qtjava/javalib/org/kde/qt/QDesktopWidget.java +++ b/qtjava/javalib/org/kde/qt/QDesktopWidget.java @@ -4,37 +4,37 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QDesktopWidgetSignals} for signals emitted by QDesktopWidget + See {@link TQDesktopWidgetSignals} for signals emitted by TQDesktopWidget */ -public class QDesktopWidget extends QWidget { - protected QDesktopWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDesktopWidget extends TQWidget { + protected TQDesktopWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDesktopWidget() { + public TQDesktopWidget() { super((Class) null); - newQDesktopWidget(); + newTQDesktopWidget(); } - private native void newQDesktopWidget(); + private native void newTQDesktopWidget(); public native boolean isVirtualDesktop(); public native int numScreens(); public native int primaryScreen(); - public native int screenNumber(QWidget widget); + public native int screenNumber(TQWidget widget); public native int screenNumber(); - public native int screenNumber(QPoint arg1); - public native QWidget screen(int screen); - public native QWidget screen(); - public native QRect screenGeometry(int screen); - public native QRect screenGeometry(); - public native QRect screenGeometry(QWidget widget); - public native QRect screenGeometry(QPoint point); - public native QRect availableGeometry(int screen); - public native QRect availableGeometry(); - public native QRect availableGeometry(QWidget widget); - public native QRect availableGeometry(QPoint point); - public native void insertChild(QObject arg1); + 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(QResizeEvent e); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java b/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java index d0ea7c03..76870509 100644 --- a/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java +++ b/qtjava/javalib/org/kde/qt/QDesktopWidgetSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QDesktopWidgetSignals { +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 index 95dfa127..04695963 100644 --- a/qtjava/javalib/org/kde/qt/QDial.java +++ b/qtjava/javalib/org/kde/qt/QDial.java @@ -4,55 +4,55 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QDialSignals} for signals emitted by QDial + See {@link TQDialSignals} for signals emitted by TQDial */ -public class QDial extends QWidget implements QRangeControlInterface { - protected QDial(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDial extends TQWidget implements TQRangeControlInterface { + protected TQDial(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDial(QWidget parent, String name, int f) { + public TQDial(TQWidget parent, String name, int f) { super((Class) null); - newQDial(parent,name,f); + newTQDial(parent,name,f); } - private native void newQDial(QWidget parent, String name, int f); - public QDial(QWidget parent, String name) { + private native void newTQDial(TQWidget parent, String name, int f); + public TQDial(TQWidget parent, String name) { super((Class) null); - newQDial(parent,name); + newTQDial(parent,name); } - private native void newQDial(QWidget parent, String name); - public QDial(QWidget parent) { + private native void newTQDial(TQWidget parent, String name); + public TQDial(TQWidget parent) { super((Class) null); - newQDial(parent); + newTQDial(parent); } - private native void newQDial(QWidget parent); - public QDial() { + private native void newTQDial(TQWidget parent); + public TQDial() { super((Class) null); - newQDial(); + newTQDial(); } - private native void newQDial(); - public QDial(int minValue, int maxValue, int pageStep, int value, QWidget parent, String name) { + private native void newTQDial(); + public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name) { super((Class) null); - newQDial(minValue,maxValue,pageStep,value,parent,name); + newTQDial(minValue,maxValue,pageStep,value,parent,name); } - private native void newQDial(int minValue, int maxValue, int pageStep, int value, QWidget parent, String name); - public QDial(int minValue, int maxValue, int pageStep, int value, QWidget parent) { + 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); - newQDial(minValue,maxValue,pageStep,value,parent); + newTQDial(minValue,maxValue,pageStep,value,parent); } - private native void newQDial(int minValue, int maxValue, int pageStep, int value, QWidget parent); - public QDial(int minValue, int maxValue, int pageStep, int value) { + 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); - newQDial(minValue,maxValue,pageStep,value); + newTQDial(minValue,maxValue,pageStep,value); } - private native void newQDial(int minValue, int maxValue, int pageStep, int 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 QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native int minValue(); public native int maxValue(); public native void setMinValue(int arg1); @@ -72,18 +72,18 @@ public class QDial extends QWidget implements QRangeControlInterface { 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(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent 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(QRect cr); + protected native void repaintScreen(TQRect cr); protected native void repaintScreen(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QDialSignals.java b/qtjava/javalib/org/kde/qt/QDialSignals.java index 52d22d22..ef1a444b 100644 --- a/qtjava/javalib/org/kde/qt/QDialSignals.java +++ b/qtjava/javalib/org/kde/qt/QDialSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QDialSignals { +public interface TQDialSignals { void valueChanged(int value); void dialPressed(); void dialMoved(int value); diff --git a/qtjava/javalib/org/kde/qt/QDialog.java b/qtjava/javalib/org/kde/qt/QDialog.java index 5ab01ad1..8c178929 100644 --- a/qtjava/javalib/org/kde/qt/QDialog.java +++ b/qtjava/javalib/org/kde/qt/QDialog.java @@ -3,53 +3,53 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDialog extends QWidget { - protected QDialog(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDialog(QWidget parent, String name, boolean modal, int f) { + public TQDialog(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQDialog(parent,name,modal,f); + newTQDialog(parent,name,modal,f); } - private native void newQDialog(QWidget parent, String name, boolean modal, int f); - public QDialog(QWidget parent, String name, boolean modal) { + private native void newTQDialog(TQWidget parent, String name, boolean modal, int f); + public TQDialog(TQWidget parent, String name, boolean modal) { super((Class) null); - newQDialog(parent,name,modal); + newTQDialog(parent,name,modal); } - private native void newQDialog(QWidget parent, String name, boolean modal); - public QDialog(QWidget parent, String name) { + private native void newTQDialog(TQWidget parent, String name, boolean modal); + public TQDialog(TQWidget parent, String name) { super((Class) null); - newQDialog(parent,name); + newTQDialog(parent,name); } - private native void newQDialog(QWidget parent, String name); - public QDialog(QWidget parent) { + private native void newTQDialog(TQWidget parent, String name); + public TQDialog(TQWidget parent) { super((Class) null); - newQDialog(parent); + newTQDialog(parent); } - private native void newQDialog(QWidget parent); - public QDialog() { + private native void newTQDialog(TQWidget parent); + public TQDialog() { super((Class) null); - newQDialog(); + newTQDialog(); } - private native void newQDialog(); + 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(QPoint p); + public native void move(TQPoint p); public native void resize(int w, int h); - public native void resize(QSize arg1); + public native void resize(TQSize arg1); public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(QRect arg1); + public native void setGeometry(TQRect arg1); public native void setOrientation(int orientation); public native int orientation(); - public native void setExtension(QWidget extension); - public native QWidget extension(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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); @@ -58,12 +58,12 @@ public class QDialog extends QWidget { 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(QKeyEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); - protected native void adjustPosition(QWidget arg1); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QDir.java b/qtjava/javalib/org/kde/qt/QDir.java index b2c4ae85..120cc240 100644 --- a/qtjava/javalib/org/kde/qt/QDir.java +++ b/qtjava/javalib/org/kde/qt/QDir.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QDir implements QtSupport { +public class TQDir implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDir(Class dummy){} + protected TQDir(Class dummy){} public static final int Dirs = 0x001; public static final int Files = 0x002; @@ -36,30 +36,30 @@ public class QDir implements QtSupport { public static final int LocaleAware = 0x20; public static final int DefaultSort = -1; - public QDir() { - newQDir(); + public TQDir() { + newTQDir(); } - private native void newQDir(); - public QDir(String path, String nameFilter, int sortSpec, int filterSpec) { - newQDir(path,nameFilter,sortSpec,filterSpec); + private native void newTQDir(); + public TQDir(String path, String nameFilter, int sortSpec, int filterSpec) { + newTQDir(path,nameFilter,sortSpec,filterSpec); } - private native void newQDir(String path, String nameFilter, int sortSpec, int filterSpec); - public QDir(String path, String nameFilter, int sortSpec) { - newQDir(path,nameFilter,sortSpec); + 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 newQDir(String path, String nameFilter, int sortSpec); - public QDir(String path, String nameFilter) { - newQDir(path,nameFilter); + private native void newTQDir(String path, String nameFilter, int sortSpec); + public TQDir(String path, String nameFilter) { + newTQDir(path,nameFilter); } - private native void newQDir(String path, String nameFilter); - public QDir(String path) { - newQDir(path); + private native void newTQDir(String path, String nameFilter); + public TQDir(String path) { + newTQDir(path); } - private native void newQDir(String path); - public QDir(QDir arg1) { - newQDir(arg1); + private native void newTQDir(String path); + public TQDir(TQDir arg1) { + newTQDir(arg1); } - private native void newQDir(QDir arg1); + private native void newTQDir(TQDir arg1); public native void setPath(String path); public native String path(); public native String absPath(); @@ -94,12 +94,12 @@ public class QDir implements QtSupport { 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 QFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED - // const QFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED - // const QFileInfoList* entryInfoList(); >>>> NOT CONVERTED - // const QFileInfoList* entryInfoList(const QString& arg1,int arg2,int arg3); >>>> NOT CONVERTED - // const QFileInfoList* entryInfoList(const QString& arg1,int arg2); >>>> NOT CONVERTED - // const QFileInfoList* entryInfoList(const QString& arg1); >>>> NOT CONVERTED + // 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); @@ -109,8 +109,8 @@ public class QDir implements QtSupport { public native boolean isRoot(); public native boolean isRelative(); public native void convertToAbs(); - public native boolean op_equals(QDir arg1); - public native boolean op_not_equals(QDir arg1); + 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); @@ -119,12 +119,12 @@ public class QDir implements QtSupport { public native boolean exists(String name); public native void refresh(); public static native String convertSeparators(String pathName); - // const QFileInfoList* drives(); >>>> NOT CONVERTED + // const TQFileInfoList* drives(); >>>> NOT CONVERTED public static native char separator(); public static native boolean setCurrent(String path); - public static native QDir current(); - public static native QDir home(); - public static native QDir root(); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QDockArea.java b/qtjava/javalib/org/kde/qt/QDockArea.java index 8c0d9ec0..92c80158 100644 --- a/qtjava/javalib/org/kde/qt/QDockArea.java +++ b/qtjava/javalib/org/kde/qt/QDockArea.java @@ -3,49 +3,49 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDockArea extends QWidget { - protected QDockArea(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDockArea(int o, int h, QWidget parent, String name) { + public TQDockArea(int o, int h, TQWidget parent, String name) { super((Class) null); - newQDockArea(o,h,parent,name); + newTQDockArea(o,h,parent,name); } - private native void newQDockArea(int o, int h, QWidget parent, String name); - public QDockArea(int o, int h, QWidget parent) { + private native void newTQDockArea(int o, int h, TQWidget parent, String name); + public TQDockArea(int o, int h, TQWidget parent) { super((Class) null); - newQDockArea(o,h,parent); + newTQDockArea(o,h,parent); } - private native void newQDockArea(int o, int h, QWidget parent); - public QDockArea(int o, int h) { + private native void newTQDockArea(int o, int h, TQWidget parent); + public TQDockArea(int o, int h) { super((Class) null); - newQDockArea(o,h); + newTQDockArea(o,h); } - private native void newQDockArea(int o, int h); - public QDockArea(int o) { + private native void newTQDockArea(int o, int h); + public TQDockArea(int o) { super((Class) null); - newQDockArea(o); + newTQDockArea(o); } - private native void newQDockArea(int o); - public native void moveDockWindow(QDockWindow w, QPoint globalPos, QRect rect, boolean swap); - public native void removeDockWindow(QDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines); - public native void removeDockWindow(QDockWindow w, boolean makeFloating, boolean swap); - public native void moveDockWindow(QDockWindow w, int index); - public native void moveDockWindow(QDockWindow w); - public native boolean hasDockWindow(QDockWindow w, int[] index); - public native boolean hasDockWindow(QDockWindow w); - public native void invalidNextOffset(QDockWindow dw); + 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(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); public native boolean isEmpty(); public native int count(); - // QPtrList dockWindowList(); >>>> NOT CONVERTED - public native boolean isDockWindowAccepted(QDockWindow dw); - public native void setAcceptDockWindow(QDockWindow dw, boolean accept); + // 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); diff --git a/qtjava/javalib/org/kde/qt/QDockWindow.java b/qtjava/javalib/org/kde/qt/QDockWindow.java index 14ce1ce1..ae876210 100644 --- a/qtjava/javalib/org/kde/qt/QDockWindow.java +++ b/qtjava/javalib/org/kde/qt/QDockWindow.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QDockWindowSignals} for signals emitted by QDockWindow + See {@link TQDockWindowSignals} for signals emitted by TQDockWindow */ -public class QDockWindow extends QFrame { - protected QDockWindow(Class dummy){super((Class) null);} +public class TQDockWindow extends TQFrame { + protected TQDockWindow(Class dummy){super((Class) null);} public static final int InDock = 0; public static final int OutsideDock = 1; @@ -16,52 +16,52 @@ public class QDockWindow extends QFrame { public static final int Undocked = 2; public static final int Always = Docked|Undocked; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QDockWindow(int p, QWidget parent, String name, int f) { + public TQDockWindow(int p, TQWidget parent, String name, int f) { super((Class) null); - newQDockWindow(p,parent,name,f); + newTQDockWindow(p,parent,name,f); } - private native void newQDockWindow(int p, QWidget parent, String name, int f); - public QDockWindow(int p, QWidget parent, String name) { + private native void newTQDockWindow(int p, TQWidget parent, String name, int f); + public TQDockWindow(int p, TQWidget parent, String name) { super((Class) null); - newQDockWindow(p,parent,name); + newTQDockWindow(p,parent,name); } - private native void newQDockWindow(int p, QWidget parent, String name); - public QDockWindow(int p, QWidget parent) { + private native void newTQDockWindow(int p, TQWidget parent, String name); + public TQDockWindow(int p, TQWidget parent) { super((Class) null); - newQDockWindow(p,parent); + newTQDockWindow(p,parent); } - private native void newQDockWindow(int p, QWidget parent); - public QDockWindow(int p) { + private native void newTQDockWindow(int p, TQWidget parent); + public TQDockWindow(int p) { super((Class) null); - newQDockWindow(p); + newTQDockWindow(p); } - private native void newQDockWindow(int p); - public QDockWindow() { + private native void newTQDockWindow(int p); + public TQDockWindow() { super((Class) null); - newQDockWindow(); + newTQDockWindow(); } - private native void newQDockWindow(); - public QDockWindow(QWidget parent, String name, int f) { + private native void newTQDockWindow(); + public TQDockWindow(TQWidget parent, String name, int f) { super((Class) null); - newQDockWindow(parent,name,f); + newTQDockWindow(parent,name,f); } - private native void newQDockWindow(QWidget parent, String name, int f); - public QDockWindow(QWidget parent, String name) { + private native void newTQDockWindow(TQWidget parent, String name, int f); + public TQDockWindow(TQWidget parent, String name) { super((Class) null); - newQDockWindow(parent,name); + newTQDockWindow(parent,name); } - private native void newQDockWindow(QWidget parent, String name); - public QDockWindow(QWidget parent) { + private native void newTQDockWindow(TQWidget parent, String name); + public TQDockWindow(TQWidget parent) { super((Class) null); - newQDockWindow(parent); + newTQDockWindow(parent); } - private native void newQDockWindow(QWidget parent); - public native void setWidget(QWidget w); - public native QWidget widget(); + private native void newTQDockWindow(TQWidget parent); + public native void setWidget(TQWidget w); + public native TQWidget widget(); public native int place(); - public native QDockArea area(); + public native TQDockArea area(); public native void setCloseMode(int m); public native boolean isCloseEnabled(); public native int closeMode(); @@ -82,31 +82,31 @@ public class QDockWindow extends QFrame { public native int offset(); public native void setFixedExtentWidth(int w); public native void setFixedExtentHeight(int h); - public native QSize fixedExtent(); + public native TQSize fixedExtent(); public native void setNewLine(boolean b); public native boolean newLine(); public native int orientation(); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize minimumSizeHint(); - public native QBoxLayout boxLayout(); + 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(QObject o, QEvent e); - public native void undock(QWidget w); + 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(QResizeEvent e); - public native void showEvent(QShowEvent e); - protected native void hideEvent(QHideEvent e); - protected native void contextMenuEvent(QContextMenuEvent e); - protected native void drawFrame(QPainter arg1); - protected native void drawContents(QPainter arg1); - public native boolean event(QEvent e); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDockWindowSignals.java b/qtjava/javalib/org/kde/qt/QDockWindowSignals.java index 70bc3800..f1cdc926 100644 --- a/qtjava/javalib/org/kde/qt/QDockWindowSignals.java +++ b/qtjava/javalib/org/kde/qt/QDockWindowSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QDockWindowSignals { +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 index e29ba5f8..0e0dab9e 100644 --- a/qtjava/javalib/org/kde/qt/QDomAttr.java +++ b/qtjava/javalib/org/kde/qt/QDomAttr.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomAttr extends QDomNode { - protected QDomAttr(Class dummy){super((Class) null);} - public QDomAttr() { +public class TQDomAttr extends TQDomNode { + protected TQDomAttr(Class dummy){super((Class) null);} + public TQDomAttr() { super((Class) null); - newQDomAttr(); + newTQDomAttr(); } - private native void newQDomAttr(); - public QDomAttr(QDomAttr x) { + private native void newTQDomAttr(); + public TQDomAttr(TQDomAttr x) { super((Class) null); - newQDomAttr(x); + newTQDomAttr(x); } - private native void newQDomAttr(QDomAttr x); + private native void newTQDomAttr(TQDomAttr x); public native String name(); public native boolean specified(); - public native QDomElement ownerElement(); + public native TQDomElement ownerElement(); public native String value(); public native void setValue(String arg1); public native int nodeType(); diff --git a/qtjava/javalib/org/kde/qt/QDomCDATASection.java b/qtjava/javalib/org/kde/qt/QDomCDATASection.java index 6e8ebf93..7402ceba 100644 --- a/qtjava/javalib/org/kde/qt/QDomCDATASection.java +++ b/qtjava/javalib/org/kde/qt/QDomCDATASection.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomCDATASection extends QDomText { - protected QDomCDATASection(Class dummy){super((Class) null);} - public QDomCDATASection() { +public class TQDomCDATASection extends TQDomText { + protected TQDomCDATASection(Class dummy){super((Class) null);} + public TQDomCDATASection() { super((Class) null); - newQDomCDATASection(); + newTQDomCDATASection(); } - private native void newQDomCDATASection(); - public QDomCDATASection(QDomCDATASection x) { + private native void newTQDomCDATASection(); + public TQDomCDATASection(TQDomCDATASection x) { super((Class) null); - newQDomCDATASection(x); + newTQDomCDATASection(x); } - private native void newQDomCDATASection(QDomCDATASection x); + private native void newTQDomCDATASection(TQDomCDATASection x); public native int nodeType(); public native boolean isCDATASection(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QDomCharacterData.java b/qtjava/javalib/org/kde/qt/QDomCharacterData.java index 3cfd1457..289d5c76 100644 --- a/qtjava/javalib/org/kde/qt/QDomCharacterData.java +++ b/qtjava/javalib/org/kde/qt/QDomCharacterData.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomCharacterData extends QDomNode { - protected QDomCharacterData(Class dummy){super((Class) null);} - public QDomCharacterData() { +public class TQDomCharacterData extends TQDomNode { + protected TQDomCharacterData(Class dummy){super((Class) null);} + public TQDomCharacterData() { super((Class) null); - newQDomCharacterData(); + newTQDomCharacterData(); } - private native void newQDomCharacterData(); - public QDomCharacterData(QDomCharacterData x) { + private native void newTQDomCharacterData(); + public TQDomCharacterData(TQDomCharacterData x) { super((Class) null); - newQDomCharacterData(x); + newTQDomCharacterData(x); } - private native void newQDomCharacterData(QDomCharacterData 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); diff --git a/qtjava/javalib/org/kde/qt/QDomComment.java b/qtjava/javalib/org/kde/qt/QDomComment.java index 6304f4fa..0822dee9 100644 --- a/qtjava/javalib/org/kde/qt/QDomComment.java +++ b/qtjava/javalib/org/kde/qt/QDomComment.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomComment extends QDomCharacterData { - protected QDomComment(Class dummy){super((Class) null);} - public QDomComment() { +public class TQDomComment extends TQDomCharacterData { + protected TQDomComment(Class dummy){super((Class) null);} + public TQDomComment() { super((Class) null); - newQDomComment(); + newTQDomComment(); } - private native void newQDomComment(); - public QDomComment(QDomComment x) { + private native void newTQDomComment(); + public TQDomComment(TQDomComment x) { super((Class) null); - newQDomComment(x); + newTQDomComment(x); } - private native void newQDomComment(QDomComment x); + private native void newTQDomComment(TQDomComment x); public native int nodeType(); public native boolean isComment(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QDomDocument.java b/qtjava/javalib/org/kde/qt/QDomDocument.java index 944e2cd1..c687f6eb 100644 --- a/qtjava/javalib/org/kde/qt/QDomDocument.java +++ b/qtjava/javalib/org/kde/qt/QDomDocument.java @@ -4,45 +4,45 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QDomDocument extends QDomNode { - protected QDomDocument(Class dummy){super((Class) null);} - public QDomDocument() { +public class TQDomDocument extends TQDomNode { + protected TQDomDocument(Class dummy){super((Class) null);} + public TQDomDocument() { super((Class) null); - newQDomDocument(); + newTQDomDocument(); } - private native void newQDomDocument(); - public QDomDocument(String name) { + private native void newTQDomDocument(); + public TQDomDocument(String name) { super((Class) null); - newQDomDocument(name); + newTQDomDocument(name); } - private native void newQDomDocument(String name); - public QDomDocument(QDomDocumentType doctype) { + private native void newTQDomDocument(String name); + public TQDomDocument(TQDomDocumentType doctype) { super((Class) null); - newQDomDocument(doctype); + newTQDomDocument(doctype); } - private native void newQDomDocument(QDomDocumentType doctype); - public QDomDocument(QDomDocument x) { + private native void newTQDomDocument(TQDomDocumentType doctype); + public TQDomDocument(TQDomDocument x) { super((Class) null); - newQDomDocument(x); + newTQDomDocument(x); } - private native void newQDomDocument(QDomDocument x); - public native QDomElement createElement(String tagName); - public native QDomDocumentFragment createDocumentFragment(); - public native QDomText createTextNode(String data); - public native QDomComment createComment(String data); - public native QDomCDATASection createCDATASection(String data); - public native QDomProcessingInstruction createProcessingInstruction(String target, String data); - public native QDomAttr createAttribute(String name); - public native QDomEntityReference createEntityReference(String name); + 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 QDomNode importNode(QDomNode importedNode, boolean deep); - public native QDomElement createElementNS(String nsURI, String qName); - public native QDomAttr createAttributeNS(String nsURI, String qName); + 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 QDomElement elementById(String elementId); - public native QDomDocumentType doctype(); - public native QDomImplementation implementation(); - public native QDomElement documentElement(); + 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); @@ -51,10 +51,10 @@ public class QDomDocument extends QDomNode { 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(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(QIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg); - public native boolean setContent(QIODeviceInterface dev, 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); @@ -63,14 +63,14 @@ public class QDomDocument extends QDomNode { 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(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(QIODeviceInterface dev, StringBuffer errorMsg); - public native boolean setContent(QIODeviceInterface dev); - public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); - public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg, int[] errorLine); - public native boolean setContent(QXmlInputSource source, QXmlReader reader, StringBuffer errorMsg); - public native boolean setContent(QXmlInputSource source, QXmlReader reader); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java b/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java index 064f6cc3..2b222195 100644 --- a/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java +++ b/qtjava/javalib/org/kde/qt/QDomDocumentFragment.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomDocumentFragment extends QDomNode { - protected QDomDocumentFragment(Class dummy){super((Class) null);} - public QDomDocumentFragment() { +public class TQDomDocumentFragment extends TQDomNode { + protected TQDomDocumentFragment(Class dummy){super((Class) null);} + public TQDomDocumentFragment() { super((Class) null); - newQDomDocumentFragment(); + newTQDomDocumentFragment(); } - private native void newQDomDocumentFragment(); - public QDomDocumentFragment(QDomDocumentFragment x) { + private native void newTQDomDocumentFragment(); + public TQDomDocumentFragment(TQDomDocumentFragment x) { super((Class) null); - newQDomDocumentFragment(x); + newTQDomDocumentFragment(x); } - private native void newQDomDocumentFragment(QDomDocumentFragment x); + private native void newTQDomDocumentFragment(TQDomDocumentFragment x); public native int nodeType(); public native boolean isDocumentFragment(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QDomDocumentType.java b/qtjava/javalib/org/kde/qt/QDomDocumentType.java index be6d3fdf..d9161ade 100644 --- a/qtjava/javalib/org/kde/qt/QDomDocumentType.java +++ b/qtjava/javalib/org/kde/qt/QDomDocumentType.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomDocumentType extends QDomNode { - protected QDomDocumentType(Class dummy){super((Class) null);} - public QDomDocumentType() { +public class TQDomDocumentType extends TQDomNode { + protected TQDomDocumentType(Class dummy){super((Class) null);} + public TQDomDocumentType() { super((Class) null); - newQDomDocumentType(); + newTQDomDocumentType(); } - private native void newQDomDocumentType(); - public QDomDocumentType(QDomDocumentType x) { + private native void newTQDomDocumentType(); + public TQDomDocumentType(TQDomDocumentType x) { super((Class) null); - newQDomDocumentType(x); + newTQDomDocumentType(x); } - private native void newQDomDocumentType(QDomDocumentType x); + private native void newTQDomDocumentType(TQDomDocumentType x); public native String name(); - public native QDomNamedNodeMap entities(); - public native QDomNamedNodeMap notations(); + public native TQDomNamedNodeMap entities(); + public native TQDomNamedNodeMap notations(); public native String publicId(); public native String systemId(); public native String internalSubset(); diff --git a/qtjava/javalib/org/kde/qt/QDomElement.java b/qtjava/javalib/org/kde/qt/QDomElement.java index 4e178060..60fa46e6 100644 --- a/qtjava/javalib/org/kde/qt/QDomElement.java +++ b/qtjava/javalib/org/kde/qt/QDomElement.java @@ -4,18 +4,18 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QDomElement extends QDomNode { - protected QDomElement(Class dummy){super((Class) null);} - public QDomElement() { +public class TQDomElement extends TQDomNode { + protected TQDomElement(Class dummy){super((Class) null);} + public TQDomElement() { super((Class) null); - newQDomElement(); + newTQDomElement(); } - private native void newQDomElement(); - public QDomElement(QDomElement x) { + private native void newTQDomElement(); + public TQDomElement(TQDomElement x) { super((Class) null); - newQDomElement(x); + newTQDomElement(x); } - private native void newQDomElement(QDomElement 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); @@ -23,9 +23,9 @@ public class QDomElement extends QDomNode { public native void setAttribute(String name, long value); public native void setAttribute(String name, double value); public native void removeAttribute(String name); - public native QDomAttr attributeNode(String name); - public native QDomAttr setAttributeNode(QDomAttr newAttr); - public native QDomAttr removeAttributeNode(QDomAttr oldAttr); + 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); @@ -34,13 +34,13 @@ public class QDomElement extends QDomNode { 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 QDomAttr attributeNodeNS(String nsURI, String localName); - public native QDomAttr setAttributeNodeNS(QDomAttr newAttr); + 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 QDomNamedNodeMap attributes(); + public native TQDomNamedNodeMap attributes(); public native int nodeType(); public native boolean isElement(); public native String text(); diff --git a/qtjava/javalib/org/kde/qt/QDomEntity.java b/qtjava/javalib/org/kde/qt/QDomEntity.java index d2b7bcc6..657400e8 100644 --- a/qtjava/javalib/org/kde/qt/QDomEntity.java +++ b/qtjava/javalib/org/kde/qt/QDomEntity.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomEntity extends QDomNode { - protected QDomEntity(Class dummy){super((Class) null);} - public QDomEntity() { +public class TQDomEntity extends TQDomNode { + protected TQDomEntity(Class dummy){super((Class) null);} + public TQDomEntity() { super((Class) null); - newQDomEntity(); + newTQDomEntity(); } - private native void newQDomEntity(); - public QDomEntity(QDomEntity x) { + private native void newTQDomEntity(); + public TQDomEntity(TQDomEntity x) { super((Class) null); - newQDomEntity(x); + newTQDomEntity(x); } - private native void newQDomEntity(QDomEntity x); + private native void newTQDomEntity(TQDomEntity x); public native String publicId(); public native String systemId(); public native String notationName(); diff --git a/qtjava/javalib/org/kde/qt/QDomEntityReference.java b/qtjava/javalib/org/kde/qt/QDomEntityReference.java index 937460ac..9b572231 100644 --- a/qtjava/javalib/org/kde/qt/QDomEntityReference.java +++ b/qtjava/javalib/org/kde/qt/QDomEntityReference.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomEntityReference extends QDomNode { - protected QDomEntityReference(Class dummy){super((Class) null);} - public QDomEntityReference() { +public class TQDomEntityReference extends TQDomNode { + protected TQDomEntityReference(Class dummy){super((Class) null);} + public TQDomEntityReference() { super((Class) null); - newQDomEntityReference(); + newTQDomEntityReference(); } - private native void newQDomEntityReference(); - public QDomEntityReference(QDomEntityReference x) { + private native void newTQDomEntityReference(); + public TQDomEntityReference(TQDomEntityReference x) { super((Class) null); - newQDomEntityReference(x); + newTQDomEntityReference(x); } - private native void newQDomEntityReference(QDomEntityReference x); + private native void newTQDomEntityReference(TQDomEntityReference x); public native int nodeType(); public native boolean isEntityReference(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QDomImplementation.java b/qtjava/javalib/org/kde/qt/QDomImplementation.java index 70ea0651..d5d9a760 100644 --- a/qtjava/javalib/org/kde/qt/QDomImplementation.java +++ b/qtjava/javalib/org/kde/qt/QDomImplementation.java @@ -3,24 +3,24 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomImplementation implements QtSupport { +public class TQDomImplementation implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDomImplementation(Class dummy){} + protected TQDomImplementation(Class dummy){} - public QDomImplementation() { - newQDomImplementation(); + public TQDomImplementation() { + newTQDomImplementation(); } - private native void newQDomImplementation(); - public QDomImplementation(QDomImplementation arg1) { - newQDomImplementation(arg1); + private native void newTQDomImplementation(); + public TQDomImplementation(TQDomImplementation arg1) { + newTQDomImplementation(arg1); } - private native void newQDomImplementation(QDomImplementation arg1); - public native boolean op_equals(QDomImplementation arg1); - public native boolean op_not_equals(QDomImplementation 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 QDomDocumentType createDocumentType(String qName, String publicId, String systemId); - public native QDomDocument createDocument(String nsURI, String qName, QDomDocumentType doctype); + 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; diff --git a/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java b/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java index 12eed27d..25d1208e 100644 --- a/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java +++ b/qtjava/javalib/org/kde/qt/QDomNamedNodeMap.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomNamedNodeMap implements QtSupport { +public class TQDomNamedNodeMap implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDomNamedNodeMap(Class dummy){} + protected TQDomNamedNodeMap(Class dummy){} - public QDomNamedNodeMap() { - newQDomNamedNodeMap(); + public TQDomNamedNodeMap() { + newTQDomNamedNodeMap(); } - private native void newQDomNamedNodeMap(); - public QDomNamedNodeMap(QDomNamedNodeMap arg1) { - newQDomNamedNodeMap(arg1); + private native void newTQDomNamedNodeMap(); + public TQDomNamedNodeMap(TQDomNamedNodeMap arg1) { + newTQDomNamedNodeMap(arg1); } - private native void newQDomNamedNodeMap(QDomNamedNodeMap arg1); - public native boolean op_equals(QDomNamedNodeMap arg1); - public native boolean op_not_equals(QDomNamedNodeMap arg1); - public native QDomNode namedItem(String name); - public native QDomNode setNamedItem(QDomNode newNode); - public native QDomNode removeNamedItem(String name); - public native QDomNode item(int index); - public native QDomNode namedItemNS(String nsURI, String localName); - public native QDomNode setNamedItemNS(QDomNode newNode); - public native QDomNode removeNamedItemNS(String nsURI, String localName); + 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); diff --git a/qtjava/javalib/org/kde/qt/QDomNode.java b/qtjava/javalib/org/kde/qt/QDomNode.java index a48f5255..a649d8f1 100644 --- a/qtjava/javalib/org/kde/qt/QDomNode.java +++ b/qtjava/javalib/org/kde/qt/QDomNode.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QDomNode implements QtSupport { +public class TQDomNode implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDomNode(Class dummy){} + protected TQDomNode(Class dummy){} public static final int ElementNode = 1; public static final int AttributeNode = 2; @@ -24,36 +24,36 @@ public class QDomNode implements QtSupport { public static final int BaseNode = 21; public static final int CharacterDataNode = 22; - public QDomNode() { - newQDomNode(); + public TQDomNode() { + newTQDomNode(); } - private native void newQDomNode(); - public QDomNode(QDomNode arg1) { - newQDomNode(arg1); + private native void newTQDomNode(); + public TQDomNode(TQDomNode arg1) { + newTQDomNode(arg1); } - private native void newQDomNode(QDomNode arg1); - public native boolean op_equals(QDomNode arg1); - public native boolean op_not_equals(QDomNode arg1); - public native QDomNode insertBefore(QDomNode newChild, QDomNode refChild); - public native QDomNode insertAfter(QDomNode newChild, QDomNode refChild); - public native QDomNode replaceChild(QDomNode newChild, QDomNode oldChild); - public native QDomNode removeChild(QDomNode oldChild); - public native QDomNode appendChild(QDomNode newChild); + 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 QDomNode cloneNode(boolean deep); - public native QDomNode cloneNode(); + 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 QDomNode parentNode(); + public native TQDomNode parentNode(); public native ArrayList childNodes(); - public native QDomNode firstChild(); - public native QDomNode lastChild(); - public native QDomNode previousSibling(); - public native QDomNode nextSibling(); - public native QDomNamedNodeMap attributes(); - public native QDomDocument ownerDocument(); + 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(); @@ -75,28 +75,28 @@ public class QDomNode implements QtSupport { public native boolean isCharacterData(); public native boolean isComment(); /** - Shortcut to avoid dealing with QDomArrayList + Shortcut to avoid dealing with TQDomArrayList all the time. - @short Shortcut to avoid dealing with QDomNodeList all the time. + @short Shortcut to avoid dealing with TQDomNodeList all the time. */ - public native QDomNode namedItem(String name); + public native TQDomNode namedItem(String name); public native boolean isNull(); public native void clear(); - public native QDomAttr toAttr(); - public native QDomCDATASection toCDATASection(); - public native QDomDocumentFragment toDocumentFragment(); - public native QDomDocument toDocument(); - public native QDomDocumentType toDocumentType(); - public native QDomElement toElement(); - public native QDomEntityReference toEntityReference(); - public native QDomText toText(); - public native QDomEntity toEntity(); - public native QDomNotation toNotation(); - public native QDomProcessingInstruction toProcessingInstruction(); - public native QDomCharacterData toCharacterData(); - public native QDomComment toComment(); - public native void save(QTextStream arg1, int arg2); - // QDomNode* QDomNode(QDomNodePrivate* arg1); >>>> NOT CONVERTED + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDomNotation.java b/qtjava/javalib/org/kde/qt/QDomNotation.java index 81b1e475..8e31634f 100644 --- a/qtjava/javalib/org/kde/qt/QDomNotation.java +++ b/qtjava/javalib/org/kde/qt/QDomNotation.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomNotation extends QDomNode { - protected QDomNotation(Class dummy){super((Class) null);} - public QDomNotation() { +public class TQDomNotation extends TQDomNode { + protected TQDomNotation(Class dummy){super((Class) null);} + public TQDomNotation() { super((Class) null); - newQDomNotation(); + newTQDomNotation(); } - private native void newQDomNotation(); - public QDomNotation(QDomNotation x) { + private native void newTQDomNotation(); + public TQDomNotation(TQDomNotation x) { super((Class) null); - newQDomNotation(x); + newTQDomNotation(x); } - private native void newQDomNotation(QDomNotation x); + private native void newTQDomNotation(TQDomNotation x); public native String publicId(); public native String systemId(); public native int nodeType(); diff --git a/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java b/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java index 8724e0d3..7ddf07b5 100644 --- a/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java +++ b/qtjava/javalib/org/kde/qt/QDomProcessingInstruction.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomProcessingInstruction extends QDomNode { - protected QDomProcessingInstruction(Class dummy){super((Class) null);} - public QDomProcessingInstruction() { +public class TQDomProcessingInstruction extends TQDomNode { + protected TQDomProcessingInstruction(Class dummy){super((Class) null);} + public TQDomProcessingInstruction() { super((Class) null); - newQDomProcessingInstruction(); + newTQDomProcessingInstruction(); } - private native void newQDomProcessingInstruction(); - public QDomProcessingInstruction(QDomProcessingInstruction x) { + private native void newTQDomProcessingInstruction(); + public TQDomProcessingInstruction(TQDomProcessingInstruction x) { super((Class) null); - newQDomProcessingInstruction(x); + newTQDomProcessingInstruction(x); } - private native void newQDomProcessingInstruction(QDomProcessingInstruction x); + private native void newTQDomProcessingInstruction(TQDomProcessingInstruction x); public native String target(); public native String data(); public native void setData(String d); diff --git a/qtjava/javalib/org/kde/qt/QDomText.java b/qtjava/javalib/org/kde/qt/QDomText.java index ac104ca9..894c3863 100644 --- a/qtjava/javalib/org/kde/qt/QDomText.java +++ b/qtjava/javalib/org/kde/qt/QDomText.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDomText extends QDomCharacterData { - protected QDomText(Class dummy){super((Class) null);} - public QDomText() { +public class TQDomText extends TQDomCharacterData { + protected TQDomText(Class dummy){super((Class) null);} + public TQDomText() { super((Class) null); - newQDomText(); + newTQDomText(); } - private native void newQDomText(); - public QDomText(QDomText x) { + private native void newTQDomText(); + public TQDomText(TQDomText x) { super((Class) null); - newQDomText(x); + newTQDomText(x); } - private native void newQDomText(QDomText x); - public native QDomText splitText(int offset); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QDoubleValidator.java b/qtjava/javalib/org/kde/qt/QDoubleValidator.java index 9e81ea5a..a0d8e7b2 100644 --- a/qtjava/javalib/org/kde/qt/QDoubleValidator.java +++ b/qtjava/javalib/org/kde/qt/QDoubleValidator.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDoubleValidator extends QValidator { - protected QDoubleValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQDoubleValidator extends TQValidator { + protected TQDoubleValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QDoubleValidator(QObject parent, String name) { + public TQDoubleValidator(TQObject parent, String name) { super((Class) null); - newQDoubleValidator(parent,name); + newTQDoubleValidator(parent,name); } - private native void newQDoubleValidator(QObject parent, String name); - public QDoubleValidator(QObject parent) { + private native void newTQDoubleValidator(TQObject parent, String name); + public TQDoubleValidator(TQObject parent) { super((Class) null); - newQDoubleValidator(parent); + newTQDoubleValidator(parent); } - private native void newQDoubleValidator(QObject parent); - public QDoubleValidator(double bottom, double top, int decimals, QObject parent, String name) { + private native void newTQDoubleValidator(TQObject parent); + public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { super((Class) null); - newQDoubleValidator(bottom,top,decimals,parent,name); + newTQDoubleValidator(bottom,top,decimals,parent,name); } - private native void newQDoubleValidator(double bottom, double top, int decimals, QObject parent, String name); - public QDoubleValidator(double bottom, double top, int decimals, QObject parent) { + 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); - newQDoubleValidator(bottom,top,decimals,parent); + newTQDoubleValidator(bottom,top,decimals,parent); } - private native void newQDoubleValidator(double bottom, double top, int decimals, QObject 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); diff --git a/qtjava/javalib/org/kde/qt/QDragEnterEvent.java b/qtjava/javalib/org/kde/qt/QDragEnterEvent.java index 61d041f9..1caa5da2 100644 --- a/qtjava/javalib/org/kde/qt/QDragEnterEvent.java +++ b/qtjava/javalib/org/kde/qt/QDragEnterEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragEnterEvent extends QDragMoveEvent { - protected QDragEnterEvent(Class dummy){super((Class) null);} - public QDragEnterEvent(QPoint pos) { +public class TQDragEnterEvent extends TQDragMoveEvent { + protected TQDragEnterEvent(Class dummy){super((Class) null);} + public TQDragEnterEvent(TQPoint pos) { super((Class) null); - newQDragEnterEvent(pos); + newTQDragEnterEvent(pos); } - private native void newQDragEnterEvent(QPoint 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java b/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java index 2b9ae1d3..9feceb39 100644 --- a/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java +++ b/qtjava/javalib/org/kde/qt/QDragLeaveEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragLeaveEvent extends QEvent { - protected QDragLeaveEvent(Class dummy){super((Class) null);} - public QDragLeaveEvent() { +public class TQDragLeaveEvent extends TQEvent { + protected TQDragLeaveEvent(Class dummy){super((Class) null);} + public TQDragLeaveEvent() { super((Class) null); - newQDragLeaveEvent(); + newTQDragLeaveEvent(); } - private native void newQDragLeaveEvent(); + private native void newTQDragLeaveEvent(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QDragManager.java b/qtjava/javalib/org/kde/qt/QDragManager.java index 8861dd05..79ad5bef 100644 --- a/qtjava/javalib/org/kde/qt/QDragManager.java +++ b/qtjava/javalib/org/kde/qt/QDragManager.java @@ -3,9 +3,9 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragManager extends QObject { - protected QDragManager(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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 index b4a54c7e..0a955b1e 100644 --- a/qtjava/javalib/org/kde/qt/QDragMoveEvent.java +++ b/qtjava/javalib/org/kde/qt/QDragMoveEvent.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragMoveEvent extends QDropEvent { - protected QDragMoveEvent(Class dummy){super((Class) null);} - public QDragMoveEvent(QPoint pos, int typ) { +public class TQDragMoveEvent extends TQDropEvent { + protected TQDragMoveEvent(Class dummy){super((Class) null);} + public TQDragMoveEvent(TQPoint pos, int typ) { super((Class) null); - newQDragMoveEvent(pos,typ); + newTQDragMoveEvent(pos,typ); } - private native void newQDragMoveEvent(QPoint pos, int typ); - public QDragMoveEvent(QPoint pos) { + private native void newTQDragMoveEvent(TQPoint pos, int typ); + public TQDragMoveEvent(TQPoint pos) { super((Class) null); - newQDragMoveEvent(pos); + newTQDragMoveEvent(pos); } - private native void newQDragMoveEvent(QPoint pos); - public native QRect answerRect(); + private native void newTQDragMoveEvent(TQPoint pos); + public native TQRect answerRect(); public native void accept(boolean y); public native void accept(); - public native void accept(QRect r); - public native void ignore(QRect r); + 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; diff --git a/qtjava/javalib/org/kde/qt/QDragObject.java b/qtjava/javalib/org/kde/qt/QDragObject.java index 7f7369af..17db8309 100644 --- a/qtjava/javalib/org/kde/qt/QDragObject.java +++ b/qtjava/javalib/org/kde/qt/QDragObject.java @@ -3,29 +3,29 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragObject extends QObject implements QMimeSourceInterface { - protected QDragObject(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + 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(QPixmap arg1); - public native void setPixmap(QPixmap arg1, QPoint hotspot); - public native QPixmap pixmap(); - public native QPoint pixmapHotSpot(); - public native QWidget source(); + 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 QWidget target(); - public static native void setTarget(QWidget 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); diff --git a/qtjava/javalib/org/kde/qt/QDragResponseEvent.java b/qtjava/javalib/org/kde/qt/QDragResponseEvent.java index 791208f5..6b19daaa 100644 --- a/qtjava/javalib/org/kde/qt/QDragResponseEvent.java +++ b/qtjava/javalib/org/kde/qt/QDragResponseEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDragResponseEvent extends QEvent { - protected QDragResponseEvent(Class dummy){super((Class) null);} - public QDragResponseEvent(boolean accepted) { +public class TQDragResponseEvent extends TQEvent { + protected TQDragResponseEvent(Class dummy){super((Class) null);} + public TQDragResponseEvent(boolean accepted) { super((Class) null); - newQDragResponseEvent(accepted); + newTQDragResponseEvent(accepted); } - private native void newQDragResponseEvent(boolean accepted); + private native void newTQDragResponseEvent(boolean accepted); public native boolean dragAccepted(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QDropEvent.java b/qtjava/javalib/org/kde/qt/QDropEvent.java index ba73e415..7e6f93cf 100644 --- a/qtjava/javalib/org/kde/qt/QDropEvent.java +++ b/qtjava/javalib/org/kde/qt/QDropEvent.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDropEvent extends QEvent implements QMimeSourceInterface { - protected QDropEvent(Class dummy){super((Class) null);} +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 QDropEvent(QPoint pos, int typ) { + public TQDropEvent(TQPoint pos, int typ) { super((Class) null); - newQDropEvent(pos,typ); + newTQDropEvent(pos,typ); } - private native void newQDropEvent(QPoint pos, int typ); - public QDropEvent(QPoint pos) { + private native void newTQDropEvent(TQPoint pos, int typ); + public TQDropEvent(TQPoint pos) { super((Class) null); - newQDropEvent(pos); + newTQDropEvent(pos); } - private native void newQDropEvent(QPoint pos); - public native QPoint 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(); @@ -31,13 +31,13 @@ public class QDropEvent extends QEvent implements QMimeSourceInterface { public native void acceptAction(); public native void setAction(int a); public native int action(); - public native QWidget source(); + 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(QPoint np); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QDropSite.java b/qtjava/javalib/org/kde/qt/QDropSite.java index b73c9226..78a4f9df 100644 --- a/qtjava/javalib/org/kde/qt/QDropSite.java +++ b/qtjava/javalib/org/kde/qt/QDropSite.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QDropSite implements QtSupport { +public class TQDropSite implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QDropSite(Class dummy){} + protected TQDropSite(Class dummy){} - public QDropSite(QWidget parent) { - newQDropSite(parent); + public TQDropSite(TQWidget parent) { + newTQDropSite(parent); } - private native void newQDropSite(QWidget 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() */ diff --git a/qtjava/javalib/org/kde/qt/QEditorFactory.java b/qtjava/javalib/org/kde/qt/QEditorFactory.java index e157002a..6b560ee5 100644 --- a/qtjava/javalib/org/kde/qt/QEditorFactory.java +++ b/qtjava/javalib/org/kde/qt/QEditorFactory.java @@ -3,26 +3,26 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QEditorFactory extends QObject { - protected QEditorFactory(Class dummy){super((Class) null);} - public QEditorFactory(QObject parent, String name) { +public class TQEditorFactory extends TQObject { + protected TQEditorFactory(Class dummy){super((Class) null);} + public TQEditorFactory(TQObject parent, String name) { super((Class) null); - newQEditorFactory(parent,name); + newTQEditorFactory(parent,name); } - private native void newQEditorFactory(QObject parent, String name); - public QEditorFactory(QObject parent) { + private native void newTQEditorFactory(TQObject parent, String name); + public TQEditorFactory(TQObject parent) { super((Class) null); - newQEditorFactory(parent); + newTQEditorFactory(parent); } - private native void newQEditorFactory(QObject parent); - public QEditorFactory() { + private native void newTQEditorFactory(TQObject parent); + public TQEditorFactory() { super((Class) null); - newQEditorFactory(); + newTQEditorFactory(); } - private native void newQEditorFactory(); - public native QWidget createEditor(QWidget parent, QVariant v); - public static native QEditorFactory defaultFactory(); - public static native void installDefaultFactory(QEditorFactory factory); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QErrorMessage.java b/qtjava/javalib/org/kde/qt/QErrorMessage.java index cc9c4431..e06c8115 100644 --- a/qtjava/javalib/org/kde/qt/QErrorMessage.java +++ b/qtjava/javalib/org/kde/qt/QErrorMessage.java @@ -3,24 +3,24 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QErrorMessage extends QDialog { - protected QErrorMessage(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQErrorMessage extends TQDialog { + protected TQErrorMessage(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QErrorMessage(QWidget parent, String name) { + public TQErrorMessage(TQWidget parent, String name) { super((Class) null); - newQErrorMessage(parent,name); + newTQErrorMessage(parent,name); } - private native void newQErrorMessage(QWidget parent, String name); - public QErrorMessage(QWidget parent) { + private native void newTQErrorMessage(TQWidget parent, String name); + public TQErrorMessage(TQWidget parent) { super((Class) null); - newQErrorMessage(parent); + newTQErrorMessage(parent); } - private native void newQErrorMessage(QWidget 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 QErrorMessage qtHandler(); + public static native TQErrorMessage qtHandler(); protected native void done(int arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QEucJpCodec.java b/qtjava/javalib/org/kde/qt/QEucJpCodec.java index 7487b662..6de2619f 100644 --- a/qtjava/javalib/org/kde/qt/QEucJpCodec.java +++ b/qtjava/javalib/org/kde/qt/QEucJpCodec.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QEucJpCodec extends QTextCodec { - protected QEucJpCodec(Class dummy){super((Class) null);} +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 QTextDecoder makeDecoder(); + 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 QEucJpCodec() { + public TQEucJpCodec() { super((Class) null); - newQEucJpCodec(); + newTQEucJpCodec(); } - private native void newQEucJpCodec(); + private native void newTQEucJpCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QEucKrCodec.java b/qtjava/javalib/org/kde/qt/QEucKrCodec.java index 1015e658..5272f11c 100644 --- a/qtjava/javalib/org/kde/qt/QEucKrCodec.java +++ b/qtjava/javalib/org/kde/qt/QEucKrCodec.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QEucKrCodec extends QTextCodec { - protected QEucKrCodec(Class dummy){super((Class) null);} +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 QTextDecoder makeDecoder(); + 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 QEucKrCodec() { + public TQEucKrCodec() { super((Class) null); - newQEucKrCodec(); + newTQEucKrCodec(); } - private native void newQEucKrCodec(); + private native void newTQEucKrCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QEvent.java b/qtjava/javalib/org/kde/qt/QEvent.java index f39504a5..8b88b199 100644 --- a/qtjava/javalib/org/kde/qt/QEvent.java +++ b/qtjava/javalib/org/kde/qt/QEvent.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QEvent extends Qt { - protected QEvent(Class dummy){super((Class) null);} +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; @@ -82,11 +82,11 @@ public class QEvent extends Qt { public static final int User = 1000; public static final int MaxUser = 65535; - public QEvent(int type) { + public TQEvent(int type) { super((Class) null); - newQEvent(type); + newTQEvent(type); } - private native void newQEvent(int type); + private native void newTQEvent(int type); public native int type(); public native boolean spontaneous(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QEventLoop.java b/qtjava/javalib/org/kde/qt/QEventLoop.java index 22d5a810..956c4d38 100644 --- a/qtjava/javalib/org/kde/qt/QEventLoop.java +++ b/qtjava/javalib/org/kde/qt/QEventLoop.java @@ -4,38 +4,38 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QEventLoopSignals} for signals emitted by QEventLoop + See {@link TQEventLoopSignals} for signals emitted by TQEventLoop */ -public class QEventLoop extends QObject { - protected QEventLoop(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QEventLoop(QObject parent, String name) { + public TQEventLoop(TQObject parent, String name) { super((Class) null); - newQEventLoop(parent,name); + newTQEventLoop(parent,name); } - private native void newQEventLoop(QObject parent, String name); - public QEventLoop(QObject parent) { + private native void newTQEventLoop(TQObject parent, String name); + public TQEventLoop(TQObject parent) { super((Class) null); - newQEventLoop(parent); + newTQEventLoop(parent); } - private native void newQEventLoop(QObject parent); - public QEventLoop() { + private native void newTQEventLoop(TQObject parent); + public TQEventLoop() { super((Class) null); - newQEventLoop(); + newTQEventLoop(); } - private native void newQEventLoop(); + 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(QSocketNotifier arg1); - public native void unregisterSocketNotifier(QSocketNotifier arg1); - public native void setSocketNotifierPending(QSocketNotifier arg1); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QEventLoopSignals.java b/qtjava/javalib/org/kde/qt/QEventLoopSignals.java index 3b14bc17..a862a6d3 100644 --- a/qtjava/javalib/org/kde/qt/QEventLoopSignals.java +++ b/qtjava/javalib/org/kde/qt/QEventLoopSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QEventLoopSignals { +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 index 8364d275..0cf3e69d 100644 --- a/qtjava/javalib/org/kde/qt/QFile.java +++ b/qtjava/javalib/org/kde/qt/QFile.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFile extends QIODevice { - protected QFile(Class dummy){super((Class) null);} - public QFile() { +public class TQFile extends TQIODevice { + protected TQFile(Class dummy){super((Class) null);} + public TQFile() { super((Class) null); - newQFile(); + newTQFile(); } - private native void newQFile(); - public QFile(String name) { + private native void newTQFile(); + public TQFile(String name) { super((Class) null); - newQFile(name); + newTQFile(name); } - private native void newQFile(String name); + private native void newTQFile(String name); public native String name(); public native void setName(String name); public native boolean exists(); diff --git a/qtjava/javalib/org/kde/qt/QFileDialog.java b/qtjava/javalib/org/kde/qt/QFileDialog.java index 7fc31d0f..7986f82c 100644 --- a/qtjava/javalib/org/kde/qt/QFileDialog.java +++ b/qtjava/javalib/org/kde/qt/QFileDialog.java @@ -5,10 +5,10 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QFileDialogSignals} for signals emitted by QFileDialog + See {@link TQFileDialogSignals} for signals emitted by TQFileDialog */ -public class QFileDialog extends QDialog { - protected QFileDialog(Class dummy){super((Class) null);} +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; @@ -22,53 +22,53 @@ public class QFileDialog extends QDialog { public static final int Contents = 1; public static final int Info = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal) { + public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) { super((Class) null); - newQFileDialog(dirName,filter,parent,name,modal); + newTQFileDialog(dirName,filter,parent,name,modal); } - private native void newQFileDialog(String dirName, String filter, QWidget parent, String name, boolean modal); - public QFileDialog(String dirName, String filter, QWidget parent, String name) { + 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); - newQFileDialog(dirName,filter,parent,name); + newTQFileDialog(dirName,filter,parent,name); } - private native void newQFileDialog(String dirName, String filter, QWidget parent, String name); - public QFileDialog(String dirName, String filter, QWidget parent) { + private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name); + public TQFileDialog(String dirName, String filter, TQWidget parent) { super((Class) null); - newQFileDialog(dirName,filter,parent); + newTQFileDialog(dirName,filter,parent); } - private native void newQFileDialog(String dirName, String filter, QWidget parent); - public QFileDialog(String dirName, String filter) { + private native void newTQFileDialog(String dirName, String filter, TQWidget parent); + public TQFileDialog(String dirName, String filter) { super((Class) null); - newQFileDialog(dirName,filter); + newTQFileDialog(dirName,filter); } - private native void newQFileDialog(String dirName, String filter); - public QFileDialog(String dirName) { + private native void newTQFileDialog(String dirName, String filter); + public TQFileDialog(String dirName) { super((Class) null); - newQFileDialog(dirName); + newTQFileDialog(dirName); } - private native void newQFileDialog(String dirName); - public QFileDialog(QWidget parent, String name, boolean modal) { + private native void newTQFileDialog(String dirName); + public TQFileDialog(TQWidget parent, String name, boolean modal) { super((Class) null); - newQFileDialog(parent,name,modal); + newTQFileDialog(parent,name,modal); } - private native void newQFileDialog(QWidget parent, String name, boolean modal); - public QFileDialog(QWidget parent, String name) { + private native void newTQFileDialog(TQWidget parent, String name, boolean modal); + public TQFileDialog(TQWidget parent, String name) { super((Class) null); - newQFileDialog(parent,name); + newTQFileDialog(parent,name); } - private native void newQFileDialog(QWidget parent, String name); - public QFileDialog(QWidget parent) { + private native void newTQFileDialog(TQWidget parent, String name); + public TQFileDialog(TQWidget parent) { super((Class) null); - newQFileDialog(parent); + newTQFileDialog(parent); } - private native void newQFileDialog(QWidget parent); - public QFileDialog() { + private native void newTQFileDialog(TQWidget parent); + public TQFileDialog() { super((Class) null); - newQFileDialog(); + newTQFileDialog(); } - private native void newQFileDialog(); + private native void newTQFileDialog(); public native String selectedFile(); public native String selectedFilter(); public native void setSelectedFilter(String arg1); @@ -77,8 +77,8 @@ public class QFileDialog extends QDialog { public native void selectAll(boolean b); public native ArrayList selectedFiles(); public native String dirPath(); - public native void setDir(QDir arg1); - public native QDir dir(); + public native void setDir(TQDir arg1); + public native TQDir dir(); public native void setShowHiddenFiles(boolean s); public native boolean showHiddenFiles(); public native void rereadDir(); @@ -89,63 +89,63 @@ public class QFileDialog extends QDialog { public native int viewMode(); public native void setPreviewMode(int m); public native int previewMode(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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(QWidget w, QFilePreview preview); - public native void setContentsPreview(QWidget w, QFilePreview preview); - public native QUrlInterface url(); + 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(QUrlOperator url); + 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, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native String getOpenFileName(String initially, String filter, QWidget parent, String name, String caption); - public static native String getOpenFileName(String initially, String filter, QWidget parent, String name); - public static native String getOpenFileName(String initially, String filter, QWidget parent); + 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, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native String getSaveFileName(String initially, String filter, QWidget parent, String name, String caption); - public static native String getSaveFileName(String initially, String filter, QWidget parent, String name); - public static native String getSaveFileName(String initially, String filter, QWidget parent); + 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, QWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks); - public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption, boolean dirOnly); - public static native String getExistingDirectory(String dir, QWidget parent, String name, String caption); - public static native String getExistingDirectory(String dir, QWidget parent, String name); - public static native String getExistingDirectory(String dir, QWidget parent); + 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, QWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); - public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption, StringBuffer selectedFilter); - public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name, String caption); - public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent, String name); - public static native ArrayList getOpenFileNames(String filter, String dir, QWidget parent); + 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(QFileIconProvider arg1); - public static native QFileIconProvider iconProvider(); - protected native void resizeEvent(QResizeEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void addWidgets(QLabel arg1, QWidget arg2, QPushButton arg3); - protected native void addToolButton(QButton b, boolean separator); - protected native void addToolButton(QButton b); - protected native void addLeftWidget(QWidget w); - protected native void addRightWidget(QWidget w); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QFileDialogSignals.java b/qtjava/javalib/org/kde/qt/QFileDialogSignals.java index f3603885..d3cc06a0 100644 --- a/qtjava/javalib/org/kde/qt/QFileDialogSignals.java +++ b/qtjava/javalib/org/kde/qt/QFileDialogSignals.java @@ -3,7 +3,7 @@ package org.kde.qt; import java.util.ArrayList; -public interface QFileDialogSignals { +public interface TQFileDialogSignals { void fileHighlighted(String arg1); void fileSelected(String arg1); void filesSelected(String[] arg1); diff --git a/qtjava/javalib/org/kde/qt/QFileIconProvider.java b/qtjava/javalib/org/kde/qt/QFileIconProvider.java index bddd57ba..1bea9b41 100644 --- a/qtjava/javalib/org/kde/qt/QFileIconProvider.java +++ b/qtjava/javalib/org/kde/qt/QFileIconProvider.java @@ -3,26 +3,26 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFileIconProvider extends QObject { - protected QFileIconProvider(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQFileIconProvider extends TQObject { + protected TQFileIconProvider(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QFileIconProvider(QObject parent, String name) { + public TQFileIconProvider(TQObject parent, String name) { super((Class) null); - newQFileIconProvider(parent,name); + newTQFileIconProvider(parent,name); } - private native void newQFileIconProvider(QObject parent, String name); - public QFileIconProvider(QObject parent) { + private native void newTQFileIconProvider(TQObject parent, String name); + public TQFileIconProvider(TQObject parent) { super((Class) null); - newQFileIconProvider(parent); + newTQFileIconProvider(parent); } - private native void newQFileIconProvider(QObject parent); - public QFileIconProvider() { + private native void newTQFileIconProvider(TQObject parent); + public TQFileIconProvider() { super((Class) null); - newQFileIconProvider(); + newTQFileIconProvider(); } - private native void newQFileIconProvider(); - public native QPixmap pixmap(QFileInfo arg1); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QFileInfo.java b/qtjava/javalib/org/kde/qt/QFileInfo.java index 73df9f3d..5c342676 100644 --- a/qtjava/javalib/org/kde/qt/QFileInfo.java +++ b/qtjava/javalib/org/kde/qt/QFileInfo.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.Calendar; -public class QFileInfo implements QtSupport { +public class TQFileInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFileInfo(Class dummy){} + protected TQFileInfo(Class dummy){} public static final int ReadOwner = 04000; public static final int WriteOwner = 02000; @@ -22,29 +22,29 @@ public class QFileInfo implements QtSupport { public static final int WriteOther = 00002; public static final int ExeOther = 00001; - public QFileInfo() { - newQFileInfo(); + public TQFileInfo() { + newTQFileInfo(); } - private native void newQFileInfo(); - public QFileInfo(String file) { - newQFileInfo(file); + private native void newTQFileInfo(); + public TQFileInfo(String file) { + newTQFileInfo(file); } - private native void newQFileInfo(String file); - public QFileInfo(QFile arg1) { - newQFileInfo(arg1); + private native void newTQFileInfo(String file); + public TQFileInfo(TQFile arg1) { + newTQFileInfo(arg1); } - private native void newQFileInfo(QFile arg1); - public QFileInfo(QDir arg1, String fileName) { - newQFileInfo(arg1,fileName); + private native void newTQFileInfo(TQFile arg1); + public TQFileInfo(TQDir arg1, String fileName) { + newTQFileInfo(arg1,fileName); } - private native void newQFileInfo(QDir arg1, String fileName); - public QFileInfo(QFileInfo arg1) { - newQFileInfo(arg1); + private native void newTQFileInfo(TQDir arg1, String fileName); + public TQFileInfo(TQFileInfo arg1) { + newTQFileInfo(arg1); } - private native void newQFileInfo(QFileInfo arg1); + private native void newTQFileInfo(TQFileInfo arg1); public native void setFile(String file); - public native void setFile(QFile arg1); - public native void setFile(QDir arg1, String fileName); + 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(); @@ -58,8 +58,8 @@ public class QFileInfo implements QtSupport { public native String extension(); public native String dirPath(boolean absPath); public native String dirPath(); - public native QDir dir(boolean absPath); - public native QDir dir(); + public native TQDir dir(boolean absPath); + public native TQDir dir(); public native boolean isReadable(); public native boolean isWritable(); public native boolean isExecutable(); diff --git a/qtjava/javalib/org/kde/qt/QFilePreview.java b/qtjava/javalib/org/kde/qt/QFilePreview.java index c50f725b..709be1d9 100644 --- a/qtjava/javalib/org/kde/qt/QFilePreview.java +++ b/qtjava/javalib/org/kde/qt/QFilePreview.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFilePreview implements QtSupport { +public class TQFilePreview implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFilePreview(Class dummy){} + protected TQFilePreview(Class dummy){} - public native void previewUrl(QUrlInterface url); + public native void previewUrl(TQUrlInterface url); } diff --git a/qtjava/javalib/org/kde/qt/QFocusData.java b/qtjava/javalib/org/kde/qt/QFocusData.java index e15014ca..077ede4e 100644 --- a/qtjava/javalib/org/kde/qt/QFocusData.java +++ b/qtjava/javalib/org/kde/qt/QFocusData.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFocusData implements QtSupport { +public class TQFocusData implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFocusData(Class dummy){} + protected TQFocusData(Class dummy){} - public native QWidget focusWidget(); - public native QWidget home(); - public native QWidget next(); - public native QWidget prev(); - public native QWidget first(); - public native QWidget last(); + 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 index c205c18b..4975e017 100644 --- a/qtjava/javalib/org/kde/qt/QFocusEvent.java +++ b/qtjava/javalib/org/kde/qt/QFocusEvent.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFocusEvent extends QEvent { - protected QFocusEvent(Class dummy){super((Class) null);} +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; @@ -13,11 +13,11 @@ public class QFocusEvent extends QEvent { public static final int Shortcut = 5; public static final int Other = 6; - public QFocusEvent(int type) { + public TQFocusEvent(int type) { super((Class) null); - newQFocusEvent(type); + newTQFocusEvent(type); } - private native void newQFocusEvent(int type); + private native void newTQFocusEvent(int type); public native boolean gotFocus(); public native boolean lostFocus(); public static native int reason(); diff --git a/qtjava/javalib/org/kde/qt/QFont.java b/qtjava/javalib/org/kde/qt/QFont.java index c795fc17..0f132129 100644 --- a/qtjava/javalib/org/kde/qt/QFont.java +++ b/qtjava/javalib/org/kde/qt/QFont.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QFont implements QtSupport { +public class TQFont implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFont(Class dummy){} + protected TQFont(Class dummy){} public static final int Helvetica = 0; public static final int SansSerif = Helvetica; @@ -111,30 +111,30 @@ public class QFont implements QtSupport { public static final int Han_Korean = 60; public static final int LastPrivateScript = 61; - public QFont() { - newQFont(); + public TQFont() { + newTQFont(); } - private native void newQFont(); - public QFont(String family, int pointSize, int weight, boolean italic) { - newQFont(family,pointSize,weight,italic); + private native void newTQFont(); + public TQFont(String family, int pointSize, int weight, boolean italic) { + newTQFont(family,pointSize,weight,italic); } - private native void newQFont(String family, int pointSize, int weight, boolean italic); - public QFont(String family, int pointSize, int weight) { - newQFont(family,pointSize,weight); + 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 newQFont(String family, int pointSize, int weight); - public QFont(String family, int pointSize) { - newQFont(family,pointSize); + private native void newTQFont(String family, int pointSize, int weight); + public TQFont(String family, int pointSize) { + newTQFont(family,pointSize); } - private native void newQFont(String family, int pointSize); - public QFont(String family) { - newQFont(family); + private native void newTQFont(String family, int pointSize); + public TQFont(String family) { + newTQFont(family); } - private native void newQFont(String family); - public QFont(QFont arg1) { - newQFont(arg1); + private native void newTQFont(String family); + public TQFont(TQFont arg1) { + newTQFont(arg1); } - private native void newQFont(QFont arg1); + private native void newTQFont(TQFont arg1); public native String family(); public native void setFamily(String arg1); public native int pointSize(); @@ -168,9 +168,9 @@ public class QFont implements QtSupport { public native boolean rawMode(); public native void setRawMode(boolean arg1); public native boolean exactMatch(); - public native boolean op_equals(QFont arg1); - public native boolean op_not_equals(QFont arg1); - public native boolean isCopyOf(QFont arg1); + 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(); @@ -180,7 +180,7 @@ public class QFont implements QtSupport { public native String defaultFamily(); public native String lastResortFamily(); public native String lastResortFont(); - public native QFont resolve(QFont arg1); + 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(); @@ -190,8 +190,8 @@ public class QFont implements QtSupport { public static native void initialize(); public static native void cleanup(); public static native void cacheStatistics(); - public static native QFont defaultFont(); - public static native void setDefaultFont(QFont arg1); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QFontDatabase.java b/qtjava/javalib/org/kde/qt/QFontDatabase.java index 1f468c33..ded9a857 100644 --- a/qtjava/javalib/org/kde/qt/QFontDatabase.java +++ b/qtjava/javalib/org/kde/qt/QFontDatabase.java @@ -4,23 +4,23 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QFontDatabase implements QtSupport { +public class TQFontDatabase implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFontDatabase(Class dummy){} + protected TQFontDatabase(Class dummy){} - public QFontDatabase() { - newQFontDatabase(); + public TQFontDatabase() { + newTQFontDatabase(); } - private native void newQFontDatabase(); + 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(QFont arg1); - public native QFont font(String arg1, String arg2, int arg3); + 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); @@ -36,7 +36,7 @@ public class QFontDatabase implements QtSupport { 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 QFont font(String arg1, String arg2, int arg3, String arg4); + 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); diff --git a/qtjava/javalib/org/kde/qt/QFontDialog.java b/qtjava/javalib/org/kde/qt/QFontDialog.java index 0a9fea2c..bcedb8ad 100644 --- a/qtjava/javalib/org/kde/qt/QFontDialog.java +++ b/qtjava/javalib/org/kde/qt/QFontDialog.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFontDialog extends QDialog { - protected QFontDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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 QFont getFont(boolean[] ok, QFont def, QWidget parent, String name); - public static native QFont getFont(boolean[] ok, QFont def, QWidget parent); - public static native QFont getFont(boolean[] ok, QFont def); - public static native QFont getFont(boolean[] ok, QWidget parent, String name); - public static native QFont getFont(boolean[] ok, QWidget parent); - public static native QFont getFont(boolean[] ok); + 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 index 217051ec..0f57901b 100644 --- a/qtjava/javalib/org/kde/qt/QFontInfo.java +++ b/qtjava/javalib/org/kde/qt/QFontInfo.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFontInfo implements QtSupport { +public class TQFontInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFontInfo(Class dummy){} + protected TQFontInfo(Class dummy){} - public QFontInfo(QFont arg1) { - newQFontInfo(arg1); + public TQFontInfo(TQFont arg1) { + newTQFontInfo(arg1); } - private native void newQFontInfo(QFont arg1); - public QFontInfo(QFont arg1, int arg2) { - newQFontInfo(arg1,arg2); + private native void newTQFontInfo(TQFont arg1); + public TQFontInfo(TQFont arg1, int arg2) { + newTQFontInfo(arg1,arg2); } - private native void newQFontInfo(QFont arg1, int arg2); - public QFontInfo(QFontInfo arg1) { - newQFontInfo(arg1); + private native void newTQFontInfo(TQFont arg1, int arg2); + public TQFontInfo(TQFontInfo arg1) { + newTQFontInfo(arg1); } - private native void newQFontInfo(QFontInfo arg1); + private native void newTQFontInfo(TQFontInfo arg1); public native String family(); public native int pixelSize(); public native int pointSize(); diff --git a/qtjava/javalib/org/kde/qt/QFontMetrics.java b/qtjava/javalib/org/kde/qt/QFontMetrics.java index 6786b95e..6c1f61ea 100644 --- a/qtjava/javalib/org/kde/qt/QFontMetrics.java +++ b/qtjava/javalib/org/kde/qt/QFontMetrics.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFontMetrics implements QtSupport { +public class TQFontMetrics implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QFontMetrics(Class dummy){} + protected TQFontMetrics(Class dummy){} - public QFontMetrics(QFont arg1) { - newQFontMetrics(arg1); + public TQFontMetrics(TQFont arg1) { + newTQFontMetrics(arg1); } - private native void newQFontMetrics(QFont arg1); - public QFontMetrics(QFont arg1, int arg2) { - newQFontMetrics(arg1,arg2); + private native void newTQFontMetrics(TQFont arg1); + public TQFontMetrics(TQFont arg1, int arg2) { + newTQFontMetrics(arg1,arg2); } - private native void newQFontMetrics(QFont arg1, int arg2); - public QFontMetrics(QFontMetrics arg1) { - newQFontMetrics(arg1); + private native void newTQFontMetrics(TQFont arg1, int arg2); + public TQFontMetrics(TQFontMetrics arg1) { + newTQFontMetrics(arg1); } - private native void newQFontMetrics(QFontMetrics arg1); + private native void newTQFontMetrics(TQFontMetrics arg1); public native int ascent(); public native int descent(); public native int height(); @@ -35,19 +35,19 @@ public class QFontMetrics implements QtSupport { public native int width(String arg1); public native int width(char arg1); public native int charWidth(String str, int pos); - public native QRect boundingRect(String arg1, int len); - public native QRect boundingRect(String arg1); - public native QRect boundingRect(char arg1); - // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,int arg8,int* arg9,QTextParag** arg10); >>>> NOT CONVERTED - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String str); - // QSize size(int arg1,const QString& arg2,int arg3,int arg4,int* arg5,QTextParag** arg6); >>>> NOT CONVERTED - public native QSize size(int flags, String str, int len, int tabstops, int[] tabarray); - public native QSize size(int flags, String str, int len, int tabstops); - public native QSize size(int flags, String str, int len); - public native QSize size(int flags, String str); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QFrame.java b/qtjava/javalib/org/kde/qt/QFrame.java index 65dbee4b..81ccfe4f 100644 --- a/qtjava/javalib/org/kde/qt/QFrame.java +++ b/qtjava/javalib/org/kde/qt/QFrame.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QFrame extends QWidget { - protected QFrame(Class dummy){super((Class) null);} +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; @@ -25,34 +25,34 @@ public class QFrame extends QWidget { public static final int Sunken = 0x0030; public static final int MShadow = 0x00f0; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QFrame(QWidget parent, String name, int f) { + public TQFrame(TQWidget parent, String name, int f) { super((Class) null); - newQFrame(parent,name,f); + newTQFrame(parent,name,f); } - private native void newQFrame(QWidget parent, String name, int f); - public QFrame(QWidget parent, String name) { + private native void newTQFrame(TQWidget parent, String name, int f); + public TQFrame(TQWidget parent, String name) { super((Class) null); - newQFrame(parent,name); + newTQFrame(parent,name); } - private native void newQFrame(QWidget parent, String name); - public QFrame(QWidget parent) { + private native void newTQFrame(TQWidget parent, String name); + public TQFrame(TQWidget parent) { super((Class) null); - newQFrame(parent); + newTQFrame(parent); } - private native void newQFrame(QWidget parent); - public QFrame() { + private native void newTQFrame(TQWidget parent); + public TQFrame() { super((Class) null); - newQFrame(); + newTQFrame(); } - private native void newQFrame(); + private native void newTQFrame(); public native int frameStyle(); public native void setFrameStyle(int arg1); public native int frameWidth(); - public native QRect contentsRect(); + public native TQRect contentsRect(); public native boolean lineShapesOk(); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native int frameShape(); public native void setFrameShape(int arg1); public native int frameShadow(); @@ -63,16 +63,16 @@ public class QFrame extends QWidget { public native void setMargin(int arg1); public native int midLineWidth(); public native void setMidLineWidth(int arg1); - public native QRect frameRect(); - public native void setFrameRect(QRect 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(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void drawFrame(QPainter arg1); - protected native void drawContents(QPainter 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(QStyle arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QFtp.java b/qtjava/javalib/org/kde/qt/QFtp.java index 4ed29425..b6d7d843 100644 --- a/qtjava/javalib/org/kde/qt/QFtp.java +++ b/qtjava/javalib/org/kde/qt/QFtp.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QFtpSignals} for signals emitted by QFtp + See {@link TQFtpSignals} for signals emitted by TQFtp */ -public class QFtp extends QNetworkProtocol { - protected QFtp(Class dummy){super((Class) null);} +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; @@ -35,23 +35,23 @@ public class QFtp extends QNetworkProtocol { public static final int Rename = 11; public static final int RawCommand = 12; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QFtp() { + public TQFtp() { super((Class) null); - newQFtp(); + newTQFtp(); } - private native void newQFtp(); - public QFtp(QObject parent, String name) { + private native void newTQFtp(); + public TQFtp(TQObject parent, String name) { super((Class) null); - newQFtp(parent,name); + newTQFtp(parent,name); } - private native void newQFtp(QObject parent, String name); - public QFtp(QObject parent) { + private native void newTQFtp(TQObject parent, String name); + public TQFtp(TQObject parent) { super((Class) null); - newQFtp(parent); + newTQFtp(parent); } - private native void newQFtp(QObject 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); @@ -62,10 +62,10 @@ public class QFtp extends QNetworkProtocol { public native int list(String dir); public native int list(); public native int cd(String dir); - public native int get(String file, QIODeviceInterface dev); + 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(QIODeviceInterface dev, 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); @@ -75,7 +75,7 @@ public class QFtp extends QNetworkProtocol { public native long readBlock(StringBuffer data, long maxlen); public native byte[] readAll(); public native int currentId(); - public native QIODeviceInterface currentDevice(); + public native TQIODeviceInterface currentDevice(); public native int currentCommand(); public native boolean hasPendingCommands(); public native void clearPendingCommands(); @@ -85,13 +85,13 @@ public class QFtp extends QNetworkProtocol { 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, QUrlInfo info); - protected native void operationListChildren(QNetworkOperation op); - protected native void operationMkDir(QNetworkOperation op); - protected native void operationRemove(QNetworkOperation op); - protected native void operationRename(QNetworkOperation op); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation op); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QFtpSignals.java b/qtjava/javalib/org/kde/qt/QFtpSignals.java index f1b8fa4a..bba840f4 100644 --- a/qtjava/javalib/org/kde/qt/QFtpSignals.java +++ b/qtjava/javalib/org/kde/qt/QFtpSignals.java @@ -2,9 +2,9 @@ package org.kde.qt; -public interface QFtpSignals { +public interface TQFtpSignals { void stateChanged(int arg1); - void listInfo(QUrlInfo arg1); + void listInfo(TQUrlInfo arg1); void readyRead(); void dataTransferProgress(int arg1, int arg2); void rawCommandReply(int arg1, String arg2); diff --git a/qtjava/javalib/org/kde/qt/QGL.java b/qtjava/javalib/org/kde/qt/QGL.java index 137b480a..4016591d 100644 --- a/qtjava/javalib/org/kde/qt/QGL.java +++ b/qtjava/javalib/org/kde/qt/QGL.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGL implements QtSupport { +public class TQGL implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QGL(Class dummy){} + protected TQGL(Class dummy){} public static final int DoubleBuffer = 0x0001; public static final int DepthBuffer = 0x0002; @@ -27,10 +27,10 @@ public class QGL implements QtSupport { public static final int IndirectRendering = DirectRendering<<16; public static final int NoOverlay = HasOverlay<<16; - public QGL() { - newQGL(); + public TQGL() { + newTQGL(); } - private native void newQGL(); + private native void newTQGL(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QGLColormap.java b/qtjava/javalib/org/kde/qt/QGLColormap.java index 818355cc..72018e14 100644 --- a/qtjava/javalib/org/kde/qt/QGLColormap.java +++ b/qtjava/javalib/org/kde/qt/QGLColormap.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGLColormap implements QtSupport { +public class TQGLColormap implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QGLColormap(Class dummy){} + protected TQGLColormap(Class dummy){} - public QGLColormap() { - newQGLColormap(); + public TQGLColormap() { + newTQGLColormap(); } - private native void newQGLColormap(); - public QGLColormap(QGLColormap arg1) { - newQGLColormap(arg1); + private native void newTQGLColormap(); + public TQGLColormap(TQGLColormap arg1) { + newTQGLColormap(arg1); } - private native void newQGLColormap(QGLColormap 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, QColor color); + public native void setEntry(int idx, TQColor color); public native int entryRgb(int idx); - public native QColor entryColor(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 */ diff --git a/qtjava/javalib/org/kde/qt/QGLContext.java b/qtjava/javalib/org/kde/qt/QGLContext.java index 41f967ef..3a8c6058 100644 --- a/qtjava/javalib/org/kde/qt/QGLContext.java +++ b/qtjava/javalib/org/kde/qt/QGLContext.java @@ -3,32 +3,32 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGLContext extends QGL { - protected QGLContext(Class dummy){super((Class) null);} - public QGLContext(QGLFormat format, QPaintDeviceInterface device) { +public class TQGLContext extends TQGL { + protected TQGLContext(Class dummy){super((Class) null);} + public TQGLContext(TQGLFormat format, TQPaintDeviceInterface device) { super((Class) null); - newQGLContext(format,device); + newTQGLContext(format,device); } - private native void newQGLContext(QGLFormat format, QPaintDeviceInterface device); - public QGLContext(QGLFormat format) { + private native void newTQGLContext(TQGLFormat format, TQPaintDeviceInterface device); + public TQGLContext(TQGLFormat format) { super((Class) null); - newQGLContext(format); + newTQGLContext(format); } - private native void newQGLContext(QGLFormat format); - public native boolean create(QGLContext shareContext); + 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 QGLFormat format(); - public native QGLFormat requestedFormat(); - public native void setFormat(QGLFormat format); + public native TQGLFormat format(); + public native TQGLFormat requestedFormat(); + public native void setFormat(TQGLFormat format); public native void makeCurrent(); public native void swapBuffers(); - public native QPaintDeviceInterface device(); - public native QColor overlayTransparentColor(); - public static native QGLContext currentContext(); - protected native boolean chooseContext(QGLContext shareContext); + 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(); @@ -36,10 +36,10 @@ public class QGLContext extends QGL { protected native void setWindowCreated(boolean on); protected native boolean initialized(); protected native void setInitialized(boolean on); - protected native void generateFontDisplayLists(QFont fnt, int listBase); - protected native int colorIndex(QColor c); + protected native void generateFontDisplayLists(TQFont fnt, int listBase); + protected native int colorIndex(TQColor c); protected native void setValid(boolean valid); - protected native void setDevice(QPaintDeviceInterface pDev); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QGLFormat.java b/qtjava/javalib/org/kde/qt/QGLFormat.java index d8112b68..b975d833 100644 --- a/qtjava/javalib/org/kde/qt/QGLFormat.java +++ b/qtjava/javalib/org/kde/qt/QGLFormat.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGLFormat extends QGL { - protected QGLFormat(Class dummy){super((Class) null);} - public QGLFormat() { +public class TQGLFormat extends TQGL { + protected TQGLFormat(Class dummy){super((Class) null);} + public TQGLFormat() { super((Class) null); - newQGLFormat(); + newTQGLFormat(); } - private native void newQGLFormat(); - public QGLFormat(int options, int plane) { + private native void newTQGLFormat(); + public TQGLFormat(int options, int plane) { super((Class) null); - newQGLFormat(options,plane); + newTQGLFormat(options,plane); } - private native void newQGLFormat(int options, int plane); - public QGLFormat(int options) { + private native void newTQGLFormat(int options, int plane); + public TQGLFormat(int options) { super((Class) null); - newQGLFormat(options); + newTQGLFormat(options); } - private native void newQGLFormat(int options); + private native void newTQGLFormat(int options); public native boolean doubleBuffer(); public native void setDoubleBuffer(boolean enable); public native boolean depth(); @@ -42,10 +42,10 @@ public class QGLFormat extends QGL { public native void setPlane(int plane); public native void setOption(int opt); public native boolean testOption(int opt); - public static native QGLFormat defaultFormat(); - public static native void setDefaultFormat(QGLFormat f); - public static native QGLFormat defaultOverlayFormat(); - public static native void setDefaultOverlayFormat(QGLFormat f); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QGLWidget.java b/qtjava/javalib/org/kde/qt/QGLWidget.java index 83af7d6c..a7d1fe51 100644 --- a/qtjava/javalib/org/kde/qt/QGLWidget.java +++ b/qtjava/javalib/org/kde/qt/QGLWidget.java @@ -3,118 +3,118 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGLWidget extends QGL { - protected QGLWidget(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQGLWidget extends TQGL { + protected TQGLWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f) { + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) { super((Class) null); - newQGLWidget(parent,name,shareWidget,f); + newTQGLWidget(parent,name,shareWidget,f); } - private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget, int f); - public QGLWidget(QWidget parent, String name, QGLWidget shareWidget) { + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) { super((Class) null); - newQGLWidget(parent,name,shareWidget); + newTQGLWidget(parent,name,shareWidget); } - private native void newQGLWidget(QWidget parent, String name, QGLWidget shareWidget); - public QGLWidget(QWidget parent, String name) { + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQWidget parent, String name) { super((Class) null); - newQGLWidget(parent,name); + newTQGLWidget(parent,name); } - private native void newQGLWidget(QWidget parent, String name); - public QGLWidget(QWidget parent) { + private native void newTQGLWidget(TQWidget parent, String name); + public TQGLWidget(TQWidget parent) { super((Class) null); - newQGLWidget(parent); + newTQGLWidget(parent); } - private native void newQGLWidget(QWidget parent); - public QGLWidget() { + private native void newTQGLWidget(TQWidget parent); + public TQGLWidget() { super((Class) null); - newQGLWidget(); + newTQGLWidget(); } - private native void newQGLWidget(); - public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f) { + private native void newTQGLWidget(); + public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) { super((Class) null); - newQGLWidget(context,parent,name,shareWidget,f); + newTQGLWidget(context,parent,name,shareWidget,f); } - private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget, int f); - public QGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget) { + 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); - newQGLWidget(context,parent,name,shareWidget); + newTQGLWidget(context,parent,name,shareWidget); } - private native void newQGLWidget(QGLContext context, QWidget parent, String name, QGLWidget shareWidget); - public QGLWidget(QGLContext context, QWidget parent, String name) { + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLContext context, TQWidget parent, String name) { super((Class) null); - newQGLWidget(context,parent,name); + newTQGLWidget(context,parent,name); } - private native void newQGLWidget(QGLContext context, QWidget parent, String name); - public QGLWidget(QGLContext context, QWidget parent) { + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name); + public TQGLWidget(TQGLContext context, TQWidget parent) { super((Class) null); - newQGLWidget(context,parent); + newTQGLWidget(context,parent); } - private native void newQGLWidget(QGLContext context, QWidget parent); - public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f) { + private native void newTQGLWidget(TQGLContext context, TQWidget parent); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) { super((Class) null); - newQGLWidget(format,parent,name,shareWidget,f); + newTQGLWidget(format,parent,name,shareWidget,f); } - private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget, int f); - public QGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget) { + 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); - newQGLWidget(format,parent,name,shareWidget); + newTQGLWidget(format,parent,name,shareWidget); } - private native void newQGLWidget(QGLFormat format, QWidget parent, String name, QGLWidget shareWidget); - public QGLWidget(QGLFormat format, QWidget parent, String name) { + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name) { super((Class) null); - newQGLWidget(format,parent,name); + newTQGLWidget(format,parent,name); } - private native void newQGLWidget(QGLFormat format, QWidget parent, String name); - public QGLWidget(QGLFormat format, QWidget parent) { + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name); + public TQGLWidget(TQGLFormat format, TQWidget parent) { super((Class) null); - newQGLWidget(format,parent); + newTQGLWidget(format,parent); } - private native void newQGLWidget(QGLFormat format, QWidget parent); - public QGLWidget(QGLFormat format) { + private native void newTQGLWidget(TQGLFormat format, TQWidget parent); + public TQGLWidget(TQGLFormat format) { super((Class) null); - newQGLWidget(format); + newTQGLWidget(format); } - private native void newQGLWidget(QGLFormat format); - public native void qglColor(QColor c); - public native void qglClearColor(QColor c); + 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 QGLFormat format(); - public native void setFormat(QGLFormat format); - public native QGLContext context(); - public native void setContext(QGLContext context, QGLContext shareContext, boolean deleteOldContext); - public native void setContext(QGLContext context, QGLContext shareContext); - public native void setContext(QGLContext context); - public native QPixmap renderPixmap(int w, int h, boolean useContext); - public native QPixmap renderPixmap(int w, int h); - public native QPixmap renderPixmap(int w); - public native QPixmap renderPixmap(); - public native QImage grabFrameBuffer(boolean withAlpha); - public native QImage grabFrameBuffer(); + 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 QGLContext overlayContext(); + public native TQGLContext overlayContext(); public native void setMouseTracking(boolean enable); - public native void reparent(QWidget parent, int f, QPoint p, boolean showIt); - public native void reparent(QWidget parent, int f, QPoint p); - public native QGLColormap colormap(); - public native void setColormap(QGLColormap map); - public native void renderText(int x, int y, String str, QFont fnt, int listBase); - public native void renderText(int x, int y, String str, QFont fnt); + 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, QFont fnt, int listBase); - public native void renderText(double x, double y, double z, String str, QFont fnt); + 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 QImage convertToGLFormat(QImage img); + public static native TQImage convertToGLFormat(TQImage img); protected native void initializeGL(); protected native void resizeGL(int w, int h); protected native void paintGL(); @@ -123,8 +123,8 @@ public class QGLWidget extends QGL { protected native void paintOverlayGL(); protected native void setAutoBufferSwap(boolean on); protected native boolean autoBufferSwap(); - protected native void paintEvent(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QGb18030Codec.java b/qtjava/javalib/org/kde/qt/QGb18030Codec.java index 97b074b6..b01f1fc7 100644 --- a/qtjava/javalib/org/kde/qt/QGb18030Codec.java +++ b/qtjava/javalib/org/kde/qt/QGb18030Codec.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGb18030Codec extends QTextCodec { - protected QGb18030Codec(Class dummy){super((Class) null);} - public QGb18030Codec() { +public class TQGb18030Codec extends TQTextCodec { + protected TQGb18030Codec(Class dummy){super((Class) null);} + public TQGb18030Codec() { super((Class) null); - newQGb18030Codec(); + newTQGb18030Codec(); } - private native void newQGb18030Codec(); + private native void newTQGb18030Codec(); public native int mibEnum(); public native String name(); - public native QTextDecoder makeDecoder(); + 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); diff --git a/qtjava/javalib/org/kde/qt/QGbkCodec.java b/qtjava/javalib/org/kde/qt/QGbkCodec.java index 78a726c4..08def7a2 100644 --- a/qtjava/javalib/org/kde/qt/QGbkCodec.java +++ b/qtjava/javalib/org/kde/qt/QGbkCodec.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGbkCodec extends QGb18030Codec { - protected QGbkCodec(Class dummy){super((Class) null);} - public QGbkCodec() { +public class TQGbkCodec extends TQGb18030Codec { + protected TQGbkCodec(Class dummy){super((Class) null);} + public TQGbkCodec() { super((Class) null); - newQGbkCodec(); + newTQGbkCodec(); } - private native void newQGbkCodec(); + private native void newTQGbkCodec(); public native int mibEnum(); public native String name(); - public native QTextDecoder makeDecoder(); + 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); diff --git a/qtjava/javalib/org/kde/qt/QGrid.java b/qtjava/javalib/org/kde/qt/QGrid.java index 7b9e76b3..93e1f322 100644 --- a/qtjava/javalib/org/kde/qt/QGrid.java +++ b/qtjava/javalib/org/kde/qt/QGrid.java @@ -3,52 +3,52 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGrid extends QFrame { - protected QGrid(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQGrid extends TQFrame { + protected TQGrid(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QGrid(int n, QWidget parent, String name, int f) { + public TQGrid(int n, TQWidget parent, String name, int f) { super((Class) null); - newQGrid(n,parent,name,f); + newTQGrid(n,parent,name,f); } - private native void newQGrid(int n, QWidget parent, String name, int f); - public QGrid(int n, QWidget parent, String name) { + private native void newTQGrid(int n, TQWidget parent, String name, int f); + public TQGrid(int n, TQWidget parent, String name) { super((Class) null); - newQGrid(n,parent,name); + newTQGrid(n,parent,name); } - private native void newQGrid(int n, QWidget parent, String name); - public QGrid(int n, QWidget parent) { + private native void newTQGrid(int n, TQWidget parent, String name); + public TQGrid(int n, TQWidget parent) { super((Class) null); - newQGrid(n,parent); + newTQGrid(n,parent); } - private native void newQGrid(int n, QWidget parent); - public QGrid(int n) { + private native void newTQGrid(int n, TQWidget parent); + public TQGrid(int n) { super((Class) null); - newQGrid(n); + newTQGrid(n); } - private native void newQGrid(int n); - public QGrid(int n, int orient, QWidget parent, String name, int f) { + private native void newTQGrid(int n); + public TQGrid(int n, int orient, TQWidget parent, String name, int f) { super((Class) null); - newQGrid(n,orient,parent,name,f); + newTQGrid(n,orient,parent,name,f); } - private native void newQGrid(int n, int orient, QWidget parent, String name, int f); - public QGrid(int n, int orient, QWidget parent, String name) { + 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); - newQGrid(n,orient,parent,name); + newTQGrid(n,orient,parent,name); } - private native void newQGrid(int n, int orient, QWidget parent, String name); - public QGrid(int n, int orient, QWidget parent) { + private native void newTQGrid(int n, int orient, TQWidget parent, String name); + public TQGrid(int n, int orient, TQWidget parent) { super((Class) null); - newQGrid(n,orient,parent); + newTQGrid(n,orient,parent); } - private native void newQGrid(int n, int orient, QWidget parent); - public QGrid(int n, int orient) { + private native void newTQGrid(int n, int orient, TQWidget parent); + public TQGrid(int n, int orient) { super((Class) null); - newQGrid(n,orient); + newTQGrid(n,orient); } - private native void newQGrid(int n, int orient); + private native void newTQGrid(int n, int orient); public native void setSpacing(int arg1); - public native QSize sizeHint(); + public native TQSize sizeHint(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); protected native void frameChanged(); diff --git a/qtjava/javalib/org/kde/qt/QGridLayout.java b/qtjava/javalib/org/kde/qt/QGridLayout.java index da08a17d..de127be3 100644 --- a/qtjava/javalib/org/kde/qt/QGridLayout.java +++ b/qtjava/javalib/org/kde/qt/QGridLayout.java @@ -3,98 +3,98 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGridLayout extends QLayout { - protected QGridLayout(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing, String name) { + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name) { super((Class) null); - newQGridLayout(parent,nRows,nCols,border,spacing,name); + newTQGridLayout(parent,nRows,nCols,border,spacing,name); } - private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing, String name); - public QGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing) { + 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); - newQGridLayout(parent,nRows,nCols,border,spacing); + newTQGridLayout(parent,nRows,nCols,border,spacing); } - private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border, int spacing); - public QGridLayout(QWidget parent, int nRows, int nCols, int border) { + 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); - newQGridLayout(parent,nRows,nCols,border); + newTQGridLayout(parent,nRows,nCols,border); } - private native void newQGridLayout(QWidget parent, int nRows, int nCols, int border); - public QGridLayout(QWidget parent, int nRows, int nCols) { + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border); + public TQGridLayout(TQWidget parent, int nRows, int nCols) { super((Class) null); - newQGridLayout(parent,nRows,nCols); + newTQGridLayout(parent,nRows,nCols); } - private native void newQGridLayout(QWidget parent, int nRows, int nCols); - public QGridLayout(QWidget parent, int nRows) { + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols); + public TQGridLayout(TQWidget parent, int nRows) { super((Class) null); - newQGridLayout(parent,nRows); + newTQGridLayout(parent,nRows); } - private native void newQGridLayout(QWidget parent, int nRows); - public QGridLayout(QWidget parent) { + private native void newTQGridLayout(TQWidget parent, int nRows); + public TQGridLayout(TQWidget parent) { super((Class) null); - newQGridLayout(parent); + newTQGridLayout(parent); } - private native void newQGridLayout(QWidget parent); - public QGridLayout(int nRows, int nCols, int spacing, String name) { + private native void newTQGridLayout(TQWidget parent); + public TQGridLayout(int nRows, int nCols, int spacing, String name) { super((Class) null); - newQGridLayout(nRows,nCols,spacing,name); + newTQGridLayout(nRows,nCols,spacing,name); } - private native void newQGridLayout(int nRows, int nCols, int spacing, String name); - public QGridLayout(int nRows, int nCols, int spacing) { + private native void newTQGridLayout(int nRows, int nCols, int spacing, String name); + public TQGridLayout(int nRows, int nCols, int spacing) { super((Class) null); - newQGridLayout(nRows,nCols,spacing); + newTQGridLayout(nRows,nCols,spacing); } - private native void newQGridLayout(int nRows, int nCols, int spacing); - public QGridLayout(int nRows, int nCols) { + private native void newTQGridLayout(int nRows, int nCols, int spacing); + public TQGridLayout(int nRows, int nCols) { super((Class) null); - newQGridLayout(nRows,nCols); + newTQGridLayout(nRows,nCols); } - private native void newQGridLayout(int nRows, int nCols); - public QGridLayout(int nRows) { + private native void newTQGridLayout(int nRows, int nCols); + public TQGridLayout(int nRows) { super((Class) null); - newQGridLayout(nRows); + newTQGridLayout(nRows); } - private native void newQGridLayout(int nRows); - public QGridLayout() { + private native void newTQGridLayout(int nRows); + public TQGridLayout() { super((Class) null); - newQGridLayout(); + newTQGridLayout(); } - private native void newQGridLayout(); - public QGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing, String name) { + private native void newTQGridLayout(); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name) { super((Class) null); - newQGridLayout(parentLayout,nRows,nCols,spacing,name); + newTQGridLayout(parentLayout,nRows,nCols,spacing,name); } - private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing, String name); - public QGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing) { + 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); - newQGridLayout(parentLayout,nRows,nCols,spacing); + newTQGridLayout(parentLayout,nRows,nCols,spacing); } - private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols, int spacing); - public QGridLayout(QLayout parentLayout, int nRows, int nCols) { + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols) { super((Class) null); - newQGridLayout(parentLayout,nRows,nCols); + newTQGridLayout(parentLayout,nRows,nCols); } - private native void newQGridLayout(QLayout parentLayout, int nRows, int nCols); - public QGridLayout(QLayout parentLayout, int nRows) { + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols); + public TQGridLayout(TQLayout parentLayout, int nRows) { super((Class) null); - newQGridLayout(parentLayout,nRows); + newTQGridLayout(parentLayout,nRows); } - private native void newQGridLayout(QLayout parentLayout, int nRows); - public QGridLayout(QLayout parentLayout) { + private native void newTQGridLayout(TQLayout parentLayout, int nRows); + public TQGridLayout(TQLayout parentLayout) { super((Class) null); - newQGridLayout(parentLayout); + newTQGridLayout(parentLayout); } - private native void newQGridLayout(QLayout parentLayout); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize maximumSize(); + 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); @@ -105,34 +105,34 @@ public class QGridLayout extends QLayout { public native int colSpacing(int col); public native int numRows(); public native int numCols(); - public native QRect cellGeometry(int row, int col); + 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(QLayoutItemInterface arg1); - public native void addItem(QLayoutItemInterface item, int row, int col); - public native void addMultiCell(QLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCell(QLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol); - public native void addWidget(QWidget arg1, int row, int col, int align); - public native void addWidget(QWidget arg1, int row, int col); - public native void addMultiCellWidget(QWidget arg1, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCellWidget(QWidget arg1, int fromRow, int toRow, int fromCol, int toCol); - public native void addLayout(QLayout layout, int row, int col); - public native void addMultiCellLayout(QLayout layout, int fromRow, int toRow, int fromCol, int toCol, int align); - public native void addMultiCellLayout(QLayout layout, int fromRow, int toRow, int fromCol, int toCol); + 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(); - // QLayoutIterator iterator(); >>>> NOT CONVERTED - public native void setGeometry(QRect arg1); + // 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(QWidget w, int[] r, int[] c); - protected native void add(QLayoutItemInterface arg1, int row, int col); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QGridView.java b/qtjava/javalib/org/kde/qt/QGridView.java index a57b7886..933ab3c2 100644 --- a/qtjava/javalib/org/kde/qt/QGridView.java +++ b/qtjava/javalib/org/kde/qt/QGridView.java @@ -3,9 +3,9 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QGridView extends QScrollView { - protected QGridView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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); @@ -15,9 +15,9 @@ public class QGridView extends QScrollView { public native void setCellWidth(int arg1); public native int cellHeight(); public native void setCellHeight(int arg1); - public native QRect cellRect(); - public native QRect cellGeometry(int row, int column); - public native QSize gridSize(); + 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); diff --git a/qtjava/javalib/org/kde/qt/QGroupBox.java b/qtjava/javalib/org/kde/qt/QGroupBox.java index 5de0cf05..1f64a1ab 100644 --- a/qtjava/javalib/org/kde/qt/QGroupBox.java +++ b/qtjava/javalib/org/kde/qt/QGroupBox.java @@ -4,72 +4,72 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QGroupBoxSignals} for signals emitted by QGroupBox + See {@link TQGroupBoxSignals} for signals emitted by TQGroupBox */ -public class QGroupBox extends QFrame { - protected QGroupBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQGroupBox extends TQFrame { + protected TQGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QGroupBox(QWidget parent, String name) { + public TQGroupBox(TQWidget parent, String name) { super((Class) null); - newQGroupBox(parent,name); + newTQGroupBox(parent,name); } - private native void newQGroupBox(QWidget parent, String name); - public QGroupBox(QWidget parent) { + private native void newTQGroupBox(TQWidget parent, String name); + public TQGroupBox(TQWidget parent) { super((Class) null); - newQGroupBox(parent); + newTQGroupBox(parent); } - private native void newQGroupBox(QWidget parent); - public QGroupBox() { + private native void newTQGroupBox(TQWidget parent); + public TQGroupBox() { super((Class) null); - newQGroupBox(); + newTQGroupBox(); } - private native void newQGroupBox(); - public QGroupBox(String title, QWidget parent, String name) { + private native void newTQGroupBox(); + public TQGroupBox(String title, TQWidget parent, String name) { super((Class) null); - newQGroupBox(title,parent,name); + newTQGroupBox(title,parent,name); } - private native void newQGroupBox(String title, QWidget parent, String name); - public QGroupBox(String title, QWidget parent) { + private native void newTQGroupBox(String title, TQWidget parent, String name); + public TQGroupBox(String title, TQWidget parent) { super((Class) null); - newQGroupBox(title,parent); + newTQGroupBox(title,parent); } - private native void newQGroupBox(String title, QWidget parent); - public QGroupBox(String title) { + private native void newTQGroupBox(String title, TQWidget parent); + public TQGroupBox(String title) { super((Class) null); - newQGroupBox(title); + newTQGroupBox(title); } - private native void newQGroupBox(String title); - public QGroupBox(int strips, int o, QWidget parent, String name) { + private native void newTQGroupBox(String title); + public TQGroupBox(int strips, int o, TQWidget parent, String name) { super((Class) null); - newQGroupBox(strips,o,parent,name); + newTQGroupBox(strips,o,parent,name); } - private native void newQGroupBox(int strips, int o, QWidget parent, String name); - public QGroupBox(int strips, int o, QWidget parent) { + private native void newTQGroupBox(int strips, int o, TQWidget parent, String name); + public TQGroupBox(int strips, int o, TQWidget parent) { super((Class) null); - newQGroupBox(strips,o,parent); + newTQGroupBox(strips,o,parent); } - private native void newQGroupBox(int strips, int o, QWidget parent); - public QGroupBox(int strips, int o) { + private native void newTQGroupBox(int strips, int o, TQWidget parent); + public TQGroupBox(int strips, int o) { super((Class) null); - newQGroupBox(strips,o); + newTQGroupBox(strips,o); } - private native void newQGroupBox(int strips, int o); - public QGroupBox(int strips, int o, String title, QWidget parent, String name) { + private native void newTQGroupBox(int strips, int o); + public TQGroupBox(int strips, int o, String title, TQWidget parent, String name) { super((Class) null); - newQGroupBox(strips,o,title,parent,name); + newTQGroupBox(strips,o,title,parent,name); } - private native void newQGroupBox(int strips, int o, String title, QWidget parent, String name); - public QGroupBox(int strips, int o, String title, QWidget parent) { + 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); - newQGroupBox(strips,o,title,parent); + newTQGroupBox(strips,o,title,parent); } - private native void newQGroupBox(int strips, int o, String title, QWidget parent); - public QGroupBox(int strips, int o, String title) { + private native void newTQGroupBox(int strips, int o, String title, TQWidget parent); + public TQGroupBox(int strips, int o, String title) { super((Class) null); - newQGroupBox(strips,o,title); + newTQGroupBox(strips,o,title); } - private native void newQGroupBox(int strips, int o, String 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); @@ -84,7 +84,7 @@ public class QGroupBox extends QFrame { public native void setInsideMargin(int m); public native void setInsideSpacing(int s); public native void addSpace(int arg1); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native boolean isFlat(); public native void setFlat(boolean b); public native boolean isCheckable(); @@ -94,12 +94,12 @@ public class QGroupBox extends QFrame { 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(QEvent arg1); - protected native void childEvent(QChildEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void fontChange(QFont 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() */ diff --git a/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java b/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java index acf42709..3670b48c 100644 --- a/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java +++ b/qtjava/javalib/org/kde/qt/QGroupBoxSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QGroupBoxSignals { +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 index 5082fd6b..585406f9 100644 --- a/qtjava/javalib/org/kde/qt/QHBox.java +++ b/qtjava/javalib/org/kde/qt/QHBox.java @@ -3,45 +3,45 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHBox extends QFrame { - protected QHBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQHBox extends TQFrame { + protected TQHBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QHBox(QWidget parent, String name, int f) { + public TQHBox(TQWidget parent, String name, int f) { super((Class) null); - newQHBox(parent,name,f); + newTQHBox(parent,name,f); } - private native void newQHBox(QWidget parent, String name, int f); - public QHBox(QWidget parent, String name) { + private native void newTQHBox(TQWidget parent, String name, int f); + public TQHBox(TQWidget parent, String name) { super((Class) null); - newQHBox(parent,name); + newTQHBox(parent,name); } - private native void newQHBox(QWidget parent, String name); - public QHBox(QWidget parent) { + private native void newTQHBox(TQWidget parent, String name); + public TQHBox(TQWidget parent) { super((Class) null); - newQHBox(parent); + newTQHBox(parent); } - private native void newQHBox(QWidget parent); - public QHBox() { + private native void newTQHBox(TQWidget parent); + public TQHBox() { super((Class) null); - newQHBox(); + newTQHBox(); } - private native void newQHBox(); + private native void newTQHBox(); public native void setSpacing(int arg1); - public native boolean setStretchFactor(QWidget arg1, int stretch); - public native QSize sizeHint(); + 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 QHBox(boolean horizontal, QWidget parent, String name, int f) { + public TQHBox(boolean horizontal, TQWidget parent, String name, int f) { super((Class) null); - newQHBox(horizontal,parent,name,f); + newTQHBox(horizontal,parent,name,f); } - private native void newQHBox(boolean horizontal, QWidget parent, String name, int f); - public QHBox(boolean horizontal, QWidget parent, String name) { + private native void newTQHBox(boolean horizontal, TQWidget parent, String name, int f); + public TQHBox(boolean horizontal, TQWidget parent, String name) { super((Class) null); - newQHBox(horizontal,parent,name); + newTQHBox(horizontal,parent,name); } - private native void newQHBox(boolean horizontal, QWidget parent, String 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; diff --git a/qtjava/javalib/org/kde/qt/QHBoxLayout.java b/qtjava/javalib/org/kde/qt/QHBoxLayout.java index 590eabb6..89ed5fc1 100644 --- a/qtjava/javalib/org/kde/qt/QHBoxLayout.java +++ b/qtjava/javalib/org/kde/qt/QHBoxLayout.java @@ -3,60 +3,60 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHBoxLayout extends QBoxLayout { - protected QHBoxLayout(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQHBoxLayout extends TQBoxLayout { + protected TQHBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QHBoxLayout(QWidget parent, int border, int spacing, String name) { + public TQHBoxLayout(TQWidget parent, int border, int spacing, String name) { super((Class) null); - newQHBoxLayout(parent,border,spacing,name); + newTQHBoxLayout(parent,border,spacing,name); } - private native void newQHBoxLayout(QWidget parent, int border, int spacing, String name); - public QHBoxLayout(QWidget parent, int border, int spacing) { + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQHBoxLayout(TQWidget parent, int border, int spacing) { super((Class) null); - newQHBoxLayout(parent,border,spacing); + newTQHBoxLayout(parent,border,spacing); } - private native void newQHBoxLayout(QWidget parent, int border, int spacing); - public QHBoxLayout(QWidget parent, int border) { + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing); + public TQHBoxLayout(TQWidget parent, int border) { super((Class) null); - newQHBoxLayout(parent,border); + newTQHBoxLayout(parent,border); } - private native void newQHBoxLayout(QWidget parent, int border); - public QHBoxLayout(QWidget parent) { + private native void newTQHBoxLayout(TQWidget parent, int border); + public TQHBoxLayout(TQWidget parent) { super((Class) null); - newQHBoxLayout(parent); + newTQHBoxLayout(parent); } - private native void newQHBoxLayout(QWidget parent); - public QHBoxLayout(QLayout parentLayout, int spacing, String name) { + private native void newTQHBoxLayout(TQWidget parent); + public TQHBoxLayout(TQLayout parentLayout, int spacing, String name) { super((Class) null); - newQHBoxLayout(parentLayout,spacing,name); + newTQHBoxLayout(parentLayout,spacing,name); } - private native void newQHBoxLayout(QLayout parentLayout, int spacing, String name); - public QHBoxLayout(QLayout parentLayout, int spacing) { + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQHBoxLayout(TQLayout parentLayout, int spacing) { super((Class) null); - newQHBoxLayout(parentLayout,spacing); + newTQHBoxLayout(parentLayout,spacing); } - private native void newQHBoxLayout(QLayout parentLayout, int spacing); - public QHBoxLayout(QLayout parentLayout) { + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing); + public TQHBoxLayout(TQLayout parentLayout) { super((Class) null); - newQHBoxLayout(parentLayout); + newTQHBoxLayout(parentLayout); } - private native void newQHBoxLayout(QLayout parentLayout); - public QHBoxLayout(int spacing, String name) { + private native void newTQHBoxLayout(TQLayout parentLayout); + public TQHBoxLayout(int spacing, String name) { super((Class) null); - newQHBoxLayout(spacing,name); + newTQHBoxLayout(spacing,name); } - private native void newQHBoxLayout(int spacing, String name); - public QHBoxLayout(int spacing) { + private native void newTQHBoxLayout(int spacing, String name); + public TQHBoxLayout(int spacing) { super((Class) null); - newQHBoxLayout(spacing); + newTQHBoxLayout(spacing); } - private native void newQHBoxLayout(int spacing); - public QHBoxLayout() { + private native void newTQHBoxLayout(int spacing); + public TQHBoxLayout() { super((Class) null); - newQHBoxLayout(); + newTQHBoxLayout(); } - private native void newQHBoxLayout(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QHButtonGroup.java b/qtjava/javalib/org/kde/qt/QHButtonGroup.java index 833eba74..add098f5 100644 --- a/qtjava/javalib/org/kde/qt/QHButtonGroup.java +++ b/qtjava/javalib/org/kde/qt/QHButtonGroup.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHButtonGroup extends QButtonGroup { - protected QHButtonGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQHButtonGroup extends TQButtonGroup { + protected TQHButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QHButtonGroup(QWidget parent, String name) { + public TQHButtonGroup(TQWidget parent, String name) { super((Class) null); - newQHButtonGroup(parent,name); + newTQHButtonGroup(parent,name); } - private native void newQHButtonGroup(QWidget parent, String name); - public QHButtonGroup(QWidget parent) { + private native void newTQHButtonGroup(TQWidget parent, String name); + public TQHButtonGroup(TQWidget parent) { super((Class) null); - newQHButtonGroup(parent); + newTQHButtonGroup(parent); } - private native void newQHButtonGroup(QWidget parent); - public QHButtonGroup() { + private native void newTQHButtonGroup(TQWidget parent); + public TQHButtonGroup() { super((Class) null); - newQHButtonGroup(); + newTQHButtonGroup(); } - private native void newQHButtonGroup(); - public QHButtonGroup(String title, QWidget parent, String name) { + private native void newTQHButtonGroup(); + public TQHButtonGroup(String title, TQWidget parent, String name) { super((Class) null); - newQHButtonGroup(title,parent,name); + newTQHButtonGroup(title,parent,name); } - private native void newQHButtonGroup(String title, QWidget parent, String name); - public QHButtonGroup(String title, QWidget parent) { + private native void newTQHButtonGroup(String title, TQWidget parent, String name); + public TQHButtonGroup(String title, TQWidget parent) { super((Class) null); - newQHButtonGroup(title,parent); + newTQHButtonGroup(title,parent); } - private native void newQHButtonGroup(String title, QWidget parent); - public QHButtonGroup(String title) { + private native void newTQHButtonGroup(String title, TQWidget parent); + public TQHButtonGroup(String title) { super((Class) null); - newQHButtonGroup(title); + newTQHButtonGroup(title); } - private native void newQHButtonGroup(String 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 */ diff --git a/qtjava/javalib/org/kde/qt/QHGroupBox.java b/qtjava/javalib/org/kde/qt/QHGroupBox.java index 2c533043..371d6dc0 100644 --- a/qtjava/javalib/org/kde/qt/QHGroupBox.java +++ b/qtjava/javalib/org/kde/qt/QHGroupBox.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHGroupBox extends QGroupBox { - protected QHGroupBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQHGroupBox extends TQGroupBox { + protected TQHGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QHGroupBox(QWidget parent, String name) { + public TQHGroupBox(TQWidget parent, String name) { super((Class) null); - newQHGroupBox(parent,name); + newTQHGroupBox(parent,name); } - private native void newQHGroupBox(QWidget parent, String name); - public QHGroupBox(QWidget parent) { + private native void newTQHGroupBox(TQWidget parent, String name); + public TQHGroupBox(TQWidget parent) { super((Class) null); - newQHGroupBox(parent); + newTQHGroupBox(parent); } - private native void newQHGroupBox(QWidget parent); - public QHGroupBox() { + private native void newTQHGroupBox(TQWidget parent); + public TQHGroupBox() { super((Class) null); - newQHGroupBox(); + newTQHGroupBox(); } - private native void newQHGroupBox(); - public QHGroupBox(String title, QWidget parent, String name) { + private native void newTQHGroupBox(); + public TQHGroupBox(String title, TQWidget parent, String name) { super((Class) null); - newQHGroupBox(title,parent,name); + newTQHGroupBox(title,parent,name); } - private native void newQHGroupBox(String title, QWidget parent, String name); - public QHGroupBox(String title, QWidget parent) { + private native void newTQHGroupBox(String title, TQWidget parent, String name); + public TQHGroupBox(String title, TQWidget parent) { super((Class) null); - newQHGroupBox(title,parent); + newTQHGroupBox(title,parent); } - private native void newQHGroupBox(String title, QWidget parent); - public QHGroupBox(String title) { + private native void newTQHGroupBox(String title, TQWidget parent); + public TQHGroupBox(String title) { super((Class) null); - newQHGroupBox(title); + newTQHGroupBox(title); } - private native void newQHGroupBox(String 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 */ diff --git a/qtjava/javalib/org/kde/qt/QHeader.java b/qtjava/javalib/org/kde/qt/QHeader.java index 1a8b0eff..94655031 100644 --- a/qtjava/javalib/org/kde/qt/QHeader.java +++ b/qtjava/javalib/org/kde/qt/QHeader.java @@ -4,53 +4,53 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QHeaderSignals} for signals emitted by QHeader + See {@link TQHeaderSignals} for signals emitted by TQHeader */ -public class QHeader extends QWidget { - protected QHeader(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQHeader extends TQWidget { + protected TQHeader(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QHeader(QWidget parent, String name) { + public TQHeader(TQWidget parent, String name) { super((Class) null); - newQHeader(parent,name); + newTQHeader(parent,name); } - private native void newQHeader(QWidget parent, String name); - public QHeader(QWidget parent) { + private native void newTQHeader(TQWidget parent, String name); + public TQHeader(TQWidget parent) { super((Class) null); - newQHeader(parent); + newTQHeader(parent); } - private native void newQHeader(QWidget parent); - public QHeader() { + private native void newTQHeader(TQWidget parent); + public TQHeader() { super((Class) null); - newQHeader(); + newTQHeader(); } - private native void newQHeader(); - public QHeader(int arg1, QWidget parent, String name) { + private native void newTQHeader(); + public TQHeader(int arg1, TQWidget parent, String name) { super((Class) null); - newQHeader(arg1,parent,name); + newTQHeader(arg1,parent,name); } - private native void newQHeader(int arg1, QWidget parent, String name); - public QHeader(int arg1, QWidget parent) { + private native void newTQHeader(int arg1, TQWidget parent, String name); + public TQHeader(int arg1, TQWidget parent) { super((Class) null); - newQHeader(arg1,parent); + newTQHeader(arg1,parent); } - private native void newQHeader(int arg1, QWidget parent); - public QHeader(int arg1) { + private native void newTQHeader(int arg1, TQWidget parent); + public TQHeader(int arg1) { super((Class) null); - newQHeader(arg1); + newTQHeader(arg1); } - private native void newQHeader(int 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(QIconSet arg1, String arg2, int size); - public native int addLabel(QIconSet arg1, String arg2); + 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, QIconSet arg2, String arg3, int size); - public native void setLabel(int arg1, QIconSet arg2, String arg3); + 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 QIconSet iconSet(int section); + public native TQIconSet iconSet(int section); public native void setOrientation(int arg1); public native int orientation(); public native void setTracking(boolean enable); @@ -75,13 +75,13 @@ public class QHeader extends QWidget { public native int sectionAt(int pos); public native int count(); public native int headerWidth(); - public native QRect sectionRect(int section); + 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 QSize sizeHint(); + public native TQSize sizeHint(); public native int mapToSection(int index); public native int mapToIndex(int section); public native int mapToLogical(int arg1); @@ -98,19 +98,19 @@ public class QHeader extends QWidget { 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(QPaintEvent arg1); - public native void showEvent(QShowEvent e); - protected native void resizeEvent(QResizeEvent e); - protected native QRect sRect(int index); - protected native void paintSection(QPainter p, int index, QRect fr); - protected native void paintSectionLabel(QPainter p, int index, QRect fr); - protected native void fontChange(QFont arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void keyReleaseEvent(QKeyEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QHeaderSignals.java b/qtjava/javalib/org/kde/qt/QHeaderSignals.java index 2a48cda3..011edeb3 100644 --- a/qtjava/javalib/org/kde/qt/QHeaderSignals.java +++ b/qtjava/javalib/org/kde/qt/QHeaderSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QHeaderSignals { +public interface TQHeaderSignals { void clicked(int section); void pressed(int section); void released(int section); diff --git a/qtjava/javalib/org/kde/qt/QHebrewCodec.java b/qtjava/javalib/org/kde/qt/QHebrewCodec.java index d7b4b7f7..e4514056 100644 --- a/qtjava/javalib/org/kde/qt/QHebrewCodec.java +++ b/qtjava/javalib/org/kde/qt/QHebrewCodec.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHebrewCodec extends QTextCodec { - protected QHebrewCodec(Class dummy){super((Class) null);} +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 QHebrewCodec() { + public TQHebrewCodec() { super((Class) null); - newQHebrewCodec(); + newTQHebrewCodec(); } - private native void newQHebrewCodec(); + private native void newTQHebrewCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QHideEvent.java b/qtjava/javalib/org/kde/qt/QHideEvent.java index ae94ee3e..1bd256fa 100644 --- a/qtjava/javalib/org/kde/qt/QHideEvent.java +++ b/qtjava/javalib/org/kde/qt/QHideEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHideEvent extends QEvent { - protected QHideEvent(Class dummy){super((Class) null);} - public QHideEvent() { +public class TQHideEvent extends TQEvent { + protected TQHideEvent(Class dummy){super((Class) null);} + public TQHideEvent() { super((Class) null); - newQHideEvent(); + newTQHideEvent(); } - private native void newQHideEvent(); + private native void newTQHideEvent(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QHostAddress.java b/qtjava/javalib/org/kde/qt/QHostAddress.java index e9fc4ec2..edfe3adf 100644 --- a/qtjava/javalib/org/kde/qt/QHostAddress.java +++ b/qtjava/javalib/org/kde/qt/QHostAddress.java @@ -3,32 +3,32 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHostAddress implements QtSupport { +public class TQHostAddress implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QHostAddress(Class dummy){} + protected TQHostAddress(Class dummy){} - public QHostAddress() { - newQHostAddress(); + public TQHostAddress() { + newTQHostAddress(); } - private native void newQHostAddress(); - public QHostAddress(int ip4Addr) { - newQHostAddress(ip4Addr); + private native void newTQHostAddress(); + public TQHostAddress(int ip4Addr) { + newTQHostAddress(ip4Addr); } - private native void newQHostAddress(int ip4Addr); - public QHostAddress(short ip6Addr) { - newQHostAddress(ip6Addr); + private native void newTQHostAddress(int ip4Addr); + public TQHostAddress(short ip6Addr) { + newTQHostAddress(ip6Addr); } - private native void newQHostAddress(short ip6Addr); - // QHostAddress* QHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED - public QHostAddress(String address) { - newQHostAddress(address); + private native void newTQHostAddress(short ip6Addr); + // TQHostAddress* TQHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED + public TQHostAddress(String address) { + newTQHostAddress(address); } - private native void newQHostAddress(String address); - public QHostAddress(QHostAddress arg1) { - newQHostAddress(arg1); + private native void newTQHostAddress(String address); + public TQHostAddress(TQHostAddress arg1) { + newTQHostAddress(arg1); } - private native void newQHostAddress(QHostAddress 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); @@ -39,7 +39,7 @@ public class QHostAddress implements QtSupport { public native boolean isIPv6Address(); // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED public native String toString(); - public native boolean op_equals(QHostAddress arg1); + public native boolean op_equals(TQHostAddress arg1); public native boolean isNull(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QHttp.java b/qtjava/javalib/org/kde/qt/QHttp.java index ff15f879..a74ea7fa 100644 --- a/qtjava/javalib/org/kde/qt/QHttp.java +++ b/qtjava/javalib/org/kde/qt/QHttp.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QHttpSignals} for signals emitted by QHttp + See {@link TQHttpSignals} for signals emitted by TQHttp */ -public class QHttp extends QNetworkProtocol { - protected QHttp(Class dummy){super((Class) null);} +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; @@ -25,66 +25,66 @@ public class QHttp extends QNetworkProtocol { public static final int WrongContentLength = 6; public static final int Aborted = 7; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QHttp() { + public TQHttp() { super((Class) null); - newQHttp(); + newTQHttp(); } - private native void newQHttp(); - public QHttp(QObject parent, String name) { + private native void newTQHttp(); + public TQHttp(TQObject parent, String name) { super((Class) null); - newQHttp(parent,name); + newTQHttp(parent,name); } - private native void newQHttp(QObject parent, String name); - public QHttp(QObject parent) { + private native void newTQHttp(TQObject parent, String name); + public TQHttp(TQObject parent) { super((Class) null); - newQHttp(parent); + newTQHttp(parent); } - private native void newQHttp(QObject parent); - public QHttp(String hostname, short port, QObject parent, String name) { + private native void newTQHttp(TQObject parent); + public TQHttp(String hostname, short port, TQObject parent, String name) { super((Class) null); - newQHttp(hostname,port,parent,name); + newTQHttp(hostname,port,parent,name); } - private native void newQHttp(String hostname, short port, QObject parent, String name); - public QHttp(String hostname, short port, QObject parent) { + private native void newTQHttp(String hostname, short port, TQObject parent, String name); + public TQHttp(String hostname, short port, TQObject parent) { super((Class) null); - newQHttp(hostname,port,parent); + newTQHttp(hostname,port,parent); } - private native void newQHttp(String hostname, short port, QObject parent); - public QHttp(String hostname, short port) { + private native void newTQHttp(String hostname, short port, TQObject parent); + public TQHttp(String hostname, short port) { super((Class) null); - newQHttp(hostname,port); + newTQHttp(hostname,port); } - private native void newQHttp(String hostname, short port); - public QHttp(String hostname) { + private native void newTQHttp(String hostname, short port); + public TQHttp(String hostname) { super((Class) null); - newQHttp(hostname); + newTQHttp(hostname); } - private native void newQHttp(String 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, QIODeviceInterface to); + public native int get(String path, TQIODeviceInterface to); public native int get(String path); - public native int post(String path, QIODeviceInterface data, QIODeviceInterface to); - public native int post(String path, QIODeviceInterface data); - public native int post(String path, byte[] data, QIODeviceInterface to); + 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(QHttpRequestHeader header, QIODeviceInterface device, QIODeviceInterface to); - public native int request(QHttpRequestHeader header, QIODeviceInterface device); - public native int request(QHttpRequestHeader header); - public native int request(QHttpRequestHeader header, byte[] data, QIODeviceInterface to); - public native int request(QHttpRequestHeader header, byte[] data); + 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 QIODeviceInterface currentSourceDevice(); - public native QIODeviceInterface currentDestinationDevice(); - public native QHttpRequestHeader currentRequest(); + public native TQIODeviceInterface currentSourceDevice(); + public native TQIODeviceInterface currentDestinationDevice(); + public native TQHttpRequestHeader currentRequest(); public native boolean hasPendingRequests(); public native void clearPendingRequests(); public native int state(); @@ -93,9 +93,9 @@ public class QHttp extends QNetworkProtocol { public native void abort(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation op); - protected native void timerEvent(QTimerEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QHttpHeader.java b/qtjava/javalib/org/kde/qt/QHttpHeader.java index 4250e022..a1e95d74 100644 --- a/qtjava/javalib/org/kde/qt/QHttpHeader.java +++ b/qtjava/javalib/org/kde/qt/QHttpHeader.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QHttpHeader implements QtSupport { +public class TQHttpHeader implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QHttpHeader(Class dummy){} + protected TQHttpHeader(Class dummy){} public native String value(String key); public native void setValue(String key, String value); diff --git a/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java b/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java index 8896ceac..c9757243 100644 --- a/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java +++ b/qtjava/javalib/org/kde/qt/QHttpRequestHeader.java @@ -3,38 +3,38 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHttpRequestHeader extends QHttpHeader { - protected QHttpRequestHeader(Class dummy){super((Class) null);} - public QHttpRequestHeader() { +public class TQHttpRequestHeader extends TQHttpHeader { + protected TQHttpRequestHeader(Class dummy){super((Class) null);} + public TQHttpRequestHeader() { super((Class) null); - newQHttpRequestHeader(); + newTQHttpRequestHeader(); } - private native void newQHttpRequestHeader(); - public QHttpRequestHeader(String method, String path, int majorVer, int minorVer) { + private native void newTQHttpRequestHeader(); + public TQHttpRequestHeader(String method, String path, int majorVer, int minorVer) { super((Class) null); - newQHttpRequestHeader(method,path,majorVer,minorVer); + newTQHttpRequestHeader(method,path,majorVer,minorVer); } - private native void newQHttpRequestHeader(String method, String path, int majorVer, int minorVer); - public QHttpRequestHeader(String method, String path, int majorVer) { + private native void newTQHttpRequestHeader(String method, String path, int majorVer, int minorVer); + public TQHttpRequestHeader(String method, String path, int majorVer) { super((Class) null); - newQHttpRequestHeader(method,path,majorVer); + newTQHttpRequestHeader(method,path,majorVer); } - private native void newQHttpRequestHeader(String method, String path, int majorVer); - public QHttpRequestHeader(String method, String path) { + private native void newTQHttpRequestHeader(String method, String path, int majorVer); + public TQHttpRequestHeader(String method, String path) { super((Class) null); - newQHttpRequestHeader(method,path); + newTQHttpRequestHeader(method,path); } - private native void newQHttpRequestHeader(String method, String path); - public QHttpRequestHeader(QHttpRequestHeader header) { + private native void newTQHttpRequestHeader(String method, String path); + public TQHttpRequestHeader(TQHttpRequestHeader header) { super((Class) null); - newQHttpRequestHeader(header); + newTQHttpRequestHeader(header); } - private native void newQHttpRequestHeader(QHttpRequestHeader header); - public QHttpRequestHeader(String str) { + private native void newTQHttpRequestHeader(TQHttpRequestHeader header); + public TQHttpRequestHeader(String str) { super((Class) null); - newQHttpRequestHeader(str); + newTQHttpRequestHeader(str); } - private native void newQHttpRequestHeader(String 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); diff --git a/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java b/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java index 4b2172ff..2541e1a6 100644 --- a/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java +++ b/qtjava/javalib/org/kde/qt/QHttpResponseHeader.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QHttpResponseHeader extends QHttpHeader { - protected QHttpResponseHeader(Class dummy){super((Class) null);} - public QHttpResponseHeader() { +public class TQHttpResponseHeader extends TQHttpHeader { + protected TQHttpResponseHeader(Class dummy){super((Class) null);} + public TQHttpResponseHeader() { super((Class) null); - newQHttpResponseHeader(); + newTQHttpResponseHeader(); } - private native void newQHttpResponseHeader(); - public QHttpResponseHeader(QHttpResponseHeader header) { + private native void newTQHttpResponseHeader(); + public TQHttpResponseHeader(TQHttpResponseHeader header) { super((Class) null); - newQHttpResponseHeader(header); + newTQHttpResponseHeader(header); } - private native void newQHttpResponseHeader(QHttpResponseHeader header); + private native void newTQHttpResponseHeader(TQHttpResponseHeader header); public native int statusCode(); public native String reasonPhrase(); public native int majorVersion(); diff --git a/qtjava/javalib/org/kde/qt/QHttpSignals.java b/qtjava/javalib/org/kde/qt/QHttpSignals.java index e3827550..99662f5f 100644 --- a/qtjava/javalib/org/kde/qt/QHttpSignals.java +++ b/qtjava/javalib/org/kde/qt/QHttpSignals.java @@ -2,10 +2,10 @@ package org.kde.qt; -public interface QHttpSignals { +public interface TQHttpSignals { void stateChanged(int arg1); - void responseHeaderReceived(QHttpResponseHeader resp); - void readyRead(QHttpResponseHeader resp); + void responseHeaderReceived(TQHttpResponseHeader resp); + void readyRead(TQHttpResponseHeader resp); void dataSendProgress(int arg1, int arg2); void dataReadProgress(int arg1, int arg2); void requestStarted(int arg1); diff --git a/qtjava/javalib/org/kde/qt/QIMEvent.java b/qtjava/javalib/org/kde/qt/QIMEvent.java index 0a5256a9..c40da265 100644 --- a/qtjava/javalib/org/kde/qt/QIMEvent.java +++ b/qtjava/javalib/org/kde/qt/QIMEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIMEvent extends QEvent { - protected QIMEvent(Class dummy){super((Class) null);} - public QIMEvent(int type, String text, int cursorPosition) { +public class TQIMEvent extends TQEvent { + protected TQIMEvent(Class dummy){super((Class) null);} + public TQIMEvent(int type, String text, int cursorPosition) { super((Class) null); - newQIMEvent(type,text,cursorPosition); + newTQIMEvent(type,text,cursorPosition); } - private native void newQIMEvent(int type, String text, int cursorPosition); + private native void newTQIMEvent(int type, String text, int cursorPosition); public native String text(); public native int cursorPos(); public native boolean isAccepted(); diff --git a/qtjava/javalib/org/kde/qt/QIODevice.java b/qtjava/javalib/org/kde/qt/QIODevice.java index bedb51d6..bcb8fafb 100644 --- a/qtjava/javalib/org/kde/qt/QIODevice.java +++ b/qtjava/javalib/org/kde/qt/QIODevice.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIODevice implements QtSupport, QIODeviceInterface { +public class TQIODevice implements QtSupport, TQIODeviceInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QIODevice(Class dummy){} + protected TQIODevice(Class dummy){} public native int flags(); public native int mode(); diff --git a/qtjava/javalib/org/kde/qt/QIODeviceInterface.java b/qtjava/javalib/org/kde/qt/QIODeviceInterface.java index 1ac4a7fd..8e9e2aa6 100644 --- a/qtjava/javalib/org/kde/qt/QIODeviceInterface.java +++ b/qtjava/javalib/org/kde/qt/QIODeviceInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QIODeviceInterface { +public interface TQIODeviceInterface { int flags(); int mode(); int state(); diff --git a/qtjava/javalib/org/kde/qt/QIODeviceSource.java b/qtjava/javalib/org/kde/qt/QIODeviceSource.java index e6fa75fb..dc819a2f 100644 --- a/qtjava/javalib/org/kde/qt/QIODeviceSource.java +++ b/qtjava/javalib/org/kde/qt/QIODeviceSource.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIODeviceSource extends QDataSource { - protected QIODeviceSource(Class dummy){super((Class) null);} - public QIODeviceSource(QIODeviceInterface arg1, int bufsize) { +public class TQIODeviceSource extends TQDataSource { + protected TQIODeviceSource(Class dummy){super((Class) null);} + public TQIODeviceSource(TQIODeviceInterface arg1, int bufsize) { super((Class) null); - newQIODeviceSource(arg1,bufsize); + newTQIODeviceSource(arg1,bufsize); } - private native void newQIODeviceSource(QIODeviceInterface arg1, int bufsize); - public QIODeviceSource(QIODeviceInterface arg1) { + private native void newTQIODeviceSource(TQIODeviceInterface arg1, int bufsize); + public TQIODeviceSource(TQIODeviceInterface arg1) { super((Class) null); - newQIODeviceSource(arg1); + newTQIODeviceSource(arg1); } - private native void newQIODeviceSource(QIODeviceInterface arg1); + private native void newTQIODeviceSource(TQIODeviceInterface arg1); public native int readyToSend(); - public native void sendTo(QDataSink sink, int n); + public native void sendTo(TQDataSink sink, int n); public native boolean rewindable(); public native void enableRewind(boolean on); public native void rewind(); diff --git a/qtjava/javalib/org/kde/qt/QIconDrag.java b/qtjava/javalib/org/kde/qt/QIconDrag.java index 799eb0ba..e6c4aaaa 100644 --- a/qtjava/javalib/org/kde/qt/QIconDrag.java +++ b/qtjava/javalib/org/kde/qt/QIconDrag.java @@ -3,26 +3,26 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIconDrag extends QDragObject { - protected QIconDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQIconDrag extends TQDragObject { + protected TQIconDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QIconDrag(QWidget dragSource, String name) { + public TQIconDrag(TQWidget dragSource, String name) { super((Class) null); - newQIconDrag(dragSource,name); + newTQIconDrag(dragSource,name); } - private native void newQIconDrag(QWidget dragSource, String name); - public QIconDrag(QWidget dragSource) { + private native void newTQIconDrag(TQWidget dragSource, String name); + public TQIconDrag(TQWidget dragSource) { super((Class) null); - newQIconDrag(dragSource); + newTQIconDrag(dragSource); } - private native void newQIconDrag(QWidget dragSource); - public native void append(QIconDragItem item, QRect pr, QRect tr); + 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(QMimeSourceInterface e); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QIconDragItem.java b/qtjava/javalib/org/kde/qt/QIconDragItem.java index 827a6a52..450e341d 100644 --- a/qtjava/javalib/org/kde/qt/QIconDragItem.java +++ b/qtjava/javalib/org/kde/qt/QIconDragItem.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIconDragItem implements QtSupport { +public class TQIconDragItem implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QIconDragItem(Class dummy){} + protected TQIconDragItem(Class dummy){} - public QIconDragItem() { - newQIconDragItem(); + public TQIconDragItem() { + newTQIconDragItem(); } - private native void newQIconDragItem(); + private native void newTQIconDragItem(); public native byte[] data(); public native void setData(byte[] d); - public native boolean op_equals(QIconDragItem arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QIconSet.java b/qtjava/javalib/org/kde/qt/QIconSet.java index bd9df307..01d97baf 100644 --- a/qtjava/javalib/org/kde/qt/QIconSet.java +++ b/qtjava/javalib/org/kde/qt/QIconSet.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIconSet implements QtSupport { +public class TQIconSet implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QIconSet(Class dummy){} + protected TQIconSet(Class dummy){} public static final int Automatic = 0; public static final int Small = 1; @@ -19,46 +19,46 @@ public class QIconSet implements QtSupport { public static final int On = 0; public static final int Off = 1; - public QIconSet() { - newQIconSet(); + public TQIconSet() { + newTQIconSet(); } - private native void newQIconSet(); - public QIconSet(QPixmap pixmap, int size) { - newQIconSet(pixmap,size); + private native void newTQIconSet(); + public TQIconSet(TQPixmap pixmap, int size) { + newTQIconSet(pixmap,size); } - private native void newQIconSet(QPixmap pixmap, int size); - public QIconSet(QPixmap pixmap) { - newQIconSet(pixmap); + private native void newTQIconSet(TQPixmap pixmap, int size); + public TQIconSet(TQPixmap pixmap) { + newTQIconSet(pixmap); } - private native void newQIconSet(QPixmap pixmap); - public QIconSet(QPixmap smallPix, QPixmap largePix) { - newQIconSet(smallPix,largePix); + private native void newTQIconSet(TQPixmap pixmap); + public TQIconSet(TQPixmap smallPix, TQPixmap largePix) { + newTQIconSet(smallPix,largePix); } - private native void newQIconSet(QPixmap smallPix, QPixmap largePix); - public QIconSet(QIconSet other) { - newQIconSet(other); + private native void newTQIconSet(TQPixmap smallPix, TQPixmap largePix); + public TQIconSet(TQIconSet other) { + newTQIconSet(other); } - private native void newQIconSet(QIconSet other); - public native void reset(QPixmap pixmap, int size); - public native void setPixmap(QPixmap pixmap, int size, int mode, int state); - public native void setPixmap(QPixmap pixmap, int size, int mode); - public native void setPixmap(QPixmap pixmap, int size); + 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 QPixmap pixmap(int size, int mode, int state); - public native QPixmap pixmap(int size, int mode); - public native QPixmap pixmap(int size, boolean enabled, int state); - public native QPixmap pixmap(int size, boolean enabled); - public native QPixmap pixmap(); + 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(QIconFactory* arg1); >>>> NOT CONVERTED + // void installIconFactory(TQIconFactory* arg1); >>>> NOT CONVERTED public native boolean isNull(); public native void detach(); - public static native void setIconSize(int which, QSize size); - public static native QSize iconSize(int which); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QIconView.java b/qtjava/javalib/org/kde/qt/QIconView.java index efb0ced0..5bf2ea6e 100644 --- a/qtjava/javalib/org/kde/qt/QIconView.java +++ b/qtjava/javalib/org/kde/qt/QIconView.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QIconViewSignals} for signals emitted by QIconView + See {@link TQIconViewSignals} for signals emitted by TQIconView */ -public class QIconView extends QScrollView { - protected QIconView(Class dummy){super((Class) null);} +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; @@ -22,53 +22,53 @@ public class QIconView extends QScrollView { public static final int Bottom = 0; public static final int Right = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QIconView(QWidget parent, String name, int f) { + public TQIconView(TQWidget parent, String name, int f) { super((Class) null); - newQIconView(parent,name,f); + newTQIconView(parent,name,f); } - private native void newQIconView(QWidget parent, String name, int f); - public QIconView(QWidget parent, String name) { + private native void newTQIconView(TQWidget parent, String name, int f); + public TQIconView(TQWidget parent, String name) { super((Class) null); - newQIconView(parent,name); + newTQIconView(parent,name); } - private native void newQIconView(QWidget parent, String name); - public QIconView(QWidget parent) { + private native void newTQIconView(TQWidget parent, String name); + public TQIconView(TQWidget parent) { super((Class) null); - newQIconView(parent); + newTQIconView(parent); } - private native void newQIconView(QWidget parent); - public QIconView() { + private native void newTQIconView(TQWidget parent); + public TQIconView() { super((Class) null); - newQIconView(); + newTQIconView(); } - private native void newQIconView(); - public native void insertItem(QIconViewItem item, QIconViewItem after); - public native void insertItem(QIconViewItem item); - public native void takeItem(QIconViewItem item); - public native int index(QIconViewItem item); - public native QIconViewItem firstItem(); - public native QIconViewItem lastItem(); - public native QIconViewItem currentItem(); - public native void setCurrentItem(QIconViewItem item); - public native void setSelected(QIconViewItem item, boolean s, boolean cb); - public native void setSelected(QIconViewItem item, boolean s); + 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(QShowEvent arg1); + public native void showEvent(TQShowEvent arg1); public native void setSelectionMode(int m); public native int selectionMode(); - public native QIconViewItem findItem(QPoint pos); - public native QIconViewItem findItem(String text, int compare); - public native QIconViewItem findItem(String text); + 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(QIconViewItem item); + public native void repaintItem(TQIconViewItem item); public native void repaintSelectedItems(); - public native void ensureItemVisible(QIconViewItem item); - public native QIconViewItem findFirstVisibleItem(QRect r); - public native QIconViewItem findLastVisibleItem(QRect r); + 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); @@ -78,8 +78,8 @@ public class QIconView extends QScrollView { public native int spacing(); public native void setItemTextPos(int pos); public native int itemTextPos(); - public native void setItemTextBackground(QBrush b); - public native QBrush itemTextBackground(); + 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); @@ -100,47 +100,47 @@ public class QIconView extends QScrollView { public native boolean itemsMovable(); public native void setWordWrapIconText(boolean b); public native boolean wordWrapIconText(); - public native boolean eventFilter(QObject o, QEvent arg2); - public native QSize minimumSizeHint(); - public native QSize sizeHint(); + 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(QFont arg1); - public native void setPalette(QPalette arg1); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); public native boolean isRenaming(); - public native void arrangeItemsInGrid(QSize grid, boolean update); - public native void arrangeItemsInGrid(QSize grid); + 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(QPainter p, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseReleaseEvent(QMouseEvent e); - protected native void contentsMouseMoveEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void contentsContextMenuEvent(QContextMenuEvent e); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native void resizeEvent(QResizeEvent e); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void enterEvent(QEvent e); - protected native void drawRubber(QPainter p); - protected native QDragObject dragObject(); + 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(QIconViewItem item); - protected native void drawBackground(QPainter p, QRect r); - protected native void emitSelectionChanged(QIconViewItem i); + 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(QIconViewItem item); - protected native QIconViewItem makeRowLayout(QIconViewItem begin, int[] y, boolean changed); - public native void styleChange(QStyle arg1); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QIconViewItem.java b/qtjava/javalib/org/kde/qt/QIconViewItem.java index 3572432d..fd90894f 100644 --- a/qtjava/javalib/org/kde/qt/QIconViewItem.java +++ b/qtjava/javalib/org/kde/qt/QIconViewItem.java @@ -3,61 +3,61 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIconViewItem extends Qt { - protected QIconViewItem(Class dummy){super((Class) null);} - public QIconViewItem(QIconView parent) { +public class TQIconViewItem extends Qt { + protected TQIconViewItem(Class dummy){super((Class) null);} + public TQIconViewItem(TQIconView parent) { super((Class) null); - newQIconViewItem(parent); + newTQIconViewItem(parent); } - private native void newQIconViewItem(QIconView parent); - public QIconViewItem(QIconView parent, QIconViewItem after) { + private native void newTQIconViewItem(TQIconView parent); + public TQIconViewItem(TQIconView parent, TQIconViewItem after) { super((Class) null); - newQIconViewItem(parent,after); + newTQIconViewItem(parent,after); } - private native void newQIconViewItem(QIconView parent, QIconViewItem after); - public QIconViewItem(QIconView parent, String text) { + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after); + public TQIconViewItem(TQIconView parent, String text) { super((Class) null); - newQIconViewItem(parent,text); + newTQIconViewItem(parent,text); } - private native void newQIconViewItem(QIconView parent, String text); - public QIconViewItem(QIconView parent, QIconViewItem after, String text) { + private native void newTQIconViewItem(TQIconView parent, String text); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text) { super((Class) null); - newQIconViewItem(parent,after,text); + newTQIconViewItem(parent,after,text); } - private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text); - public QIconViewItem(QIconView parent, String text, QPixmap icon) { + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text); + public TQIconViewItem(TQIconView parent, String text, TQPixmap icon) { super((Class) null); - newQIconViewItem(parent,text,icon); + newTQIconViewItem(parent,text,icon); } - private native void newQIconViewItem(QIconView parent, String text, QPixmap icon); - public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon) { + private native void newTQIconViewItem(TQIconView parent, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { super((Class) null); - newQIconViewItem(parent,after,text,icon); + newTQIconViewItem(parent,after,text,icon); } - private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon); - public QIconViewItem(QIconView parent, String text, QPicture picture) { + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, String text, TQPicture picture) { super((Class) null); - newQIconViewItem(parent,text,picture); + newTQIconViewItem(parent,text,picture); } - private native void newQIconViewItem(QIconView parent, String text, QPicture picture); - public QIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture) { + private native void newTQIconViewItem(TQIconView parent, String text, TQPicture picture); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { super((Class) null); - newQIconViewItem(parent,after,text,picture); + newTQIconViewItem(parent,after,text,picture); } - private native void newQIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture 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 QPixmap pixmap(); - public native QPicture picture(); + 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 QIconView iconView(); - public native QIconViewItem prevItem(); - public native QIconViewItem nextItem(); + 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); @@ -67,44 +67,44 @@ public class QIconViewItem extends Qt { public native void repaint(); public native boolean move(int x, int y); public native void moveBy(int dx, int dy); - public native boolean move(QPoint pnt); - public native void moveBy(QPoint pnt); - public native QRect rect(); + 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 QSize size(); - public native QPoint pos(); - public native QRect textRect(boolean relative); - public native QRect textRect(); - public native QRect pixmapRect(boolean relative); - public native QRect pixmapRect(); - public native boolean contains(QPoint pnt); - public native boolean intersects(QRect r); - public native boolean acceptDrop(QMimeSourceInterface mime); + 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(QIconViewItem i); + public native int compare(TQIconViewItem i); public native void setText(String text); - public native void setPixmap(QPixmap icon); - public native void setPicture(QPicture icon); + 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(QPixmap icon, boolean recalc, boolean redraw); - public native void setPixmap(QPixmap icon, 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(QPainter p, QColorGroup cg); - protected native void paintFocus(QPainter p, QColorGroup cg); - // void dropped(QDropEvent* arg1,const QValueList& arg2); >>>> NOT CONVERTED + 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(QRect r); - protected native void setTextRect(QRect r); - protected native void setPixmapRect(QRect r); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QIconViewSignals.java b/qtjava/javalib/org/kde/qt/QIconViewSignals.java index 85098c96..f54e07b8 100644 --- a/qtjava/javalib/org/kde/qt/QIconViewSignals.java +++ b/qtjava/javalib/org/kde/qt/QIconViewSignals.java @@ -2,25 +2,25 @@ package org.kde.qt; -public interface QIconViewSignals { +public interface TQIconViewSignals { void selectionChanged(); - void selectionChanged(QIconViewItem item); - void currentChanged(QIconViewItem item); - void clicked(QIconViewItem arg1); - void clicked(QIconViewItem arg1, QPoint arg2); - void pressed(QIconViewItem arg1); - void pressed(QIconViewItem arg1, QPoint arg2); - void doubleClicked(QIconViewItem item); - void returnPressed(QIconViewItem item); - void rightButtonClicked(QIconViewItem item, QPoint pos); - void rightButtonPressed(QIconViewItem item, QPoint pos); - void mouseButtonPressed(int button, QIconViewItem item, QPoint pos); - void mouseButtonClicked(int button, QIconViewItem item, QPoint pos); - void contextMenuRequested(QIconViewItem item, QPoint pos); - // void dropped(QDropEvent* arg1,const QValueList& arg2); >>>> NOT CONVERTED + 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(QIconViewItem item); + void onItem(TQIconViewItem item); void onViewport(); - void itemRenamed(QIconViewItem item, String arg2); - void itemRenamed(QIconViewItem item); + 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 index 9d223779..f6821a5a 100644 --- a/qtjava/javalib/org/kde/qt/QImage.java +++ b/qtjava/javalib/org/kde/qt/QImage.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QImage implements QtSupport { +public class TQImage implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImage(Class dummy){} + protected TQImage(Class dummy){} public static final int IgnoreEndian = 0; public static final int BigEndian = 1; @@ -17,67 +17,67 @@ public class QImage implements QtSupport { public static final int ScaleMin = 1; public static final int ScaleMax = 2; - public QImage() { - newQImage(); + public TQImage() { + newTQImage(); } - private native void newQImage(); - public QImage(int width, int height, int depth, int numColors, int bitOrder) { - newQImage(width,height,depth,numColors,bitOrder); + 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 newQImage(int width, int height, int depth, int numColors, int bitOrder); - public QImage(int width, int height, int depth, int numColors) { - newQImage(width,height,depth,numColors); + 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 newQImage(int width, int height, int depth, int numColors); - public QImage(int width, int height, int depth) { - newQImage(width,height,depth); + 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 newQImage(int width, int height, int depth); - public QImage(QSize arg1, int depth, int numColors, int bitOrder) { - newQImage(arg1,depth,numColors,bitOrder); + 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 newQImage(QSize arg1, int depth, int numColors, int bitOrder); - public QImage(QSize arg1, int depth, int numColors) { - newQImage(arg1,depth,numColors); + 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 newQImage(QSize arg1, int depth, int numColors); - public QImage(QSize arg1, int depth) { - newQImage(arg1,depth); + private native void newTQImage(TQSize arg1, int depth, int numColors); + public TQImage(TQSize arg1, int depth) { + newTQImage(arg1,depth); } - private native void newQImage(QSize arg1, int depth); - public QImage(String fileName, String format) { - newQImage(fileName,format); + private native void newTQImage(TQSize arg1, int depth); + public TQImage(String fileName, String format) { + newTQImage(fileName,format); } - private native void newQImage(String fileName, String format); - public QImage(String fileName) { - newQImage(fileName); + private native void newTQImage(String fileName, String format); + public TQImage(String fileName) { + newTQImage(fileName); } - private native void newQImage(String fileName); - // QImage* QImage(const char** arg1); >>>> NOT CONVERTED - public QImage(byte[] data) { - newQImage(data); + private native void newTQImage(String fileName); + // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED + public TQImage(byte[] data) { + newTQImage(data); } - private native void newQImage(byte[] data); - public QImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { - newQImage(data,w,h,depth,colortable,numColors,bitOrder); + 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 newQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); - public QImage(QImage arg1) { - newQImage(arg1); + 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 newQImage(QImage arg1); - public native boolean op_equals(QImage arg1); - public native boolean op_not_equals(QImage 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 QImage copy(); - public native QImage copy(int x, int y, int w, int h, int conversion_flags); - public native QImage copy(int x, int y, int w, int h); - public native QImage copy(QRect arg1); + 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 QSize size(); - public native QRect rect(); + public native TQSize size(); + public native TQRect rect(); public native int depth(); public native int numColors(); public native int bitOrder(); @@ -97,36 +97,36 @@ public class QImage implements QtSupport { 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(QSize arg1, int depth, int numColors, int bitOrder); - public native boolean create(QSize arg1, int depth, int numColors); - public native boolean create(QSize arg1, 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 QImage convertDepth(int arg1); - public native QImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); - public native QImage convertDepthWithPalette(int arg1, int[] p, int pc); - public native QImage convertDepth(int arg1, int conversion_flags); - public native QImage convertBitOrder(int arg1); - public native QImage smoothScale(int w, int h, int mode); - public native QImage smoothScale(int w, int h); - public native QImage smoothScale(QSize s, int mode); - public native QImage smoothScale(QSize s); - public native QImage scale(int w, int h, int mode); - public native QImage scale(int w, int h); - public native QImage scale(QSize s, int mode); - public native QImage scale(QSize s); - public native QImage scaleWidth(int w); - public native QImage scaleHeight(int h); - public native Object xForm(QWMatrix matrix); - public native QImage createAlphaMask(int conversion_flags); - public native QImage createAlphaMask(); - public native QImage createHeuristicMask(boolean clipTight); - public native QImage createHeuristicMask(); - public native QImage mirror(); - public native QImage mirror(boolean horizontally, boolean vertically); - public native QImage swapRGB(); + 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); @@ -135,8 +135,8 @@ public class QImage implements QtSupport { 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(QIODeviceInterface device, String format, int quality); - public native boolean save(QIODeviceInterface device, 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); @@ -145,16 +145,16 @@ public class QImage implements QtSupport { public native int dotsPerMeterY(); public native void setDotsPerMeterX(int arg1); public native void setDotsPerMeterY(int arg1); - public native QPoint offset(); - public native void setOffset(QPoint arg1); - // QValueList textList(); >>>> NOT CONVERTED + 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(QImageTextKeyLang arg1); + public native String text(TQImageTextKeyLang arg1); public native void setText(String key, String lang, String arg3); - public static native QImage fromMimeSource(String abs_name); + 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); diff --git a/qtjava/javalib/org/kde/qt/QImageConsumer.java b/qtjava/javalib/org/kde/qt/QImageConsumer.java index 4d2b5037..86c85eb4 100644 --- a/qtjava/javalib/org/kde/qt/QImageConsumer.java +++ b/qtjava/javalib/org/kde/qt/QImageConsumer.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QImageConsumer implements QtSupport { +public class TQImageConsumer implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageConsumer(Class dummy){} + protected TQImageConsumer(Class dummy){} public native void end(); - public native void changed(QRect arg1); + public native void changed(TQRect arg1); public native void frameDone(); - public native void frameDone(QPoint arg1, QRect arg2); + 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 index e03d95b6..6eb34fec 100644 --- a/qtjava/javalib/org/kde/qt/QImageDecoder.java +++ b/qtjava/javalib/org/kde/qt/QImageDecoder.java @@ -4,22 +4,22 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QImageDecoder implements QtSupport { +public class TQImageDecoder implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageDecoder(Class dummy){} + protected TQImageDecoder(Class dummy){} - public QImageDecoder(QImageConsumer c) { - newQImageDecoder(c); + public TQImageDecoder(TQImageConsumer c) { + newTQImageDecoder(c); } - private native void newQImageDecoder(QImageConsumer c); - public native QImage image(); + 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 QImageFormatType format(String name); + public static native TQImageFormatType format(String name); public static native ArrayList inputFormats(); - public static native void registerDecoderFactory(QImageFormatType arg1); - public static native void unregisterDecoderFactory(QImageFormatType arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QImageDrag.java b/qtjava/javalib/org/kde/qt/QImageDrag.java index eeedb433..71c39b4c 100644 --- a/qtjava/javalib/org/kde/qt/QImageDrag.java +++ b/qtjava/javalib/org/kde/qt/QImageDrag.java @@ -3,48 +3,48 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QImageDrag extends QDragObject { - protected QImageDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQImageDrag extends TQDragObject { + protected TQImageDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QImageDrag(QImage image, QWidget dragSource, String name) { + public TQImageDrag(TQImage image, TQWidget dragSource, String name) { super((Class) null); - newQImageDrag(image,dragSource,name); + newTQImageDrag(image,dragSource,name); } - private native void newQImageDrag(QImage image, QWidget dragSource, String name); - public QImageDrag(QImage image, QWidget dragSource) { + private native void newTQImageDrag(TQImage image, TQWidget dragSource, String name); + public TQImageDrag(TQImage image, TQWidget dragSource) { super((Class) null); - newQImageDrag(image,dragSource); + newTQImageDrag(image,dragSource); } - private native void newQImageDrag(QImage image, QWidget dragSource); - public QImageDrag(QImage image) { + private native void newTQImageDrag(TQImage image, TQWidget dragSource); + public TQImageDrag(TQImage image) { super((Class) null); - newQImageDrag(image); + newTQImageDrag(image); } - private native void newQImageDrag(QImage image); - public QImageDrag(QWidget dragSource, String name) { + private native void newTQImageDrag(TQImage image); + public TQImageDrag(TQWidget dragSource, String name) { super((Class) null); - newQImageDrag(dragSource,name); + newTQImageDrag(dragSource,name); } - private native void newQImageDrag(QWidget dragSource, String name); - public QImageDrag(QWidget dragSource) { + private native void newTQImageDrag(TQWidget dragSource, String name); + public TQImageDrag(TQWidget dragSource) { super((Class) null); - newQImageDrag(dragSource); + newTQImageDrag(dragSource); } - private native void newQImageDrag(QWidget dragSource); - public QImageDrag() { + private native void newTQImageDrag(TQWidget dragSource); + public TQImageDrag() { super((Class) null); - newQImageDrag(); + newTQImageDrag(); } - private native void newQImageDrag(); - public native void setImage(QImage image); + 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(QMimeSourceInterface e); - public static native boolean decode(QMimeSourceInterface e, QImage i); - public static native boolean decode(QMimeSourceInterface e, QPixmap i); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QImageFormat.java b/qtjava/javalib/org/kde/qt/QImageFormat.java index 5dd4449d..3f3bfc08 100644 --- a/qtjava/javalib/org/kde/qt/QImageFormat.java +++ b/qtjava/javalib/org/kde/qt/QImageFormat.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QImageFormat implements QtSupport { +public class TQImageFormat implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageFormat(Class dummy){} + protected TQImageFormat(Class dummy){} - public native int decode(QImage img, QImageConsumer consumer, char[] buffer, int length); + 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 index 6142648a..3044ed29 100644 --- a/qtjava/javalib/org/kde/qt/QImageFormatType.java +++ b/qtjava/javalib/org/kde/qt/QImageFormatType.java @@ -3,11 +3,11 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QImageFormatType implements QtSupport { +public class TQImageFormatType implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageFormatType(Class dummy){} + protected TQImageFormatType(Class dummy){} - public native QImageFormat decoderFor(char[] buffer, int length); + 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 index 7aef7393..9fdd5499 100644 --- a/qtjava/javalib/org/kde/qt/QImageIO.java +++ b/qtjava/javalib/org/kde/qt/QImageIO.java @@ -4,36 +4,36 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QImageIO implements QtSupport { +public class TQImageIO implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageIO(Class dummy){} + protected TQImageIO(Class dummy){} - public QImageIO() { - newQImageIO(); + public TQImageIO() { + newTQImageIO(); } - private native void newQImageIO(); - public QImageIO(QIODeviceInterface ioDevice, String format) { - newQImageIO(ioDevice,format); + private native void newTQImageIO(); + public TQImageIO(TQIODeviceInterface ioDevice, String format) { + newTQImageIO(ioDevice,format); } - private native void newQImageIO(QIODeviceInterface ioDevice, String format); - public QImageIO(String fileName, String format) { - newQImageIO(fileName,format); + private native void newTQImageIO(TQIODeviceInterface ioDevice, String format); + public TQImageIO(String fileName, String format) { + newTQImageIO(fileName,format); } - private native void newQImageIO(String fileName, String format); - public native QImage image(); + private native void newTQImageIO(String fileName, String format); + public native TQImage image(); public native int status(); public native String format(); - public native QIODeviceInterface ioDevice(); + 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(QImage arg1); + public native void setImage(TQImage arg1); public native void setStatus(int arg1); public native void setFormat(String arg1); - public native void setIODevice(QIODeviceInterface 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); @@ -42,7 +42,7 @@ public class QImageIO implements QtSupport { public native boolean read(); public native boolean write(); public static native String imageFormat(String fileName); - public static native String imageFormat(QIODeviceInterface arg1); + public static native String imageFormat(TQIODeviceInterface arg1); public static native ArrayList inputFormats(); public static native ArrayList outputFormats(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java b/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java index 124e67d7..e89d1f1d 100644 --- a/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java +++ b/qtjava/javalib/org/kde/qt/QImageTextKeyLang.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QImageTextKeyLang implements QtSupport { +public class TQImageTextKeyLang implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImageTextKeyLang(Class dummy){} + protected TQImageTextKeyLang(Class dummy){} - public QImageTextKeyLang(String k, String l) { - newQImageTextKeyLang(k,l); + public TQImageTextKeyLang(String k, String l) { + newTQImageTextKeyLang(k,l); } - private native void newQImageTextKeyLang(String k, String l); - public QImageTextKeyLang() { - newQImageTextKeyLang(); + private native void newTQImageTextKeyLang(String k, String l); + public TQImageTextKeyLang() { + newTQImageTextKeyLang(); } - private native void newQImageTextKeyLang(); - public native boolean op_lt(QImageTextKeyLang other); - public native boolean op_equals(QImageTextKeyLang other); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QInputDialog.java b/qtjava/javalib/org/kde/qt/QInputDialog.java index fc251498..43e104e7 100644 --- a/qtjava/javalib/org/kde/qt/QInputDialog.java +++ b/qtjava/javalib/org/kde/qt/QInputDialog.java @@ -3,36 +3,36 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QInputDialog extends QDialog { - protected QInputDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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, QWidget parent, String name); - public static native String getText(String caption, String label, int echo, String text, boolean[] ok, QWidget parent); + 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, QWidget parent, String name); - public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, QWidget parent); + 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, QWidget parent, String name); - public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, QWidget parent); + 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, QWidget parent, String name); - public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, QWidget parent); + 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); diff --git a/qtjava/javalib/org/kde/qt/QIntValidator.java b/qtjava/javalib/org/kde/qt/QIntValidator.java index 1ca98994..73b03fce 100644 --- a/qtjava/javalib/org/kde/qt/QIntValidator.java +++ b/qtjava/javalib/org/kde/qt/QIntValidator.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QIntValidator extends QValidator { - protected QIntValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQIntValidator extends TQValidator { + protected TQIntValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QIntValidator(QObject parent, String name) { + public TQIntValidator(TQObject parent, String name) { super((Class) null); - newQIntValidator(parent,name); + newTQIntValidator(parent,name); } - private native void newQIntValidator(QObject parent, String name); - public QIntValidator(QObject parent) { + private native void newTQIntValidator(TQObject parent, String name); + public TQIntValidator(TQObject parent) { super((Class) null); - newQIntValidator(parent); + newTQIntValidator(parent); } - private native void newQIntValidator(QObject parent); - public QIntValidator(int bottom, int top, QObject parent, String name) { + private native void newTQIntValidator(TQObject parent); + public TQIntValidator(int bottom, int top, TQObject parent, String name) { super((Class) null); - newQIntValidator(bottom,top,parent,name); + newTQIntValidator(bottom,top,parent,name); } - private native void newQIntValidator(int bottom, int top, QObject parent, String name); - public QIntValidator(int bottom, int top, QObject parent) { + private native void newTQIntValidator(int bottom, int top, TQObject parent, String name); + public TQIntValidator(int bottom, int top, TQObject parent) { super((Class) null); - newQIntValidator(bottom,top,parent); + newTQIntValidator(bottom,top,parent); } - private native void newQIntValidator(int bottom, int top, QObject 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); diff --git a/qtjava/javalib/org/kde/qt/QJisCodec.java b/qtjava/javalib/org/kde/qt/QJisCodec.java index 6d3e918d..eb29d653 100644 --- a/qtjava/javalib/org/kde/qt/QJisCodec.java +++ b/qtjava/javalib/org/kde/qt/QJisCodec.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QJisCodec extends QTextCodec { - protected QJisCodec(Class dummy){super((Class) null);} +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 QTextDecoder makeDecoder(); + 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 QJisCodec() { + public TQJisCodec() { super((Class) null); - newQJisCodec(); + newTQJisCodec(); } - private native void newQJisCodec(); + private native void newTQJisCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java b/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java index fa6a2232..62c990f8 100644 --- a/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java +++ b/qtjava/javalib/org/kde/qt/QJpUnicodeConv.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QJpUnicodeConv implements QtSupport { +public class TQJpUnicodeConv implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QJpUnicodeConv(Class dummy){} + protected TQJpUnicodeConv(Class dummy){} public static final int Default = 0x0000; public static final int Unicode = 0x0001; @@ -48,11 +48,11 @@ public class QJpUnicodeConv implements QtSupport { public native int unicodeToSjis(int h, int l); public native int sjisToUnicode(int sjis); public native int unicodeToSjis(int unicode); - public static native QJpUnicodeConv newConverter(int rule); - public QJpUnicodeConv(int r) { - newQJpUnicodeConv(r); + public static native TQJpUnicodeConv newConverter(int rule); + public TQJpUnicodeConv(int r) { + newTQJpUnicodeConv(r); } - private native void newQJpUnicodeConv(int 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() */ diff --git a/qtjava/javalib/org/kde/qt/QKeyEvent.java b/qtjava/javalib/org/kde/qt/QKeyEvent.java index 9bec7330..50015bfc 100644 --- a/qtjava/javalib/org/kde/qt/QKeyEvent.java +++ b/qtjava/javalib/org/kde/qt/QKeyEvent.java @@ -3,28 +3,28 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QKeyEvent extends QEvent { - protected QKeyEvent(Class dummy){super((Class) null);} - public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { +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); - newQKeyEvent(type,key,ascii,state,text,autorep,count); + newTQKeyEvent(type,key,ascii,state,text,autorep,count); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); - public QKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { + 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); - newQKeyEvent(type,key,ascii,state,text,autorep); + newTQKeyEvent(type,key,ascii,state,text,autorep); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); - public QKeyEvent(int type, int key, int ascii, int state, String text) { + 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); - newQKeyEvent(type,key,ascii,state,text); + newTQKeyEvent(type,key,ascii,state,text); } - private native void newQKeyEvent(int type, int key, int ascii, int state, String text); - public QKeyEvent(int type, int key, int ascii, int state) { + 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); - newQKeyEvent(type,key,ascii,state); + newTQKeyEvent(type,key,ascii,state); } - private native void newQKeyEvent(int type, int key, int ascii, int 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(); diff --git a/qtjava/javalib/org/kde/qt/QKeySequence.java b/qtjava/javalib/org/kde/qt/QKeySequence.java index 6bed02ec..78b9da76 100644 --- a/qtjava/javalib/org/kde/qt/QKeySequence.java +++ b/qtjava/javalib/org/kde/qt/QKeySequence.java @@ -3,49 +3,49 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QKeySequence extends Qt { - protected QKeySequence(Class dummy){super((Class) null);} - public QKeySequence() { +public class TQKeySequence extends Qt { + protected TQKeySequence(Class dummy){super((Class) null);} + public TQKeySequence() { super((Class) null); - newQKeySequence(); + newTQKeySequence(); } - private native void newQKeySequence(); - public QKeySequence(String key) { + private native void newTQKeySequence(); + public TQKeySequence(String key) { super((Class) null); - newQKeySequence(key); + newTQKeySequence(key); } - private native void newQKeySequence(String key); - public QKeySequence(int key) { + private native void newTQKeySequence(String key); + public TQKeySequence(int key) { super((Class) null); - newQKeySequence(key); + newTQKeySequence(key); } - private native void newQKeySequence(int key); - public QKeySequence(int k1, int k2, int k3, int k4) { + private native void newTQKeySequence(int key); + public TQKeySequence(int k1, int k2, int k3, int k4) { super((Class) null); - newQKeySequence(k1,k2,k3,k4); + newTQKeySequence(k1,k2,k3,k4); } - private native void newQKeySequence(int k1, int k2, int k3, int k4); - public QKeySequence(int k1, int k2, int k3) { + private native void newTQKeySequence(int k1, int k2, int k3, int k4); + public TQKeySequence(int k1, int k2, int k3) { super((Class) null); - newQKeySequence(k1,k2,k3); + newTQKeySequence(k1,k2,k3); } - private native void newQKeySequence(int k1, int k2, int k3); - public QKeySequence(int k1, int k2) { + private native void newTQKeySequence(int k1, int k2, int k3); + public TQKeySequence(int k1, int k2) { super((Class) null); - newQKeySequence(k1,k2); + newTQKeySequence(k1,k2); } - private native void newQKeySequence(int k1, int k2); - public QKeySequence(QKeySequence arg1) { + private native void newTQKeySequence(int k1, int k2); + public TQKeySequence(TQKeySequence arg1) { super((Class) null); - newQKeySequence(arg1); + newTQKeySequence(arg1); } - private native void newQKeySequence(QKeySequence arg1); + private native void newTQKeySequence(TQKeySequence arg1); public native int count(); public native boolean isEmpty(); - public native int matches(QKeySequence arg1); + public native int matches(TQKeySequence arg1); public native int op_at(int arg1); - public native boolean op_equals(QKeySequence arg1); - public native boolean op_not_equals(QKeySequence 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() */ diff --git a/qtjava/javalib/org/kde/qt/QLCDNumber.java b/qtjava/javalib/org/kde/qt/QLCDNumber.java index 1ee961ac..ef3d31c5 100644 --- a/qtjava/javalib/org/kde/qt/QLCDNumber.java +++ b/qtjava/javalib/org/kde/qt/QLCDNumber.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QLCDNumberSignals} for signals emitted by QLCDNumber + See {@link TQLCDNumberSignals} for signals emitted by TQLCDNumber */ -public class QLCDNumber extends QFrame { - protected QLCDNumber(Class dummy){super((Class) null);} +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; @@ -21,38 +21,38 @@ public class QLCDNumber extends QFrame { public static final int Filled = 1; public static final int Flat = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QLCDNumber(QWidget parent, String name) { + public TQLCDNumber(TQWidget parent, String name) { super((Class) null); - newQLCDNumber(parent,name); + newTQLCDNumber(parent,name); } - private native void newQLCDNumber(QWidget parent, String name); - public QLCDNumber(QWidget parent) { + private native void newTQLCDNumber(TQWidget parent, String name); + public TQLCDNumber(TQWidget parent) { super((Class) null); - newQLCDNumber(parent); + newTQLCDNumber(parent); } - private native void newQLCDNumber(QWidget parent); - public QLCDNumber() { + private native void newTQLCDNumber(TQWidget parent); + public TQLCDNumber() { super((Class) null); - newQLCDNumber(); + newTQLCDNumber(); } - private native void newQLCDNumber(); - public QLCDNumber(int numDigits, QWidget parent, String name) { + private native void newTQLCDNumber(); + public TQLCDNumber(int numDigits, TQWidget parent, String name) { super((Class) null); - newQLCDNumber(numDigits,parent,name); + newTQLCDNumber(numDigits,parent,name); } - private native void newQLCDNumber(int numDigits, QWidget parent, String name); - public QLCDNumber(int numDigits, QWidget parent) { + private native void newTQLCDNumber(int numDigits, TQWidget parent, String name); + public TQLCDNumber(int numDigits, TQWidget parent) { super((Class) null); - newQLCDNumber(numDigits,parent); + newTQLCDNumber(numDigits,parent); } - private native void newQLCDNumber(int numDigits, QWidget parent); - public QLCDNumber(int numDigits) { + private native void newTQLCDNumber(int numDigits, TQWidget parent); + public TQLCDNumber(int numDigits) { super((Class) null); - newQLCDNumber(numDigits); + newTQLCDNumber(numDigits); } - private native void newQLCDNumber(int numDigits); + private native void newTQLCDNumber(int numDigits); public native boolean smallDecimalPoint(); public native int numDigits(); public native void setNumDigits(int nDigits); @@ -64,7 +64,7 @@ public class QLCDNumber extends QFrame { public native void setSegmentStyle(int arg1); public native double value(); public native int intValue(); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native void display(String str); public native void display(int num); public native void display(double num); @@ -75,7 +75,7 @@ public class QLCDNumber extends QFrame { 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(QPainter 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() */ diff --git a/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java b/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java index 6df79b7c..0fecf72f 100644 --- a/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java +++ b/qtjava/javalib/org/kde/qt/QLCDNumberSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QLCDNumberSignals { +public interface TQLCDNumberSignals { void overflow(); } diff --git a/qtjava/javalib/org/kde/qt/QLabel.java b/qtjava/javalib/org/kde/qt/QLabel.java index e50132bd..8803ecac 100644 --- a/qtjava/javalib/org/kde/qt/QLabel.java +++ b/qtjava/javalib/org/kde/qt/QLabel.java @@ -3,59 +3,59 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QLabel extends QFrame { - protected QLabel(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQLabel extends TQFrame { + protected TQLabel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QLabel(QWidget parent, String name, int f) { + public TQLabel(TQWidget parent, String name, int f) { super((Class) null); - newQLabel(parent,name,f); + newTQLabel(parent,name,f); } - private native void newQLabel(QWidget parent, String name, int f); - public QLabel(QWidget parent, String name) { + private native void newTQLabel(TQWidget parent, String name, int f); + public TQLabel(TQWidget parent, String name) { super((Class) null); - newQLabel(parent,name); + newTQLabel(parent,name); } - private native void newQLabel(QWidget parent, String name); - public QLabel(QWidget parent) { + private native void newTQLabel(TQWidget parent, String name); + public TQLabel(TQWidget parent) { super((Class) null); - newQLabel(parent); + newTQLabel(parent); } - private native void newQLabel(QWidget parent); - public QLabel(String text, QWidget parent, String name, int f) { + private native void newTQLabel(TQWidget parent); + public TQLabel(String text, TQWidget parent, String name, int f) { super((Class) null); - newQLabel(text,parent,name,f); + newTQLabel(text,parent,name,f); } - private native void newQLabel(String text, QWidget parent, String name, int f); - public QLabel(String text, QWidget parent, String name) { + private native void newTQLabel(String text, TQWidget parent, String name, int f); + public TQLabel(String text, TQWidget parent, String name) { super((Class) null); - newQLabel(text,parent,name); + newTQLabel(text,parent,name); } - private native void newQLabel(String text, QWidget parent, String name); - public QLabel(String text, QWidget parent) { + private native void newTQLabel(String text, TQWidget parent, String name); + public TQLabel(String text, TQWidget parent) { super((Class) null); - newQLabel(text,parent); + newTQLabel(text,parent); } - private native void newQLabel(String text, QWidget parent); - public QLabel(QWidget buddy, String arg2, QWidget parent, String name, int f) { + private native void newTQLabel(String text, TQWidget parent); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f) { super((Class) null); - newQLabel(buddy,arg2,parent,name,f); + newTQLabel(buddy,arg2,parent,name,f); } - private native void newQLabel(QWidget buddy, String arg2, QWidget parent, String name, int f); - public QLabel(QWidget buddy, String arg2, QWidget parent, String name) { + 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); - newQLabel(buddy,arg2,parent,name); + newTQLabel(buddy,arg2,parent,name); } - private native void newQLabel(QWidget buddy, String arg2, QWidget parent, String name); - public QLabel(QWidget buddy, String arg2, QWidget parent) { + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent) { super((Class) null); - newQLabel(buddy,arg2,parent); + newTQLabel(buddy,arg2,parent); } - private native void newQLabel(QWidget buddy, String arg2, QWidget parent); + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent); public native String text(); - public native QPixmap pixmap(); - public native QPicture picture(); - public native QMovie movie(); + 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(); @@ -66,24 +66,24 @@ public class QLabel extends QFrame { public native void setAutoResize(boolean arg1); public native boolean hasScaledContents(); public native void setScaledContents(boolean arg1); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native void setBuddy(QWidget arg1); - public native QWidget buddy(); + 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(QFont f); + public native void setFont(TQFont f); public native void setText(String arg1); - public native void setPixmap(QPixmap arg1); - public native void setPicture(QPicture arg1); - public native void setMovie(QMovie 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(QPainter arg1); - protected native void fontChange(QFont arg1); - protected native void resizeEvent(QResizeEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QLayout.java b/qtjava/javalib/org/kde/qt/QLayout.java index b8108661..1260ac15 100644 --- a/qtjava/javalib/org/kde/qt/QLayout.java +++ b/qtjava/javalib/org/kde/qt/QLayout.java @@ -3,14 +3,14 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QLayout extends QObject implements QLayoutItemInterface { - protected QLayout(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native int margin(); public native int spacing(); @@ -21,41 +21,41 @@ public class QLayout extends QObject implements QLayoutItemInterface { public native void freeze(); public native void setResizeMode(int arg1); public native int resizeMode(); - public native void setMenuBar(QMenuBar w); - public native QMenuBar menuBar(); - public native QWidget mainWidget(); + 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 QRect geometry(); + public native TQRect geometry(); public native boolean activate(); - public native void add(QWidget w); - public native void addItem(QLayoutItemInterface arg1); - public native void remove(QWidget w); - public native void removeItem(QLayoutItemInterface arg1); + 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 QSize minimumSize(); - public native QSize maximumSize(); - public native void setGeometry(QRect arg1); - // QLayoutIterator iterator(); >>>> NOT CONVERTED + 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 QSize totalMinimumSize(); - public native QSize totalMaximumSize(); - public native QSize totalSizeHint(); - public native QLayout layout(); + 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 QSize sizeHint(); + public native TQSize sizeHint(); public native boolean hasHeightForWidth(); public native int heightForWidth(int arg1); - public native QWidget widget(); - // QLayoutIterator iterator(); >>>> NOT CONVERTED - public native QSpacerItem spacerItem(); + 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 index 0f484237..d5849b72 100644 --- a/qtjava/javalib/org/kde/qt/QLayoutItem.java +++ b/qtjava/javalib/org/kde/qt/QLayoutItem.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QLayoutItem implements QtSupport, QLayoutItemInterface { +public class TQLayoutItem implements QtSupport, TQLayoutItemInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QLayoutItem(Class dummy){} + protected TQLayoutItem(Class dummy){} - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize maximumSize(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); public native int expanding(); - public native void setGeometry(QRect arg1); - public native QRect geometry(); + 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 QWidget widget(); - // QLayoutIterator iterator(); >>>> NOT CONVERTED - public native QLayout layout(); - public native QSpacerItem spacerItem(); + 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 index 447061af..081eb64c 100644 --- a/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java +++ b/qtjava/javalib/org/kde/qt/QLayoutItemInterface.java @@ -2,20 +2,20 @@ package org.kde.qt; -public interface QLayoutItemInterface { - QSize sizeHint(); - QSize minimumSize(); - QSize maximumSize(); +public interface TQLayoutItemInterface { + TQSize sizeHint(); + TQSize minimumSize(); + TQSize maximumSize(); int expanding(); - void setGeometry(QRect arg1); - QRect geometry(); + void setGeometry(TQRect arg1); + TQRect geometry(); boolean isEmpty(); boolean hasHeightForWidth(); int heightForWidth(int arg1); void invalidate(); - QWidget widget(); - QLayout layout(); - QSpacerItem spacerItem(); + 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 index 88d5cffb..4cd3924d 100644 --- a/qtjava/javalib/org/kde/qt/QLibrary.java +++ b/qtjava/javalib/org/kde/qt/QLibrary.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QLibrary implements QtSupport { +public class TQLibrary implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QLibrary(Class dummy){} + protected TQLibrary(Class dummy){} - public QLibrary(String filename) { - newQLibrary(filename); + public TQLibrary(String filename) { + newTQLibrary(filename); } - private native void newQLibrary(String filename); + private native void newTQLibrary(String filename); // void* resolve(const char* arg1); >>>> NOT CONVERTED public native boolean load(); public native boolean unload(); @@ -19,7 +19,7 @@ public class QLibrary implements QtSupport { public native boolean autoUnload(); public native void setAutoUnload(boolean enable); public native String library(); - // void* resolve(const QString& arg1,const char* arg2); >>>> NOT CONVERTED + // 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() */ diff --git a/qtjava/javalib/org/kde/qt/QLineEdit.java b/qtjava/javalib/org/kde/qt/QLineEdit.java index f33f08c4..a3c555f3 100644 --- a/qtjava/javalib/org/kde/qt/QLineEdit.java +++ b/qtjava/javalib/org/kde/qt/QLineEdit.java @@ -4,55 +4,55 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QLineEditSignals} for signals emitted by QLineEdit + See {@link TQLineEditSignals} for signals emitted by TQLineEdit */ -public class QLineEdit extends QFrame { - protected QLineEdit(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QLineEdit(QWidget parent, String name) { + public TQLineEdit(TQWidget parent, String name) { super((Class) null); - newQLineEdit(parent,name); + newTQLineEdit(parent,name); } - private native void newQLineEdit(QWidget parent, String name); - public QLineEdit(QWidget parent) { + private native void newTQLineEdit(TQWidget parent, String name); + public TQLineEdit(TQWidget parent) { super((Class) null); - newQLineEdit(parent); + newTQLineEdit(parent); } - private native void newQLineEdit(QWidget parent); - public QLineEdit(String arg1, QWidget parent, String name) { + private native void newTQLineEdit(TQWidget parent); + public TQLineEdit(String arg1, TQWidget parent, String name) { super((Class) null); - newQLineEdit(arg1,parent,name); + newTQLineEdit(arg1,parent,name); } - private native void newQLineEdit(String arg1, QWidget parent, String name); - public QLineEdit(String arg1, QWidget parent) { + private native void newTQLineEdit(String arg1, TQWidget parent, String name); + public TQLineEdit(String arg1, TQWidget parent) { super((Class) null); - newQLineEdit(arg1,parent); + newTQLineEdit(arg1,parent); } - private native void newQLineEdit(String arg1, QWidget parent); - public QLineEdit(String arg1, String arg2, QWidget parent, String name) { + private native void newTQLineEdit(String arg1, TQWidget parent); + public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) { super((Class) null); - newQLineEdit(arg1,arg2,parent,name); + newTQLineEdit(arg1,arg2,parent,name); } - private native void newQLineEdit(String arg1, String arg2, QWidget parent, String name); - public QLineEdit(String arg1, String arg2, QWidget parent) { + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name); + public TQLineEdit(String arg1, String arg2, TQWidget parent) { super((Class) null); - newQLineEdit(arg1,arg2,parent); + newTQLineEdit(arg1,arg2,parent); } - private native void newQLineEdit(String arg1, String arg2, QWidget 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 QValidator validator(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(); @@ -99,9 +99,9 @@ public class QLineEdit extends QFrame { public native void setFrame(boolean arg1); public native void setEchoMode(int arg1); public native void setReadOnly(boolean arg1); - public native void setValidator(QValidator arg1); - public native void setFont(QFont arg1); - public native void setPalette(QPalette 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); @@ -111,25 +111,25 @@ public class QLineEdit extends QFrame { 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(QEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void imStartEvent(QIMEvent arg1); - protected native void imComposeEvent(QIMEvent arg1); - protected native void imEndEvent(QIMEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void drawContents(QPainter arg1); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dragMoveEvent(QDragMoveEvent e); - protected native void dragLeaveEvent(QDragLeaveEvent e); - protected native void dropEvent(QDropEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - protected native QPopupMenu createPopupMenu(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QLineEditSignals.java b/qtjava/javalib/org/kde/qt/QLineEditSignals.java index f93d45e8..37b59980 100644 --- a/qtjava/javalib/org/kde/qt/QLineEditSignals.java +++ b/qtjava/javalib/org/kde/qt/QLineEditSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QLineEditSignals { +public interface TQLineEditSignals { void textChanged(String arg1); void returnPressed(); void lostFocus(); diff --git a/qtjava/javalib/org/kde/qt/QListBox.java b/qtjava/javalib/org/kde/qt/QListBox.java index 61150d92..c4cbc23e 100644 --- a/qtjava/javalib/org/kde/qt/QListBox.java +++ b/qtjava/javalib/org/kde/qt/QListBox.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QListBoxSignals} for signals emitted by QListBox + See {@link TQListBoxSignals} for signals emitted by TQListBox */ -public class QListBox extends QScrollView { - protected QListBox(Class dummy){super((Class) null);} +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; @@ -18,57 +18,57 @@ public class QListBox extends QScrollView { public static final int FitToHeight = FitToWidth; public static final int Variable = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QListBox(QWidget parent, String name, int f) { + public TQListBox(TQWidget parent, String name, int f) { super((Class) null); - newQListBox(parent,name,f); + newTQListBox(parent,name,f); } - private native void newQListBox(QWidget parent, String name, int f); - public QListBox(QWidget parent, String name) { + private native void newTQListBox(TQWidget parent, String name, int f); + public TQListBox(TQWidget parent, String name) { super((Class) null); - newQListBox(parent,name); + newTQListBox(parent,name); } - private native void newQListBox(QWidget parent, String name); - public QListBox(QWidget parent) { + private native void newTQListBox(TQWidget parent, String name); + public TQListBox(TQWidget parent) { super((Class) null); - newQListBox(parent); + newTQListBox(parent); } - private native void newQListBox(QWidget parent); - public QListBox() { + private native void newTQListBox(TQWidget parent); + public TQListBox() { super((Class) null); - newQListBox(); + newTQListBox(); } - private native void newQListBox(); - public native void setFont(QFont arg1); + 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(QListBoxItem arg1, int index); - public native void insertItem(QListBoxItem arg1); - public native void insertItem(QListBoxItem arg1, QListBoxItem after); + 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(QPixmap pixmap, int index); - public native void insertItem(QPixmap pixmap); - public native void insertItem(QPixmap pixmap, String text, int index); - public native void insertItem(QPixmap pixmap, 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 QPixmap pixmap(int index); - public native void changeItem(QListBoxItem arg1, 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(QPixmap pixmap, int index); - public native void changeItem(QPixmap pixmap, String text, int index); - public native void takeItem(QListBoxItem arg1); + 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(QListBoxItem arg1); + public native void setCurrentItem(TQListBoxItem arg1); public native void centerCurrentItem(); public native int topItem(); public native void setTopItem(int index); @@ -78,20 +78,20 @@ public class QListBox extends QScrollView { public native int selectionMode(); public native void setMultiSelection(boolean multi); public native boolean isMultiSelection(); - public native void setSelected(QListBoxItem arg1, boolean arg2); + 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(QListBoxItem arg1); - public native QListBoxItem selectedItem(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native QListBoxItem item(int index); - public native int index(QListBoxItem arg1); - public native QListBoxItem findItem(String text, int compare); - public native QListBoxItem findItem(String text); + 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(QListBoxItem arg1); + public native boolean itemVisible(TQListBoxItem arg1); public native void setColumnMode(int arg1); public native void setRowMode(int arg1); public native int columnMode(); @@ -102,7 +102,7 @@ public class QListBox extends QScrollView { public native void setVariableWidth(boolean arg1); public native boolean variableHeight(); public native void setVariableHeight(boolean arg1); - public native void viewportPaintEvent(QPaintEvent arg1); + public native void viewportPaintEvent(TQPaintEvent arg1); public native boolean dragSelect(); public native void setDragSelect(boolean arg1); public native boolean autoScroll(); @@ -120,7 +120,7 @@ public class QListBox extends QScrollView { public native boolean autoUpdate(); public native void setAutoUpdate(boolean arg1); public native void setFixedVisibleLines(int lines); - public native int inSort(QListBoxItem arg1); + public native int inSort(TQListBoxItem arg1); public native int inSort(String text); public native int cellHeight(int i); public native int cellHeight(); @@ -129,9 +129,9 @@ public class QListBox extends QScrollView { public native int numCols(); public native int itemHeight(int index); public native int itemHeight(); - public native QListBoxItem itemAt(QPoint arg1); - public native QRect itemRect(QListBoxItem item); - public native QListBoxItem firstItem(); + 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(); @@ -141,23 +141,23 @@ public class QListBox extends QScrollView { public native void invertSelection(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void contentsContextMenuEvent(QContextMenuEvent arg1); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void resizeEvent(QResizeEvent arg1); - public native void showEvent(QShowEvent arg1); - public native boolean eventFilter(QObject o, QEvent e); + 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(QListBoxItem arg1); + protected native void updateItem(TQListBoxItem arg1); protected native void updateCellWidth(); protected native int totalWidth(); protected native int totalHeight(); - public native void paintCell(QPainter arg1, int row, int col); + public native void paintCell(TQPainter arg1, int row, int col); protected native void toggleCurrentItem(); protected native boolean isRubberSelecting(); protected native void doLayout(); diff --git a/qtjava/javalib/org/kde/qt/QListBoxItem.java b/qtjava/javalib/org/kde/qt/QListBoxItem.java index 268f2cb1..6803a9fd 100644 --- a/qtjava/javalib/org/kde/qt/QListBoxItem.java +++ b/qtjava/javalib/org/kde/qt/QListBoxItem.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QListBoxItem implements QtSupport { +public class TQListBoxItem implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QListBoxItem(Class dummy){} + protected TQListBoxItem(Class dummy){} public native String text(); - public native QPixmap pixmap(); - public native int height(QListBox arg1); - public native int width(QListBox arg1); + 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 QListBox listBox(); + public native TQListBox listBox(); public native void setSelectable(boolean b); public native boolean isSelectable(); - public native QListBoxItem next(); - public native QListBoxItem prev(); + 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 index 950801be..00b5d10e 100644 --- a/qtjava/javalib/org/kde/qt/QListBoxPixmap.java +++ b/qtjava/javalib/org/kde/qt/QListBoxPixmap.java @@ -3,43 +3,43 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QListBoxPixmap extends QListBoxItem { - protected QListBoxPixmap(Class dummy){super((Class) null);} - public QListBoxPixmap(QListBox listbox, QPixmap arg2) { +public class TQListBoxPixmap extends TQListBoxItem { + protected TQListBoxPixmap(Class dummy){super((Class) null);} + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2) { super((Class) null); - newQListBoxPixmap(listbox,arg2); + newTQListBoxPixmap(listbox,arg2); } - private native void newQListBoxPixmap(QListBox listbox, QPixmap arg2); - public QListBoxPixmap(QPixmap arg1) { + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2); + public TQListBoxPixmap(TQPixmap arg1) { super((Class) null); - newQListBoxPixmap(arg1); + newTQListBoxPixmap(arg1); } - private native void newQListBoxPixmap(QPixmap arg1); - public QListBoxPixmap(QListBox listbox, QPixmap pix, QListBoxItem after) { + private native void newTQListBoxPixmap(TQPixmap arg1); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after) { super((Class) null); - newQListBoxPixmap(listbox,pix,after); + newTQListBoxPixmap(listbox,pix,after); } - private native void newQListBoxPixmap(QListBox listbox, QPixmap pix, QListBoxItem after); - public QListBoxPixmap(QListBox listbox, QPixmap arg2, String arg3) { + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after); + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3) { super((Class) null); - newQListBoxPixmap(listbox,arg2,arg3); + newTQListBoxPixmap(listbox,arg2,arg3); } - private native void newQListBoxPixmap(QListBox listbox, QPixmap arg2, String arg3); - public QListBoxPixmap(QPixmap arg1, String arg2) { + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3); + public TQListBoxPixmap(TQPixmap arg1, String arg2) { super((Class) null); - newQListBoxPixmap(arg1,arg2); + newTQListBoxPixmap(arg1,arg2); } - private native void newQListBoxPixmap(QPixmap arg1, String arg2); - public QListBoxPixmap(QListBox listbox, QPixmap pix, String arg3, QListBoxItem after) { + private native void newTQListBoxPixmap(TQPixmap arg1, String arg2); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after) { super((Class) null); - newQListBoxPixmap(listbox,pix,arg3,after); + newTQListBoxPixmap(listbox,pix,arg3,after); } - private native void newQListBoxPixmap(QListBox listbox, QPixmap pix, String arg3, QListBoxItem after); - public native QPixmap pixmap(); - public native int height(QListBox arg1); - public native int width(QListBox arg1); + 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(QPainter arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QListBoxSignals.java b/qtjava/javalib/org/kde/qt/QListBoxSignals.java index fe64ccda..d98ec9e6 100644 --- a/qtjava/javalib/org/kde/qt/QListBoxSignals.java +++ b/qtjava/javalib/org/kde/qt/QListBoxSignals.java @@ -2,27 +2,27 @@ package org.kde.qt; -public interface QListBoxSignals { +public interface TQListBoxSignals { void highlighted(int index); void selected(int index); void highlighted(String arg1); void selected(String arg1); - void highlighted(QListBoxItem arg1); - void selected(QListBoxItem arg1); + void highlighted(TQListBoxItem arg1); + void selected(TQListBoxItem arg1); void selectionChanged(); - void selectionChanged(QListBoxItem arg1); - void currentChanged(QListBoxItem arg1); - void clicked(QListBoxItem arg1); - void clicked(QListBoxItem arg1, QPoint arg2); - void pressed(QListBoxItem arg1); - void pressed(QListBoxItem arg1, QPoint arg2); - void doubleClicked(QListBoxItem arg1); - void returnPressed(QListBoxItem arg1); - void rightButtonClicked(QListBoxItem arg1, QPoint arg2); - void rightButtonPressed(QListBoxItem arg1, QPoint arg2); - void mouseButtonPressed(int arg1, QListBoxItem arg2, QPoint arg3); - void mouseButtonClicked(int arg1, QListBoxItem arg2, QPoint arg3); - void contextMenuRequested(QListBoxItem arg1, QPoint arg2); - void onItem(QListBoxItem item); + 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 index 4e256b43..6cf9d2fe 100644 --- a/qtjava/javalib/org/kde/qt/QListBoxText.java +++ b/qtjava/javalib/org/kde/qt/QListBoxText.java @@ -3,37 +3,37 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QListBoxText extends QListBoxItem { - protected QListBoxText(Class dummy){super((Class) null);} - public QListBoxText(QListBox listbox, String text) { +public class TQListBoxText extends TQListBoxItem { + protected TQListBoxText(Class dummy){super((Class) null);} + public TQListBoxText(TQListBox listbox, String text) { super((Class) null); - newQListBoxText(listbox,text); + newTQListBoxText(listbox,text); } - private native void newQListBoxText(QListBox listbox, String text); - public QListBoxText(QListBox listbox) { + private native void newTQListBoxText(TQListBox listbox, String text); + public TQListBoxText(TQListBox listbox) { super((Class) null); - newQListBoxText(listbox); + newTQListBoxText(listbox); } - private native void newQListBoxText(QListBox listbox); - public QListBoxText(String text) { + private native void newTQListBoxText(TQListBox listbox); + public TQListBoxText(String text) { super((Class) null); - newQListBoxText(text); + newTQListBoxText(text); } - private native void newQListBoxText(String text); - public QListBoxText() { + private native void newTQListBoxText(String text); + public TQListBoxText() { super((Class) null); - newQListBoxText(); + newTQListBoxText(); } - private native void newQListBoxText(); - public QListBoxText(QListBox listbox, String text, QListBoxItem after) { + private native void newTQListBoxText(); + public TQListBoxText(TQListBox listbox, String text, TQListBoxItem after) { super((Class) null); - newQListBoxText(listbox,text,after); + newTQListBoxText(listbox,text,after); } - private native void newQListBoxText(QListBox listbox, String text, QListBoxItem after); - public native int height(QListBox arg1); - public native int width(QListBox arg1); + 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(QPainter arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QListView.java b/qtjava/javalib/org/kde/qt/QListView.java index d1ec696f..9ebb3d01 100644 --- a/qtjava/javalib/org/kde/qt/QListView.java +++ b/qtjava/javalib/org/kde/qt/QListView.java @@ -5,10 +5,10 @@ import java.util.ArrayList; import org.kde.qt.Qt; /** - See {@link QListViewSignals} for signals emitted by QListView + See {@link TQListViewSignals} for signals emitted by TQListView */ -public class QListView extends QScrollView { - protected QListView(Class dummy){super((Class) null);} +public class TQListView extends TQScrollView { + protected TQListView(Class dummy){super((Class) null);} public static final int Manual = 0; public static final int Maximum = 1; @@ -24,41 +24,41 @@ public class QListView extends QScrollView { public static final int Accept = 0; public static final int Reject = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QListView(QWidget parent, String name, int f) { + public TQListView(TQWidget parent, String name, int f) { super((Class) null); - newQListView(parent,name,f); + newTQListView(parent,name,f); } - private native void newQListView(QWidget parent, String name, int f); - public QListView(QWidget parent, String name) { + private native void newTQListView(TQWidget parent, String name, int f); + public TQListView(TQWidget parent, String name) { super((Class) null); - newQListView(parent,name); + newTQListView(parent,name); } - private native void newQListView(QWidget parent, String name); - public QListView(QWidget parent) { + private native void newTQListView(TQWidget parent, String name); + public TQListView(TQWidget parent) { super((Class) null); - newQListView(parent); + newTQListView(parent); } - private native void newQListView(QWidget parent); - public QListView() { + private native void newTQListView(TQWidget parent); + public TQListView() { super((Class) null); - newQListView(); + newTQListView(); } - private native void newQListView(); + private native void newTQListView(); public native int treeStepSize(); public native void setTreeStepSize(int arg1); - public native void insertItem(QListViewItem arg1); - public native void takeItem(QListViewItem arg1); - public native void removeItem(QListViewItem item); - public native QHeader header(); + 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(QIconSet iconset, String label, int size); - public native int addColumn(QIconSet iconset, 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, QIconSet iconset, 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); @@ -68,26 +68,26 @@ public class QListView extends QScrollView { public native void setColumnAlignment(int arg1, int arg2); public native int columnAlignment(int arg1); public native void show(); - public native QListViewItem itemAt(QPoint screenPos); - public native QRect itemRect(QListViewItem arg1); - public native int itemPos(QListViewItem arg1); - public native void ensureItemVisible(QListViewItem arg1); - public native void repaintItem(QListViewItem arg1); + 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(QListViewItem arg1, boolean arg2); - public native void setSelectionAnchor(QListViewItem arg1); - public native boolean isSelected(QListViewItem arg1); - public native QListViewItem selectedItem(); - public native void setOpen(QListViewItem arg1, boolean arg2); - public native boolean isOpen(QListViewItem arg1); - public native void setCurrentItem(QListViewItem arg1); - public native QListViewItem currentItem(); - public native QListViewItem firstChild(); - public native QListViewItem lastItem(); + 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(); @@ -102,19 +102,19 @@ public class QListView extends QScrollView { public native int sortOrder(); public native void setSortOrder(int order); public native void sort(); - public native void setFont(QFont arg1); - public native void setPalette(QPalette arg1); - public native boolean eventFilter(QObject o, QEvent arg2); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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 QListViewItem findItem(String text, int column, int compare); - public native QListViewItem findItem(String text, int column); + 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(); @@ -127,26 +127,26 @@ public class QListView extends QScrollView { 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(QMouseEvent e); - protected native void contentsMouseReleaseEvent(QMouseEvent e); - protected native void contentsMouseMoveEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void contentsContextMenuEvent(QContextMenuEvent e); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native QDragObject dragObject(); + 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(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void keyPressEvent(QKeyEvent e); - protected native void resizeEvent(QResizeEvent e); - protected native void viewportResizeEvent(QResizeEvent e); - public native void showEvent(QShowEvent arg1); - protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); - protected native void paintEmptyArea(QPainter arg1, QRect arg2); - public native void styleChange(QStyle arg1); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QListViewItem.java b/qtjava/javalib/org/kde/qt/QListViewItem.java index e2aa59de..1bd18ad0 100644 --- a/qtjava/javalib/org/kde/qt/QListViewItem.java +++ b/qtjava/javalib/org/kde/qt/QListViewItem.java @@ -4,204 +4,204 @@ package org.kde.qt; import java.util.ArrayList; import org.kde.qt.Qt; -public class QListViewItem extends Qt { - protected QListViewItem(Class dummy){super((Class) null);} - public QListViewItem(QListView parent) { +public class TQListViewItem extends Qt { + protected TQListViewItem(Class dummy){super((Class) null);} + public TQListViewItem(TQListView parent) { super((Class) null); - newQListViewItem(parent); + newTQListViewItem(parent); } - private native void newQListViewItem(QListView parent); - public QListViewItem(QListViewItem parent) { + private native void newTQListViewItem(TQListView parent); + public TQListViewItem(TQListViewItem parent) { super((Class) null); - newQListViewItem(parent); + newTQListViewItem(parent); } - private native void newQListViewItem(QListViewItem parent); - public QListViewItem(QListView parent, QListViewItem after) { + private native void newTQListViewItem(TQListViewItem parent); + public TQListViewItem(TQListView parent, TQListViewItem after) { super((Class) null); - newQListViewItem(parent,after); + newTQListViewItem(parent,after); } - private native void newQListViewItem(QListView parent, QListViewItem after); - public QListViewItem(QListViewItem parent, QListViewItem after) { + private native void newTQListViewItem(TQListView parent, TQListViewItem after); + public TQListViewItem(TQListViewItem parent, TQListViewItem after) { super((Class) null); - newQListViewItem(parent,after); + newTQListViewItem(parent,after); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4, String arg5); - public QListViewItem(QListView parent, String arg2, String arg3, String arg4) { + 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); - newQListViewItem(parent,arg2,arg3,arg4); + newTQListViewItem(parent,arg2,arg3,arg4); } - private native void newQListViewItem(QListView parent, String arg2, String arg3, String arg4); - public QListViewItem(QListView parent, String arg2, String arg3) { + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListView parent, String arg2, String arg3) { super((Class) null); - newQListViewItem(parent,arg2,arg3); + newTQListViewItem(parent,arg2,arg3); } - private native void newQListViewItem(QListView parent, String arg2, String arg3); - public QListViewItem(QListView parent, String arg2) { + private native void newTQListViewItem(TQListView parent, String arg2, String arg3); + public TQListViewItem(TQListView parent, String arg2) { super((Class) null); - newQListViewItem(parent,arg2); + newTQListViewItem(parent,arg2); } - private native void newQListViewItem(QListView parent, String arg2); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5) { + 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); - newQListViewItem(parent,arg2,arg3,arg4,arg5); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4, String arg5); - public QListViewItem(QListViewItem parent, String arg2, String arg3, String arg4) { + 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); - newQListViewItem(parent,arg2,arg3,arg4); + newTQListViewItem(parent,arg2,arg3,arg4); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3, String arg4); - public QListViewItem(QListViewItem parent, String arg2, String arg3) { + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3) { super((Class) null); - newQListViewItem(parent,arg2,arg3); + newTQListViewItem(parent,arg2,arg3); } - private native void newQListViewItem(QListViewItem parent, String arg2, String arg3); - public QListViewItem(QListViewItem parent, String arg2) { + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3); + public TQListViewItem(TQListViewItem parent, String arg2) { super((Class) null); - newQListViewItem(parent,arg2); + newTQListViewItem(parent,arg2); } - private native void newQListViewItem(QListViewItem parent, String arg2); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5); + newTQListViewItem(parent,after,arg3,arg4,arg5); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4, String arg5); - public QListViewItem(QListView parent, QListViewItem after, String arg3, String arg4) { + 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); - newQListViewItem(parent,after,arg3,arg4); + newTQListViewItem(parent,after,arg3,arg4); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3, String arg4); - public QListViewItem(QListView parent, QListViewItem after, String arg3) { + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3) { super((Class) null); - newQListViewItem(parent,after,arg3); + newTQListViewItem(parent,after,arg3); } - private native void newQListViewItem(QListView parent, QListViewItem after, String arg3); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5,arg6); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5, String arg6); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5) { + 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); - newQListViewItem(parent,after,arg3,arg4,arg5); + newTQListViewItem(parent,after,arg3,arg4,arg5); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4, String arg5); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4) { + 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); - newQListViewItem(parent,after,arg3,arg4); + newTQListViewItem(parent,after,arg3,arg4); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3, String arg4); - public QListViewItem(QListViewItem parent, QListViewItem after, String arg3) { + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { super((Class) null); - newQListViewItem(parent,after,arg3); + newTQListViewItem(parent,after,arg3); } - private native void newQListViewItem(QListViewItem parent, QListViewItem after, String arg3); - public native void insertItem(QListViewItem arg1); - public native void takeItem(QListViewItem arg1); - public native void removeItem(QListViewItem item); + 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(QFontMetrics arg1, QListView arg2, int column); + 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, QPixmap arg2); - public native QPixmap pixmap(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(QListViewItem i, int col, boolean arg3); + 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(); @@ -209,28 +209,28 @@ public class QListViewItem extends Qt { public native void setup(); public native void setSelected(boolean arg1); public native boolean isSelected(); - public native void paintCell(QPainter arg1, QColorGroup cg, int column, int width, int alignment); - public native void paintBranches(QPainter p, QColorGroup cg, int w, int y, int h); - public native void paintFocus(QPainter arg1, QColorGroup cg, QRect r); - public native QListViewItem firstChild(); - public native QListViewItem nextSibling(); - public native QListViewItem parent(); - public native QListViewItem itemAbove(); - public native QListViewItem itemBelow(); + 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 QListView listView(); + 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(QListViewItem after); + 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(QMimeSourceInterface mime); + public native boolean acceptDrop(TQMimeSourceInterface mime); public native void setVisible(boolean b); public native boolean isVisible(); public native void setRenameEnabled(int col, boolean b); @@ -244,8 +244,8 @@ public class QListViewItem extends Qt { protected native void enforceSortOrder(); protected native void setHeight(int arg1); protected native void activate(); - protected native boolean activatedPos(QPoint arg1); - protected native void dropped(QDropEvent e); + 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); diff --git a/qtjava/javalib/org/kde/qt/QListViewSignals.java b/qtjava/javalib/org/kde/qt/QListViewSignals.java index f4c3995e..aa7186b4 100644 --- a/qtjava/javalib/org/kde/qt/QListViewSignals.java +++ b/qtjava/javalib/org/kde/qt/QListViewSignals.java @@ -2,28 +2,28 @@ package org.kde.qt; -public interface QListViewSignals { +public interface TQListViewSignals { void selectionChanged(); - void selectionChanged(QListViewItem arg1); - void currentChanged(QListViewItem arg1); - void clicked(QListViewItem arg1); - void clicked(QListViewItem arg1, QPoint arg2, int arg3); - void pressed(QListViewItem arg1); - void pressed(QListViewItem arg1, QPoint arg2, int arg3); - void doubleClicked(QListViewItem arg1); - void doubleClicked(QListViewItem arg1, QPoint arg2, int arg3); - void returnPressed(QListViewItem arg1); - void spacePressed(QListViewItem arg1); - void rightButtonClicked(QListViewItem arg1, QPoint arg2, int arg3); - void rightButtonPressed(QListViewItem arg1, QPoint arg2, int arg3); - void mouseButtonPressed(int arg1, QListViewItem arg2, QPoint arg3, int arg4); - void mouseButtonClicked(int arg1, QListViewItem arg2, QPoint arg3, int arg4); - void contextMenuRequested(QListViewItem arg1, QPoint arg2, int arg3); - void onItem(QListViewItem item); + 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(QListViewItem item); - void collapsed(QListViewItem item); - void dropped(QDropEvent e); - void itemRenamed(QListViewItem item, int col, String arg3); - void itemRenamed(QListViewItem item, int col); + 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 index 48e5fbdc..a211e275 100644 --- a/qtjava/javalib/org/kde/qt/QLocalFs.java +++ b/qtjava/javalib/org/kde/qt/QLocalFs.java @@ -3,24 +3,24 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QLocalFs extends QNetworkProtocol { - protected QLocalFs(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQLocalFs extends TQNetworkProtocol { + protected TQLocalFs(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QLocalFs() { + public TQLocalFs() { super((Class) null); - newQLocalFs(); + newTQLocalFs(); } - private native void newQLocalFs(); + 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(QNetworkOperation op); - protected native void operationMkDir(QNetworkOperation op); - protected native void operationRemove(QNetworkOperation op); - protected native void operationRename(QNetworkOperation op); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation 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); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QMainWindow.java b/qtjava/javalib/org/kde/qt/QMainWindow.java index 7969ac6b..1fcd636f 100644 --- a/qtjava/javalib/org/kde/qt/QMainWindow.java +++ b/qtjava/javalib/org/kde/qt/QMainWindow.java @@ -4,99 +4,99 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QMainWindowSignals} for signals emitted by QMainWindow + See {@link TQMainWindowSignals} for signals emitted by TQMainWindow */ -public class QMainWindow extends QWidget { - protected QMainWindow(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QMainWindow(QWidget parent, String name, int f) { + public TQMainWindow(TQWidget parent, String name, int f) { super((Class) null); - newQMainWindow(parent,name,f); + newTQMainWindow(parent,name,f); } - private native void newQMainWindow(QWidget parent, String name, int f); - public QMainWindow(QWidget parent, String name) { + private native void newTQMainWindow(TQWidget parent, String name, int f); + public TQMainWindow(TQWidget parent, String name) { super((Class) null); - newQMainWindow(parent,name); + newTQMainWindow(parent,name); } - private native void newQMainWindow(QWidget parent, String name); - public QMainWindow(QWidget parent) { + private native void newTQMainWindow(TQWidget parent, String name); + public TQMainWindow(TQWidget parent) { super((Class) null); - newQMainWindow(parent); + newTQMainWindow(parent); } - private native void newQMainWindow(QWidget parent); - public QMainWindow() { + private native void newTQMainWindow(TQWidget parent); + public TQMainWindow() { super((Class) null); - newQMainWindow(); + newTQMainWindow(); } - private native void newQMainWindow(); - public native QMenuBar menuBar(); - public native QStatusBar statusBar(); - public native QToolTipGroup toolTipGroup(); - public native void setCentralWidget(QWidget arg1); - public native QWidget centralWidget(); + 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(QDockArea area); - public native void setDockEnabled(QDockWindow tb, int dock, boolean enable); - public native boolean isDockEnabled(QDockWindow tb, int dock); - public native boolean isDockEnabled(QDockWindow tb, QDockArea area); - public native void addDockWindow(QDockWindow arg1, int arg2, boolean newLine); - public native void addDockWindow(QDockWindow arg1, int arg2); - public native void addDockWindow(QDockWindow arg1); - public native void addDockWindow(QDockWindow arg1, String label, int arg3, boolean newLine); - public native void addDockWindow(QDockWindow arg1, String label, int arg3); - public native void addDockWindow(QDockWindow arg1, String label); - public native void moveDockWindow(QDockWindow arg1, int arg2); - public native void moveDockWindow(QDockWindow arg1); - public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); - public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index); - public native void removeDockWindow(QDockWindow arg1); + 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 QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(QObject arg1, QEvent arg2); - public native boolean getLocation(QDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset); - // QPtrList dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED - // QPtrList dockWindows(); >>>> NOT CONVERTED + 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(QDockWindow dw); - public native void addToolBar(QDockWindow arg1, int arg2, boolean newLine); - public native void addToolBar(QDockWindow arg1, int arg2); - public native void addToolBar(QDockWindow arg1); - public native void addToolBar(QDockWindow arg1, String label, int arg3, boolean newLine); - public native void addToolBar(QDockWindow arg1, String label, int arg3); - public native void addToolBar(QDockWindow arg1, String label); - public native void moveToolBar(QDockWindow arg1, int arg2); - public native void moveToolBar(QDockWindow arg1); - public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); - public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index); - public native void removeToolBar(QDockWindow arg1); + 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(); - // QPtrList toolBars(Qt::Dock arg1); >>>> NOT CONVERTED + // TQPtrList toolBars(TQt::Dock arg1); >>>> NOT CONVERTED public native void lineUpToolBars(boolean keepNewLines); public native void lineUpToolBars(); - public native QDockArea dockingArea(QPoint p); - public native QDockArea leftDock(); - public native QDockArea rightDock(); - public native QDockArea topDock(); - public native QDockArea bottomDock(); + 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(QDockWindow dw); - public native QPopupMenu createDockWindowMenu(int dockWindows); - public native QPopupMenu createDockWindowMenu(); + 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); @@ -104,17 +104,17 @@ public class QMainWindow extends QWidget { public native void setOpaqueMoving(boolean arg1); public native void setDockMenuEnabled(boolean arg1); public native void whatsThis(); - public native void setAppropriate(QDockWindow dw, boolean a); + 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(QPaintEvent arg1); - protected native void childEvent(QChildEvent arg1); - public native boolean event(QEvent arg1); - public native void styleChange(QStyle 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(QPoint globalPos); + protected native boolean showDockMenu(TQPoint globalPos); protected native void menuAboutToShow(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QMainWindowSignals.java b/qtjava/javalib/org/kde/qt/QMainWindowSignals.java index 40c5f637..880b81a5 100644 --- a/qtjava/javalib/org/kde/qt/QMainWindowSignals.java +++ b/qtjava/javalib/org/kde/qt/QMainWindowSignals.java @@ -2,9 +2,9 @@ package org.kde.qt; -public interface QMainWindowSignals { +public interface TQMainWindowSignals { void pixmapSizeChanged(boolean arg1); void usesTextLabelChanged(boolean arg1); - void dockWindowPositionChanged(QDockWindow arg1); - void toolBarPositionChanged(QToolBar 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 index 1c23c428..79348358 100644 --- a/qtjava/javalib/org/kde/qt/QMenuBar.java +++ b/qtjava/javalib/org/kde/qt/QMenuBar.java @@ -4,62 +4,62 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QMenuBarSignals} for signals emitted by QMenuBar + See {@link TQMenuBarSignals} for signals emitted by TQMenuBar */ -public class QMenuBar extends QFrame implements QMenuDataInterface { - protected QMenuBar(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QMenuBar(QWidget parent, String name) { + public TQMenuBar(TQWidget parent, String name) { super((Class) null); - newQMenuBar(parent,name); + newTQMenuBar(parent,name); } - private native void newQMenuBar(QWidget parent, String name); - public QMenuBar(QWidget parent) { + private native void newTQMenuBar(TQWidget parent, String name); + public TQMenuBar(TQWidget parent) { super((Class) null); - newQMenuBar(parent); + newTQMenuBar(parent); } - private native void newQMenuBar(QWidget parent); - public QMenuBar() { + private native void newTQMenuBar(TQWidget parent); + public TQMenuBar() { super((Class) null); - newQMenuBar(); + newTQMenuBar(); } - private native void newQMenuBar(); + private native void newTQMenuBar(); public native void updateItem(int id); public native void show(); public native void hide(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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 QSize sizeHint(); - public native QSize minimumSize(); - public native QSize minimumSizeHint(); + 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(QPainter arg1); - protected native void fontChange(QFont arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void leaveEvent(QEvent 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(QStyle arg1); - protected native int itemAtPos(QPoint arg1); + public native void styleChange(TQStyle arg1); + protected native int itemAtPos(TQPoint arg1); protected native void hidePopups(); - protected native QRect itemRect(int item); + 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() */ @@ -67,74 +67,74 @@ public class QMenuBar extends QFrame implements QMenuDataInterface { /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); public native int count(); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(String text, QObject receiver, String member); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QPixmap pixmap, QObject receiver, String member); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member); + 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(QIconSet icon, String text, int id, int index); - public native int insertItem(QIconSet icon, String text, int id); - public native int insertItem(QIconSet icon, String text); - public native int insertItem(String text, QPopupMenu popup, int id, int index); - public native int insertItem(String text, QPopupMenu popup, int id); - public native int insertItem(String text, QPopupMenu popup); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup); - public native int insertItem(QPixmap pixmap, int id, int index); - public native int insertItem(QPixmap pixmap, int id); - public native int insertItem(QPixmap pixmap); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QWidget widget, int id, int index); - public native int insertItem(QWidget widget, int id); - public native int insertItem(QWidget widget); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id); - public native int insertItem(QIconSet icon, QCustomMenuItem custom); - public native int insertItem(QCustomMenuItem custom, int id, int index); - public native int insertItem(QCustomMenuItem custom, int id); - public native int insertItem(QCustomMenuItem custom); + 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 QKeySequence accel(int id); - public native void setAccel(QKeySequence key, int id); - public native QIconSet iconSet(int id); + 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 QPixmap pixmap(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, QPixmap pixmap); - public native void changeItem(int id, QIconSet icon, String text); - public native void changeItem(int id, QIconSet icon, QPixmap pixmap); + 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(QPixmap pixmap, int id); - public native void changeItem(QIconSet icon, 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); @@ -145,14 +145,14 @@ public class QMenuBar extends QFrame implements QMenuDataInterface { 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, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + 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 QMenuItem findItem(int id); - // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED - public native QMenuItem findPopup(QPopupMenu arg1, int[] index); - public native QMenuItem findPopup(QPopupMenu arg1); - protected native void menuInsPopup(QPopupMenu arg1); - protected native void menuDelPopup(QPopupMenu arg1); + 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 index ee6154f8..61e82d32 100644 --- a/qtjava/javalib/org/kde/qt/QMenuBarSignals.java +++ b/qtjava/javalib/org/kde/qt/QMenuBarSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QMenuBarSignals { +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 index 26ef6480..694b6cce 100644 --- a/qtjava/javalib/org/kde/qt/QMenuData.java +++ b/qtjava/javalib/org/kde/qt/QMenuData.java @@ -3,84 +3,84 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMenuData implements QtSupport, QMenuDataInterface { +public class TQMenuData implements QtSupport, TQMenuDataInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMenuData(Class dummy){} + protected TQMenuData(Class dummy){} - public QMenuData() { - newQMenuData(); + public TQMenuData() { + newTQMenuData(); } - private native void newQMenuData(); + private native void newTQMenuData(); public native int count(); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(String text, QObject receiver, String member); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QPixmap pixmap, QObject receiver, String member); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member); + 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(QIconSet icon, String text, int id, int index); - public native int insertItem(QIconSet icon, String text, int id); - public native int insertItem(QIconSet icon, String text); - public native int insertItem(String text, QPopupMenu popup, int id, int index); - public native int insertItem(String text, QPopupMenu popup, int id); - public native int insertItem(String text, QPopupMenu popup); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup); - public native int insertItem(QPixmap pixmap, int id, int index); - public native int insertItem(QPixmap pixmap, int id); - public native int insertItem(QPixmap pixmap); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QWidget widget, int id, int index); - public native int insertItem(QWidget widget, int id); - public native int insertItem(QWidget widget); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id); - public native int insertItem(QIconSet icon, QCustomMenuItem custom); - public native int insertItem(QCustomMenuItem custom, int id, int index); - public native int insertItem(QCustomMenuItem custom, int id); - public native int insertItem(QCustomMenuItem custom); + 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 QKeySequence accel(int id); - public native void setAccel(QKeySequence key, int id); - public native QIconSet iconSet(int id); + 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 QPixmap pixmap(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, QPixmap pixmap); - public native void changeItem(int id, QIconSet icon, String text); - public native void changeItem(int id, QIconSet icon, QPixmap pixmap); + 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(QPixmap pixmap, int id); - public native void changeItem(QIconSet icon, 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); @@ -92,19 +92,19 @@ public class QMenuData implements QtSupport, QMenuDataInterface { 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, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + 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 QMenuItem findItem(int id); - // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED - public native QMenuItem findPopup(QPopupMenu arg1, int[] index); - public native QMenuItem findPopup(QPopupMenu arg1); + 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(QPopupMenu arg1); - protected native void menuDelPopup(QPopupMenu arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QMenuDataInterface.java b/qtjava/javalib/org/kde/qt/QMenuDataInterface.java index 05fc9adc..568dcbe3 100644 --- a/qtjava/javalib/org/kde/qt/QMenuDataInterface.java +++ b/qtjava/javalib/org/kde/qt/QMenuDataInterface.java @@ -2,76 +2,76 @@ package org.kde.qt; -public interface QMenuDataInterface { +public interface TQMenuDataInterface { int count(); - int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index); - int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id); - int insertItem(String text, QObject receiver, String member, QKeySequence accel); - int insertItem(String text, QObject receiver, String member); - int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index); - int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id); - int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel); - int insertItem(QIconSet icon, String text, QObject receiver, String member); - int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - int insertItem(QPixmap pixmap, QObject receiver, String member); - int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member); + 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(QIconSet icon, String text, int id, int index); - int insertItem(QIconSet icon, String text, int id); - int insertItem(QIconSet icon, String text); - int insertItem(String text, QPopupMenu popup, int id, int index); - int insertItem(String text, QPopupMenu popup, int id); - int insertItem(String text, QPopupMenu popup); - int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index); - int insertItem(QIconSet icon, String text, QPopupMenu popup, int id); - int insertItem(QIconSet icon, String text, QPopupMenu popup); - int insertItem(QPixmap pixmap, int id, int index); - int insertItem(QPixmap pixmap, int id); - int insertItem(QPixmap pixmap); - int insertItem(QIconSet icon, QPixmap pixmap, int id, int index); - int insertItem(QIconSet icon, QPixmap pixmap, int id); - int insertItem(QIconSet icon, QPixmap pixmap); - int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index); - int insertItem(QPixmap pixmap, QPopupMenu popup, int id); - int insertItem(QPixmap pixmap, QPopupMenu popup); - int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index); - int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id); - int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup); - int insertItem(QWidget widget, int id, int index); - int insertItem(QWidget widget, int id); - int insertItem(QWidget widget); - int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index); - int insertItem(QIconSet icon, QCustomMenuItem custom, int id); - int insertItem(QIconSet icon, QCustomMenuItem custom); - int insertItem(QCustomMenuItem custom, int id, int index); - int insertItem(QCustomMenuItem custom, int id); - int insertItem(QCustomMenuItem custom); + 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(); - QKeySequence accel(int id); - void setAccel(QKeySequence key, int id); - QIconSet iconSet(int id); + TQKeySequence accel(int id); + void setAccel(TQKeySequence key, int id); + TQIconSet iconSet(int id); String text(int id); - QPixmap pixmap(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, QPixmap pixmap); - void changeItem(int id, QIconSet icon, String text); - void changeItem(int id, QIconSet icon, QPixmap pixmap); + 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(QPixmap pixmap, int id); - void changeItem(QIconSet icon, 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); @@ -83,12 +83,12 @@ public interface QMenuDataInterface { int indexOf(int id); int idAt(int index); void setId(int index, int id); - boolean connectItem(int id, QObject receiver, String member); - boolean disconnectItem(int id, QObject receiver, String member); + 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); - QMenuItem findItem(int id); - QMenuItem findPopup(QPopupMenu arg1, int[] index); - QMenuItem findPopup(QPopupMenu arg1); + 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 index 4ca0063c..9969e7f9 100644 --- a/qtjava/javalib/org/kde/qt/QMenuItem.java +++ b/qtjava/javalib/org/kde/qt/QMenuItem.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMenuItem implements QtSupport { +public class TQMenuItem implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMenuItem(Class dummy){} + protected TQMenuItem(Class dummy){} - public QMenuItem() { - newQMenuItem(); + public TQMenuItem() { + newTQMenuItem(); } - private native void newQMenuItem(); + private native void newTQMenuItem(); public native int id(); - public native QIconSet iconSet(); + public native TQIconSet iconSet(); public native String text(); public native String whatsThis(); - public native QPixmap pixmap(); - public native QPopupMenu popup(); - public native QWidget widget(); - public native QCustomMenuItem custom(); - public native QKeySequence key(); - public native QSignal signal(); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QMessageBox.java b/qtjava/javalib/org/kde/qt/QMessageBox.java index 2c46f334..2b5131a0 100644 --- a/qtjava/javalib/org/kde/qt/QMessageBox.java +++ b/qtjava/javalib/org/kde/qt/QMessageBox.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMessageBox extends QDialog { - protected QMessageBox(Class dummy){super((Class) null);} +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; @@ -26,55 +26,55 @@ public class QMessageBox extends QDialog { public static final int Critical = 3; public static final int Question = 4; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QMessageBox(QWidget parent, String name) { + public TQMessageBox(TQWidget parent, String name) { super((Class) null); - newQMessageBox(parent,name); + newTQMessageBox(parent,name); } - private native void newQMessageBox(QWidget parent, String name); - public QMessageBox(QWidget parent) { + private native void newTQMessageBox(TQWidget parent, String name); + public TQMessageBox(TQWidget parent) { super((Class) null); - newQMessageBox(parent); + newTQMessageBox(parent); } - private native void newQMessageBox(QWidget parent); - public QMessageBox() { + private native void newTQMessageBox(TQWidget parent); + public TQMessageBox() { super((Class) null); - newQMessageBox(); + newTQMessageBox(); } - private native void newQMessageBox(); - public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f) { + 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); - newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); } - private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal, int f); - public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal) { + 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); - newQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); } - private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name, boolean modal); - public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name) { + 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); - newQMessageBox(caption,text,icon,button0,button1,button2,parent,name); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name); } - private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent, String name); - public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent) { + 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); - newQMessageBox(caption,text,icon,button0,button1,button2,parent); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent); } - private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, QWidget parent); - public QMessageBox(String caption, String text, int icon, int button0, int button1, int button2) { + 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); - newQMessageBox(caption,text,icon,button0,button1,button2); + newTQMessageBox(caption,text,icon,button0,button1,button2); } - private native void newQMessageBox(String caption, String text, int icon, int button0, int button1, int 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(QPixmap arg1); - public native QPixmap iconPixmap(); - public native void setIconPixmap(QPixmap 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(); @@ -82,59 +82,59 @@ public class QMessageBox extends QDialog { 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(QWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int information(QWidget parent, String caption, String text, int button0, int button1); - public static native int information(QWidget parent, String caption, String text, int button0); - public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int information(QWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int information(QWidget parent, String caption, String text, String button0Text); - public static native int information(QWidget parent, String caption, String text); - public static native int question(QWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int question(QWidget parent, String caption, String text, int button0, int button1); - public static native int question(QWidget parent, String caption, String text, int button0); - public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int question(QWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int question(QWidget parent, String caption, String text, String button0Text); - public static native int question(QWidget parent, String caption, String text); - public static native int warning(QWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int warning(QWidget parent, String caption, String text, int button0, int button1); - public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int warning(QWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int warning(QWidget parent, String caption, String text, String button0Text); - public static native int warning(QWidget parent, String caption, String text); - public static native int critical(QWidget parent, String caption, String text, int button0, int button1, int button2); - public static native int critical(QWidget parent, String caption, String text, int button0, int button1); - public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); - public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); - public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); - public static native int critical(QWidget parent, String caption, String text, String button0Text, String button1Text); - public static native int critical(QWidget parent, String caption, String text, String button0Text); - public static native int critical(QWidget parent, String caption, String text); - public static native void about(QWidget parent, String caption, String text); - public static native void aboutQt(QWidget parent, String caption); - public static native void aboutQt(QWidget parent); - public static native int message(String caption, String text, String buttonText, QWidget parent, String arg5); - public static native int message(String caption, String text, String buttonText, QWidget parent); + 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 aboutQt(TQWidget parent, String caption); + public static native void aboutQt(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, QWidget parent, String arg6); - public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, QWidget parent); + 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 QPixmap standardIcon(int icon, int arg2); - public static native QPixmap standardIcon(int icon); - protected native void resizeEvent(QResizeEvent arg1); - public native void showEvent(QShowEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void styleChanged(QStyle arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QMetaData.java b/qtjava/javalib/org/kde/qt/QMetaData.java index 5017a39e..c7a56d43 100644 --- a/qtjava/javalib/org/kde/qt/QMetaData.java +++ b/qtjava/javalib/org/kde/qt/QMetaData.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMetaData implements QtSupport { +public class TQMetaData implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMetaData(Class dummy){} + protected TQMetaData(Class dummy){} public static final int Private = 0; public static final int Protected = 1; public static final int Public = 2; - public QMetaData() { - newQMetaData(); + public TQMetaData() { + newTQMetaData(); } - private native void newQMetaData(); + private native void newTQMetaData(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QMetaEnum.java b/qtjava/javalib/org/kde/qt/QMetaEnum.java index de98e3a3..239ea2ff 100644 --- a/qtjava/javalib/org/kde/qt/QMetaEnum.java +++ b/qtjava/javalib/org/kde/qt/QMetaEnum.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMetaEnum implements QtSupport { +public class TQMetaEnum implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMetaEnum(Class dummy){} + protected TQMetaEnum(Class dummy){} - public QMetaEnum() { - newQMetaEnum(); + public TQMetaEnum() { + newTQMetaEnum(); } - private native void newQMetaEnum(); + private native void newTQMetaEnum(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QMetaObject.java b/qtjava/javalib/org/kde/qt/QMetaObject.java index 22d685bd..66323b15 100644 --- a/qtjava/javalib/org/kde/qt/QMetaObject.java +++ b/qtjava/javalib/org/kde/qt/QMetaObject.java @@ -4,15 +4,15 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QMetaObject implements QtSupport { +public class TQMetaObject implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMetaObject(Class dummy){} + protected TQMetaObject(Class dummy){} - // QMetaObject* QMetaObject(const char* arg1,QMetaObject* arg2,const QMetaData* arg3,int arg4,const QMetaData* arg5,int arg6,const QMetaProperty* arg7,int arg8,const QMetaEnum* arg9,int arg10,const QClassInfo* arg11,int arg12); >>>> NOT CONVERTED + // 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 QMetaObject superClass(); + public native TQMetaObject superClass(); public native boolean inherits(String clname); public native int numSlots(boolean arg1); public native int numSlots(); @@ -22,10 +22,10 @@ public class QMetaObject implements QtSupport { public native int findSlot(String arg1); public native int findSignal(String arg1, boolean arg2); public native int findSignal(String arg1); - public native QMetaData slot(int index, boolean arg2); - public native QMetaData slot(int index); - public native QMetaData signal(int index, boolean arg2); - public native QMetaData signal(int index); + 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); @@ -35,17 +35,17 @@ public class QMetaObject implements QtSupport { public native int propertyOffset(); public native int numClassInfo(boolean arg1); public native int numClassInfo(); - public native QClassInfo classInfo(int index, boolean arg2); - public native QClassInfo classInfo(int index); + 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 QMetaProperty property(int index, boolean arg2); - public native QMetaProperty property(int index); + 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(QMetaProperty arg1, boolean arg2); - public native int indexOfProperty(QMetaProperty arg1); - public native QMetaProperty resolveProperty(QMetaProperty arg1); + 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(); @@ -55,10 +55,10 @@ public class QMetaObject implements QtSupport { public native ArrayList enumeratorNames(); public native int numEnumerators(boolean arg1); public native int numEnumerators(); - public native QMetaEnum enumerator(String name, boolean arg2); - public native QMetaEnum enumerator(String name); - public native boolean qt_static_property(QObject o, int id, int f, QVariant v); - // QMetaObject* new_metaobject(const char* arg1,QMetaObject* arg2,const QMetaData* arg3,int arg4,const QMetaData* arg5,int arg6,const QMetaProperty* arg7,int arg8,const QMetaEnum* arg9,int arg10,const QClassInfo* arg11,int arg12); >>>> NOT CONVERTED - public static native QMetaObject metaObject(String class_name); + 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 index b075a4e3..8de85a19 100644 --- a/qtjava/javalib/org/kde/qt/QMetaProperty.java +++ b/qtjava/javalib/org/kde/qt/QMetaProperty.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QMetaProperty implements QtSupport { +public class TQMetaProperty implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMetaProperty(Class dummy){} + protected TQMetaProperty(Class dummy){} public static final int Invalid = 0x00000000; public static final int Readable = 0x00000001; @@ -28,21 +28,21 @@ public class QMetaProperty implements QtSupport { public native String valueToKey(int value); public native int keysToValue(String[] keys); public native ArrayList valueToKeys(int value); - public native boolean designable(QObject arg1); + public native boolean designable(TQObject arg1); public native boolean designable(); - public native boolean scriptable(QObject arg1); + public native boolean scriptable(TQObject arg1); public native boolean scriptable(); - public native boolean stored(QObject arg1); + public native boolean stored(TQObject arg1); public native boolean stored(); - public native boolean reset(QObject arg1); + 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 QMetaProperty() { - newQMetaProperty(); + public TQMetaProperty() { + newTQMetaProperty(); } - private native void newQMetaProperty(); + private native void newTQMetaProperty(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QMimeSource.java b/qtjava/javalib/org/kde/qt/QMimeSource.java index b2346159..be615f74 100644 --- a/qtjava/javalib/org/kde/qt/QMimeSource.java +++ b/qtjava/javalib/org/kde/qt/QMimeSource.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMimeSource implements QtSupport, QMimeSourceInterface { +public class TQMimeSource implements QtSupport, TQMimeSourceInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMimeSource(Class dummy){} + protected TQMimeSource(Class dummy){} public native String format(int n); public native String format(); diff --git a/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java b/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java index 3ebbb476..e6f5c936 100644 --- a/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java +++ b/qtjava/javalib/org/kde/qt/QMimeSourceFactory.java @@ -4,31 +4,31 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QMimeSourceFactory implements QtSupport { +public class TQMimeSourceFactory implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMimeSourceFactory(Class dummy){} + protected TQMimeSourceFactory(Class dummy){} - public QMimeSourceFactory() { - newQMimeSourceFactory(); + public TQMimeSourceFactory() { + newTQMimeSourceFactory(); } - private native void newQMimeSourceFactory(); - public native QMimeSourceInterface data(String abs_name); + private native void newTQMimeSourceFactory(); + public native TQMimeSourceInterface data(String abs_name); public native String makeAbsolute(String abs_or_rel_name, String context); - public native QMimeSourceInterface data(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, QImage im); - public native void setPixmap(String abs_name, QPixmap pm); - public native void setData(String abs_name, QMimeSourceInterface data); + 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 QMimeSourceFactory defaultFactory(); - public static native void setDefaultFactory(QMimeSourceFactory arg1); - public static native QMimeSourceFactory takeDefaultFactory(); - public static native void addFactory(QMimeSourceFactory f); - public static native void removeFactory(QMimeSourceFactory f); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java b/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java index 3a057cd9..40846222 100644 --- a/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java +++ b/qtjava/javalib/org/kde/qt/QMimeSourceInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QMimeSourceInterface { +public interface TQMimeSourceInterface { String format(int n); String format(); boolean provides(String arg1); diff --git a/qtjava/javalib/org/kde/qt/QMouseEvent.java b/qtjava/javalib/org/kde/qt/QMouseEvent.java index d6d71c41..2e23e826 100644 --- a/qtjava/javalib/org/kde/qt/QMouseEvent.java +++ b/qtjava/javalib/org/kde/qt/QMouseEvent.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMouseEvent extends QEvent { - protected QMouseEvent(Class dummy){super((Class) null);} - public QMouseEvent(int type, QPoint pos, int button, int state) { +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); - newQMouseEvent(type,pos,button,state); + newTQMouseEvent(type,pos,button,state); } - private native void newQMouseEvent(int type, QPoint pos, int button, int state); - public QMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int 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); - newQMouseEvent(type,pos,globalPos,button,state); + newTQMouseEvent(type,pos,globalPos,button,state); } - private native void newQMouseEvent(int type, QPoint pos, QPoint globalPos, int button, int state); - public native QPoint pos(); - public native QPoint globalPos(); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QMoveEvent.java b/qtjava/javalib/org/kde/qt/QMoveEvent.java index b9e128bd..e5f3f160 100644 --- a/qtjava/javalib/org/kde/qt/QMoveEvent.java +++ b/qtjava/javalib/org/kde/qt/QMoveEvent.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMoveEvent extends QEvent { - protected QMoveEvent(Class dummy){super((Class) null);} - public QMoveEvent(QPoint pos, QPoint oldPos) { +public class TQMoveEvent extends TQEvent { + protected TQMoveEvent(Class dummy){super((Class) null);} + public TQMoveEvent(TQPoint pos, TQPoint oldPos) { super((Class) null); - newQMoveEvent(pos,oldPos); + newTQMoveEvent(pos,oldPos); } - private native void newQMoveEvent(QPoint pos, QPoint oldPos); - public native QPoint pos(); - public native QPoint 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() */ diff --git a/qtjava/javalib/org/kde/qt/QMovie.java b/qtjava/javalib/org/kde/qt/QMovie.java index 6ad290af..ad9344db 100644 --- a/qtjava/javalib/org/kde/qt/QMovie.java +++ b/qtjava/javalib/org/kde/qt/QMovie.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMovie implements QtSupport { +public class TQMovie implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QMovie(Class dummy){} + protected TQMovie(Class dummy){} public static final int SourceEmpty = -2; public static final int UnrecognizedFormat = -1; @@ -16,49 +16,49 @@ public class QMovie implements QtSupport { public static final int EndOfMovie = 4; public static final int SpeedChanged = 5; - public QMovie() { - newQMovie(); + public TQMovie() { + newTQMovie(); } - private native void newQMovie(); - public QMovie(int bufsize) { - newQMovie(bufsize); + private native void newTQMovie(); + public TQMovie(int bufsize) { + newTQMovie(bufsize); } - private native void newQMovie(int bufsize); - public QMovie(QDataSource arg1, int bufsize) { - newQMovie(arg1,bufsize); + private native void newTQMovie(int bufsize); + public TQMovie(TQDataSource arg1, int bufsize) { + newTQMovie(arg1,bufsize); } - private native void newQMovie(QDataSource arg1, int bufsize); - public QMovie(QDataSource arg1) { - newQMovie(arg1); + private native void newTQMovie(TQDataSource arg1, int bufsize); + public TQMovie(TQDataSource arg1) { + newTQMovie(arg1); } - private native void newQMovie(QDataSource arg1); - public QMovie(String fileName, int bufsize) { - newQMovie(fileName,bufsize); + private native void newTQMovie(TQDataSource arg1); + public TQMovie(String fileName, int bufsize) { + newTQMovie(fileName,bufsize); } - private native void newQMovie(String fileName, int bufsize); - public QMovie(String fileName) { - newQMovie(fileName); + private native void newTQMovie(String fileName, int bufsize); + public TQMovie(String fileName) { + newTQMovie(fileName); } - private native void newQMovie(String fileName); - public QMovie(byte[] data, int bufsize) { - newQMovie(data,bufsize); + private native void newTQMovie(String fileName); + public TQMovie(byte[] data, int bufsize) { + newTQMovie(data,bufsize); } - private native void newQMovie(byte[] data, int bufsize); - public QMovie(byte[] data) { - newQMovie(data); + private native void newTQMovie(byte[] data, int bufsize); + public TQMovie(byte[] data) { + newTQMovie(data); } - private native void newQMovie(byte[] data); - public QMovie(QMovie arg1) { - newQMovie(arg1); + private native void newTQMovie(byte[] data); + public TQMovie(TQMovie arg1) { + newTQMovie(arg1); } - private native void newQMovie(QMovie arg1); + private native void newTQMovie(TQMovie arg1); public native int pushSpace(); public native void pushData(char[] data, int length); - public native QColor backgroundColor(); - public native void setBackgroundColor(QColor arg1); - public native QRect getValidRect(); - public native QPixmap framePixmap(); - public native QImage frameImage(); + 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(); @@ -72,15 +72,15 @@ public class QMovie implements QtSupport { public native void restart(); public native int speed(); public native void setSpeed(int arg1); - public native void connectResize(QObject receiver, String member); - public native void disconnectResize(QObject receiver, String member); - public native void disconnectResize(QObject receiver); - public native void connectUpdate(QObject receiver, String member); - public native void disconnectUpdate(QObject receiver, String member); - public native void disconnectUpdate(QObject receiver); - public native void connectStatus(QObject receiver, String member); - public native void disconnectStatus(QObject receiver, String member); - public native void disconnectStatus(QObject receiver); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QMultiLineEdit.java b/qtjava/javalib/org/kde/qt/QMultiLineEdit.java index fecd5e30..da0d9114 100644 --- a/qtjava/javalib/org/kde/qt/QMultiLineEdit.java +++ b/qtjava/javalib/org/kde/qt/QMultiLineEdit.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QMultiLineEdit extends QTextEdit { - protected QMultiLineEdit(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQMultiLineEdit extends TQTextEdit { + protected TQMultiLineEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QMultiLineEdit(QWidget parent, String name) { + public TQMultiLineEdit(TQWidget parent, String name) { super((Class) null); - newQMultiLineEdit(parent,name); + newTQMultiLineEdit(parent,name); } - private native void newQMultiLineEdit(QWidget parent, String name); - public QMultiLineEdit(QWidget parent) { + private native void newTQMultiLineEdit(TQWidget parent, String name); + public TQMultiLineEdit(TQWidget parent) { super((Class) null); - newQMultiLineEdit(parent); + newTQMultiLineEdit(parent); } - private native void newQMultiLineEdit(QWidget parent); - public QMultiLineEdit() { + private native void newTQMultiLineEdit(TQWidget parent); + public TQMultiLineEdit() { super((Class) null); - newQMultiLineEdit(); + newTQMultiLineEdit(); } - private native void newQMultiLineEdit(); + private native void newTQMultiLineEdit(); public native String textLine(int line); public native int numLines(); public native void insertLine(String s, int line); @@ -50,7 +50,7 @@ public class QMultiLineEdit extends QTextEdit { public native void deselect(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native QPoint cursorPoint(); + protected native TQPoint cursorPoint(); protected native void insertAndMark(String arg1, boolean mark); protected native void newLine(); protected native void killLine(); diff --git a/qtjava/javalib/org/kde/qt/QNetworkOperation.java b/qtjava/javalib/org/kde/qt/QNetworkOperation.java index c1048403..bc6f9468 100644 --- a/qtjava/javalib/org/kde/qt/QNetworkOperation.java +++ b/qtjava/javalib/org/kde/qt/QNetworkOperation.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QNetworkOperation extends QObject { - protected QNetworkOperation(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQNetworkOperation extends TQObject { + protected TQNetworkOperation(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QNetworkOperation(int operation, String arg0, String arg1, String arg2) { + public TQNetworkOperation(int operation, String arg0, String arg1, String arg2) { super((Class) null); - newQNetworkOperation(operation,arg0,arg1,arg2); + newTQNetworkOperation(operation,arg0,arg1,arg2); } - private native void newQNetworkOperation(int operation, String arg0, String arg1, String arg2); - public QNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] 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); - newQNetworkOperation(operation,arg0,arg1,arg2); + newTQNetworkOperation(operation,arg0,arg1,arg2); } - private native void newQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] 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); diff --git a/qtjava/javalib/org/kde/qt/QNetworkProtocol.java b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java index 41ea1b3f..7268211b 100644 --- a/qtjava/javalib/org/kde/qt/QNetworkProtocol.java +++ b/qtjava/javalib/org/kde/qt/QNetworkProtocol.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QNetworkProtocolSignals} for signals emitted by QNetworkProtocol + See {@link TQNetworkProtocolSignals} for signals emitted by TQNetworkProtocol */ -public class QNetworkProtocol extends QObject { - protected QNetworkProtocol(Class dummy){super((Class) null);} +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; @@ -44,37 +44,37 @@ public class QNetworkProtocol extends QObject { public static final int ErrFileNotExisting = 13; public static final int ErrPermissionDenied = 14; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QNetworkProtocol() { + public TQNetworkProtocol() { super((Class) null); - newQNetworkProtocol(); + newTQNetworkProtocol(); } - private native void newQNetworkProtocol(); - public native void setUrl(QUrlOperator u); + 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(QNetworkOperation op); - public native QUrlOperator url(); - public native QNetworkOperation operationInProgress(); + 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 QString& arg1,QNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED - public static native QNetworkProtocol getNetworkProtocol(String protocol); + // 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(QNetworkOperation op); - protected native void operationListChildren(QNetworkOperation op); - protected native void operationMkDir(QNetworkOperation op); - protected native void operationRemove(QNetworkOperation op); - protected native void operationRename(QNetworkOperation op); - protected native void operationGet(QNetworkOperation op); - protected native void operationPut(QNetworkOperation op); - protected native void operationPutChunk(QNetworkOperation op); - protected native boolean checkConnection(QNetworkOperation op); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java b/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java index ee1b8086..52a71c58 100644 --- a/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java +++ b/qtjava/javalib/org/kde/qt/QNetworkProtocolSignals.java @@ -2,15 +2,15 @@ package org.kde.qt; -public interface QNetworkProtocolSignals { - void data(byte[] arg1, QNetworkOperation res); +public interface TQNetworkProtocolSignals { + void data(byte[] arg1, TQNetworkOperation res); void connectionStateChanged(int state, String data); - void finished(QNetworkOperation res); - void start(QNetworkOperation res); - // void newChildren(const QValueList& arg1,QNetworkOperation* arg2); >>>> NOT CONVERTED - void newChild(QUrlInfo arg1, QNetworkOperation res); - void createdDirectory(QUrlInfo arg1, QNetworkOperation res); - void removed(QNetworkOperation res); - void itemChanged(QNetworkOperation res); - void dataTransferProgress(int bytesDone, int bytesTotal, QNetworkOperation res); + 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 index c9c98412..71d268b1 100644 --- a/qtjava/javalib/org/kde/qt/QObject.java +++ b/qtjava/javalib/org/kde/qt/QObject.java @@ -5,29 +5,29 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QObjectSignals} for signals emitted by QObject + See {@link TQObjectSignals} for signals emitted by TQObject */ -public class QObject extends Qt { - protected QObject(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQObject extends Qt { + protected TQObject(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QObject(QObject parent, String name) { + public TQObject(TQObject parent, String name) { super((Class) null); - newQObject(parent,name); + newTQObject(parent,name); } - private native void newQObject(QObject parent, String name); - public QObject(QObject parent) { + private native void newTQObject(TQObject parent, String name); + public TQObject(TQObject parent) { super((Class) null); - newQObject(parent); + newTQObject(parent); } - private native void newQObject(QObject parent); - public QObject() { + private native void newTQObject(TQObject parent); + public TQObject() { super((Class) null); - newQObject(); + newTQObject(); } - private native void newQObject(); - public native boolean event(QEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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(); @@ -40,58 +40,58 @@ public class QObject extends Qt { public native int startTimer(int interval); public native void killTimer(int id); public native void killTimers(); - public native QObject child(String objName, String inheritsClass, boolean recursiveSearch); - public native QObject child(String objName, String inheritsClass); - public native QObject child(String objName); + 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(QObject arg1); - public native void removeChild(QObject arg1); - public native void installEventFilter(QObject arg1); - public native void removeEventFilter(QObject arg1); - public native boolean connect(QObject sender, String signal, String member); - public native boolean disconnect(String signal, QObject receiver, String member); - public native boolean disconnect(String signal, QObject receiver); + 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(QObject receiver, String member); - public native boolean disconnect(QObject receiver); + 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, QVariant value); - public native QVariant property(String name); - // void setUserData(uint arg1,QObjectUserData* arg2); >>>> NOT CONVERTED - // QObjectUserData* userData(uint arg1); >>>> NOT CONVERTED - public native QObject parent(); + 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(QObject sender, String signal, QObject receiver, String member); - public static native boolean disconnect(QObject sender, String signal, QObject receiver, String member); - public static native void connectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index); - public static native boolean disconnectInternal(QObject sender, int signal_index, QObject receiver, int membcode, int member_index); + 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(QEvent arg1); - // QConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED - // QConnectionList* receivers(int arg1); >>>> NOT CONVERTED + 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(QConnectionList* arg1,QUObject* arg2); >>>> NOT CONVERTED - protected native QObject sender(); - protected native void timerEvent(QTimerEvent arg1); - protected native void childEvent(QChildEvent arg1); - protected native void customEvent(QCustomEvent arg1); + // 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, QObject receiver, String member); + 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; diff --git a/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java b/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java index b49efe49..f03fc315 100644 --- a/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java +++ b/qtjava/javalib/org/kde/qt/QObjectCleanupHandler.java @@ -3,17 +3,17 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QObjectCleanupHandler extends QObject { - protected QObjectCleanupHandler(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQObjectCleanupHandler extends TQObject { + protected TQObjectCleanupHandler(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QObjectCleanupHandler() { + public TQObjectCleanupHandler() { super((Class) null); - newQObjectCleanupHandler(); + newTQObjectCleanupHandler(); } - private native void newQObjectCleanupHandler(); - public native QObject add(QObject object); - public native void remove(QObject object); + 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); diff --git a/qtjava/javalib/org/kde/qt/QObjectSignals.java b/qtjava/javalib/org/kde/qt/QObjectSignals.java index 5381a818..26d2e58a 100644 --- a/qtjava/javalib/org/kde/qt/QObjectSignals.java +++ b/qtjava/javalib/org/kde/qt/QObjectSignals.java @@ -3,7 +3,7 @@ package org.kde.qt; import java.util.ArrayList; -public interface QObjectSignals { +public interface TQObjectSignals { void destroyed(); - void destroyed(QObject arg1); + void destroyed(TQObject arg1); } diff --git a/qtjava/javalib/org/kde/qt/QPaintDevice.java b/qtjava/javalib/org/kde/qt/QPaintDevice.java index 070d3afb..5e7f9915 100644 --- a/qtjava/javalib/org/kde/qt/QPaintDevice.java +++ b/qtjava/javalib/org/kde/qt/QPaintDevice.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPaintDevice implements QtSupport, QPaintDeviceInterface { +public class TQPaintDevice implements QtSupport, TQPaintDeviceInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPaintDevice(Class dummy){} + protected TQPaintDevice(Class dummy){} public static final int PdcNOP = 0; public static final int PdcDrawPoint = 1; @@ -64,16 +64,16 @@ public class QPaintDevice implements QtSupport, QPaintDeviceInterface { public native boolean paintingActive(); public native void setResolution(int arg1); public native int resolution(); - public QPaintDevice(int devflags) { - newQPaintDevice(devflags); + public TQPaintDevice(int devflags) { + newTQPaintDevice(devflags); } - private native void newQPaintDevice(int devflags); - // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED + 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(QFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(QFont arg1, int arg2, String arg3); - protected native int fontMet(QFont arg1, int arg2); - protected native int fontInf(QFont arg1, int arg2); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java b/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java index c7861866..b2b4f1a2 100644 --- a/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java +++ b/qtjava/javalib/org/kde/qt/QPaintDeviceInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QPaintDeviceInterface { +public interface TQPaintDeviceInterface { int devType(); boolean isExtDev(); boolean paintingActive(); diff --git a/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java b/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java index 05dc802d..76683290 100644 --- a/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java +++ b/qtjava/javalib/org/kde/qt/QPaintDeviceMetrics.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPaintDeviceMetrics implements QtSupport { +public class TQPaintDeviceMetrics implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPaintDeviceMetrics(Class dummy){} + protected TQPaintDeviceMetrics(Class dummy){} public static final int PdmWidth = 1; public static final int PdmHeight = 2; @@ -19,10 +19,10 @@ public class QPaintDeviceMetrics implements QtSupport { public static final int PdmPhysicalDpiX = 9; public static final int PdmPhysicalDpiY = 10; - public QPaintDeviceMetrics(QPaintDeviceInterface arg1) { - newQPaintDeviceMetrics(arg1); + public TQPaintDeviceMetrics(TQPaintDeviceInterface arg1) { + newTQPaintDeviceMetrics(arg1); } - private native void newQPaintDeviceMetrics(QPaintDeviceInterface arg1); + private native void newTQPaintDeviceMetrics(TQPaintDeviceInterface arg1); public native int width(); public native int height(); public native int widthMM(); diff --git a/qtjava/javalib/org/kde/qt/QPaintEvent.java b/qtjava/javalib/org/kde/qt/QPaintEvent.java index b8932358..8b91516c 100644 --- a/qtjava/javalib/org/kde/qt/QPaintEvent.java +++ b/qtjava/javalib/org/kde/qt/QPaintEvent.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPaintEvent extends QEvent { - protected QPaintEvent(Class dummy){super((Class) null);} - public QPaintEvent(QRegion paintRegion, boolean erased) { +public class TQPaintEvent extends TQEvent { + protected TQPaintEvent(Class dummy){super((Class) null);} + public TQPaintEvent(TQRegion paintRegion, boolean erased) { super((Class) null); - newQPaintEvent(paintRegion,erased); + newTQPaintEvent(paintRegion,erased); } - private native void newQPaintEvent(QRegion paintRegion, boolean erased); - public QPaintEvent(QRegion paintRegion) { + private native void newTQPaintEvent(TQRegion paintRegion, boolean erased); + public TQPaintEvent(TQRegion paintRegion) { super((Class) null); - newQPaintEvent(paintRegion); + newTQPaintEvent(paintRegion); } - private native void newQPaintEvent(QRegion paintRegion); - public QPaintEvent(QRect paintRect, boolean erased) { + private native void newTQPaintEvent(TQRegion paintRegion); + public TQPaintEvent(TQRect paintRect, boolean erased) { super((Class) null); - newQPaintEvent(paintRect,erased); + newTQPaintEvent(paintRect,erased); } - private native void newQPaintEvent(QRect paintRect, boolean erased); - public QPaintEvent(QRect paintRect) { + private native void newTQPaintEvent(TQRect paintRect, boolean erased); + public TQPaintEvent(TQRect paintRect) { super((Class) null); - newQPaintEvent(paintRect); + newTQPaintEvent(paintRect); } - private native void newQPaintEvent(QRect paintRect); - public QPaintEvent(QRegion paintRegion, QRect paintRect, boolean erased) { + private native void newTQPaintEvent(TQRect paintRect); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased) { super((Class) null); - newQPaintEvent(paintRegion,paintRect,erased); + newTQPaintEvent(paintRegion,paintRect,erased); } - private native void newQPaintEvent(QRegion paintRegion, QRect paintRect, boolean erased); - public QPaintEvent(QRegion paintRegion, QRect paintRect) { + private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect) { super((Class) null); - newQPaintEvent(paintRegion,paintRect); + newTQPaintEvent(paintRegion,paintRect); } - private native void newQPaintEvent(QRegion paintRegion, QRect paintRect); - public native QRect rect(); - public native QRegion region(); + 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; diff --git a/qtjava/javalib/org/kde/qt/QPainter.java b/qtjava/javalib/org/kde/qt/QPainter.java index 146d06e6..8db7725c 100644 --- a/qtjava/javalib/org/kde/qt/QPainter.java +++ b/qtjava/javalib/org/kde/qt/QPainter.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPainter extends Qt { - protected QPainter(Class dummy){super((Class) null);} +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; @@ -32,78 +32,78 @@ public class QPainter extends Qt { public static final int RTL = 1; public static final int LTR = 2; - public QPainter() { + public TQPainter() { super((Class) null); - newQPainter(); + newTQPainter(); } - private native void newQPainter(); - public QPainter(QPaintDeviceInterface arg1, boolean unclipped) { + private native void newTQPainter(); + public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) { super((Class) null); - newQPainter(arg1,unclipped); + newTQPainter(arg1,unclipped); } - private native void newQPainter(QPaintDeviceInterface arg1, boolean unclipped); - public QPainter(QPaintDeviceInterface arg1) { + private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1) { super((Class) null); - newQPainter(arg1); + newTQPainter(arg1); } - private native void newQPainter(QPaintDeviceInterface arg1); - public QPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped) { + private native void newTQPainter(TQPaintDeviceInterface arg1); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) { super((Class) null); - newQPainter(arg1,arg2,unclipped); + newTQPainter(arg1,arg2,unclipped); } - private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped); - public QPainter(QPaintDeviceInterface arg1, QWidget arg2) { + private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) { super((Class) null); - newQPainter(arg1,arg2); + newTQPainter(arg1,arg2); } - private native void newQPainter(QPaintDeviceInterface arg1, QWidget arg2); - public native boolean begin(QPaintDeviceInterface arg1, boolean unclipped); - public native boolean begin(QPaintDeviceInterface arg1); - public native boolean begin(QPaintDeviceInterface arg1, QWidget arg2, boolean unclipped); - public native boolean begin(QPaintDeviceInterface arg1, QWidget 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 QPaintDeviceInterface device(); + public native TQPaintDeviceInterface device(); public native boolean isActive(); - public native void flush(QRegion region, int cm); - public native void flush(QRegion region); + 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 QFontMetrics fontMetrics(); - public native QFontInfo fontInfo(); - public native QFont font(); - public native void setFont(QFont arg1); - public native QPen pen(); - public native void setPen(QPen arg1); + 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(QColor arg1); - public native QBrush brush(); - public native void setBrush(QBrush 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(QColor arg1); - public native QPoint pos(); - public native QColor backgroundColor(); - public native void setBackgroundColor(QColor 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 QPoint brushOrigin(); + public native TQPoint brushOrigin(); public native void setBrushOrigin(int x, int y); - public native void setBrushOrigin(QPoint arg1); + public native void setBrushOrigin(TQPoint arg1); public native boolean hasViewXForm(); public native boolean hasWorldXForm(); public native void setViewXForm(boolean arg1); - public native QRect window(); - public native void setWindow(QRect 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 QRect viewport(); - public native void setViewport(QRect arg1); + 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 QWMatrix worldMatrix(); - public native void setWorldMatrix(QWMatrix arg1, boolean combine); - public native void setWorldMatrix(QWMatrix 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); @@ -113,129 +113,129 @@ public class QPainter extends Qt { public native void resetXForm(); public native double translationX(); public native double translationY(); - public native Object xForm(QPoint arg1); - public native Object xForm(QRect arg1); - public native Object xForm(QPointArray arg1); - public native Object xForm(QPointArray arg1, int index, int npoints); - public native QPoint xFormDev(QPoint arg1); - public native QRect xFormDev(QRect arg1); - public native QPointArray xFormDev(QPointArray arg1); - public native QPointArray xFormDev(QPointArray arg1, int index, int npoints); + 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 QRegion clipRegion(int arg1); - public native QRegion clipRegion(); - public native void setClipRect(QRect arg1, int arg2); - public native void setClipRect(QRect arg1); + 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(QRegion arg1, int arg2); - public native void setClipRegion(QRegion arg1); + 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(QPoint arg1); - public native void drawPoints(QPointArray a, int index, int npoints); - public native void drawPoints(QPointArray a, int index); - public native void drawPoints(QPointArray a); + 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(QPoint arg1); + public native void moveTo(TQPoint arg1); public native void lineTo(int x, int y); - public native void lineTo(QPoint arg1); + public native void lineTo(TQPoint arg1); public native void drawLine(int x1, int y1, int x2, int y2); - public native void drawLine(QPoint arg1, QPoint arg2); + public native void drawLine(TQPoint arg1, TQPoint arg2); public native void drawRect(int x, int y, int w, int h); - public native void drawRect(QRect arg1); + 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, QColor bgColor); - public native void drawWinFocusRect(QRect arg1); - public native void drawWinFocusRect(QRect arg1, QColor bgColor); + 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(QRect arg1, int arg2, int arg3); - public native void drawRoundRect(QRect arg1, int arg2); - public native void drawRoundRect(QRect arg1); + 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(QRect arg1); + 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(QRect arg1, 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(QRect arg1, 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(QRect arg1, int a, int alen); - public native void drawLineSegments(QPointArray arg1, int index, int nlines); - public native void drawLineSegments(QPointArray arg1, int index); - public native void drawLineSegments(QPointArray arg1); - public native void drawPolyline(QPointArray arg1, int index, int npoints); - public native void drawPolyline(QPointArray arg1, int index); - public native void drawPolyline(QPointArray arg1); - public native void drawPolygon(QPointArray arg1, boolean winding, int index, int npoints); - public native void drawPolygon(QPointArray arg1, boolean winding, int index); - public native void drawPolygon(QPointArray arg1, boolean winding); - public native void drawPolygon(QPointArray arg1); - public native void drawConvexPolygon(QPointArray arg1, int index, int npoints); - public native void drawConvexPolygon(QPointArray arg1, int index); - public native void drawConvexPolygon(QPointArray arg1); - public native void drawCubicBezier(QPointArray arg1, int index); - public native void drawCubicBezier(QPointArray arg1); - public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw, int sh); - public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy, int sw); - public native void drawPixmap(int x, int y, QPixmap arg3, int sx, int sy); - public native void drawPixmap(int x, int y, QPixmap arg3, int sx); - public native void drawPixmap(int x, int y, QPixmap arg3); - public native void drawPixmap(QPoint arg1, QPixmap arg2, QRect sr); - public native void drawPixmap(QPoint arg1, QPixmap arg2); - public native void drawPixmap(QRect arg1, QPixmap arg2); - public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh, int conversionFlags); - public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw, int sh); - public native void drawImage(int x, int y, QImage arg3, int sx, int sy, int sw); - public native void drawImage(int x, int y, QImage arg3, int sx, int sy); - public native void drawImage(int x, int y, QImage arg3, int sx); - public native void drawImage(int x, int y, QImage arg3); - public native void drawImage(QPoint arg1, QImage arg2, QRect sr, int conversionFlags); - public native void drawImage(QPoint arg1, QImage arg2, QRect sr); - public native void drawImage(QPoint arg1, QImage arg2, int conversion_flags); - public native void drawImage(QPoint arg1, QImage arg2); - public native void drawImage(QRect arg1, QImage arg2); - public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx, int sy); - public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5, int sx); - public native void drawTiledPixmap(int x, int y, int w, int h, QPixmap arg5); - public native void drawTiledPixmap(QRect arg1, QPixmap arg2, QPoint arg3); - public native void drawTiledPixmap(QRect arg1, QPixmap arg2); - public native void drawPicture(QPicture arg1); - public native void drawPicture(int x, int y, QPicture arg3); - public native void drawPicture(QPoint arg1, QPicture arg2); - public native void fillRect(int x, int y, int w, int h, QBrush arg5); - public native void fillRect(QRect arg1, QBrush arg2); + 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(QRect arg1); + 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(QPoint arg1, String arg2, int len, int dir); - public native void drawText(QPoint arg1, String arg2, int len); - public native void drawText(QPoint arg1, String arg2); + 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(QPoint p, String arg2, int pos, int len, int dir); - // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QRect* arg8,QTextParag** arg9); >>>> NOT CONVERTED - public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, QRect br); + 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 QRect& arg1,int arg2,const QString& arg3,int arg4,QRect* arg5,QTextParag** arg6); >>>> NOT CONVERTED - public native void drawText(QRect arg1, int flags, String arg3, int len, QRect br); - public native void drawText(QRect arg1, int flags, String arg3, int len); - public native void drawText(QRect arg1, int flags, String arg3); - // QRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const QString& arg6,int arg7,QTextParag** arg8); >>>> NOT CONVERTED - public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len); - public native QRect boundingRect(int x, int y, int w, int h, int flags, String arg6); - // QRect boundingRect(const QRect& arg1,int arg2,const QString& arg3,int arg4,QTextParag** arg5); >>>> NOT CONVERTED - public native QRect boundingRect(QRect arg1, int flags, String arg3, int len); - public native QRect boundingRect(QRect arg1, int flags, String arg3); + // 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(QPaintDeviceInterface pdev, QPaintDeviceInterface replacement); - public static native QPaintDeviceInterface redirect(QPaintDeviceInterface pdev); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QPalette.java b/qtjava/javalib/org/kde/qt/QPalette.java index d4d2153b..53b5160f 100644 --- a/qtjava/javalib/org/kde/qt/QPalette.java +++ b/qtjava/javalib/org/kde/qt/QPalette.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPalette implements QtSupport { +public class TQPalette implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPalette(Class dummy){} + protected TQPalette(Class dummy){} public static final int Disabled = 0; public static final int Active = 1; @@ -14,44 +14,44 @@ public class QPalette implements QtSupport { public static final int NColorGroups = 3; public static final int Normal = Active; - public QPalette() { - newQPalette(); + public TQPalette() { + newTQPalette(); } - private native void newQPalette(); - public QPalette(QColor button) { - newQPalette(button); + private native void newTQPalette(); + public TQPalette(TQColor button) { + newTQPalette(button); } - private native void newQPalette(QColor button); - public QPalette(QColor button, QColor background) { - newQPalette(button,background); + private native void newTQPalette(TQColor button); + public TQPalette(TQColor button, TQColor background) { + newTQPalette(button,background); } - private native void newQPalette(QColor button, QColor background); - public QPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive) { - newQPalette(active,disabled,inactive); + private native void newTQPalette(TQColor button, TQColor background); + public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { + newTQPalette(active,disabled,inactive); } - private native void newQPalette(QColorGroup active, QColorGroup disabled, QColorGroup inactive); - public QPalette(QPalette arg1) { - newQPalette(arg1); + private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); + public TQPalette(TQPalette arg1) { + newTQPalette(arg1); } - private native void newQPalette(QPalette arg1); - public native QColor color(int arg1, int arg2); - public native QBrush brush(int arg1, int arg2); - public native void setColor(int arg1, int arg2, QColor arg3); - public native void setBrush(int arg1, int arg2, QBrush arg3); - public native void setColor(int arg1, QColor arg2); - public native void setBrush(int arg1, QBrush arg2); - public native QPalette copy(); - public native QColorGroup active(); - public native QColorGroup disabled(); - public native QColorGroup inactive(); - public native QColorGroup normal(); - public native void setActive(QColorGroup arg1); - public native void setDisabled(QColorGroup arg1); - public native void setInactive(QColorGroup arg1); - public native void setNormal(QColorGroup cg); - public native boolean op_equals(QPalette p); - public native boolean op_not_equals(QPalette p); - public native boolean isCopyOf(QPalette 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); diff --git a/qtjava/javalib/org/kde/qt/QPen.java b/qtjava/javalib/org/kde/qt/QPen.java index 453050e2..05f0bc86 100644 --- a/qtjava/javalib/org/kde/qt/QPen.java +++ b/qtjava/javalib/org/kde/qt/QPen.java @@ -3,55 +3,55 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPen extends Qt { - protected QPen(Class dummy){super((Class) null);} - public QPen() { +public class TQPen extends Qt { + protected TQPen(Class dummy){super((Class) null);} + public TQPen() { super((Class) null); - newQPen(); + newTQPen(); } - private native void newQPen(); - public QPen(int arg1) { + private native void newTQPen(); + public TQPen(int arg1) { super((Class) null); - newQPen(arg1); + newTQPen(arg1); } - private native void newQPen(int arg1); - public QPen(QColor color, int width, int style) { + private native void newTQPen(int arg1); + public TQPen(TQColor color, int width, int style) { super((Class) null); - newQPen(color,width,style); + newTQPen(color,width,style); } - private native void newQPen(QColor color, int width, int style); - public QPen(QColor color, int width) { + private native void newTQPen(TQColor color, int width, int style); + public TQPen(TQColor color, int width) { super((Class) null); - newQPen(color,width); + newTQPen(color,width); } - private native void newQPen(QColor color, int width); - public QPen(QColor color) { + private native void newTQPen(TQColor color, int width); + public TQPen(TQColor color) { super((Class) null); - newQPen(color); + newTQPen(color); } - private native void newQPen(QColor color); - public QPen(QColor cl, int w, int s, int c, int j) { + private native void newTQPen(TQColor color); + public TQPen(TQColor cl, int w, int s, int c, int j) { super((Class) null); - newQPen(cl,w,s,c,j); + newTQPen(cl,w,s,c,j); } - private native void newQPen(QColor cl, int w, int s, int c, int j); - public QPen(QPen arg1) { + private native void newTQPen(TQColor cl, int w, int s, int c, int j); + public TQPen(TQPen arg1) { super((Class) null); - newQPen(arg1); + newTQPen(arg1); } - private native void newQPen(QPen 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 QColor color(); - public native void setColor(QColor 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(QPen p); - public native boolean op_not_equals(QPen p); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QPicture.java b/qtjava/javalib/org/kde/qt/QPicture.java index 4c877276..0d9e7d13 100644 --- a/qtjava/javalib/org/kde/qt/QPicture.java +++ b/qtjava/javalib/org/kde/qt/QPicture.java @@ -3,42 +3,42 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPicture extends QPaintDevice { - protected QPicture(Class dummy){super((Class) null);} - public QPicture(int formatVersion) { +public class TQPicture extends TQPaintDevice { + protected TQPicture(Class dummy){super((Class) null);} + public TQPicture(int formatVersion) { super((Class) null); - newQPicture(formatVersion); + newTQPicture(formatVersion); } - private native void newQPicture(int formatVersion); - public QPicture() { + private native void newTQPicture(int formatVersion); + public TQPicture() { super((Class) null); - newQPicture(); + newTQPicture(); } - private native void newQPicture(); - public QPicture(QPicture arg1) { + private native void newTQPicture(); + public TQPicture(TQPicture arg1) { super((Class) null); - newQPicture(arg1); + newTQPicture(arg1); } - private native void newQPicture(QPicture 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(QPainter arg1); - public native boolean load(QIODeviceInterface dev, String format); - public native boolean load(QIODeviceInterface dev); + 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(QIODeviceInterface dev, String format); - public native boolean save(QIODeviceInterface dev); + 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 QRect boundingRect(); - public native void setBoundingRect(QRect r); - // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED + 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 QPicture copy(); + public native TQPicture copy(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QPixmap.java b/qtjava/javalib/org/kde/qt/QPixmap.java index 32bf8ca1..03c8e1a6 100644 --- a/qtjava/javalib/org/kde/qt/QPixmap.java +++ b/qtjava/javalib/org/kde/qt/QPixmap.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPixmap extends Qt implements QPaintDeviceInterface { - protected QPixmap(Class dummy){super((Class) null);} +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; @@ -15,99 +15,99 @@ public class QPixmap extends Qt implements QPaintDeviceInterface { public static final int NormalOptim = 2; public static final int BestOptim = 3; - public QPixmap() { + public TQPixmap() { super((Class) null); - newQPixmap(); + newTQPixmap(); } - private native void newQPixmap(); - public QPixmap(QImage image) { + private native void newTQPixmap(); + public TQPixmap(TQImage image) { super((Class) null); - newQPixmap(image); + newTQPixmap(image); } - private native void newQPixmap(QImage image); - public QPixmap(int w, int h, int depth, int arg4) { + private native void newTQPixmap(TQImage image); + public TQPixmap(int w, int h, int depth, int arg4) { super((Class) null); - newQPixmap(w,h,depth,arg4); + newTQPixmap(w,h,depth,arg4); } - private native void newQPixmap(int w, int h, int depth, int arg4); - public QPixmap(int w, int h, int depth) { + private native void newTQPixmap(int w, int h, int depth, int arg4); + public TQPixmap(int w, int h, int depth) { super((Class) null); - newQPixmap(w,h,depth); + newTQPixmap(w,h,depth); } - private native void newQPixmap(int w, int h, int depth); - public QPixmap(int w, int h) { + private native void newTQPixmap(int w, int h, int depth); + public TQPixmap(int w, int h) { super((Class) null); - newQPixmap(w,h); + newTQPixmap(w,h); } - private native void newQPixmap(int w, int h); - public QPixmap(QSize arg1, int depth, int arg3) { + private native void newTQPixmap(int w, int h); + public TQPixmap(TQSize arg1, int depth, int arg3) { super((Class) null); - newQPixmap(arg1,depth,arg3); + newTQPixmap(arg1,depth,arg3); } - private native void newQPixmap(QSize arg1, int depth, int arg3); - public QPixmap(QSize arg1, int depth) { + private native void newTQPixmap(TQSize arg1, int depth, int arg3); + public TQPixmap(TQSize arg1, int depth) { super((Class) null); - newQPixmap(arg1,depth); + newTQPixmap(arg1,depth); } - private native void newQPixmap(QSize arg1, int depth); - public QPixmap(QSize arg1) { + private native void newTQPixmap(TQSize arg1, int depth); + public TQPixmap(TQSize arg1) { super((Class) null); - newQPixmap(arg1); + newTQPixmap(arg1); } - private native void newQPixmap(QSize arg1); - public QPixmap(String fileName, String format, int mode) { + private native void newTQPixmap(TQSize arg1); + public TQPixmap(String fileName, String format, int mode) { super((Class) null); - newQPixmap(fileName,format,mode); + newTQPixmap(fileName,format,mode); } - private native void newQPixmap(String fileName, String format, int mode); - public QPixmap(String fileName, String format) { + private native void newTQPixmap(String fileName, String format, int mode); + public TQPixmap(String fileName, String format) { super((Class) null); - newQPixmap(fileName,format); + newTQPixmap(fileName,format); } - private native void newQPixmap(String fileName, String format); - public QPixmap(String fileName) { + private native void newTQPixmap(String fileName, String format); + public TQPixmap(String fileName) { super((Class) null); - newQPixmap(fileName); + newTQPixmap(fileName); } - private native void newQPixmap(String fileName); - public QPixmap(String[] xpm) { + private native void newTQPixmap(String fileName); + public TQPixmap(String[] xpm) { super((Class) null); - newQPixmap(xpm); + newTQPixmap(xpm); } - private native void newQPixmap(String[] xpm); - public QPixmap(byte[] data) { + private native void newTQPixmap(String[] xpm); + public TQPixmap(byte[] data) { super((Class) null); - newQPixmap(data); + newTQPixmap(data); } - private native void newQPixmap(byte[] data); - public QPixmap(QPixmap arg1) { + private native void newTQPixmap(byte[] data); + public TQPixmap(TQPixmap arg1) { super((Class) null); - newQPixmap(arg1); + newTQPixmap(arg1); } - private native void newQPixmap(QPixmap arg1); + private native void newTQPixmap(TQPixmap arg1); public native boolean isNull(); public native int width(); public native int height(); - public native QSize size(); - public native QRect rect(); + public native TQSize size(); + public native TQRect rect(); public native int depth(); - public native void fill(QColor fillColor); + public native void fill(TQColor fillColor); public native void fill(); - public native void fill(QWidget arg1, int xofs, int yofs); - public native void fill(QWidget arg1, QPoint ofs); + 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(QSize arg1); - public native QBitmap mask(); - public native void setMask(QBitmap arg1); + 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 QBitmap createHeuristicMask(boolean clipTight); - public native QBitmap createHeuristicMask(); - public native Object xForm(QWMatrix arg1); - public native QImage convertToImage(); - public native boolean convertFromImage(QImage arg1, int mode); - public native boolean convertFromImage(QImage arg1); + 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); @@ -119,34 +119,34 @@ public class QPixmap extends Qt implements QPaintDeviceInterface { 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(QIODeviceInterface device, String format, int quality); - public native boolean save(QIODeviceInterface device, 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 isQBitmap(); + public native boolean isTQBitmap(); public static native int defaultDepth(); - public static native QPixmap fromMimeSource(String abs_name); - public static native QPixmap grabWindow(long arg1, int x, int y, int w, int h); - public static native QPixmap grabWindow(long arg1, int x, int y, int w); - public static native QPixmap grabWindow(long arg1, int x, int y); - public static native QPixmap grabWindow(long arg1, int x); - public static native QPixmap grabWindow(long arg1); - public static native QPixmap grabWidget(QWidget widget, int x, int y, int w, int h); - public static native QPixmap grabWidget(QWidget widget, int x, int y, int w); - public static native QPixmap grabWidget(QWidget widget, int x, int y); - public static native QPixmap grabWidget(QWidget widget, int x); - public static native QPixmap grabWidget(QWidget widget); - public static native QWMatrix trueMatrix(QWMatrix arg1, int w, int h); + 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 QPixmap(int w, int h, char[] data, boolean isXbitmap) { + public TQPixmap(int w, int h, char[] data, boolean isXbitmap) { super((Class) null); - newQPixmap(w,h,data,isXbitmap); + newTQPixmap(w,h,data,isXbitmap); } - private native void newQPixmap(int w, int h, char[] data, boolean 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; @@ -159,11 +159,11 @@ public class QPixmap extends Qt implements QPaintDeviceInterface { public native boolean paintingActive(); public native void setResolution(int arg1); public native int resolution(); - // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(QFont arg1, int arg2, String arg3); - protected native int fontMet(QFont arg1, int arg2); - protected native int fontInf(QFont arg1, int arg2); + // 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 */ diff --git a/qtjava/javalib/org/kde/qt/QPoint.java b/qtjava/javalib/org/kde/qt/QPoint.java index d408b056..a6ddef55 100644 --- a/qtjava/javalib/org/kde/qt/QPoint.java +++ b/qtjava/javalib/org/kde/qt/QPoint.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPoint implements QtSupport { +public class TQPoint implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPoint(Class dummy){} + protected TQPoint(Class dummy){} - public QPoint() { - newQPoint(); + public TQPoint() { + newTQPoint(); } - private native void newQPoint(); - public QPoint(int xpos, int ypos) { - newQPoint(xpos,ypos); + private native void newTQPoint(); + public TQPoint(int xpos, int ypos) { + newTQPoint(xpos,ypos); } - private native void newQPoint(int xpos, int ypos); + private native void newTQPoint(int xpos, int ypos); public native boolean isNull(); public native int x(); public native int y(); @@ -24,12 +24,12 @@ public class QPoint implements QtSupport { public native int manhattanLength(); public native short rx(); public native short ry(); - public native QPoint op_plus_assign(QPoint p); - public native QPoint op_minus_assign(QPoint p); - public native QPoint op_mult_assign(int c); - public native QPoint op_mult_assign(double c); - public native QPoint op_div_assign(int c); - public native QPoint op_div_assign(double c); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QPointArray.java b/qtjava/javalib/org/kde/qt/QPointArray.java index 419d9bab..e54f2191 100644 --- a/qtjava/javalib/org/kde/qt/QPointArray.java +++ b/qtjava/javalib/org/kde/qt/QPointArray.java @@ -3,50 +3,50 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPointArray implements QtSupport { +public class TQPointArray implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPointArray(Class dummy){} + protected TQPointArray(Class dummy){} - public QPointArray() { - newQPointArray(); + public TQPointArray() { + newTQPointArray(); } - private native void newQPointArray(); - public QPointArray(int size) { - newQPointArray(size); + private native void newTQPointArray(); + public TQPointArray(int size) { + newTQPointArray(size); } - private native void newQPointArray(int size); - public QPointArray(QPointArray a) { - newQPointArray(a); + private native void newTQPointArray(int size); + public TQPointArray(TQPointArray a) { + newTQPointArray(a); } - private native void newQPointArray(QPointArray a); - public QPointArray(QRect r, boolean closed) { - newQPointArray(r,closed); + private native void newTQPointArray(TQPointArray a); + public TQPointArray(TQRect r, boolean closed) { + newTQPointArray(r,closed); } - private native void newQPointArray(QRect r, boolean closed); - public QPointArray(QRect r) { - newQPointArray(r); + private native void newTQPointArray(TQRect r, boolean closed); + public TQPointArray(TQRect r) { + newTQPointArray(r); } - private native void newQPointArray(QRect r); - public QPointArray(int nPoints, short[] points) { - newQPointArray(nPoints,points); + private native void newTQPointArray(TQRect r); + public TQPointArray(int nPoints, short[] points) { + newTQPointArray(nPoints,points); } - private native void newQPointArray(int nPoints, short[] points); - public native QPointArray copy(); + private native void newTQPointArray(int nPoints, short[] points); + public native TQPointArray copy(); public native void translate(int dx, int dy); - public native QRect boundingRect(); + public native TQRect boundingRect(); public native void point(int i, int[] x, int[] y); - public native QPoint point(int i); + public native TQPoint point(int i); public native void setPoint(int i, int x, int y); - public native void setPoint(int i, QPoint p); + 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, QPointArray from, int fromIndex); - public native boolean putPoints(int index, int nPoints, QPointArray from); + 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, QWMatrix arg7); - public native QPointArray cubicBezier(); + 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 @@ -63,6 +63,6 @@ public class QPointArray implements QtSupport { public native boolean isNull(); public native boolean resize( int size); public native boolean truncate( int pos); - public native QPoint at(int index); + public native TQPoint at(int index); } diff --git a/qtjava/javalib/org/kde/qt/QPolygonScanner.java b/qtjava/javalib/org/kde/qt/QPolygonScanner.java index b901c781..26b047c6 100644 --- a/qtjava/javalib/org/kde/qt/QPolygonScanner.java +++ b/qtjava/javalib/org/kde/qt/QPolygonScanner.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPolygonScanner implements QtSupport { +public class TQPolygonScanner implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QPolygonScanner(Class dummy){} + 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(QPointArray pa, boolean winding, int index, int npoints); - public native void scan(QPointArray pa, boolean winding, int index); - public native void scan(QPointArray pa, boolean winding); - public native void scan(QPointArray pa, boolean winding, int index, int npoints, boolean stitchable); - public native void scan(QPointArray pa, boolean winding, int index, int npoints, int edges); - public native void processSpans(int n, QPoint point, int[] width); + 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 index a5d4149e..36b9df45 100644 --- a/qtjava/javalib/org/kde/qt/QPopupMenu.java +++ b/qtjava/javalib/org/kde/qt/QPopupMenu.java @@ -4,70 +4,70 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QPopupMenuSignals} for signals emitted by QPopupMenu + See {@link TQPopupMenuSignals} for signals emitted by TQPopupMenu */ -public class QPopupMenu extends QFrame implements QMenuDataInterface { - protected QPopupMenu(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQPopupMenu extends TQFrame implements TQMenuDataInterface { + protected TQPopupMenu(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QPopupMenu(QWidget parent, String name) { + public TQPopupMenu(TQWidget parent, String name) { super((Class) null); - newQPopupMenu(parent,name); + newTQPopupMenu(parent,name); } - private native void newQPopupMenu(QWidget parent, String name); - public QPopupMenu(QWidget parent) { + private native void newTQPopupMenu(TQWidget parent, String name); + public TQPopupMenu(TQWidget parent) { super((Class) null); - newQPopupMenu(parent); + newTQPopupMenu(parent); } - private native void newQPopupMenu(QWidget parent); - public QPopupMenu() { + private native void newTQPopupMenu(TQWidget parent); + public TQPopupMenu() { super((Class) null); - newQPopupMenu(); + newTQPopupMenu(); } - private native void newQPopupMenu(); - public native void popup(QPoint pos, int indexAtPoint); - public native void popup(QPoint pos); + 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(QFont arg1); + public native void setFont(TQFont arg1); public native void show(); public native void hide(); public native int exec(); - public native int exec(QPoint pos, int indexAtPoint); - public native int exec(QPoint pos); + public native int exec(TQPoint pos, int indexAtPoint); + public native int exec(TQPoint pos); public native void setActiveItem(int arg1); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native int idAt(int index); - public native int idAt(QPoint pos); + 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 QRect itemGeometry(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(QMenuItem mi); - protected native void drawItem(QPainter p, int tab, QMenuItem mi, boolean act, int x, int y, int w, int h); - protected native void drawContents(QPainter arg1); - protected native void closeEvent(QCloseEvent e); - protected native void paintEvent(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void timerEvent(QTimerEvent arg1); - protected native void leaveEvent(QEvent arg1); - public native void styleChange(QStyle 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(QPoint arg1, boolean ignoreSeparator); - protected native int itemAtPos(QPoint arg1); + 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() */ @@ -75,74 +75,74 @@ public class QPopupMenu extends QFrame implements QMenuDataInterface { /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); public native int count(); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(String text, QObject receiver, String member); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, String text, QObject receiver, String member); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QPixmap pixmap, QObject receiver, String member); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel); - public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member); + 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(QIconSet icon, String text, int id, int index); - public native int insertItem(QIconSet icon, String text, int id); - public native int insertItem(QIconSet icon, String text); - public native int insertItem(String text, QPopupMenu popup, int id, int index); - public native int insertItem(String text, QPopupMenu popup, int id); - public native int insertItem(String text, QPopupMenu popup); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, String text, QPopupMenu popup); - public native int insertItem(QPixmap pixmap, int id, int index); - public native int insertItem(QPixmap pixmap, int id); - public native int insertItem(QPixmap pixmap); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id); - public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup); - public native int insertItem(QWidget widget, int id, int index); - public native int insertItem(QWidget widget, int id); - public native int insertItem(QWidget widget); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index); - public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id); - public native int insertItem(QIconSet icon, QCustomMenuItem custom); - public native int insertItem(QCustomMenuItem custom, int id, int index); - public native int insertItem(QCustomMenuItem custom, int id); - public native int insertItem(QCustomMenuItem custom); + 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 QKeySequence accel(int id); - public native void setAccel(QKeySequence key, int id); - public native QIconSet iconSet(int id); + 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 QPixmap pixmap(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, QPixmap pixmap); - public native void changeItem(int id, QIconSet icon, String text); - public native void changeItem(int id, QIconSet icon, QPixmap pixmap); + 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(QPixmap pixmap, int id); - public native void changeItem(QIconSet icon, 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); @@ -152,16 +152,16 @@ public class QPopupMenu extends QFrame implements QMenuDataInterface { 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, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + 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 QMenuItem findItem(int id); - // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED - public native QMenuItem findPopup(QPopupMenu arg1, int[] index); - public native QMenuItem findPopup(QPopupMenu arg1); + 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(QPopupMenu arg1); - protected native void menuDelPopup(QPopupMenu arg1); + 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 index 43d1b69e..51f691de 100644 --- a/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java +++ b/qtjava/javalib/org/kde/qt/QPopupMenuSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QPopupMenuSignals { +public interface TQPopupMenuSignals { void activated(int itemId); void highlighted(int itemId); void activatedRedirect(int itemId); diff --git a/qtjava/javalib/org/kde/qt/QPrintDialog.java b/qtjava/javalib/org/kde/qt/QPrintDialog.java index 6da80c7f..3499791e 100644 --- a/qtjava/javalib/org/kde/qt/QPrintDialog.java +++ b/qtjava/javalib/org/kde/qt/QPrintDialog.java @@ -3,34 +3,34 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPrintDialog extends QDialog { - protected QPrintDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQPrintDialog extends TQDialog { + protected TQPrintDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QPrintDialog(QPrinter arg1, QWidget parent, String name) { + public TQPrintDialog(TQPrinter arg1, TQWidget parent, String name) { super((Class) null); - newQPrintDialog(arg1,parent,name); + newTQPrintDialog(arg1,parent,name); } - private native void newQPrintDialog(QPrinter arg1, QWidget parent, String name); - public QPrintDialog(QPrinter arg1, QWidget parent) { + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent, String name); + public TQPrintDialog(TQPrinter arg1, TQWidget parent) { super((Class) null); - newQPrintDialog(arg1,parent); + newTQPrintDialog(arg1,parent); } - private native void newQPrintDialog(QPrinter arg1, QWidget parent); - public QPrintDialog(QPrinter arg1) { + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent); + public TQPrintDialog(TQPrinter arg1) { super((Class) null); - newQPrintDialog(arg1); + newTQPrintDialog(arg1); } - private native void newQPrintDialog(QPrinter arg1); - public native void setPrinter(QPrinter arg1, boolean arg2); - public native void setPrinter(QPrinter arg1); - public native QPrinter printer(); - public native void addButton(QPushButton but); + 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(QPrinter arg1, QWidget arg2); - public static native boolean getPrinterSetup(QPrinter arg1); - public static native void setGlobalPrintDialog(QPrintDialog 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() */ diff --git a/qtjava/javalib/org/kde/qt/QPrinter.java b/qtjava/javalib/org/kde/qt/QPrinter.java index 244d6456..369e9e12 100644 --- a/qtjava/javalib/org/kde/qt/QPrinter.java +++ b/qtjava/javalib/org/kde/qt/QPrinter.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPrinter extends QPaintDevice { - protected QPrinter(Class dummy){super((Class) null);} +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; @@ -74,16 +74,16 @@ public class QPrinter extends QPaintDevice { public static final int PrintSelection = 1; public static final int PrintPageRange = 2; - public QPrinter(int mode) { + public TQPrinter(int mode) { super((Class) null); - newQPrinter(mode); + newTQPrinter(mode); } - private native void newQPrinter(int mode); - public QPrinter() { + private native void newTQPrinter(int mode); + public TQPrinter() { super((Class) null); - newQPrinter(); + newTQPrinter(); } - private native void newQPrinter(); + private native void newTQPrinter(); public native String printerName(); public native void setPrinterName(String arg1); public native boolean outputToFile(); @@ -110,7 +110,7 @@ public class QPrinter extends QPaintDevice { public native int colorMode(); public native void setFullPage(boolean arg1); public native boolean fullPage(); - public native QSize margins(); + 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(); @@ -130,13 +130,13 @@ public class QPrinter extends QPaintDevice { public native boolean newPage(); public native boolean abort(); public native boolean aborted(); - public native boolean setup(QWidget parent); + 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,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED + // 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; diff --git a/qtjava/javalib/org/kde/qt/QProcess.java b/qtjava/javalib/org/kde/qt/QProcess.java index c116696b..733d8dca 100644 --- a/qtjava/javalib/org/kde/qt/QProcess.java +++ b/qtjava/javalib/org/kde/qt/QProcess.java @@ -5,68 +5,68 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QProcessSignals} for signals emitted by QProcess + See {@link TQProcessSignals} for signals emitted by TQProcess */ -public class QProcess extends QObject { - protected QProcess(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QProcess(QObject parent, String name) { + public TQProcess(TQObject parent, String name) { super((Class) null); - newQProcess(parent,name); + newTQProcess(parent,name); } - private native void newQProcess(QObject parent, String name); - public QProcess(QObject parent) { + private native void newTQProcess(TQObject parent, String name); + public TQProcess(TQObject parent) { super((Class) null); - newQProcess(parent); + newTQProcess(parent); } - private native void newQProcess(QObject parent); - public QProcess() { + private native void newTQProcess(TQObject parent); + public TQProcess() { super((Class) null); - newQProcess(); + newTQProcess(); } - private native void newQProcess(); - public QProcess(String arg0, QObject parent, String name) { + private native void newTQProcess(); + public TQProcess(String arg0, TQObject parent, String name) { super((Class) null); - newQProcess(arg0,parent,name); + newTQProcess(arg0,parent,name); } - private native void newQProcess(String arg0, QObject parent, String name); - public QProcess(String arg0, QObject parent) { + private native void newTQProcess(String arg0, TQObject parent, String name); + public TQProcess(String arg0, TQObject parent) { super((Class) null); - newQProcess(arg0,parent); + newTQProcess(arg0,parent); } - private native void newQProcess(String arg0, QObject parent); - public QProcess(String arg0) { + private native void newTQProcess(String arg0, TQObject parent); + public TQProcess(String arg0) { super((Class) null); - newQProcess(arg0); + newTQProcess(arg0); } - private native void newQProcess(String arg0); - public QProcess(String[] args, QObject parent, String name) { + private native void newTQProcess(String arg0); + public TQProcess(String[] args, TQObject parent, String name) { super((Class) null); - newQProcess(args,parent,name); + newTQProcess(args,parent,name); } - private native void newQProcess(String[] args, QObject parent, String name); - public QProcess(String[] args, QObject parent) { + private native void newTQProcess(String[] args, TQObject parent, String name); + public TQProcess(String[] args, TQObject parent) { super((Class) null); - newQProcess(args,parent); + newTQProcess(args,parent); } - private native void newQProcess(String[] args, QObject parent); - public QProcess(String[] args) { + private native void newTQProcess(String[] args, TQObject parent); + public TQProcess(String[] args) { super((Class) null); - newQProcess(args); + newTQProcess(args); } - private native void newQProcess(String[] 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 QDir workingDirectory(); - public native void setWorkingDirectory(QDir dir); + 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); diff --git a/qtjava/javalib/org/kde/qt/QProcessSignals.java b/qtjava/javalib/org/kde/qt/QProcessSignals.java index 1bb52bdf..5116864d 100644 --- a/qtjava/javalib/org/kde/qt/QProcessSignals.java +++ b/qtjava/javalib/org/kde/qt/QProcessSignals.java @@ -3,7 +3,7 @@ package org.kde.qt; import java.util.ArrayList; -public interface QProcessSignals { +public interface TQProcessSignals { void readyReadStdout(); void readyReadStderr(); void processExited(); diff --git a/qtjava/javalib/org/kde/qt/QProgressBar.java b/qtjava/javalib/org/kde/qt/QProgressBar.java index ccce5ff1..82cc1325 100644 --- a/qtjava/javalib/org/kde/qt/QProgressBar.java +++ b/qtjava/javalib/org/kde/qt/QProgressBar.java @@ -3,55 +3,55 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QProgressBar extends QFrame { - protected QProgressBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQProgressBar extends TQFrame { + protected TQProgressBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QProgressBar(QWidget parent, String name, int f) { + public TQProgressBar(TQWidget parent, String name, int f) { super((Class) null); - newQProgressBar(parent,name,f); + newTQProgressBar(parent,name,f); } - private native void newQProgressBar(QWidget parent, String name, int f); - public QProgressBar(QWidget parent, String name) { + private native void newTQProgressBar(TQWidget parent, String name, int f); + public TQProgressBar(TQWidget parent, String name) { super((Class) null); - newQProgressBar(parent,name); + newTQProgressBar(parent,name); } - private native void newQProgressBar(QWidget parent, String name); - public QProgressBar(QWidget parent) { + private native void newTQProgressBar(TQWidget parent, String name); + public TQProgressBar(TQWidget parent) { super((Class) null); - newQProgressBar(parent); + newTQProgressBar(parent); } - private native void newQProgressBar(QWidget parent); - public QProgressBar() { + private native void newTQProgressBar(TQWidget parent); + public TQProgressBar() { super((Class) null); - newQProgressBar(); + newTQProgressBar(); } - private native void newQProgressBar(); - public QProgressBar(int totalSteps, QWidget parent, String name, int f) { + private native void newTQProgressBar(); + public TQProgressBar(int totalSteps, TQWidget parent, String name, int f) { super((Class) null); - newQProgressBar(totalSteps,parent,name,f); + newTQProgressBar(totalSteps,parent,name,f); } - private native void newQProgressBar(int totalSteps, QWidget parent, String name, int f); - public QProgressBar(int totalSteps, QWidget parent, String name) { + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name, int f); + public TQProgressBar(int totalSteps, TQWidget parent, String name) { super((Class) null); - newQProgressBar(totalSteps,parent,name); + newTQProgressBar(totalSteps,parent,name); } - private native void newQProgressBar(int totalSteps, QWidget parent, String name); - public QProgressBar(int totalSteps, QWidget parent) { + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name); + public TQProgressBar(int totalSteps, TQWidget parent) { super((Class) null); - newQProgressBar(totalSteps,parent); + newTQProgressBar(totalSteps,parent); } - private native void newQProgressBar(int totalSteps, QWidget parent); - public QProgressBar(int totalSteps) { + private native void newTQProgressBar(int totalSteps, TQWidget parent); + public TQProgressBar(int totalSteps) { super((Class) null); - newQProgressBar(totalSteps); + newTQProgressBar(totalSteps); } - private native void newQProgressBar(int totalSteps); + private native void newTQProgressBar(int totalSteps); public native int totalSteps(); public native int progress(); public native String progressString(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native void setCenterIndicator(boolean on); public native boolean centerIndicator(); public native void setIndicatorFollowsStyle(boolean arg1); @@ -65,9 +65,9 @@ public class QProgressBar extends QFrame { 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(QPainter arg1); + protected native void drawContents(TQPainter arg1); protected native boolean setIndicator(StringBuffer progress_str, int progress, int totalSteps); - public native void styleChange(QStyle arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QProgressDialog.java b/qtjava/javalib/org/kde/qt/QProgressDialog.java index 0bfb0e84..7ed0ab0f 100644 --- a/qtjava/javalib/org/kde/qt/QProgressDialog.java +++ b/qtjava/javalib/org/kde/qt/QProgressDialog.java @@ -4,70 +4,70 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QProgressDialogSignals} for signals emitted by QProgressDialog + See {@link TQProgressDialogSignals} for signals emitted by TQProgressDialog */ -public class QProgressDialog extends QDialog { - protected QProgressDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQProgressDialog extends TQDialog { + protected TQProgressDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QProgressDialog(QWidget parent, String name, boolean modal, int f) { + public TQProgressDialog(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQProgressDialog(parent,name,modal,f); + newTQProgressDialog(parent,name,modal,f); } - private native void newQProgressDialog(QWidget parent, String name, boolean modal, int f); - public QProgressDialog(QWidget parent, String name, boolean modal) { + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal, int f); + public TQProgressDialog(TQWidget parent, String name, boolean modal) { super((Class) null); - newQProgressDialog(parent,name,modal); + newTQProgressDialog(parent,name,modal); } - private native void newQProgressDialog(QWidget parent, String name, boolean modal); - public QProgressDialog(QWidget parent, String name) { + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal); + public TQProgressDialog(TQWidget parent, String name) { super((Class) null); - newQProgressDialog(parent,name); + newTQProgressDialog(parent,name); } - private native void newQProgressDialog(QWidget parent, String name); - public QProgressDialog(QWidget parent) { + private native void newTQProgressDialog(TQWidget parent, String name); + public TQProgressDialog(TQWidget parent) { super((Class) null); - newQProgressDialog(parent); + newTQProgressDialog(parent); } - private native void newQProgressDialog(QWidget parent); - public QProgressDialog() { + private native void newTQProgressDialog(TQWidget parent); + public TQProgressDialog() { super((Class) null); - newQProgressDialog(); + newTQProgressDialog(); } - private native void newQProgressDialog(); - public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal, int f) { + private native void newTQProgressDialog(); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f); } - private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal, int f); - public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal) { + 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); - newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal); } - private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name, boolean modal); - public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name) { + 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); - newQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name); } - private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent, String name); - public QProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent) { + 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); - newQProgressDialog(labelText,cancelButtonText,totalSteps,parent); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent); } - private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps, QWidget parent); - public QProgressDialog(String labelText, String cancelButtonText, int totalSteps) { + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps) { super((Class) null); - newQProgressDialog(labelText,cancelButtonText,totalSteps); + newTQProgressDialog(labelText,cancelButtonText,totalSteps); } - private native void newQProgressDialog(String labelText, String cancelButtonText, int totalSteps); - public native void setLabel(QLabel arg1); - public native void setCancelButton(QPushButton arg1); - public native void setBar(QProgressBar arg1); + 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 QSize sizeHint(); + public native TQSize sizeHint(); public native String labelText(); public native void setAutoReset(boolean b); public native boolean autoReset(); @@ -84,10 +84,10 @@ public class QProgressDialog extends QDialog { 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(QResizeEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - public native void styleChange(QStyle arg1); - public native void showEvent(QShowEvent e); + 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; diff --git a/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java b/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java index 9175fb67..848f3bcb 100644 --- a/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java +++ b/qtjava/javalib/org/kde/qt/QProgressDialogSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QProgressDialogSignals { +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 index 4171f90d..a9844e7f 100644 --- a/qtjava/javalib/org/kde/qt/QPushButton.java +++ b/qtjava/javalib/org/kde/qt/QPushButton.java @@ -3,47 +3,47 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPushButton extends QButton { - protected QPushButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQPushButton extends TQButton { + protected TQPushButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QPushButton(QWidget parent, String name) { + public TQPushButton(TQWidget parent, String name) { super((Class) null); - newQPushButton(parent,name); + newTQPushButton(parent,name); } - private native void newQPushButton(QWidget parent, String name); - public QPushButton(QWidget parent) { + private native void newTQPushButton(TQWidget parent, String name); + public TQPushButton(TQWidget parent) { super((Class) null); - newQPushButton(parent); + newTQPushButton(parent); } - private native void newQPushButton(QWidget parent); - public QPushButton(String text, QWidget parent, String name) { + private native void newTQPushButton(TQWidget parent); + public TQPushButton(String text, TQWidget parent, String name) { super((Class) null); - newQPushButton(text,parent,name); + newTQPushButton(text,parent,name); } - private native void newQPushButton(String text, QWidget parent, String name); - public QPushButton(String text, QWidget parent) { + private native void newTQPushButton(String text, TQWidget parent, String name); + public TQPushButton(String text, TQWidget parent) { super((Class) null); - newQPushButton(text,parent); + newTQPushButton(text,parent); } - private native void newQPushButton(String text, QWidget parent); - public QPushButton(QIconSet icon, String text, QWidget parent, String name) { + private native void newTQPushButton(String text, TQWidget parent); + public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) { super((Class) null); - newQPushButton(icon,text,parent,name); + newTQPushButton(icon,text,parent,name); } - private native void newQPushButton(QIconSet icon, String text, QWidget parent, String name); - public QPushButton(QIconSet icon, String text, QWidget parent) { + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name); + public TQPushButton(TQIconSet icon, String text, TQWidget parent) { super((Class) null); - newQPushButton(icon,text,parent); + newTQPushButton(icon,text,parent); } - private native void newQPushButton(QIconSet icon, String text, QWidget parent); - public native QSize sizeHint(); + 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(QPoint p); + public native void move(TQPoint p); public native void resize(int w, int h); - public native void resize(QSize arg1); + public native void resize(TQSize arg1); public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(QRect arg1); + public native void setGeometry(TQRect arg1); public native void setToggleButton(boolean arg1); public native boolean autoDefault(); public native void setAutoDefault(boolean autoDef); @@ -51,20 +51,20 @@ public class QPushButton extends QButton { public native void setDefault(boolean def); public native void setIsMenuButton(boolean enable); public native boolean isMenuButton(); - public native void setPopup(QPopupMenu popup); - public native QPopupMenu popup(); - public native void setIconSet(QIconSet arg1); - public native QIconSet iconSet(); + 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(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void resizeEvent(QResizeEvent 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; diff --git a/qtjava/javalib/org/kde/qt/QRadioButton.java b/qtjava/javalib/org/kde/qt/QRadioButton.java index 56822b17..62c2b03a 100644 --- a/qtjava/javalib/org/kde/qt/QRadioButton.java +++ b/qtjava/javalib/org/kde/qt/QRadioButton.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QRadioButton extends QButton { - protected QRadioButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQRadioButton extends TQButton { + protected TQRadioButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QRadioButton(QWidget parent, String name) { + public TQRadioButton(TQWidget parent, String name) { super((Class) null); - newQRadioButton(parent,name); + newTQRadioButton(parent,name); } - private native void newQRadioButton(QWidget parent, String name); - public QRadioButton(QWidget parent) { + private native void newTQRadioButton(TQWidget parent, String name); + public TQRadioButton(TQWidget parent) { super((Class) null); - newQRadioButton(parent); + newTQRadioButton(parent); } - private native void newQRadioButton(QWidget parent); - public QRadioButton(String text, QWidget parent, String name) { + private native void newTQRadioButton(TQWidget parent); + public TQRadioButton(String text, TQWidget parent, String name) { super((Class) null); - newQRadioButton(text,parent,name); + newTQRadioButton(text,parent,name); } - private native void newQRadioButton(String text, QWidget parent, String name); - public QRadioButton(String text, QWidget parent) { + private native void newTQRadioButton(String text, TQWidget parent, String name); + public TQRadioButton(String text, TQWidget parent) { super((Class) null); - newQRadioButton(text,parent); + newTQRadioButton(text,parent); } - private native void newQRadioButton(String text, QWidget parent); + private native void newTQRadioButton(String text, TQWidget parent); public native boolean isChecked(); - public native QSize sizeHint(); + 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(QPoint arg1); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter 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(QResizeEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QRangeControl.java b/qtjava/javalib/org/kde/qt/QRangeControl.java index 0912688c..ea0429d0 100644 --- a/qtjava/javalib/org/kde/qt/QRangeControl.java +++ b/qtjava/javalib/org/kde/qt/QRangeControl.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QRangeControl implements QtSupport, QRangeControlInterface { +public class TQRangeControl implements QtSupport, TQRangeControlInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QRangeControl(Class dummy){} + protected TQRangeControl(Class dummy){} - public QRangeControl() { - newQRangeControl(); + public TQRangeControl() { + newTQRangeControl(); } - private native void newQRangeControl(); - public QRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) { - newQRangeControl(minValue,maxValue,lineStep,pageStep,value); + 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 newQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int 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(); diff --git a/qtjava/javalib/org/kde/qt/QRangeControlInterface.java b/qtjava/javalib/org/kde/qt/QRangeControlInterface.java index 7088fd8e..134b61d7 100644 --- a/qtjava/javalib/org/kde/qt/QRangeControlInterface.java +++ b/qtjava/javalib/org/kde/qt/QRangeControlInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QRangeControlInterface { +public interface TQRangeControlInterface { int value(); void setValue(int arg1); void addPage(); diff --git a/qtjava/javalib/org/kde/qt/QRect.java b/qtjava/javalib/org/kde/qt/QRect.java index cac71544..1db02d29 100644 --- a/qtjava/javalib/org/kde/qt/QRect.java +++ b/qtjava/javalib/org/kde/qt/QRect.java @@ -3,31 +3,31 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QRect implements QtSupport { +public class TQRect implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QRect(Class dummy){} + protected TQRect(Class dummy){} - public QRect() { - newQRect(); + public TQRect() { + newTQRect(); } - private native void newQRect(); - public QRect(QPoint topleft, QPoint bottomright) { - newQRect(topleft,bottomright); + private native void newTQRect(); + public TQRect(TQPoint topleft, TQPoint bottomright) { + newTQRect(topleft,bottomright); } - private native void newQRect(QPoint topleft, QPoint bottomright); - public QRect(QPoint topleft, QSize size) { - newQRect(topleft,size); + private native void newTQRect(TQPoint topleft, TQPoint bottomright); + public TQRect(TQPoint topleft, TQSize size) { + newTQRect(topleft,size); } - private native void newQRect(QPoint topleft, QSize size); - public QRect(int left, int top, int width, int height) { - newQRect(left,top,width,height); + 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 newQRect(int left, int top, int width, int 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 QRect normalize(); + public native TQRect normalize(); public native int left(); public native int top(); public native int right(); @@ -44,49 +44,49 @@ public class QRect implements QtSupport { public native void setBottom(int pos); public native void setX(int x); public native void setY(int y); - public native void setTopLeft(QPoint p); - public native void setBottomRight(QPoint p); - public native void setTopRight(QPoint p); - public native void setBottomLeft(QPoint p); - public native QPoint topLeft(); - public native QPoint bottomRight(); - public native QPoint topRight(); - public native QPoint bottomLeft(); - public native QPoint center(); + 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(QPoint p); - public native void moveBottomRight(QPoint p); - public native void moveTopRight(QPoint p); - public native void moveBottomLeft(QPoint p); - public native void moveCenter(QPoint p); + 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 QSize size(); + 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(QSize s); - public native QRect op_or(QRect r); - public native QRect op_and(QRect r); - public native QRect op_or_assign(QRect r); - public native QRect op_and_assign(QRect r); - public native boolean contains(QPoint p, boolean proper); - public native boolean contains(QPoint p); + 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(QRect r, boolean proper); - public native boolean contains(QRect r); - public native QRect unite(QRect r); - public native QRect intersect(QRect r); - public native boolean intersects(QRect r); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QRegExp.java b/qtjava/javalib/org/kde/qt/QRegExp.java index b048dcfd..c12bc3d7 100644 --- a/qtjava/javalib/org/kde/qt/QRegExp.java +++ b/qtjava/javalib/org/kde/qt/QRegExp.java @@ -4,37 +4,37 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QRegExp implements QtSupport { +public class TQRegExp implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QRegExp(Class dummy){} + protected TQRegExp(Class dummy){} public static final int CaretAtZero = 0; public static final int CaretAtOffset = 1; public static final int CaretWontMatch = 2; - public QRegExp() { - newQRegExp(); + public TQRegExp() { + newTQRegExp(); } - private native void newQRegExp(); - public QRegExp(String pattern, boolean caseSensitive, boolean wildcard) { - newQRegExp(pattern,caseSensitive,wildcard); + private native void newTQRegExp(); + public TQRegExp(String pattern, boolean caseSensitive, boolean wildcard) { + newTQRegExp(pattern,caseSensitive,wildcard); } - private native void newQRegExp(String pattern, boolean caseSensitive, boolean wildcard); - public QRegExp(String pattern, boolean caseSensitive) { - newQRegExp(pattern,caseSensitive); + private native void newTQRegExp(String pattern, boolean caseSensitive, boolean wildcard); + public TQRegExp(String pattern, boolean caseSensitive) { + newTQRegExp(pattern,caseSensitive); } - private native void newQRegExp(String pattern, boolean caseSensitive); - public QRegExp(String pattern) { - newQRegExp(pattern); + private native void newTQRegExp(String pattern, boolean caseSensitive); + public TQRegExp(String pattern) { + newTQRegExp(pattern); } - private native void newQRegExp(String pattern); - public QRegExp(QRegExp rx) { - newQRegExp(rx); + private native void newTQRegExp(String pattern); + public TQRegExp(TQRegExp rx) { + newTQRegExp(rx); } - private native void newQRegExp(QRegExp rx); - public native boolean op_equals(QRegExp rx); - public native boolean op_not_equals(QRegExp 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(); diff --git a/qtjava/javalib/org/kde/qt/QRegExpValidator.java b/qtjava/javalib/org/kde/qt/QRegExpValidator.java index 20ede895..aebbd7b3 100644 --- a/qtjava/javalib/org/kde/qt/QRegExpValidator.java +++ b/qtjava/javalib/org/kde/qt/QRegExpValidator.java @@ -3,33 +3,33 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QRegExpValidator extends QValidator { - protected QRegExpValidator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQRegExpValidator extends TQValidator { + protected TQRegExpValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QRegExpValidator(QObject parent, String name) { + public TQRegExpValidator(TQObject parent, String name) { super((Class) null); - newQRegExpValidator(parent,name); + newTQRegExpValidator(parent,name); } - private native void newQRegExpValidator(QObject parent, String name); - public QRegExpValidator(QObject parent) { + private native void newTQRegExpValidator(TQObject parent, String name); + public TQRegExpValidator(TQObject parent) { super((Class) null); - newQRegExpValidator(parent); + newTQRegExpValidator(parent); } - private native void newQRegExpValidator(QObject parent); - public QRegExpValidator(QRegExp rx, QObject parent, String name) { + private native void newTQRegExpValidator(TQObject parent); + public TQRegExpValidator(TQRegExp rx, TQObject parent, String name) { super((Class) null); - newQRegExpValidator(rx,parent,name); + newTQRegExpValidator(rx,parent,name); } - private native void newQRegExpValidator(QRegExp rx, QObject parent, String name); - public QRegExpValidator(QRegExp rx, QObject parent) { + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent, String name); + public TQRegExpValidator(TQRegExp rx, TQObject parent) { super((Class) null); - newQRegExpValidator(rx,parent); + newTQRegExpValidator(rx,parent); } - private native void newQRegExpValidator(QRegExp rx, QObject parent); + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent); public native int validate(StringBuffer input, int[] pos); - public native void setRegExp(QRegExp rx); - public native QRegExp regExp(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QRegion.java b/qtjava/javalib/org/kde/qt/QRegion.java index 85ff09e7..2e9acd5d 100644 --- a/qtjava/javalib/org/kde/qt/QRegion.java +++ b/qtjava/javalib/org/kde/qt/QRegion.java @@ -4,74 +4,74 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QRegion implements QtSupport { +public class TQRegion implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QRegion(Class dummy){} + protected TQRegion(Class dummy){} public static final int Rectangle = 0; public static final int Ellipse = 1; - public QRegion() { - newQRegion(); + public TQRegion() { + newTQRegion(); } - private native void newQRegion(); - public QRegion(int x, int y, int w, int h, int arg5) { - newQRegion(x,y,w,h,arg5); + 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 newQRegion(int x, int y, int w, int h, int arg5); - public QRegion(int x, int y, int w, int h) { - newQRegion(x,y,w,h); + 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 newQRegion(int x, int y, int w, int h); - public QRegion(QRect arg1, int arg2) { - newQRegion(arg1,arg2); + private native void newTQRegion(int x, int y, int w, int h); + public TQRegion(TQRect arg1, int arg2) { + newTQRegion(arg1,arg2); } - private native void newQRegion(QRect arg1, int arg2); - public QRegion(QRect arg1) { - newQRegion(arg1); + private native void newTQRegion(TQRect arg1, int arg2); + public TQRegion(TQRect arg1) { + newTQRegion(arg1); } - private native void newQRegion(QRect arg1); - public QRegion(QPointArray arg1, boolean winding) { - newQRegion(arg1,winding); + private native void newTQRegion(TQRect arg1); + public TQRegion(TQPointArray arg1, boolean winding) { + newTQRegion(arg1,winding); } - private native void newQRegion(QPointArray arg1, boolean winding); - public QRegion(QPointArray arg1) { - newQRegion(arg1); + private native void newTQRegion(TQPointArray arg1, boolean winding); + public TQRegion(TQPointArray arg1) { + newTQRegion(arg1); } - private native void newQRegion(QPointArray arg1); - public QRegion(QRegion arg1) { - newQRegion(arg1); + private native void newTQRegion(TQPointArray arg1); + public TQRegion(TQRegion arg1) { + newTQRegion(arg1); } - private native void newQRegion(QRegion arg1); - public QRegion(QBitmap arg1) { - newQRegion(arg1); + private native void newTQRegion(TQRegion arg1); + public TQRegion(TQBitmap arg1) { + newTQRegion(arg1); } - private native void newQRegion(QBitmap arg1); + private native void newTQRegion(TQBitmap arg1); public native boolean isNull(); public native boolean isEmpty(); - public native boolean contains(QPoint p); - public native boolean contains(QRect r); + public native boolean contains(TQPoint p); + public native boolean contains(TQRect r); public native void translate(int dx, int dy); - public native QRegion unite(QRegion arg1); - public native QRegion intersect(QRegion arg1); - public native QRegion subtract(QRegion arg1); - public native QRegion eor(QRegion arg1); - public native QRect boundingRect(); + 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(QRect arg1, int arg2); - public native QRegion op_or(QRegion arg1); - public native QRegion op_plus(QRegion arg1); - public native QRegion op_and(QRegion arg1); - public native QRegion op_minus(QRegion arg1); - public native QRegion op_xor(QRegion arg1); - public native QRegion op_or_assign(QRegion arg1); - public native QRegion op_plus_assign(QRegion arg1); - public native QRegion op_and_assign(QRegion arg1); - public native QRegion op_minus_assign(QRegion arg1); - public native QRegion op_xor_assign(QRegion arg1); - public native boolean op_equals(QRegion arg1); - public native boolean op_not_equals(QRegion r); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QResizeEvent.java b/qtjava/javalib/org/kde/qt/QResizeEvent.java index 3f975aa4..ea0d68d8 100644 --- a/qtjava/javalib/org/kde/qt/QResizeEvent.java +++ b/qtjava/javalib/org/kde/qt/QResizeEvent.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QResizeEvent extends QEvent { - protected QResizeEvent(Class dummy){super((Class) null);} - public QResizeEvent(QSize size, QSize oldSize) { +public class TQResizeEvent extends TQEvent { + protected TQResizeEvent(Class dummy){super((Class) null);} + public TQResizeEvent(TQSize size, TQSize oldSize) { super((Class) null); - newQResizeEvent(size,oldSize); + newTQResizeEvent(size,oldSize); } - private native void newQResizeEvent(QSize size, QSize oldSize); - public native QSize size(); - public native QSize 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() */ diff --git a/qtjava/javalib/org/kde/qt/QScrollBar.java b/qtjava/javalib/org/kde/qt/QScrollBar.java index 8fe5348a..b9d57162 100644 --- a/qtjava/javalib/org/kde/qt/QScrollBar.java +++ b/qtjava/javalib/org/kde/qt/QScrollBar.java @@ -4,50 +4,50 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QScrollBarSignals} for signals emitted by QScrollBar + See {@link TQScrollBarSignals} for signals emitted by TQScrollBar */ -public class QScrollBar extends QWidget implements QRangeControlInterface { - protected QScrollBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQScrollBar extends TQWidget implements TQRangeControlInterface { + protected TQScrollBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QScrollBar(QWidget parent, String name) { + public TQScrollBar(TQWidget parent, String name) { super((Class) null); - newQScrollBar(parent,name); + newTQScrollBar(parent,name); } - private native void newQScrollBar(QWidget parent, String name); - public QScrollBar(QWidget parent) { + private native void newTQScrollBar(TQWidget parent, String name); + public TQScrollBar(TQWidget parent) { super((Class) null); - newQScrollBar(parent); + newTQScrollBar(parent); } - private native void newQScrollBar(QWidget parent); - public QScrollBar(int arg1, QWidget parent, String name) { + private native void newTQScrollBar(TQWidget parent); + public TQScrollBar(int arg1, TQWidget parent, String name) { super((Class) null); - newQScrollBar(arg1,parent,name); + newTQScrollBar(arg1,parent,name); } - private native void newQScrollBar(int arg1, QWidget parent, String name); - public QScrollBar(int arg1, QWidget parent) { + private native void newTQScrollBar(int arg1, TQWidget parent, String name); + public TQScrollBar(int arg1, TQWidget parent) { super((Class) null); - newQScrollBar(arg1,parent); + newTQScrollBar(arg1,parent); } - private native void newQScrollBar(int arg1, QWidget parent); - public QScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent, String name) { + 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); - newQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name); } - private native void newQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent, String name); - public QScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget parent) { + 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); - newQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent); } - private native void newQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, QWidget 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(QPalette arg1); - public native QSize sizeHint(); - public native void setSizePolicy(QSizePolicy sp); + 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(); @@ -60,23 +60,23 @@ public class QScrollBar extends QWidget implements QRangeControlInterface { public native void setPageStep(int arg1); public native int value(); public native int sliderStart(); - public native QRect sliderRect(); + 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(QWheelEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - protected native void hideEvent(QHideEvent 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(QStyle arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QScrollBarSignals.java b/qtjava/javalib/org/kde/qt/QScrollBarSignals.java index bbfe4874..9c0590e9 100644 --- a/qtjava/javalib/org/kde/qt/QScrollBarSignals.java +++ b/qtjava/javalib/org/kde/qt/QScrollBarSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QScrollBarSignals { +public interface TQScrollBarSignals { void valueChanged(int value); void sliderPressed(); void sliderMoved(int value); diff --git a/qtjava/javalib/org/kde/qt/QScrollView.java b/qtjava/javalib/org/kde/qt/QScrollView.java index 187c8ecd..6df025a3 100644 --- a/qtjava/javalib/org/kde/qt/QScrollView.java +++ b/qtjava/javalib/org/kde/qt/QScrollView.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QScrollViewSignals} for signals emitted by QScrollView + See {@link TQScrollViewSignals} for signals emitted by TQScrollView */ -public class QScrollView extends QFrame { - protected QScrollView(Class dummy){super((Class) null);} +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; @@ -17,51 +17,51 @@ public class QScrollView extends QFrame { public static final int AlwaysOff = 1; public static final int AlwaysOn = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QScrollView(QWidget parent, String name, int f) { + public TQScrollView(TQWidget parent, String name, int f) { super((Class) null); - newQScrollView(parent,name,f); + newTQScrollView(parent,name,f); } - private native void newQScrollView(QWidget parent, String name, int f); - public QScrollView(QWidget parent, String name) { + private native void newTQScrollView(TQWidget parent, String name, int f); + public TQScrollView(TQWidget parent, String name) { super((Class) null); - newQScrollView(parent,name); + newTQScrollView(parent,name); } - private native void newQScrollView(QWidget parent, String name); - public QScrollView(QWidget parent) { + private native void newTQScrollView(TQWidget parent, String name); + public TQScrollView(TQWidget parent) { super((Class) null); - newQScrollView(parent); + newTQScrollView(parent); } - private native void newQScrollView(QWidget parent); - public QScrollView() { + private native void newTQScrollView(TQWidget parent); + public TQScrollView() { super((Class) null); - newQScrollView(); + newTQScrollView(); } - private native void newQScrollView(); + private native void newTQScrollView(); public native void setResizePolicy(int arg1); public native int resizePolicy(); - public native void styleChange(QStyle arg1); - public native void removeChild(QWidget child); - public native void addChild(QWidget child, int x, int y); - public native void addChild(QWidget child, int x); - public native void addChild(QWidget child); - public native void moveChild(QWidget child, int x, int y); - public native int childX(QWidget child); - public native int childY(QWidget child); - public native boolean childIsVisible(QWidget child); - public native void showChild(QWidget child, boolean yes); - public native void showChild(QWidget child); + 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 QWidget cornerWidget(); - public native void setCornerWidget(QWidget arg1); - public native QScrollBar horizontalScrollBar(); - public native QScrollBar verticalScrollBar(); - public native QWidget viewport(); - public native QWidget clipper(); + 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(); @@ -69,28 +69,28 @@ public class QScrollView extends QFrame { public native int contentsX(); public native int contentsY(); public native void resize(int w, int h); - public native void resize(QSize arg1); + 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(QRect r); + 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(QRect r, boolean erase); - public native void repaintContents(QRect r); + 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 QPoint contentsToViewport(QPoint arg1); - public native QPoint viewportToContents(QPoint arg1); + 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 QSize viewportSize(int arg1, int arg2); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native void removeChild(QObject child); + 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); @@ -107,30 +107,30 @@ public class QScrollView extends QFrame { 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(QPainter arg1, int cx, int cy, int cw, int ch); - protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(QMouseEvent arg1); - protected native void contentsMouseReleaseEvent(QMouseEvent arg1); - protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1); - protected native void contentsMouseMoveEvent(QMouseEvent arg1); - protected native void contentsDragEnterEvent(QDragEnterEvent arg1); - protected native void contentsDragMoveEvent(QDragMoveEvent arg1); - protected native void contentsDragLeaveEvent(QDragLeaveEvent arg1); - protected native void contentsDropEvent(QDropEvent arg1); - protected native void contentsWheelEvent(QWheelEvent arg1); - protected native void contentsContextMenuEvent(QContextMenuEvent arg1); - protected native void viewportPaintEvent(QPaintEvent arg1); - protected native void viewportResizeEvent(QResizeEvent arg1); - protected native void viewportMousePressEvent(QMouseEvent arg1); - protected native void viewportMouseReleaseEvent(QMouseEvent arg1); - protected native void viewportMouseDoubleClickEvent(QMouseEvent arg1); - protected native void viewportMouseMoveEvent(QMouseEvent arg1); - protected native void viewportDragEnterEvent(QDragEnterEvent arg1); - protected native void viewportDragMoveEvent(QDragMoveEvent arg1); - protected native void viewportDragLeaveEvent(QDragLeaveEvent arg1); - protected native void viewportDropEvent(QDropEvent arg1); - protected native void viewportWheelEvent(QWheelEvent arg1); - protected native void viewportContextMenuEvent(QContextMenuEvent 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(); @@ -138,19 +138,19 @@ public class QScrollView extends QFrame { protected native int rightMargin(); protected native int bottomMargin(); protected native boolean focusNextPrevChild(boolean next); - protected native void setHBarGeometry(QScrollBar hbar, int x, int y, int w, int h); - protected native void setVBarGeometry(QScrollBar vbar, int x, int y, int w, int h); - protected native void resizeEvent(QResizeEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent e); - protected native void setCachedSizeHint(QSize sh); - protected native QSize cachedSizeHint(); - protected native void fontChange(QFont arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QScrollViewSignals.java b/qtjava/javalib/org/kde/qt/QScrollViewSignals.java index a112168f..b2d47400 100644 --- a/qtjava/javalib/org/kde/qt/QScrollViewSignals.java +++ b/qtjava/javalib/org/kde/qt/QScrollViewSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QScrollViewSignals { +public interface TQScrollViewSignals { void contentsMoving(int x, int y); void horizontalSliderPressed(); void horizontalSliderReleased(); diff --git a/qtjava/javalib/org/kde/qt/QSemiModal.java b/qtjava/javalib/org/kde/qt/QSemiModal.java index 016e9dfb..c915f851 100644 --- a/qtjava/javalib/org/kde/qt/QSemiModal.java +++ b/qtjava/javalib/org/kde/qt/QSemiModal.java @@ -3,35 +3,35 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSemiModal extends QDialog { - protected QSemiModal(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSemiModal extends TQDialog { + protected TQSemiModal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSemiModal(QWidget parent, String name, boolean modal, int f) { + public TQSemiModal(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQSemiModal(parent,name,modal,f); + newTQSemiModal(parent,name,modal,f); } - private native void newQSemiModal(QWidget parent, String name, boolean modal, int f); - public QSemiModal(QWidget parent, String name, boolean modal) { + private native void newTQSemiModal(TQWidget parent, String name, boolean modal, int f); + public TQSemiModal(TQWidget parent, String name, boolean modal) { super((Class) null); - newQSemiModal(parent,name,modal); + newTQSemiModal(parent,name,modal); } - private native void newQSemiModal(QWidget parent, String name, boolean modal); - public QSemiModal(QWidget parent, String name) { + private native void newTQSemiModal(TQWidget parent, String name, boolean modal); + public TQSemiModal(TQWidget parent, String name) { super((Class) null); - newQSemiModal(parent,name); + newTQSemiModal(parent,name); } - private native void newQSemiModal(QWidget parent, String name); - public QSemiModal(QWidget parent) { + private native void newTQSemiModal(TQWidget parent, String name); + public TQSemiModal(TQWidget parent) { super((Class) null); - newQSemiModal(parent); + newTQSemiModal(parent); } - private native void newQSemiModal(QWidget parent); - public QSemiModal() { + private native void newTQSemiModal(TQWidget parent); + public TQSemiModal() { super((Class) null); - newQSemiModal(); + newTQSemiModal(); } - private native void newQSemiModal(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QServerSocket.java b/qtjava/javalib/org/kde/qt/QServerSocket.java index f38265c2..6e8c961f 100644 --- a/qtjava/javalib/org/kde/qt/QServerSocket.java +++ b/qtjava/javalib/org/kde/qt/QServerSocket.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QServerSocket extends QObject { - protected QServerSocket(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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 QHostAddress address(); + 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 index 7a3a779a..e25d6a7f 100644 --- a/qtjava/javalib/org/kde/qt/QSessionManager.java +++ b/qtjava/javalib/org/kde/qt/QSessionManager.java @@ -4,14 +4,14 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSessionManager extends QObject { - protected QSessionManager(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native String sessionId(); public native String sessionKey(); diff --git a/qtjava/javalib/org/kde/qt/QSettings.java b/qtjava/javalib/org/kde/qt/QSettings.java index 71627666..68570c3c 100644 --- a/qtjava/javalib/org/kde/qt/QSettings.java +++ b/qtjava/javalib/org/kde/qt/QSettings.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSettings implements QtSupport { +public class TQSettings implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSettings(Class dummy){} + protected TQSettings(Class dummy){} public static final int Native = 0; public static final int Ini = 1; @@ -19,14 +19,14 @@ public class QSettings implements QtSupport { public static final int User = 0; public static final int Global = 1; - public QSettings() { - newQSettings(); + public TQSettings() { + newTQSettings(); } - private native void newQSettings(); - public QSettings(int format) { - newQSettings(format); + private native void newTQSettings(); + public TQSettings(int format) { + newTQSettings(format); } - private native void newQSettings(int 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); diff --git a/qtjava/javalib/org/kde/qt/QShowEvent.java b/qtjava/javalib/org/kde/qt/QShowEvent.java index 849c9502..6c991ed3 100644 --- a/qtjava/javalib/org/kde/qt/QShowEvent.java +++ b/qtjava/javalib/org/kde/qt/QShowEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QShowEvent extends QEvent { - protected QShowEvent(Class dummy){super((Class) null);} - public QShowEvent() { +public class TQShowEvent extends TQEvent { + protected TQShowEvent(Class dummy){super((Class) null);} + public TQShowEvent() { super((Class) null); - newQShowEvent(); + newTQShowEvent(); } - private native void newQShowEvent(); + private native void newTQShowEvent(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QSignal.java b/qtjava/javalib/org/kde/qt/QSignal.java index a920cc6e..add257f0 100644 --- a/qtjava/javalib/org/kde/qt/QSignal.java +++ b/qtjava/javalib/org/kde/qt/QSignal.java @@ -7,7 +7,7 @@ import org.kde.qt.Qt; ************************************************* $Id$ -* Definition of QSignal class +* Definition of TQSignal class * Created : 941201 @@ -17,7 +17,7 @@ import org.kde.qt.Qt; * 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.QPL included in the packaging of this 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 @@ -33,45 +33,45 @@ import org.kde.qt.Qt; * 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 QPL licensing information. + 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 QSignalSignals} for signals emitted by QSignal +********************************************** See {@link TQSignalSignals} for signals emitted by TQSignal @short $Id: qt/qsignal. */ -public class QSignal extends QObject { - protected QSignal(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSignal extends TQObject { + protected TQSignal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSignal(QObject parent, String name) { + public TQSignal(TQObject parent, String name) { super((Class) null); - newQSignal(parent,name); + newTQSignal(parent,name); } - private native void newQSignal(QObject parent, String name); - public QSignal(QObject parent) { + private native void newTQSignal(TQObject parent, String name); + public TQSignal(TQObject parent) { super((Class) null); - newQSignal(parent); + newTQSignal(parent); } - private native void newQSignal(QObject parent); - public QSignal() { + private native void newTQSignal(TQObject parent); + public TQSignal() { super((Class) null); - newQSignal(); + newTQSignal(); } - private native void newQSignal(); - public native boolean connect(QObject receiver, String member); - public native boolean disconnect(QObject receiver, String member); - public native boolean disconnect(QObject receiver); + 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(QVariant value); - public native QVariant value(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QSignalMapper.java b/qtjava/javalib/org/kde/qt/QSignalMapper.java index ddc77bb9..ab792151 100644 --- a/qtjava/javalib/org/kde/qt/QSignalMapper.java +++ b/qtjava/javalib/org/kde/qt/QSignalMapper.java @@ -4,25 +4,25 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSignalMapperSignals} for signals emitted by QSignalMapper + See {@link TQSignalMapperSignals} for signals emitted by TQSignalMapper */ -public class QSignalMapper extends QObject { - protected QSignalMapper(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSignalMapper extends TQObject { + protected TQSignalMapper(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSignalMapper(QObject parent, String name) { + public TQSignalMapper(TQObject parent, String name) { super((Class) null); - newQSignalMapper(parent,name); + newTQSignalMapper(parent,name); } - private native void newQSignalMapper(QObject parent, String name); - public QSignalMapper(QObject parent) { + private native void newTQSignalMapper(TQObject parent, String name); + public TQSignalMapper(TQObject parent) { super((Class) null); - newQSignalMapper(parent); + newTQSignalMapper(parent); } - private native void newQSignalMapper(QObject parent); - public native void setMapping(QObject sender, int identifier); - public native void setMapping(QObject sender, String identifier); - public native void removeMappings(QObject sender); + 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); diff --git a/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java b/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java index 7b891bb0..c30666c3 100644 --- a/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java +++ b/qtjava/javalib/org/kde/qt/QSignalMapperSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSignalMapperSignals { +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 index cc9e9604..57bc51ac 100644 --- a/qtjava/javalib/org/kde/qt/QSignalSignals.java +++ b/qtjava/javalib/org/kde/qt/QSignalSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSignalSignals { - void signal(QVariant arg1); +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 index f78a785d..51fad3c8 100644 --- a/qtjava/javalib/org/kde/qt/QSimpleRichText.java +++ b/qtjava/javalib/org/kde/qt/QSimpleRichText.java @@ -3,53 +3,53 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSimpleRichText implements QtSupport { +public class TQSimpleRichText implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSimpleRichText(Class dummy){} + protected TQSimpleRichText(Class dummy){} - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet) { - newQSimpleRichText(text,fnt,context,sheet); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) { + newTQSimpleRichText(text,fnt,context,sheet); } - private native void newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet); - public QSimpleRichText(String text, QFont fnt, String context) { - newQSimpleRichText(text,fnt,context); + 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 newQSimpleRichText(String text, QFont fnt, String context); - public QSimpleRichText(String text, QFont fnt) { - newQSimpleRichText(text,fnt); + private native void newTQSimpleRichText(String text, TQFont fnt, String context); + public TQSimpleRichText(String text, TQFont fnt) { + newTQSimpleRichText(text,fnt); } - private native void newQSimpleRichText(String text, QFont fnt); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline) { - newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); + 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 newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor, boolean linkUnderline); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor) { - newQSimpleRichText(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, 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 newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak, QColor linkColor); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak) { - newQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); + 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 newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory, int pageBreak); - public QSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory factory) { - newQSimpleRichText(text,fnt,context,sheet,factory); + 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 newQSimpleRichText(String text, QFont fnt, String context, QStyleSheet sheet, QMimeSourceFactory 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(QPainter arg1, int arg2); - public native void setDefaultFont(QFont f); + 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(QPainter p, int x, int y, QRect clipRect, QColorGroup cg, QBrush paper); - public native void draw(QPainter p, int x, int y, QRect clipRect, QColorGroup cg); - public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg, QBrush paper); - public native void draw(QPainter p, int x, int y, QRegion clipRegion, QColorGroup cg); + 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(QPoint pos); - public native boolean inText(QPoint pos); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSize.java b/qtjava/javalib/org/kde/qt/QSize.java index afd94a1d..37440a50 100644 --- a/qtjava/javalib/org/kde/qt/QSize.java +++ b/qtjava/javalib/org/kde/qt/QSize.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSize implements QtSupport { +public class TQSize implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSize(Class dummy){} + protected TQSize(Class dummy){} public static final int ScaleFree = 0; public static final int ScaleMin = 1; public static final int ScaleMax = 2; - public QSize() { - newQSize(); + public TQSize() { + newTQSize(); } - private native void newQSize(); - public QSize(int w, int h) { - newQSize(w,h); + private native void newTQSize(); + public TQSize(int w, int h) { + newTQSize(w,h); } - private native void newQSize(int w, int h); + private native void newTQSize(int w, int h); public native boolean isNull(); public native boolean isEmpty(); public native boolean isValid(); @@ -29,17 +29,17 @@ public class QSize implements QtSupport { public native void setHeight(int h); public native void transpose(); public native void scale(int w, int h, int mode); - public native void scale(QSize s, int mode); - public native QSize expandedTo(QSize arg1); - public native QSize boundedTo(QSize arg1); + 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 QSize op_plus_assign(QSize arg1); - public native QSize op_minus_assign(QSize arg1); - public native QSize op_mult_assign(int c); - public native QSize op_mult_assign(double c); - public native QSize op_div_assign(int c); - public native QSize op_div_assign(double c); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSizeGrip.java b/qtjava/javalib/org/kde/qt/QSizeGrip.java index 97671480..52d444de 100644 --- a/qtjava/javalib/org/kde/qt/QSizeGrip.java +++ b/qtjava/javalib/org/kde/qt/QSizeGrip.java @@ -3,27 +3,27 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSizeGrip extends QWidget { - protected QSizeGrip(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSizeGrip extends TQWidget { + protected TQSizeGrip(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSizeGrip(QWidget parent, String name) { + public TQSizeGrip(TQWidget parent, String name) { super((Class) null); - newQSizeGrip(parent,name); + newTQSizeGrip(parent,name); } - private native void newQSizeGrip(QWidget parent, String name); - public QSizeGrip(QWidget parent) { + private native void newTQSizeGrip(TQWidget parent, String name); + public TQSizeGrip(TQWidget parent) { super((Class) null); - newQSizeGrip(parent); + newTQSizeGrip(parent); } - private native void newQSizeGrip(QWidget parent); - public native QSize sizeHint(); + 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(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSizePolicy.java b/qtjava/javalib/org/kde/qt/QSizePolicy.java index d529129e..082eb5eb 100644 --- a/qtjava/javalib/org/kde/qt/QSizePolicy.java +++ b/qtjava/javalib/org/kde/qt/QSizePolicy.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSizePolicy implements QtSupport { +public class TQSizePolicy implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSizePolicy(Class dummy){} + protected TQSizePolicy(Class dummy){} public static final int HSize = 6; public static final int HMask = 0x3f; @@ -30,26 +30,26 @@ public class QSizePolicy implements QtSupport { public static final int Vertical = Vertically; public static final int BothDirections = Horizontally|Vertically; - public QSizePolicy() { - newQSizePolicy(); + public TQSizePolicy() { + newTQSizePolicy(); } - private native void newQSizePolicy(); - public QSizePolicy(int hor, int ver, boolean hfw) { - newQSizePolicy(hor,ver,hfw); + private native void newTQSizePolicy(); + public TQSizePolicy(int hor, int ver, boolean hfw) { + newTQSizePolicy(hor,ver,hfw); } - private native void newQSizePolicy(int hor, int ver, boolean hfw); - public QSizePolicy(int hor, int ver) { - newQSizePolicy(hor,ver); + private native void newTQSizePolicy(int hor, int ver, boolean hfw); + public TQSizePolicy(int hor, int ver) { + newTQSizePolicy(hor,ver); } - private native void newQSizePolicy(int hor, int ver); - public QSizePolicy(int hor, int ver, short hors, short vers, boolean hfw) { - newQSizePolicy(hor,ver,hors,vers,hfw); + private native void newTQSizePolicy(int hor, int ver); + public TQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw) { + newTQSizePolicy(hor,ver,hors,vers,hfw); } - private native void newQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw); - public QSizePolicy(int hor, int ver, short hors, short vers) { - newQSizePolicy(hor,ver,hors,vers); + private native void newTQSizePolicy(int hor, int ver, short hors, short vers, boolean hfw); + public TQSizePolicy(int hor, int ver, short hors, short vers) { + newTQSizePolicy(hor,ver,hors,vers); } - private native void newQSizePolicy(int hor, int ver, short hors, short vers); + private native void newTQSizePolicy(int hor, int ver, short hors, short vers); public native int horData(); public native int verData(); public native boolean mayShrinkHorizontally(); @@ -61,8 +61,8 @@ public class QSizePolicy implements QtSupport { public native void setVerData(int d); public native void setHeightForWidth(boolean b); public native boolean hasHeightForWidth(); - public native boolean op_equals(QSizePolicy s); - public native boolean op_not_equals(QSizePolicy s); + public native boolean op_equals(TQSizePolicy s); + public native boolean op_not_equals(TQSizePolicy s); public native int horStretch(); public native int verStretch(); public native void setHorStretch(short sf); diff --git a/qtjava/javalib/org/kde/qt/QSjisCodec.java b/qtjava/javalib/org/kde/qt/QSjisCodec.java index 6362c0a1..35340866 100644 --- a/qtjava/javalib/org/kde/qt/QSjisCodec.java +++ b/qtjava/javalib/org/kde/qt/QSjisCodec.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSjisCodec extends QTextCodec { - protected QSjisCodec(Class dummy){super((Class) null);} +public class TQSjisCodec extends TQTextCodec { + protected TQSjisCodec(Class dummy){super((Class) null);} public native int mibEnum(); public native String name(); public native String mimeName(); - public native QTextDecoder makeDecoder(); + 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 QSjisCodec() { + public TQSjisCodec() { super((Class) null); - newQSjisCodec(); + newTQSjisCodec(); } - private native void newQSjisCodec(); + private native void newTQSjisCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QSlider.java b/qtjava/javalib/org/kde/qt/QSlider.java index 7ea764c4..c10850fb 100644 --- a/qtjava/javalib/org/kde/qt/QSlider.java +++ b/qtjava/javalib/org/kde/qt/QSlider.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSliderSignals} for signals emitted by QSlider + See {@link TQSliderSignals} for signals emitted by TQSlider */ -public class QSlider extends QWidget implements QRangeControlInterface { - protected QSlider(Class dummy){super((Class) null);} +public class TQSlider extends TQWidget implements TQRangeControlInterface { + protected TQSlider(Class dummy){super((Class) null);} public static final int NoMarks = 0; public static final int Above = 1; public static final int Left = Above; @@ -15,51 +15,51 @@ public class QSlider extends QWidget implements QRangeControlInterface { public static final int Right = Below; public static final int Both = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSlider(QWidget parent, String name) { + public TQSlider(TQWidget parent, String name) { super((Class) null); - newQSlider(parent,name); + newTQSlider(parent,name); } - private native void newQSlider(QWidget parent, String name); - public QSlider(QWidget parent) { + private native void newTQSlider(TQWidget parent, String name); + public TQSlider(TQWidget parent) { super((Class) null); - newQSlider(parent); + newTQSlider(parent); } - private native void newQSlider(QWidget parent); - public QSlider(int arg1, QWidget parent, String name) { + private native void newTQSlider(TQWidget parent); + public TQSlider(int arg1, TQWidget parent, String name) { super((Class) null); - newQSlider(arg1,parent,name); + newTQSlider(arg1,parent,name); } - private native void newQSlider(int arg1, QWidget parent, String name); - public QSlider(int arg1, QWidget parent) { + private native void newTQSlider(int arg1, TQWidget parent, String name); + public TQSlider(int arg1, TQWidget parent) { super((Class) null); - newQSlider(arg1,parent); + newTQSlider(arg1,parent); } - private native void newQSlider(int arg1, QWidget parent); - public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name) { + private native void newTQSlider(int arg1, TQWidget parent); + public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name) { super((Class) null); - newQSlider(minValue,maxValue,pageStep,value,arg5,parent,name); + newTQSlider(minValue,maxValue,pageStep,value,arg5,parent,name); } - private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name); - public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent) { + private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name); + public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent) { super((Class) null); - newQSlider(minValue,maxValue,pageStep,value,arg5,parent); + newTQSlider(minValue,maxValue,pageStep,value,arg5,parent); } - private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent); + private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent); public native void setOrientation(int arg1); public native int orientation(); public native void setTracking(boolean enable); public native boolean tracking(); - public native void setPalette(QPalette arg1); + public native void setPalette(TQPalette arg1); public native int sliderStart(); - public native QRect sliderRect(); - public native QSize sizeHint(); - public native void setSizePolicy(QSizePolicy sp); + public native TQRect sliderRect(); + 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 QSizePolicy sizePolicy(); - public native QSize minimumSizeHint(); + public native TQSizePolicy sizePolicy(); + public native TQSize minimumSizeHint(); public native void setTickmarks(int arg1); public native int tickmarks(); public native void setTickInterval(int arg1); @@ -80,16 +80,16 @@ public class QSlider extends QWidget implements QRangeControlInterface { public native void subtractLine(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent arg1); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - public native void styleChange(QStyle 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 e); + protected native void focusOutEvent(TQFocusEvent e); + public native void styleChange(TQStyle arg1); protected native void valueChange(); protected native void rangeChange(); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QSliderSignals.java b/qtjava/javalib/org/kde/qt/QSliderSignals.java index 9d885c5b..cbf2ee53 100644 --- a/qtjava/javalib/org/kde/qt/QSliderSignals.java +++ b/qtjava/javalib/org/kde/qt/QSliderSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSliderSignals { +public interface TQSliderSignals { void valueChanged(int value); void sliderPressed(); void sliderMoved(int value); diff --git a/qtjava/javalib/org/kde/qt/QSocket.java b/qtjava/javalib/org/kde/qt/QSocket.java index 36967507..e5f69f6a 100644 --- a/qtjava/javalib/org/kde/qt/QSocket.java +++ b/qtjava/javalib/org/kde/qt/QSocket.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSocketSignals} for signals emitted by QSocket + See {@link TQSocketSignals} for signals emitted by TQSocket */ -public class QSocket extends QObject implements QIODeviceInterface { - protected QSocket(Class dummy){super((Class) null);} +public class TQSocket extends TQObject implements TQIODeviceInterface { + protected TQSocket(Class dummy){super((Class) null);} public static final int ErrConnectionRefused = 0; public static final int ErrHostNotFound = 1; public static final int ErrSocketRead = 2; @@ -19,28 +19,28 @@ public class QSocket extends QObject implements QIODeviceInterface { public static final int Closing = 4; public static final int Connection = Connected; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSocket(QObject parent, String name) { + public TQSocket(TQObject parent, String name) { super((Class) null); - newQSocket(parent,name); + newTQSocket(parent,name); } - private native void newQSocket(QObject parent, String name); - public QSocket(QObject parent) { + private native void newTQSocket(TQObject parent, String name); + public TQSocket(TQObject parent) { super((Class) null); - newQSocket(parent); + newTQSocket(parent); } - private native void newQSocket(QObject parent); - public QSocket() { + private native void newTQSocket(TQObject parent); + public TQSocket() { super((Class) null); - newQSocket(); + newTQSocket(); } - private native void newQSocket(); + private native void newTQSocket(); public native int state(); public native int socket(); public native void setSocket(int arg1); - public native QSocketDevice socketDevice(); - public native void setSocketDevice(QSocketDevice arg1); + public native TQSocketDevice socketDevice(); + public native void setSocketDevice(TQSocketDevice arg1); public native void connectToHost(String host, short port); public native String peerName(); public native boolean open(int mode); @@ -65,8 +65,8 @@ public class QSocket extends QObject implements QIODeviceInterface { public native String readLine(); public native short port(); public native short peerPort(); - public native QHostAddress address(); - public native QHostAddress peerAddress(); + public native TQHostAddress address(); + public native TQHostAddress peerAddress(); public native void setReadBufferSize(long arg1); public native long readBufferSize(); public static native String tr(String arg1, String arg2); diff --git a/qtjava/javalib/org/kde/qt/QSocketDevice.java b/qtjava/javalib/org/kde/qt/QSocketDevice.java index c3e97910..59a5f22a 100644 --- a/qtjava/javalib/org/kde/qt/QSocketDevice.java +++ b/qtjava/javalib/org/kde/qt/QSocketDevice.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSocketDevice extends QIODevice { - protected QSocketDevice(Class dummy){super((Class) null);} +public class TQSocketDevice extends TQIODevice { + protected TQSocketDevice(Class dummy){super((Class) null);} public static final int Stream = 0; public static final int Datagram = 1; @@ -24,26 +24,26 @@ public class QSocketDevice extends QIODevice { public static final int NetworkFailure = 8; public static final int UnknownError = 9; - public QSocketDevice(int type) { + public TQSocketDevice(int type) { super((Class) null); - newQSocketDevice(type); + newTQSocketDevice(type); } - private native void newQSocketDevice(int type); - public QSocketDevice() { + private native void newTQSocketDevice(int type); + public TQSocketDevice() { super((Class) null); - newQSocketDevice(); + newTQSocketDevice(); } - private native void newQSocketDevice(); - public QSocketDevice(int type, int protocol, int dummy) { + private native void newTQSocketDevice(); + public TQSocketDevice(int type, int protocol, int dummy) { super((Class) null); - newQSocketDevice(type,protocol,dummy); + newTQSocketDevice(type,protocol,dummy); } - private native void newQSocketDevice(int type, int protocol, int dummy); - public QSocketDevice(int socket, int type) { + private native void newTQSocketDevice(int type, int protocol, int dummy); + public TQSocketDevice(int socket, int type) { super((Class) null); - newQSocketDevice(socket,type); + newTQSocketDevice(socket,type); } - private native void newQSocketDevice(int socket, int type); + private native void newTQSocketDevice(int socket, int type); public native boolean isValid(); public native int type(); public native int protocol(); @@ -64,8 +64,8 @@ public class QSocketDevice extends QIODevice { public native void setReceiveBufferSize(int arg1); public native int sendBufferSize(); public native void setSendBufferSize(int arg1); - public native boolean connect(QHostAddress arg1, short arg2); - public native boolean bind(QHostAddress arg1, short arg2); + public native boolean connect(TQHostAddress arg1, short arg2); + public native boolean bind(TQHostAddress arg1, short arg2); public native boolean listen(int backlog); public native int accept(); public native long bytesAvailable(); @@ -73,14 +73,14 @@ public class QSocketDevice extends QIODevice { public native long waitForMore(int msecs); public native long readBlock(StringBuffer data, long maxlen); public native long writeBlock(String data, long len); - public native long writeBlock(String data, long len, QHostAddress host, short port); + public native long writeBlock(String data, long len, TQHostAddress host, short port); public native int getch(); public native int putch(int arg1); public native int ungetch(int arg1); public native short port(); public native short peerPort(); - public native QHostAddress address(); - public native QHostAddress peerAddress(); + public native TQHostAddress address(); + public native TQHostAddress peerAddress(); public native int error(); protected native void setError(int err); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QSocketNotifier.java b/qtjava/javalib/org/kde/qt/QSocketNotifier.java index bae73507..4e9bcb7f 100644 --- a/qtjava/javalib/org/kde/qt/QSocketNotifier.java +++ b/qtjava/javalib/org/kde/qt/QSocketNotifier.java @@ -7,7 +7,7 @@ import org.kde.qt.Qt; ************************************************* $Id$ -* Definition of QSocketNotifier class +* Definition of TQSocketNotifier class * Created : 951114 @@ -17,7 +17,7 @@ import org.kde.qt.Qt; * 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.QPL included in the packaging of this 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 @@ -33,46 +33,46 @@ import org.kde.qt.Qt; * 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 QPL licensing information. + 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 QSocketNotifierSignals} for signals emitted by QSocketNotifier +********************************************** See {@link TQSocketNotifierSignals} for signals emitted by TQSocketNotifier @short $Id: qt/qsocketnotifier. */ -public class QSocketNotifier extends QObject { - protected QSocketNotifier(Class dummy){super((Class) null);} +public class TQSocketNotifier extends TQObject { + protected TQSocketNotifier(Class dummy){super((Class) null);} public static final int Read = 0; public static final int Write = 1; public static final int Exception = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSocketNotifier(int socket, int arg2, QObject parent, String name) { + public TQSocketNotifier(int socket, int arg2, TQObject parent, String name) { super((Class) null); - newQSocketNotifier(socket,arg2,parent,name); + newTQSocketNotifier(socket,arg2,parent,name); } - private native void newQSocketNotifier(int socket, int arg2, QObject parent, String name); - public QSocketNotifier(int socket, int arg2, QObject parent) { + private native void newTQSocketNotifier(int socket, int arg2, TQObject parent, String name); + public TQSocketNotifier(int socket, int arg2, TQObject parent) { super((Class) null); - newQSocketNotifier(socket,arg2,parent); + newTQSocketNotifier(socket,arg2,parent); } - private native void newQSocketNotifier(int socket, int arg2, QObject parent); - public QSocketNotifier(int socket, int arg2) { + private native void newTQSocketNotifier(int socket, int arg2, TQObject parent); + public TQSocketNotifier(int socket, int arg2) { super((Class) null); - newQSocketNotifier(socket,arg2); + newTQSocketNotifier(socket,arg2); } - private native void newQSocketNotifier(int socket, int arg2); + private native void newTQSocketNotifier(int socket, int arg2); public native int socket(); public native int type(); public native boolean isEnabled(); public native void setEnabled(boolean arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public native boolean event(QEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java b/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java index ef6726bc..7321f489 100644 --- a/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java +++ b/qtjava/javalib/org/kde/qt/QSocketNotifierSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QSocketNotifierSignals { +public interface TQSocketNotifierSignals { void activated(int socket); } diff --git a/qtjava/javalib/org/kde/qt/QSocketSignals.java b/qtjava/javalib/org/kde/qt/QSocketSignals.java index 48ef4d4b..de98b242 100644 --- a/qtjava/javalib/org/kde/qt/QSocketSignals.java +++ b/qtjava/javalib/org/kde/qt/QSocketSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSocketSignals { +public interface TQSocketSignals { void hostFound(); void connected(); void connectionClosed(); diff --git a/qtjava/javalib/org/kde/qt/QSound.java b/qtjava/javalib/org/kde/qt/QSound.java index eb436d59..55c77e87 100644 --- a/qtjava/javalib/org/kde/qt/QSound.java +++ b/qtjava/javalib/org/kde/qt/QSound.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSound extends QObject { - protected QSound(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSound extends TQObject { + protected TQSound(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSound(String filename, QObject parent, String name) { + public TQSound(String filename, TQObject parent, String name) { super((Class) null); - newQSound(filename,parent,name); + newTQSound(filename,parent,name); } - private native void newQSound(String filename, QObject parent, String name); - public QSound(String filename, QObject parent) { + private native void newTQSound(String filename, TQObject parent, String name); + public TQSound(String filename, TQObject parent) { super((Class) null); - newQSound(filename,parent); + newTQSound(filename,parent); } - private native void newQSound(String filename, QObject parent); - public QSound(String filename) { + private native void newTQSound(String filename, TQObject parent); + public TQSound(String filename) { super((Class) null); - newQSound(filename); + newTQSound(filename); } - private native void newQSound(String filename); + private native void newTQSound(String filename); public native int loops(); public native int loopsRemaining(); public native void setLoops(int arg1); diff --git a/qtjava/javalib/org/kde/qt/QSpacerItem.java b/qtjava/javalib/org/kde/qt/QSpacerItem.java index 7bada4a4..5ffc6755 100644 --- a/qtjava/javalib/org/kde/qt/QSpacerItem.java +++ b/qtjava/javalib/org/kde/qt/QSpacerItem.java @@ -3,34 +3,34 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSpacerItem extends QLayoutItem { - protected QSpacerItem(Class dummy){super((Class) null);} - public QSpacerItem(int w, int h, int hData, int vData) { +public class TQSpacerItem extends TQLayoutItem { + protected TQSpacerItem(Class dummy){super((Class) null);} + public TQSpacerItem(int w, int h, int hData, int vData) { super((Class) null); - newQSpacerItem(w,h,hData,vData); + newTQSpacerItem(w,h,hData,vData); } - private native void newQSpacerItem(int w, int h, int hData, int vData); - public QSpacerItem(int w, int h, int hData) { + private native void newTQSpacerItem(int w, int h, int hData, int vData); + public TQSpacerItem(int w, int h, int hData) { super((Class) null); - newQSpacerItem(w,h,hData); + newTQSpacerItem(w,h,hData); } - private native void newQSpacerItem(int w, int h, int hData); - public QSpacerItem(int w, int h) { + private native void newTQSpacerItem(int w, int h, int hData); + public TQSpacerItem(int w, int h) { super((Class) null); - newQSpacerItem(w,h); + newTQSpacerItem(w,h); } - private native void newQSpacerItem(int w, int h); + private native void newTQSpacerItem(int w, int h); public native void changeSize(int w, int h, int hData, int vData); public native void changeSize(int w, int h, int hData); public native void changeSize(int w, int h); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize maximumSize(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); public native int expanding(); public native boolean isEmpty(); - public native void setGeometry(QRect arg1); - public native QRect geometry(); - public native QSpacerItem spacerItem(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native TQSpacerItem spacerItem(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QSpinBox.java b/qtjava/javalib/org/kde/qt/QSpinBox.java index 51bd338d..4ee3b3c4 100644 --- a/qtjava/javalib/org/kde/qt/QSpinBox.java +++ b/qtjava/javalib/org/kde/qt/QSpinBox.java @@ -4,50 +4,50 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSpinBoxSignals} for signals emitted by QSpinBox + See {@link TQSpinBoxSignals} for signals emitted by TQSpinBox */ -public class QSpinBox extends QWidget implements QRangeControlInterface { - protected QSpinBox(Class dummy){super((Class) null);} +public class TQSpinBox extends TQWidget implements TQRangeControlInterface { + protected TQSpinBox(Class dummy){super((Class) null);} public static final int UpDownArrows = 0; public static final int PlusMinus = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSpinBox(QWidget parent, String name) { + public TQSpinBox(TQWidget parent, String name) { super((Class) null); - newQSpinBox(parent,name); + newTQSpinBox(parent,name); } - private native void newQSpinBox(QWidget parent, String name); - public QSpinBox(QWidget parent) { + private native void newTQSpinBox(TQWidget parent, String name); + public TQSpinBox(TQWidget parent) { super((Class) null); - newQSpinBox(parent); + newTQSpinBox(parent); } - private native void newQSpinBox(QWidget parent); - public QSpinBox() { + private native void newTQSpinBox(TQWidget parent); + public TQSpinBox() { super((Class) null); - newQSpinBox(); + newTQSpinBox(); } - private native void newQSpinBox(); - public QSpinBox(int minValue, int maxValue, int step, QWidget parent, String name) { + private native void newTQSpinBox(); + public TQSpinBox(int minValue, int maxValue, int step, TQWidget parent, String name) { super((Class) null); - newQSpinBox(minValue,maxValue,step,parent,name); + newTQSpinBox(minValue,maxValue,step,parent,name); } - private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent, String name); - public QSpinBox(int minValue, int maxValue, int step, QWidget parent) { + private native void newTQSpinBox(int minValue, int maxValue, int step, TQWidget parent, String name); + public TQSpinBox(int minValue, int maxValue, int step, TQWidget parent) { super((Class) null); - newQSpinBox(minValue,maxValue,step,parent); + newTQSpinBox(minValue,maxValue,step,parent); } - private native void newQSpinBox(int minValue, int maxValue, int step, QWidget parent); - public QSpinBox(int minValue, int maxValue, int step) { + private native void newTQSpinBox(int minValue, int maxValue, int step, TQWidget parent); + public TQSpinBox(int minValue, int maxValue, int step) { super((Class) null); - newQSpinBox(minValue,maxValue,step); + newTQSpinBox(minValue,maxValue,step); } - private native void newQSpinBox(int minValue, int maxValue, int step); - public QSpinBox(int minValue, int maxValue) { + private native void newTQSpinBox(int minValue, int maxValue, int step); + public TQSpinBox(int minValue, int maxValue) { super((Class) null); - newQSpinBox(minValue,maxValue); + newTQSpinBox(minValue,maxValue); } - private native void newQSpinBox(int minValue, int maxValue); + private native void newTQSpinBox(int minValue, int maxValue); public native String text(); public native String prefix(); public native String suffix(); @@ -58,10 +58,10 @@ public class QSpinBox extends QWidget implements QRangeControlInterface { public native boolean wrapping(); public native void setButtonSymbols(int arg1); public native int buttonSymbols(); - public native void setValidator(QValidator v); - public native QValidator validator(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native void setValidator(TQValidator v); + public native TQValidator validator(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native int minValue(); public native int maxValue(); public native void setMinValue(int arg1); @@ -69,8 +69,8 @@ public class QSpinBox extends QWidget implements QRangeControlInterface { public native int lineStep(); public native void setLineStep(int arg1); public native int value(); - public native QRect upRect(); - public native QRect downRect(); + public native TQRect upRect(); + public native TQRect downRect(); public native void setValue(int value); public native void setPrefix(String text); public native void setSuffix(String text); @@ -85,14 +85,14 @@ public class QSpinBox extends QWidget implements QRangeControlInterface { protected native String currentValueText(); protected native void updateDisplay(); protected native void interpretText(); - protected native QLineEdit editor(); + protected native TQLineEdit editor(); protected native void valueChange(); protected native void rangeChange(); - public native boolean eventFilter(QObject arg1, QEvent ev); - protected native void resizeEvent(QResizeEvent ev); - protected native void wheelEvent(QWheelEvent arg1); - protected native void leaveEvent(QEvent arg1); - public native void styleChange(QStyle arg1); + public native boolean eventFilter(TQObject arg1, TQEvent ev); + protected native void resizeEvent(TQResizeEvent ev); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void leaveEvent(TQEvent arg1); + public native void styleChange(TQStyle arg1); protected native void textChanged(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java b/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java index 8e6e7e8a..b196d697 100644 --- a/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java +++ b/qtjava/javalib/org/kde/qt/QSpinBoxSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSpinBoxSignals { +public interface TQSpinBoxSignals { void valueChanged(int value); void valueChanged(String valueText); } diff --git a/qtjava/javalib/org/kde/qt/QSpinWidget.java b/qtjava/javalib/org/kde/qt/QSpinWidget.java index 6081df43..1376bf87 100644 --- a/qtjava/javalib/org/kde/qt/QSpinWidget.java +++ b/qtjava/javalib/org/kde/qt/QSpinWidget.java @@ -4,34 +4,34 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSpinWidgetSignals} for signals emitted by QSpinWidget + See {@link TQSpinWidgetSignals} for signals emitted by TQSpinWidget */ -public class QSpinWidget extends QWidget { - protected QSpinWidget(Class dummy){super((Class) null);} +public class TQSpinWidget extends TQWidget { + protected TQSpinWidget(Class dummy){super((Class) null);} public static final int UpDownArrows = 0; public static final int PlusMinus = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSpinWidget(QWidget parent, String name) { + public TQSpinWidget(TQWidget parent, String name) { super((Class) null); - newQSpinWidget(parent,name); + newTQSpinWidget(parent,name); } - private native void newQSpinWidget(QWidget parent, String name); - public QSpinWidget(QWidget parent) { + private native void newTQSpinWidget(TQWidget parent, String name); + public TQSpinWidget(TQWidget parent) { super((Class) null); - newQSpinWidget(parent); + newTQSpinWidget(parent); } - private native void newQSpinWidget(QWidget parent); - public QSpinWidget() { + private native void newTQSpinWidget(TQWidget parent); + public TQSpinWidget() { super((Class) null); - newQSpinWidget(); + newTQSpinWidget(); } - private native void newQSpinWidget(); - public native void setEditWidget(QWidget widget); - public native QWidget editWidget(); - public native QRect upRect(); - public native QRect downRect(); + private native void newTQSpinWidget(); + public native void setEditWidget(TQWidget widget); + public native TQWidget editWidget(); + public native TQRect upRect(); + public native TQRect downRect(); public native void setUpEnabled(boolean on); public native void setDownEnabled(boolean on); public native boolean isUpEnabled(); @@ -43,13 +43,13 @@ public class QSpinWidget extends QWidget { public native void stepDown(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void mousePressEvent(QMouseEvent e); - protected native void resizeEvent(QResizeEvent ev); - protected native void mouseReleaseEvent(QMouseEvent e); - protected native void mouseMoveEvent(QMouseEvent e); - protected native void wheelEvent(QWheelEvent arg1); - public native void styleChange(QStyle arg1); - protected native void paintEvent(QPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent e); + protected native void resizeEvent(TQResizeEvent ev); + protected native void mouseReleaseEvent(TQMouseEvent e); + protected native void mouseMoveEvent(TQMouseEvent e); + protected native void wheelEvent(TQWheelEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void paintEvent(TQPaintEvent arg1); protected native void enableChanged(boolean old); protected native void windowActivationChange(boolean arg1); /** Deletes the wrapped C++ instance */ diff --git a/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java b/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java index 13404a0a..f101a360 100644 --- a/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java +++ b/qtjava/javalib/org/kde/qt/QSpinWidgetSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QSpinWidgetSignals { +public interface TQSpinWidgetSignals { void stepUpPressed(); void stepDownPressed(); } diff --git a/qtjava/javalib/org/kde/qt/QSplashScreen.java b/qtjava/javalib/org/kde/qt/QSplashScreen.java index 92f3ce0d..198521dc 100644 --- a/qtjava/javalib/org/kde/qt/QSplashScreen.java +++ b/qtjava/javalib/org/kde/qt/QSplashScreen.java @@ -4,39 +4,39 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSplashScreenSignals} for signals emitted by QSplashScreen + See {@link TQSplashScreenSignals} for signals emitted by TQSplashScreen */ -public class QSplashScreen extends QWidget { - protected QSplashScreen(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSplashScreen extends TQWidget { + protected TQSplashScreen(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSplashScreen(QPixmap pixmap, int f) { + public TQSplashScreen(TQPixmap pixmap, int f) { super((Class) null); - newQSplashScreen(pixmap,f); + newTQSplashScreen(pixmap,f); } - private native void newQSplashScreen(QPixmap pixmap, int f); - public QSplashScreen(QPixmap pixmap) { + private native void newTQSplashScreen(TQPixmap pixmap, int f); + public TQSplashScreen(TQPixmap pixmap) { super((Class) null); - newQSplashScreen(pixmap); + newTQSplashScreen(pixmap); } - private native void newQSplashScreen(QPixmap pixmap); - public QSplashScreen() { + private native void newTQSplashScreen(TQPixmap pixmap); + public TQSplashScreen() { super((Class) null); - newQSplashScreen(); + newTQSplashScreen(); } - private native void newQSplashScreen(); - public native void setPixmap(QPixmap pixmap); - public native QPixmap pixmap(); - public native void finish(QWidget w); + private native void newTQSplashScreen(); + public native void setPixmap(TQPixmap pixmap); + public native TQPixmap pixmap(); + public native void finish(TQWidget w); public native void repaint(); - public native void message(String str, int flags, QColor color); + public native void message(String str, int flags, TQColor color); public native void message(String str, int flags); public native void message(String str); public native void clear(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void drawContents(QPainter painter); - protected native void mousePressEvent(QMouseEvent arg1); + protected native void drawContents(TQPainter painter); + protected native void mousePressEvent(TQMouseEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java b/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java index 99ab41ae..65f4464d 100644 --- a/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java +++ b/qtjava/javalib/org/kde/qt/QSplashScreenSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QSplashScreenSignals { +public interface TQSplashScreenSignals { void messageChanged(String str); } diff --git a/qtjava/javalib/org/kde/qt/QSplitter.java b/qtjava/javalib/org/kde/qt/QSplitter.java index 3340ec6b..2eb1cfde 100644 --- a/qtjava/javalib/org/kde/qt/QSplitter.java +++ b/qtjava/javalib/org/kde/qt/QSplitter.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSplitter extends QFrame { - protected QSplitter(Class dummy){super((Class) null);} +public class TQSplitter extends TQFrame { + protected TQSplitter(Class dummy){super((Class) null);} public static final int DefaultResizeMode = 3; public static final int Stretch = 0; @@ -12,65 +12,65 @@ public class QSplitter extends QFrame { public static final int FollowSizeHint = 2; public static final int Auto = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSplitter(QWidget parent, String name) { + public TQSplitter(TQWidget parent, String name) { super((Class) null); - newQSplitter(parent,name); + newTQSplitter(parent,name); } - private native void newQSplitter(QWidget parent, String name); - public QSplitter(QWidget parent) { + private native void newTQSplitter(TQWidget parent, String name); + public TQSplitter(TQWidget parent) { super((Class) null); - newQSplitter(parent); + newTQSplitter(parent); } - private native void newQSplitter(QWidget parent); - public QSplitter() { + private native void newTQSplitter(TQWidget parent); + public TQSplitter() { super((Class) null); - newQSplitter(); + newTQSplitter(); } - private native void newQSplitter(); - public QSplitter(int arg1, QWidget parent, String name) { + private native void newTQSplitter(); + public TQSplitter(int arg1, TQWidget parent, String name) { super((Class) null); - newQSplitter(arg1,parent,name); + newTQSplitter(arg1,parent,name); } - private native void newQSplitter(int arg1, QWidget parent, String name); - public QSplitter(int arg1, QWidget parent) { + private native void newTQSplitter(int arg1, TQWidget parent, String name); + public TQSplitter(int arg1, TQWidget parent) { super((Class) null); - newQSplitter(arg1,parent); + newTQSplitter(arg1,parent); } - private native void newQSplitter(int arg1, QWidget parent); - public QSplitter(int arg1) { + private native void newTQSplitter(int arg1, TQWidget parent); + public TQSplitter(int arg1) { super((Class) null); - newQSplitter(arg1); + newTQSplitter(arg1); } - private native void newQSplitter(int arg1); + private native void newTQSplitter(int arg1); public native void setOrientation(int arg1); public native int orientation(); public native void setChildrenCollapsible(boolean arg1); public native boolean childrenCollapsible(); - public native void setCollapsible(QWidget w, boolean arg2); - public native void setResizeMode(QWidget w, int arg2); + public native void setCollapsible(TQWidget w, boolean arg2); + public native void setResizeMode(TQWidget w, int arg2); public native void setOpaqueResize(boolean arg1); public native void setOpaqueResize(); public native boolean opaqueResize(); - public native void moveToFirst(QWidget arg1); - public native void moveToLast(QWidget arg1); + public native void moveToFirst(TQWidget arg1); + public native void moveToLast(TQWidget arg1); public native void refresh(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native int[] sizes(); public native void setSizes(int[] arg1); public native int handleWidth(); public native void setHandleWidth(int arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void childEvent(QChildEvent arg1); - public native boolean event(QEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native int idAfter(QWidget arg1); + protected native void childEvent(TQChildEvent arg1); + public native boolean event(TQEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native int idAfter(TQWidget arg1); protected native void moveSplitter(int pos, int id); - protected native void drawSplitter(QPainter arg1, int x, int y, int w, int h); - public native void styleChange(QStyle arg1); + protected native void drawSplitter(TQPainter arg1, int x, int y, int w, int h); + public native void styleChange(TQStyle arg1); protected native int adjustPos(int arg1, int arg2); protected native void setRubberband(int arg1); protected native void getRange(int id, int[] arg2, int[] arg3); diff --git a/qtjava/javalib/org/kde/qt/QSql.java b/qtjava/javalib/org/kde/qt/QSql.java index c2f1b128..e6c058c1 100644 --- a/qtjava/javalib/org/kde/qt/QSql.java +++ b/qtjava/javalib/org/kde/qt/QSql.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSql implements QtSupport { +public class TQSql implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSql(Class dummy){} + protected TQSql(Class dummy){} public static final int None = -1; public static final int Insert = 0; @@ -29,10 +29,10 @@ public class QSql implements QtSupport { public static final int Views = 0x04; public static final int AllTables = 0xff; - public QSql() { - newQSql(); + public TQSql() { + newTQSql(); } - private native void newQSql(); + private native void newTQSql(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlCursor.java b/qtjava/javalib/org/kde/qt/QSqlCursor.java index fd3482cb..5e9ff876 100644 --- a/qtjava/javalib/org/kde/qt/QSqlCursor.java +++ b/qtjava/javalib/org/kde/qt/QSqlCursor.java @@ -3,59 +3,59 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface { - protected QSqlCursor(Class dummy){super((Class) null);} +public class TQSqlCursor extends TQSqlRecord implements TQSqlQueryInterface { + protected TQSqlCursor(Class dummy){super((Class) null);} public static final int ReadOnly = 0; public static final int Insert = 1; public static final int Update = 2; public static final int Delete = 4; public static final int Writable = 7; - public QSqlCursor(String name, boolean autopopulate, QSqlDatabase db) { + public TQSqlCursor(String name, boolean autopopulate, TQSqlDatabase db) { super((Class) null); - newQSqlCursor(name,autopopulate,db); + newTQSqlCursor(name,autopopulate,db); } - private native void newQSqlCursor(String name, boolean autopopulate, QSqlDatabase db); - public QSqlCursor(String name, boolean autopopulate) { + private native void newTQSqlCursor(String name, boolean autopopulate, TQSqlDatabase db); + public TQSqlCursor(String name, boolean autopopulate) { super((Class) null); - newQSqlCursor(name,autopopulate); + newTQSqlCursor(name,autopopulate); } - private native void newQSqlCursor(String name, boolean autopopulate); - public QSqlCursor(String name) { + private native void newTQSqlCursor(String name, boolean autopopulate); + public TQSqlCursor(String name) { super((Class) null); - newQSqlCursor(name); + newTQSqlCursor(name); } - private native void newQSqlCursor(String name); - public QSqlCursor() { + private native void newTQSqlCursor(String name); + public TQSqlCursor() { super((Class) null); - newQSqlCursor(); + newTQSqlCursor(); } - private native void newQSqlCursor(); - public QSqlCursor(QSqlCursor other) { + private native void newTQSqlCursor(); + public TQSqlCursor(TQSqlCursor other) { super((Class) null); - newQSqlCursor(other); + newTQSqlCursor(other); } - private native void newQSqlCursor(QSqlCursor other); - public native QVariant value(int i); - public native QVariant value(String name); - public native void setValue(int i, QVariant val); - public native void setValue(String name, QVariant val); - public native QSqlIndex primaryIndex(boolean prime); - public native QSqlIndex primaryIndex(); - public native QSqlIndex index(String[] fieldNames); - public native QSqlIndex index(String fieldName); - public native void setPrimaryIndex(QSqlIndex idx); - public native void append(QSqlFieldInfo fieldInfo); - public native void insert(int pos, QSqlFieldInfo fieldInfo); + private native void newTQSqlCursor(TQSqlCursor 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 TQSqlIndex primaryIndex(boolean prime); + public native TQSqlIndex primaryIndex(); + public native TQSqlIndex index(String[] fieldNames); + public native TQSqlIndex index(String fieldName); + public native void setPrimaryIndex(TQSqlIndex idx); + public native void append(TQSqlFieldInfo fieldInfo); + public native void insert(int pos, TQSqlFieldInfo fieldInfo); public native void remove(int pos); public native void clear(); public native void setGenerated(String name, boolean generated); public native void setGenerated(int i, boolean generated); - public native QSqlRecord editBuffer(boolean copy); - public native QSqlRecord editBuffer(); - public native QSqlRecord primeInsert(); - public native QSqlRecord primeUpdate(); - public native QSqlRecord primeDelete(); + public native TQSqlRecord editBuffer(boolean copy); + public native TQSqlRecord editBuffer(); + public native TQSqlRecord primeInsert(); + public native TQSqlRecord primeUpdate(); + public native TQSqlRecord primeDelete(); public native int insert(boolean invalidate); public native int insert(); public native int update(boolean invalidate); @@ -73,12 +73,12 @@ public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface { public native boolean canUpdate(); public native boolean canDelete(); public native boolean select(); - public native boolean select(QSqlIndex sort); - public native boolean select(QSqlIndex filter, QSqlIndex sort); - public native boolean select(String filter, QSqlIndex sort); + public native boolean select(TQSqlIndex sort); + public native boolean select(TQSqlIndex filter, TQSqlIndex sort); + public native boolean select(String filter, TQSqlIndex sort); public native boolean select(String filter); - public native void setSort(QSqlIndex sort); - public native QSqlIndex sort(); + public native void setSort(TQSqlIndex sort); + public native TQSqlIndex sort(); public native void setFilter(String filter); public native String filter(); public native void setName(String name, boolean autopopulate); @@ -91,14 +91,14 @@ public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface { public native boolean isNull(String name); protected native void afterSeek(); public native boolean exec(String sql); - protected native QVariant calculateField(String name); + protected native TQVariant calculateField(String name); protected native int update(String filter, boolean invalidate); protected native int update(String filter); protected native int del(String filter, boolean invalidate); protected native int del(String filter); - protected native String toString(String prefix, QSqlField field, String fieldSep); - protected native String toString(QSqlRecord rec, String prefix, String fieldSep, String sep); - protected native String toString(QSqlIndex i, QSqlRecord rec, String prefix, String fieldSep, String sep); + protected native String toString(String prefix, TQSqlField field, String fieldSep); + protected native String toString(TQSqlRecord rec, String prefix, String fieldSep, String sep); + protected native String toString(TQSqlIndex i, TQSqlRecord rec, String prefix, String fieldSep, String sep); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ @@ -110,11 +110,11 @@ public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface { public native int at(); public native String lastQuery(); public native int numRowsAffected(); - public native QSqlError lastError(); + public native TQSqlError lastError(); public native boolean isSelect(); public native int size(); - public native QSqlDriver driver(); - public native QSqlResult result(); + public native TQSqlDriver driver(); + public native TQSqlResult result(); public native boolean isForwardOnly(); public native void setForwardOnly(boolean forward); public native boolean seek(int i, boolean relative); @@ -125,15 +125,15 @@ public class QSqlCursor extends QSqlRecord implements QSqlQueryInterface { public native boolean last(); public native boolean exec(); public native boolean prepare(String query); - public native void bindValue(String placeholder, QVariant val); - public native void bindValue(int pos, QVariant val); - public native void addBindValue(QVariant val); - public native void bindValue(String placeholder, QVariant val, int type); - public native void bindValue(int pos, QVariant val, int type); - public native void addBindValue(QVariant val, int type); - public native QVariant boundValue(String placeholder); - public native QVariant boundValue(int pos); - // QMap boundValues(); >>>> NOT CONVERTED + 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(); } diff --git a/qtjava/javalib/org/kde/qt/QSqlDatabase.java b/qtjava/javalib/org/kde/qt/QSqlDatabase.java index c71a1d7b..d046a32d 100644 --- a/qtjava/javalib/org/kde/qt/QSqlDatabase.java +++ b/qtjava/javalib/org/kde/qt/QSqlDatabase.java @@ -4,9 +4,9 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSqlDatabase extends QObject { - protected QSqlDatabase(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +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); @@ -15,14 +15,14 @@ public class QSqlDatabase extends QObject { public native boolean isOpenError(); public native ArrayList tables(); public native ArrayList tables(int type); - public native QSqlIndex primaryIndex(String tablename); - public native QSqlRecord record(String tablename); - public native QSqlRecord record(QSqlQueryInterface query); - public native QSqlRecordInfo recordInfo(String tablename); - public native QSqlRecordInfo recordInfo(QSqlQueryInterface query); - public native QSqlQueryInterface exec(String query); - public native QSqlQueryInterface exec(); - public native QSqlError lastError(); + 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(); @@ -40,53 +40,53 @@ public class QSqlDatabase extends QObject { public native String driverName(); public native int port(); public native String connectOptions(); - public native QSqlDriver driver(); + public native TQSqlDriver driver(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QSqlDatabase addDatabase(String type, String connectionName); - public static native QSqlDatabase addDatabase(String type); - public static native QSqlDatabase addDatabase(QSqlDriver driver, String connectionName); - public static native QSqlDatabase addDatabase(QSqlDriver driver); - public static native QSqlDatabase database(String connectionName, boolean open); - public static native QSqlDatabase database(String connectionName); - public static native QSqlDatabase database(); + 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(QSqlDatabase db); + 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 QString& arg1,const QSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED + // void registerSqlDriver(const TQString& arg1,const TQSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED public static native boolean isDriverAvailable(String name); - public QSqlDatabase(String type, String name, QObject parent, String objname) { + public TQSqlDatabase(String type, String name, TQObject parent, String objname) { super((Class) null); - newQSqlDatabase(type,name,parent,objname); + newTQSqlDatabase(type,name,parent,objname); } - private native void newQSqlDatabase(String type, String name, QObject parent, String objname); - public QSqlDatabase(String type, String name, QObject parent) { + private native void newTQSqlDatabase(String type, String name, TQObject parent, String objname); + public TQSqlDatabase(String type, String name, TQObject parent) { super((Class) null); - newQSqlDatabase(type,name,parent); + newTQSqlDatabase(type,name,parent); } - private native void newQSqlDatabase(String type, String name, QObject parent); - public QSqlDatabase(String type, String name) { + private native void newTQSqlDatabase(String type, String name, TQObject parent); + public TQSqlDatabase(String type, String name) { super((Class) null); - newQSqlDatabase(type,name); + newTQSqlDatabase(type,name); } - private native void newQSqlDatabase(String type, String name); - public QSqlDatabase(QSqlDriver driver, QObject parent, String objname) { + private native void newTQSqlDatabase(String type, String name); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname) { super((Class) null); - newQSqlDatabase(driver,parent,objname); + newTQSqlDatabase(driver,parent,objname); } - private native void newQSqlDatabase(QSqlDriver driver, QObject parent, String objname); - public QSqlDatabase(QSqlDriver driver, QObject parent) { + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent) { super((Class) null); - newQSqlDatabase(driver,parent); + newTQSqlDatabase(driver,parent); } - private native void newQSqlDatabase(QSqlDriver driver, QObject parent); - public QSqlDatabase(QSqlDriver driver) { + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent); + public TQSqlDatabase(TQSqlDriver driver) { super((Class) null); - newQSqlDatabase(driver); + newTQSqlDatabase(driver); } - private native void newQSqlDatabase(QSqlDriver 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlDriver.java b/qtjava/javalib/org/kde/qt/QSqlDriver.java index 583cd803..c67cdcb2 100644 --- a/qtjava/javalib/org/kde/qt/QSqlDriver.java +++ b/qtjava/javalib/org/kde/qt/QSqlDriver.java @@ -4,8 +4,8 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSqlDriver extends QObject { - protected QSqlDriver(Class dummy){super((Class) null);} +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; @@ -14,7 +14,7 @@ public class QSqlDriver extends QObject { public static final int NamedPlaceholders = 5; public static final int PositionalPlaceholders = 6; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native boolean isOpen(); public native boolean isOpenError(); @@ -22,15 +22,15 @@ public class QSqlDriver extends QObject { public native boolean commitTransaction(); public native boolean rollbackTransaction(); public native ArrayList tables(String tableType); - public native QSqlIndex primaryIndex(String tableName); - public native QSqlRecord record(String tableName); - public native QSqlRecord record(QSqlQueryInterface query); - public native QSqlRecordInfo recordInfo(String tablename); - public native QSqlRecordInfo recordInfo(QSqlQueryInterface query); + 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(QSqlField field, boolean trimStrings); - public native String formatValue(QSqlField field); - public native QSqlError lastError(); + 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); @@ -38,7 +38,7 @@ public class QSqlDriver extends QObject { public native boolean open(String db, String user); public native boolean open(String db); public native void close(); - public native QSqlQueryInterface createQuery(); + 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 index adeb0ba5..bc051a60 100644 --- a/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java +++ b/qtjava/javalib/org/kde/qt/QSqlEditorFactory.java @@ -3,27 +3,27 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlEditorFactory extends QEditorFactory { - protected QSqlEditorFactory(Class dummy){super((Class) null);} - public QSqlEditorFactory(QObject parent, String name) { +public class TQSqlEditorFactory extends TQEditorFactory { + protected TQSqlEditorFactory(Class dummy){super((Class) null);} + public TQSqlEditorFactory(TQObject parent, String name) { super((Class) null); - newQSqlEditorFactory(parent,name); + newTQSqlEditorFactory(parent,name); } - private native void newQSqlEditorFactory(QObject parent, String name); - public QSqlEditorFactory(QObject parent) { + private native void newTQSqlEditorFactory(TQObject parent, String name); + public TQSqlEditorFactory(TQObject parent) { super((Class) null); - newQSqlEditorFactory(parent); + newTQSqlEditorFactory(parent); } - private native void newQSqlEditorFactory(QObject parent); - public QSqlEditorFactory() { + private native void newTQSqlEditorFactory(TQObject parent); + public TQSqlEditorFactory() { super((Class) null); - newQSqlEditorFactory(); + newTQSqlEditorFactory(); } - private native void newQSqlEditorFactory(); - public native QWidget createEditor(QWidget parent, QVariant variant); - public native QWidget createEditor(QWidget parent, QSqlField field); - public static native QEditorFactory defaultFactory(); - public static native void installDefaultFactory(QSqlEditorFactory factory); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlError.java b/qtjava/javalib/org/kde/qt/QSqlError.java index 0c3cbe51..79c5bf24 100644 --- a/qtjava/javalib/org/kde/qt/QSqlError.java +++ b/qtjava/javalib/org/kde/qt/QSqlError.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlError implements QtSupport { +public class TQSqlError implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlError(Class dummy){} + protected TQSqlError(Class dummy){} public static final int None = 0; public static final int Connection = 1; @@ -14,30 +14,30 @@ public class QSqlError implements QtSupport { public static final int Transaction = 3; public static final int Unknown = 4; - public QSqlError(String driverText, String databaseText, int type, int number) { - newQSqlError(driverText,databaseText,type,number); + public TQSqlError(String driverText, String databaseText, int type, int number) { + newTQSqlError(driverText,databaseText,type,number); } - private native void newQSqlError(String driverText, String databaseText, int type, int number); - public QSqlError(String driverText, String databaseText, int type) { - newQSqlError(driverText,databaseText,type); + 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 newQSqlError(String driverText, String databaseText, int type); - public QSqlError(String driverText, String databaseText) { - newQSqlError(driverText,databaseText); + private native void newTQSqlError(String driverText, String databaseText, int type); + public TQSqlError(String driverText, String databaseText) { + newTQSqlError(driverText,databaseText); } - private native void newQSqlError(String driverText, String databaseText); - public QSqlError(String driverText) { - newQSqlError(driverText); + private native void newTQSqlError(String driverText, String databaseText); + public TQSqlError(String driverText) { + newTQSqlError(driverText); } - private native void newQSqlError(String driverText); - public QSqlError() { - newQSqlError(); + private native void newTQSqlError(String driverText); + public TQSqlError() { + newTQSqlError(); } - private native void newQSqlError(); - public QSqlError(QSqlError other) { - newQSqlError(other); + private native void newTQSqlError(); + public TQSqlError(TQSqlError other) { + newTQSqlError(other); } - private native void newQSqlError(QSqlError other); + private native void newTQSqlError(TQSqlError other); public native String driverText(); public native void setDriverText(String driverText); public native String databaseText(); diff --git a/qtjava/javalib/org/kde/qt/QSqlField.java b/qtjava/javalib/org/kde/qt/QSqlField.java index ac2e1e4c..942494cc 100644 --- a/qtjava/javalib/org/kde/qt/QSqlField.java +++ b/qtjava/javalib/org/kde/qt/QSqlField.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlField implements QtSupport { +public class TQSqlField implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlField(Class dummy){} + protected TQSqlField(Class dummy){} - public QSqlField(String fieldName, int type) { - newQSqlField(fieldName,type); + public TQSqlField(String fieldName, int type) { + newTQSqlField(fieldName,type); } - private native void newQSqlField(String fieldName, int type); - public QSqlField(String fieldName) { - newQSqlField(fieldName); + private native void newTQSqlField(String fieldName, int type); + public TQSqlField(String fieldName) { + newTQSqlField(fieldName); } - private native void newQSqlField(String fieldName); - public QSqlField() { - newQSqlField(); + private native void newTQSqlField(String fieldName); + public TQSqlField() { + newTQSqlField(); } - private native void newQSqlField(); - public QSqlField(QSqlField other) { - newQSqlField(other); + private native void newTQSqlField(); + public TQSqlField(TQSqlField other) { + newTQSqlField(other); } - private native void newQSqlField(QSqlField other); - public native boolean op_equals(QSqlField other); - public native void setValue(QVariant value); - public native QVariant value(); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java b/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java index 1a9bb4bc..6c7f1fc0 100644 --- a/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java +++ b/qtjava/javalib/org/kde/qt/QSqlFieldInfo.java @@ -3,74 +3,74 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlFieldInfo implements QtSupport { +public class TQSqlFieldInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlFieldInfo(Class dummy){} + protected TQSqlFieldInfo(Class dummy){} - public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) { - newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated); + 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated); - public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim) { - newQSqlFieldInfo(name,typ,required,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, 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim); - public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated) { - newQSqlFieldInfo(name,typ,required,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, 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated); - public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType) { - newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType); + 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType); - public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue) { - newQSqlFieldInfo(name,typ,required,len,prec,defValue); + 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue); - public QSqlFieldInfo(String name, int typ, int required, int len, int prec) { - newQSqlFieldInfo(name,typ,required,len,prec); + 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 newQSqlFieldInfo(String name, int typ, int required, int len, int prec); - public QSqlFieldInfo(String name, int typ, int required, int len) { - newQSqlFieldInfo(name,typ,required,len); + 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 newQSqlFieldInfo(String name, int typ, int required, int len); - public QSqlFieldInfo(String name, int typ, int required) { - newQSqlFieldInfo(name,typ,required); + 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 newQSqlFieldInfo(String name, int typ, int required); - public QSqlFieldInfo(String name, int typ) { - newQSqlFieldInfo(name,typ); + private native void newTQSqlFieldInfo(String name, int typ, int retquired); + public TQSqlFieldInfo(String name, int typ) { + newTQSqlFieldInfo(name,typ); } - private native void newQSqlFieldInfo(String name, int typ); - public QSqlFieldInfo(String name) { - newQSqlFieldInfo(name); + private native void newTQSqlFieldInfo(String name, int typ); + public TQSqlFieldInfo(String name) { + newTQSqlFieldInfo(name); } - private native void newQSqlFieldInfo(String name); - public QSqlFieldInfo() { - newQSqlFieldInfo(); + private native void newTQSqlFieldInfo(String name); + public TQSqlFieldInfo() { + newTQSqlFieldInfo(); } - private native void newQSqlFieldInfo(); - public QSqlFieldInfo(QSqlFieldInfo other) { - newQSqlFieldInfo(other); + private native void newTQSqlFieldInfo(); + public TQSqlFieldInfo(TQSqlFieldInfo other) { + newTQSqlFieldInfo(other); } - private native void newQSqlFieldInfo(QSqlFieldInfo other); - public QSqlFieldInfo(QSqlField other, boolean generated) { - newQSqlFieldInfo(other,generated); + private native void newTQSqlFieldInfo(TQSqlFieldInfo other); + public TQSqlFieldInfo(TQSqlField other, boolean generated) { + newTQSqlFieldInfo(other,generated); } - private native void newQSqlFieldInfo(QSqlField other, boolean generated); - public QSqlFieldInfo(QSqlField other) { - newQSqlFieldInfo(other); + private native void newTQSqlFieldInfo(TQSqlField other, boolean generated); + public TQSqlFieldInfo(TQSqlField other) { + newTQSqlFieldInfo(other); } - private native void newQSqlFieldInfo(QSqlField other); - public native boolean op_equals(QSqlFieldInfo f); - public native QSqlField toField(); - public native int isRequired(); + private native void newTQSqlFieldInfo(TQSqlField other); + public native boolean op_equals(TQSqlFieldInfo f); + public native TQSqlField toField(); + public native int isRetquired(); public native int type(); public native int length(); public native int precision(); - public native QVariant defaultValue(); + public native TQVariant defaultValue(); public native String name(); public native int typeID(); public native boolean isGenerated(); diff --git a/qtjava/javalib/org/kde/qt/QSqlForm.java b/qtjava/javalib/org/kde/qt/QSqlForm.java index 3b075fb2..2584e8bc 100644 --- a/qtjava/javalib/org/kde/qt/QSqlForm.java +++ b/qtjava/javalib/org/kde/qt/QSqlForm.java @@ -3,35 +3,35 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlForm extends QObject { - protected QSqlForm(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSqlForm extends TQObject { + protected TQSqlForm(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QSqlForm(QObject parent, String name) { + public TQSqlForm(TQObject parent, String name) { super((Class) null); - newQSqlForm(parent,name); + newTQSqlForm(parent,name); } - private native void newQSqlForm(QObject parent, String name); - public QSqlForm(QObject parent) { + private native void newTQSqlForm(TQObject parent, String name); + public TQSqlForm(TQObject parent) { super((Class) null); - newQSqlForm(parent); + newTQSqlForm(parent); } - private native void newQSqlForm(QObject parent); - public QSqlForm() { + private native void newTQSqlForm(TQObject parent); + public TQSqlForm() { super((Class) null); - newQSqlForm(); + newTQSqlForm(); } - private native void newQSqlForm(); - public native void insert(QWidget widget, String field); + private native void newTQSqlForm(); + public native void insert(TQWidget widget, String field); public native void remove(String field); public native int count(); - public native QWidget widget(int i); - public native QSqlField widgetToField(QWidget widget); - public native QWidget fieldToWidget(QSqlField field); - public native void installPropertyMap(QSqlPropertyMap map); - public native void setRecord(QSqlRecord buf); - public native void readField(QWidget widget); - public native void writeField(QWidget widget); + 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(); @@ -39,8 +39,8 @@ public class QSqlForm extends QObject { public native void clearValues(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void insert(QWidget widget, QSqlField field); - protected native void remove(QWidget widget); + 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; diff --git a/qtjava/javalib/org/kde/qt/QSqlIndex.java b/qtjava/javalib/org/kde/qt/QSqlIndex.java index 133518ee..e93aa3f8 100644 --- a/qtjava/javalib/org/kde/qt/QSqlIndex.java +++ b/qtjava/javalib/org/kde/qt/QSqlIndex.java @@ -4,34 +4,34 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSqlIndex extends QSqlRecord { - protected QSqlIndex(Class dummy){super((Class) null);} - public QSqlIndex(String cursorName, String name) { +public class TQSqlIndex extends TQSqlRecord { + protected TQSqlIndex(Class dummy){super((Class) null);} + public TQSqlIndex(String cursorName, String name) { super((Class) null); - newQSqlIndex(cursorName,name); + newTQSqlIndex(cursorName,name); } - private native void newQSqlIndex(String cursorName, String name); - public QSqlIndex(String cursorName) { + private native void newTQSqlIndex(String cursorName, String name); + public TQSqlIndex(String cursorName) { super((Class) null); - newQSqlIndex(cursorName); + newTQSqlIndex(cursorName); } - private native void newQSqlIndex(String cursorName); - public QSqlIndex() { + private native void newTQSqlIndex(String cursorName); + public TQSqlIndex() { super((Class) null); - newQSqlIndex(); + newTQSqlIndex(); } - private native void newQSqlIndex(); - public QSqlIndex(QSqlIndex other) { + private native void newTQSqlIndex(); + public TQSqlIndex(TQSqlIndex other) { super((Class) null); - newQSqlIndex(other); + newTQSqlIndex(other); } - private native void newQSqlIndex(QSqlIndex 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(QSqlField field); - public native void append(QSqlField field, boolean desc); + 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); @@ -41,7 +41,7 @@ public class QSqlIndex extends QSqlRecord { public native ArrayList toStringList(String prefix, boolean verbose); public native ArrayList toStringList(String prefix); public native ArrayList toStringList(); - public static native QSqlIndex fromStringList(String[] l, QSqlCursor cursor); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java b/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java index 3815b8a7..c087c009 100644 --- a/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java +++ b/qtjava/javalib/org/kde/qt/QSqlPropertyMap.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlPropertyMap implements QtSupport { +public class TQSqlPropertyMap implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlPropertyMap(Class dummy){} + protected TQSqlPropertyMap(Class dummy){} - public QSqlPropertyMap() { - newQSqlPropertyMap(); + public TQSqlPropertyMap() { + newTQSqlPropertyMap(); } - private native void newQSqlPropertyMap(); - public native QVariant property(QWidget widget); - public native void setProperty(QWidget widget, QVariant value); + 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 QSqlPropertyMap defaultMap(); - public static native void installDefaultMap(QSqlPropertyMap map); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlQuery.java b/qtjava/javalib/org/kde/qt/QSqlQuery.java index ff5574eb..2587b1e7 100644 --- a/qtjava/javalib/org/kde/qt/QSqlQuery.java +++ b/qtjava/javalib/org/kde/qt/QSqlQuery.java @@ -3,50 +3,50 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlQuery implements QtSupport, QSqlQueryInterface { +public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlQuery(Class dummy){} + protected TQSqlQuery(Class dummy){} - public QSqlQuery(QSqlResult r) { - newQSqlQuery(r); + public TQSqlQuery(TQSqlResult r) { + newTQSqlQuery(r); } - private native void newQSqlQuery(QSqlResult r); - public QSqlQuery(String query, QSqlDatabase db) { - newQSqlQuery(query,db); + private native void newTQSqlQuery(TQSqlResult r); + public TQSqlQuery(String query, TQSqlDatabase db) { + newTQSqlQuery(query,db); } - private native void newQSqlQuery(String query, QSqlDatabase db); - public QSqlQuery(String query) { - newQSqlQuery(query); + private native void newTQSqlQuery(String query, TQSqlDatabase db); + public TQSqlQuery(String query) { + newTQSqlQuery(query); } - private native void newQSqlQuery(String query); - public QSqlQuery() { - newQSqlQuery(); + private native void newTQSqlQuery(String query); + public TQSqlQuery() { + newTQSqlQuery(); } - private native void newQSqlQuery(); - public QSqlQuery(QSqlDatabase db) { - newQSqlQuery(db); + private native void newTQSqlQuery(); + public TQSqlQuery(TQSqlDatabase db) { + newTQSqlQuery(db); } - private native void newQSqlQuery(QSqlDatabase db); - public QSqlQuery(QSqlQueryInterface other) { - newQSqlQuery(other); + private native void newTQSqlQuery(TQSqlDatabase db); + public TQSqlQuery(TQSqlQueryInterface other) { + newTQSqlQuery(other); } - private native void newQSqlQuery(QSqlQueryInterface 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 QSqlError lastError(); + public native TQSqlError lastError(); public native boolean isSelect(); public native int size(); - public native QSqlDriver driver(); - public native QSqlResult result(); + 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 QVariant value(int i); + public native TQVariant value(int i); public native boolean seek(int i, boolean relative); public native boolean seek(int i); public native boolean next(); @@ -55,15 +55,15 @@ public class QSqlQuery implements QtSupport, QSqlQueryInterface { public native boolean last(); public native boolean exec(); public native boolean prepare(String query); - public native void bindValue(String placeholder, QVariant val); - public native void bindValue(int pos, QVariant val); - public native void addBindValue(QVariant val); - public native void bindValue(String placeholder, QVariant val, int type); - public native void bindValue(int pos, QVariant val, int type); - public native void addBindValue(QVariant val, int type); - public native QVariant boundValue(String placeholder); - public native QVariant boundValue(int pos); - // QMap boundValues(); >>>> NOT CONVERTED + 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(); diff --git a/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java b/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java index b28ed2ef..26e566b9 100644 --- a/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java +++ b/qtjava/javalib/org/kde/qt/QSqlQueryInterface.java @@ -2,22 +2,22 @@ package org.kde.qt; -public interface QSqlQueryInterface { +public interface TQSqlQueryInterface { boolean isValid(); boolean isActive(); boolean isNull(int field); int at(); String lastQuery(); int numRowsAffected(); - QSqlError lastError(); + TQSqlError lastError(); boolean isSelect(); int size(); - QSqlDriver driver(); - QSqlResult result(); + TQSqlDriver driver(); + TQSqlResult result(); boolean isForwardOnly(); void setForwardOnly(boolean forward); boolean exec(String query); - QVariant value(int i); + TQVariant value(int i); boolean seek(int i, boolean relative); boolean seek(int i); boolean next(); @@ -26,13 +26,13 @@ public interface QSqlQueryInterface { boolean last(); boolean exec(); boolean prepare(String query); - void bindValue(String placeholder, QVariant val); - void bindValue(int pos, QVariant val); - void addBindValue(QVariant val); - void bindValue(String placeholder, QVariant val, int type); - void bindValue(int pos, QVariant val, int type); - void addBindValue(QVariant val, int type); - QVariant boundValue(String placeholder); - QVariant boundValue(int pos); + 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 index 69ba2b73..4685ec18 100644 --- a/qtjava/javalib/org/kde/qt/QSqlRecord.java +++ b/qtjava/javalib/org/kde/qt/QSqlRecord.java @@ -4,23 +4,23 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSqlRecord implements QtSupport { +public class TQSqlRecord implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlRecord(Class dummy){} + protected TQSqlRecord(Class dummy){} - public QSqlRecord() { - newQSqlRecord(); + public TQSqlRecord() { + newTQSqlRecord(); } - private native void newQSqlRecord(); - public QSqlRecord(QSqlRecord other) { - newQSqlRecord(other); + private native void newTQSqlRecord(); + public TQSqlRecord(TQSqlRecord other) { + newTQSqlRecord(other); } - private native void newQSqlRecord(QSqlRecord other); - public native QVariant value(int i); - public native QVariant value(String name); - public native void setValue(int i, QVariant val); - public native void setValue(String name, QVariant val); + 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); @@ -31,10 +31,10 @@ public class QSqlRecord implements QtSupport { public native boolean isNull(String name); public native int position(String name); public native String fieldName(int i); - public native QSqlField field(int i); - public native QSqlField field(String name); - public native void append(QSqlField field); - public native void insert(int pos, QSqlField field); + 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); diff --git a/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java b/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java index b8e9ba40..25ad8924 100644 --- a/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java +++ b/qtjava/javalib/org/kde/qt/QSqlRecordInfo.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlRecordInfo implements QtSupport { +public class TQSqlRecordInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlRecordInfo(Class dummy){} + protected TQSqlRecordInfo(Class dummy){} - public QSqlRecordInfo() { - newQSqlRecordInfo(); + public TQSqlRecordInfo() { + newTQSqlRecordInfo(); } - private native void newQSqlRecordInfo(); - // QSqlRecordInfo* QSqlRecordInfo(const QSqlFieldInfoList& arg1); >>>> NOT CONVERTED - public QSqlRecordInfo(QSqlRecord other) { - newQSqlRecordInfo(other); + private native void newTQSqlRecordInfo(); + // TQSqlRecordInfo* TQSqlRecordInfo(const TQSqlFieldInfoList& arg1); >>>> NOT CONVERTED + public TQSqlRecordInfo(TQSqlRecord other) { + newTQSqlRecordInfo(other); } - private native void newQSqlRecordInfo(QSqlRecord other); + private native void newTQSqlRecordInfo(TQSqlRecord other); public native int contains(String fieldName); - public native QSqlFieldInfo find(String fieldName); - public native QSqlRecord toRecord(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QSqlResult.java b/qtjava/javalib/org/kde/qt/QSqlResult.java index 906b1ec9..1b332a08 100644 --- a/qtjava/javalib/org/kde/qt/QSqlResult.java +++ b/qtjava/javalib/org/kde/qt/QSqlResult.java @@ -3,11 +3,11 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlResult implements QtSupport { +public class TQSqlResult implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlResult(Class dummy){} + protected TQSqlResult(Class dummy){} - // void setExtension(QSqlExtension* arg1); >>>> NOT CONVERTED - // QSqlExtension* extension(); >>>> NOT CONVERTED + // 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 index 23e5321a..29180475 100644 --- a/qtjava/javalib/org/kde/qt/QStatusBar.java +++ b/qtjava/javalib/org/kde/qt/QStatusBar.java @@ -4,31 +4,31 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QStatusBarSignals} for signals emitted by QStatusBar + See {@link TQStatusBarSignals} for signals emitted by TQStatusBar */ -public class QStatusBar extends QWidget { - protected QStatusBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQStatusBar extends TQWidget { + protected TQStatusBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QStatusBar(QWidget parent, String name) { + public TQStatusBar(TQWidget parent, String name) { super((Class) null); - newQStatusBar(parent,name); + newTQStatusBar(parent,name); } - private native void newQStatusBar(QWidget parent, String name); - public QStatusBar(QWidget parent) { + private native void newTQStatusBar(TQWidget parent, String name); + public TQStatusBar(TQWidget parent) { super((Class) null); - newQStatusBar(parent); + newTQStatusBar(parent); } - private native void newQStatusBar(QWidget parent); - public QStatusBar() { + private native void newTQStatusBar(TQWidget parent); + public TQStatusBar() { super((Class) null); - newQStatusBar(); + newTQStatusBar(); } - private native void newQStatusBar(); - public native void addWidget(QWidget arg1, int stretch, boolean arg3); - public native void addWidget(QWidget arg1, int stretch); - public native void addWidget(QWidget arg1); - public native void removeWidget(QWidget arg1); + 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); @@ -36,11 +36,11 @@ public class QStatusBar extends QWidget { public native void clear(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent 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(QEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QStatusBarSignals.java b/qtjava/javalib/org/kde/qt/QStatusBarSignals.java index 92f6f615..2566f225 100644 --- a/qtjava/javalib/org/kde/qt/QStatusBarSignals.java +++ b/qtjava/javalib/org/kde/qt/QStatusBarSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QStatusBarSignals { +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 index 0d7d4ada..b0b6acdd 100644 --- a/qtjava/javalib/org/kde/qt/QStoredDrag.java +++ b/qtjava/javalib/org/kde/qt/QStoredDrag.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStoredDrag extends QDragObject { - protected QStoredDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQStoredDrag extends TQDragObject { + protected TQStoredDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QStoredDrag(String mimeType, QWidget dragSource, String name) { + public TQStoredDrag(String mimeType, TQWidget dragSource, String name) { super((Class) null); - newQStoredDrag(mimeType,dragSource,name); + newTQStoredDrag(mimeType,dragSource,name); } - private native void newQStoredDrag(String mimeType, QWidget dragSource, String name); - public QStoredDrag(String mimeType, QWidget dragSource) { + private native void newTQStoredDrag(String mimeType, TQWidget dragSource, String name); + public TQStoredDrag(String mimeType, TQWidget dragSource) { super((Class) null); - newQStoredDrag(mimeType,dragSource); + newTQStoredDrag(mimeType,dragSource); } - private native void newQStoredDrag(String mimeType, QWidget dragSource); - public QStoredDrag(String mimeType) { + private native void newTQStoredDrag(String mimeType, TQWidget dragSource); + public TQStoredDrag(String mimeType) { super((Class) null); - newQStoredDrag(mimeType); + newTQStoredDrag(mimeType); } - private native void newQStoredDrag(String 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); diff --git a/qtjava/javalib/org/kde/qt/QStyle.java b/qtjava/javalib/org/kde/qt/QStyle.java index f04bf0ed..f91e9796 100644 --- a/qtjava/javalib/org/kde/qt/QStyle.java +++ b/qtjava/javalib/org/kde/qt/QStyle.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStyle extends QObject { - protected QStyle(Class dummy){super((Class) null);} +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; @@ -302,55 +302,55 @@ public class QStyle extends QObject { public static final int SP_MessageBoxQuestion = 10; public static final int SP_CustomBase = 0xf0000000; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public native void polish(QWidget arg1); - public native void unPolish(QWidget arg1); - public native void polish(QApplication arg1); - public native void unPolish(QApplication arg1); - public native void polish(QPalette arg1); - public native void polishPopupMenu(QPopupMenu arg1); - public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text, int len); - public native QRect itemRect(QPainter p, QRect r, int flags, boolean enabled, QPixmap pixmap, String text); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len, QColor penColor); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len); - public native void drawItem(QPainter p, QRect r, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags, QStyleOption arg6); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg, int flags); - public native void drawPrimitive(int pe, QPainter p, QRect r, QColorGroup cg); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, QStyleOption arg7); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how); - public native void drawControl(int element, QPainter p, QWidget widget, QRect r, QColorGroup cg); - public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r, QStyleOption arg5); - public native void drawControlMask(int element, QPainter p, QWidget widget, QRect r); - public native QRect subRect(int r, QWidget widget); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive, QStyleOption arg9); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub, int subActive); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how, int sub); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg, int how); - public native void drawComplexControl(int control, QPainter p, QWidget widget, QRect r, QColorGroup cg); - public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r, QStyleOption arg5); - public native void drawComplexControlMask(int control, QPainter p, QWidget widget, QRect r); - public native QRect querySubControlMetrics(int control, QWidget widget, int sc, QStyleOption arg4); - public native QRect querySubControlMetrics(int control, QWidget widget, int sc); - public native int querySubControl(int control, QWidget widget, QPoint pos, QStyleOption arg4); - public native int querySubControl(int control, QWidget widget, QPoint pos); - public native int pixelMetric(int metric, QWidget widget); + 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 QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize, QStyleOption arg4); - public native QSize sizeFromContents(int contents, QWidget widget, QSize contentsSize); - // int styleHint(QStyle::StyleHint arg1,const QWidget* arg2,const QStyleOption& arg3,QStyleHintReturn* arg4); >>>> NOT CONVERTED - public native int styleHint(int stylehint, QWidget widget, QStyleOption arg3); - public native int styleHint(int stylehint, QWidget widget); + 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 QPixmap stylePixmap(int stylepixmap, QWidget widget, QStyleOption arg3); - public native QPixmap stylePixmap(int stylepixmap, QWidget widget); - public native QPixmap stylePixmap(int stylepixmap); + 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(QWidget t, int[] hf, int[] vf, int[] ov); - public native QSize scrollBarExtent(); + 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 QRect visualRect(QRect logical, QWidget w); - public static native QRect visualRect(QRect logical, QRect bounding); + 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 index 884d45d5..f0970703 100644 --- a/qtjava/javalib/org/kde/qt/QStyleFactory.java +++ b/qtjava/javalib/org/kde/qt/QStyleFactory.java @@ -4,17 +4,17 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QStyleFactory implements QtSupport { +public class TQStyleFactory implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QStyleFactory(Class dummy){} + protected TQStyleFactory(Class dummy){} - public QStyleFactory() { - newQStyleFactory(); + public TQStyleFactory() { + newTQStyleFactory(); } - private native void newQStyleFactory(); + private native void newTQStyleFactory(); public static native ArrayList keys(); - public static native QStyle create(String arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QStyleOption.java b/qtjava/javalib/org/kde/qt/QStyleOption.java index fc7ded15..0c37792c 100644 --- a/qtjava/javalib/org/kde/qt/QStyleOption.java +++ b/qtjava/javalib/org/kde/qt/QStyleOption.java @@ -3,65 +3,65 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStyleOption implements QtSupport { +public class TQStyleOption implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QStyleOption(Class dummy){} + protected TQStyleOption(Class dummy){} public static final int Default = 0; - public QStyleOption(int arg1) { - newQStyleOption(arg1); + public TQStyleOption(int arg1) { + newTQStyleOption(arg1); } - private native void newQStyleOption(int arg1); - public QStyleOption() { - newQStyleOption(); + private native void newTQStyleOption(int arg1); + public TQStyleOption() { + newTQStyleOption(); } - private native void newQStyleOption(); - public QStyleOption(int in1, int in2) { - newQStyleOption(in1,in2); + private native void newTQStyleOption(); + public TQStyleOption(int in1, int in2) { + newTQStyleOption(in1,in2); } - private native void newQStyleOption(int in1, int in2); - public QStyleOption(int in1, int in2, int in3, int in4) { - newQStyleOption(in1,in2,in3,in4); + 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 newQStyleOption(int in1, int in2, int in3, int in4); - public QStyleOption(QMenuItem m) { - newQStyleOption(m); + private native void newTQStyleOption(int in1, int in2, int in3, int in4); + public TQStyleOption(TQMenuItem m) { + newTQStyleOption(m); } - private native void newQStyleOption(QMenuItem m); - public QStyleOption(QMenuItem m, int in1) { - newQStyleOption(m,in1); + private native void newTQStyleOption(TQMenuItem m); + public TQStyleOption(TQMenuItem m, int in1) { + newTQStyleOption(m,in1); } - private native void newQStyleOption(QMenuItem m, int in1); - public QStyleOption(QMenuItem m, int in1, int in2) { - newQStyleOption(m,in1,in2); + private native void newTQStyleOption(TQMenuItem m, int in1); + public TQStyleOption(TQMenuItem m, int in1, int in2) { + newTQStyleOption(m,in1,in2); } - private native void newQStyleOption(QMenuItem m, int in1, int in2); - public QStyleOption(QColor c) { - newQStyleOption(c); + private native void newTQStyleOption(TQMenuItem m, int in1, int in2); + public TQStyleOption(TQColor c) { + newTQStyleOption(c); } - private native void newQStyleOption(QColor c); - public QStyleOption(QTab t) { - newQStyleOption(t); + private native void newTQStyleOption(TQColor c); + public TQStyleOption(TQTab t) { + newTQStyleOption(t); } - private native void newQStyleOption(QTab t); - public QStyleOption(QListViewItem i) { - newQStyleOption(i); + private native void newTQStyleOption(TQTab t); + public TQStyleOption(TQListViewItem i) { + newTQStyleOption(i); } - private native void newQStyleOption(QListViewItem i); - public QStyleOption(QCheckListItem i) { - newQStyleOption(i); + private native void newTQStyleOption(TQListViewItem i); + public TQStyleOption(TQCheckListItem i) { + newTQStyleOption(i); } - private native void newQStyleOption(QCheckListItem i); - public QStyleOption(QRect r) { - newQStyleOption(r); + private native void newTQStyleOption(TQCheckListItem i); + public TQStyleOption(TQRect r) { + newTQStyleOption(r); } - private native void newQStyleOption(QRect r); - public QStyleOption(QWidget w) { - newQStyleOption(w); + private native void newTQStyleOption(TQRect r); + public TQStyleOption(TQWidget w) { + newTQStyleOption(w); } - private native void newQStyleOption(QWidget w); + private native void newTQStyleOption(TQWidget w); public native boolean isDefault(); public native int day(); public native int lineWidth(); @@ -69,16 +69,16 @@ public class QStyleOption implements QtSupport { public native int frameShape(); public native int frameShadow(); public native int headerSection(); - public native QMenuItem menuItem(); + public native TQMenuItem menuItem(); public native int maxIconWidth(); public native int tabWidth(); - public native QColor color(); - public native QTab tab(); - public native QCheckListItem checkListItem(); - public native QListViewItem listViewItem(); + public native TQColor color(); + public native TQTab tab(); + public native TQCheckListItem checkListItem(); + public native TQListViewItem listViewItem(); public native int arrowType(); - public native QRect rect(); - public native QWidget widget(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QStyleSheet.java b/qtjava/javalib/org/kde/qt/QStyleSheet.java index 1e26bced..cecc9190 100644 --- a/qtjava/javalib/org/kde/qt/QStyleSheet.java +++ b/qtjava/javalib/org/kde/qt/QStyleSheet.java @@ -3,34 +3,34 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStyleSheet extends QObject { - protected QStyleSheet(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQStyleSheet extends TQObject { + protected TQStyleSheet(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QStyleSheet(QObject parent, String name) { + public TQStyleSheet(TQObject parent, String name) { super((Class) null); - newQStyleSheet(parent,name); + newTQStyleSheet(parent,name); } - private native void newQStyleSheet(QObject parent, String name); - public QStyleSheet(QObject parent) { + private native void newTQStyleSheet(TQObject parent, String name); + public TQStyleSheet(TQObject parent) { super((Class) null); - newQStyleSheet(parent); + newTQStyleSheet(parent); } - private native void newQStyleSheet(QObject parent); - public QStyleSheet() { + private native void newTQStyleSheet(TQObject parent); + public TQStyleSheet() { super((Class) null); - newQStyleSheet(); + newTQStyleSheet(); } - private native void newQStyleSheet(); - public native QStyleSheetItem item(String name); - public native void insert(QStyleSheetItem item); - // QTextCustomItem* tag(const QString& arg1,const QMap& arg2,const QString& arg3,const QMimeSourceFactory& arg4,bool arg5,QTextDocument* arg6); >>>> NOT CONVERTED - public native void scaleFont(QFont font, int logicalSize); + 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 QStyleSheet defaultSheet(); - public static native void setDefaultSheet(QStyleSheet 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); diff --git a/qtjava/javalib/org/kde/qt/QStyleSheetItem.java b/qtjava/javalib/org/kde/qt/QStyleSheetItem.java index 4102c2f7..ec966e51 100644 --- a/qtjava/javalib/org/kde/qt/QStyleSheetItem.java +++ b/qtjava/javalib/org/kde/qt/QStyleSheetItem.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QStyleSheetItem extends Qt { - protected QStyleSheetItem(Class dummy){super((Class) null);} +public class TQStyleSheetItem extends Qt { + protected TQStyleSheetItem(Class dummy){super((Class) null);} public static final int Undefined = -1; public static final int DisplayBlock = 0; @@ -40,18 +40,18 @@ public class QStyleSheetItem extends Qt { public static final int ListUpperAlpha = 5; public static final int ListStyleUndefined = -1; - public QStyleSheetItem(QStyleSheet parent, String name) { + public TQStyleSheetItem(TQStyleSheet parent, String name) { super((Class) null); - newQStyleSheetItem(parent,name); + newTQStyleSheetItem(parent,name); } - private native void newQStyleSheetItem(QStyleSheet parent, String name); - public QStyleSheetItem(QStyleSheetItem arg1) { + private native void newTQStyleSheetItem(TQStyleSheet parent, String name); + public TQStyleSheetItem(TQStyleSheetItem arg1) { super((Class) null); - newQStyleSheetItem(arg1); + newTQStyleSheetItem(arg1); } - private native void newQStyleSheetItem(QStyleSheetItem arg1); + private native void newTQStyleSheetItem(TQStyleSheetItem arg1); public native String name(); - public native QStyleSheet styleSheet(); + public native TQStyleSheet styleSheet(); public native int displayMode(); public native void setDisplayMode(int m); public native int alignment(); @@ -70,8 +70,8 @@ public class QStyleSheetItem extends Qt { public native void setFontFamily(String arg1); public native int numberOfColumns(); public native void setNumberOfColumns(int ncols); - public native QColor color(); - public native void setColor(QColor arg1); + public native TQColor color(); + public native void setColor(TQColor arg1); public native boolean fontItalic(); public native void setFontItalic(boolean arg1); public native boolean definesFontItalic(); @@ -91,7 +91,7 @@ public class QStyleSheetItem extends Qt { public native void setListStyle(int arg1); public native String contexts(); public native void setContexts(String arg1); - public native boolean allowedInContext(QStyleSheetItem arg1); + public native boolean allowedInContext(TQStyleSheetItem arg1); public native boolean selfNesting(); public native void setSelfNesting(boolean arg1); public native void setLineSpacing(int ls); diff --git a/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java b/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java index d246c901..ea0089a7 100644 --- a/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java +++ b/qtjava/javalib/org/kde/qt/QSyntaxHighlighter.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSyntaxHighlighter extends Qt { - protected QSyntaxHighlighter(Class dummy){super((Class) null);} +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, QFont font, QColor color); - public native void setFormat(int start, int count, QColor color); - public native void setFormat(int start, int count, QFont font); - public native QTextEdit textEdit(); + 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 index e4e383cf..28c2fd88 100644 --- a/qtjava/javalib/org/kde/qt/QTab.java +++ b/qtjava/javalib/org/kde/qt/QTab.java @@ -3,34 +3,34 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTab extends Qt { - protected QTab(Class dummy){super((Class) null);} - public QTab() { +public class TQTab extends Qt { + protected TQTab(Class dummy){super((Class) null);} + public TQTab() { super((Class) null); - newQTab(); + newTQTab(); } - private native void newQTab(); - public QTab(String text) { + private native void newTQTab(); + public TQTab(String text) { super((Class) null); - newQTab(text); + newTQTab(text); } - private native void newQTab(String text); - public QTab(QIconSet icon, String text) { + private native void newTQTab(String text); + public TQTab(TQIconSet icon, String text) { super((Class) null); - newQTab(icon,text); + newTQTab(icon,text); } - private native void newQTab(QIconSet icon, String text); - public QTab(QIconSet icon) { + private native void newTQTab(TQIconSet icon, String text); + public TQTab(TQIconSet icon) { super((Class) null); - newQTab(icon); + newTQTab(icon); } - private native void newQTab(QIconSet icon); + private native void newTQTab(TQIconSet icon); public native void setText(String text); public native String text(); - public native void setIconSet(QIconSet icon); - public native QIconSet iconSet(); - public native void setRect(QRect rect); - public native QRect rect(); + 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); diff --git a/qtjava/javalib/org/kde/qt/QTabBar.java b/qtjava/javalib/org/kde/qt/QTabBar.java index 2a7917a5..b4b283d1 100644 --- a/qtjava/javalib/org/kde/qt/QTabBar.java +++ b/qtjava/javalib/org/kde/qt/QTabBar.java @@ -4,72 +4,72 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTabBarSignals} for signals emitted by QTabBar + See {@link TQTabBarSignals} for signals emitted by TQTabBar */ -public class QTabBar extends QWidget { - protected QTabBar(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTabBar(QWidget parent, String name) { + public TQTabBar(TQWidget parent, String name) { super((Class) null); - newQTabBar(parent,name); + newTQTabBar(parent,name); } - private native void newQTabBar(QWidget parent, String name); - public QTabBar(QWidget parent) { + private native void newTQTabBar(TQWidget parent, String name); + public TQTabBar(TQWidget parent) { super((Class) null); - newQTabBar(parent); + newTQTabBar(parent); } - private native void newQTabBar(QWidget parent); - public QTabBar() { + private native void newTQTabBar(TQWidget parent); + public TQTabBar() { super((Class) null); - newQTabBar(); + newTQTabBar(); } - private native void newQTabBar(); + private native void newTQTabBar(); public native int shape(); public native void setShape(int arg1); public native void show(); - public native int addTab(QTab arg1); - public native int insertTab(QTab arg1, int index); - public native int insertTab(QTab arg1); - public native void removeTab(QTab arg1); + 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 QSize sizeHint(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); public native int currentTab(); public native int keyboardFocusTab(); - public native QTab tab(int arg1); - public native QTab tabAt(int arg1); + 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 QTab selectTab(QPoint p); + 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(QTab 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(QPainter arg1, QTab arg2, boolean arg3); - protected native void paintLabel(QPainter arg1, QRect arg2, QTab arg3, boolean arg4); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - public native void styleChange(QStyle arg1); - protected native void fontChange(QFont arg1); - public native boolean event(QEvent e); - // QPtrList* tabList(); >>>> NOT CONVERTED + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTabBarSignals.java b/qtjava/javalib/org/kde/qt/QTabBarSignals.java index b196674b..4f3a5e44 100644 --- a/qtjava/javalib/org/kde/qt/QTabBarSignals.java +++ b/qtjava/javalib/org/kde/qt/QTabBarSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QTabBarSignals { +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 index 9629c348..f8c0008d 100644 --- a/qtjava/javalib/org/kde/qt/QTabDialog.java +++ b/qtjava/javalib/org/kde/qt/QTabDialog.java @@ -4,58 +4,58 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTabDialogSignals} for signals emitted by QTabDialog + See {@link TQTabDialogSignals} for signals emitted by TQTabDialog */ -public class QTabDialog extends QDialog { - protected QTabDialog(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQTabDialog extends TQDialog { + protected TQTabDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QTabDialog(QWidget parent, String name, boolean modal, int f) { + public TQTabDialog(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQTabDialog(parent,name,modal,f); + newTQTabDialog(parent,name,modal,f); } - private native void newQTabDialog(QWidget parent, String name, boolean modal, int f); - public QTabDialog(QWidget parent, String name, boolean modal) { + private native void newTQTabDialog(TQWidget parent, String name, boolean modal, int f); + public TQTabDialog(TQWidget parent, String name, boolean modal) { super((Class) null); - newQTabDialog(parent,name,modal); + newTQTabDialog(parent,name,modal); } - private native void newQTabDialog(QWidget parent, String name, boolean modal); - public QTabDialog(QWidget parent, String name) { + private native void newTQTabDialog(TQWidget parent, String name, boolean modal); + public TQTabDialog(TQWidget parent, String name) { super((Class) null); - newQTabDialog(parent,name); + newTQTabDialog(parent,name); } - private native void newQTabDialog(QWidget parent, String name); - public QTabDialog(QWidget parent) { + private native void newTQTabDialog(TQWidget parent, String name); + public TQTabDialog(TQWidget parent) { super((Class) null); - newQTabDialog(parent); + newTQTabDialog(parent); } - private native void newQTabDialog(QWidget parent); - public QTabDialog() { + private native void newTQTabDialog(TQWidget parent); + public TQTabDialog() { super((Class) null); - newQTabDialog(); + newTQTabDialog(); } - private native void newQTabDialog(); + private native void newTQTabDialog(); public native void show(); - public native void setFont(QFont font); - public native void addTab(QWidget arg1, String arg2); - public native void addTab(QWidget child, QIconSet iconset, String label); - public native void addTab(QWidget arg1, QTab arg2); - public native void insertTab(QWidget arg1, String arg2, int index); - public native void insertTab(QWidget arg1, String arg2); - public native void insertTab(QWidget child, QIconSet iconset, String label, int index); - public native void insertTab(QWidget child, QIconSet iconset, String label); - public native void insertTab(QWidget arg1, QTab arg2, int index); - public native void insertTab(QWidget arg1, QTab arg2); - public native void changeTab(QWidget arg1, String arg2); - public native void changeTab(QWidget child, QIconSet iconset, String label); - public native boolean isTabEnabled(QWidget arg1); - public native void setTabEnabled(QWidget arg1, boolean arg2); + 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(QWidget arg1); - public native void removePage(QWidget arg1); - public native String tabLabel(QWidget arg1); - public native QWidget currentPage(); + 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(); @@ -75,11 +75,11 @@ public class QTabDialog extends QDialog { public native boolean hasOkButton(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - public native void styleChange(QStyle arg1); - protected native void setTabBar(QTabBar arg1); - protected native QTabBar tabBar(); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTabDialogSignals.java b/qtjava/javalib/org/kde/qt/QTabDialogSignals.java index f8c2e06d..9e709fc9 100644 --- a/qtjava/javalib/org/kde/qt/QTabDialogSignals.java +++ b/qtjava/javalib/org/kde/qt/QTabDialogSignals.java @@ -2,12 +2,12 @@ package org.kde.qt; -public interface QTabDialogSignals { +public interface TQTabDialogSignals { void aboutToShow(); void applyButtonPressed(); void cancelButtonPressed(); void defaultButtonPressed(); void helpButtonPressed(); - void currentChanged(QWidget arg1); + 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 index 20496804..92cd59ff 100644 --- a/qtjava/javalib/org/kde/qt/QTabWidget.java +++ b/qtjava/javalib/org/kde/qt/QTabWidget.java @@ -4,69 +4,69 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTabWidgetSignals} for signals emitted by QTabWidget + See {@link TQTabWidgetSignals} for signals emitted by TQTabWidget */ -public class QTabWidget extends QWidget { - protected QTabWidget(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTabWidget(QWidget parent, String name, int f) { + public TQTabWidget(TQWidget parent, String name, int f) { super((Class) null); - newQTabWidget(parent,name,f); + newTQTabWidget(parent,name,f); } - private native void newQTabWidget(QWidget parent, String name, int f); - public QTabWidget(QWidget parent, String name) { + private native void newTQTabWidget(TQWidget parent, String name, int f); + public TQTabWidget(TQWidget parent, String name) { super((Class) null); - newQTabWidget(parent,name); + newTQTabWidget(parent,name); } - private native void newQTabWidget(QWidget parent, String name); - public QTabWidget(QWidget parent) { + private native void newTQTabWidget(TQWidget parent, String name); + public TQTabWidget(TQWidget parent) { super((Class) null); - newQTabWidget(parent); + newTQTabWidget(parent); } - private native void newQTabWidget(QWidget parent); - public QTabWidget() { + private native void newTQTabWidget(TQWidget parent); + public TQTabWidget() { super((Class) null); - newQTabWidget(); + newTQTabWidget(); } - private native void newQTabWidget(); - public native void addTab(QWidget arg1, String arg2); - public native void addTab(QWidget child, QIconSet iconset, String label); - public native void addTab(QWidget arg1, QTab arg2); - public native void insertTab(QWidget arg1, String arg2, int index); - public native void insertTab(QWidget arg1, String arg2); - public native void insertTab(QWidget child, QIconSet iconset, String label, int index); - public native void insertTab(QWidget child, QIconSet iconset, String label); - public native void insertTab(QWidget arg1, QTab arg2, int index); - public native void insertTab(QWidget arg1, QTab arg2); - public native void changeTab(QWidget arg1, String arg2); - public native void changeTab(QWidget child, QIconSet iconset, String label); - public native boolean isTabEnabled(QWidget arg1); - public native void setTabEnabled(QWidget arg1, boolean arg2); - public native void setCornerWidget(QWidget w, int corner); - public native void setCornerWidget(QWidget w); - public native QWidget cornerWidget(int corner); - public native QWidget cornerWidget(); - public native String tabLabel(QWidget arg1); - public native void setTabLabel(QWidget p, String l); - public native QIconSet tabIconSet(QWidget w); - public native void setTabIconSet(QWidget w, QIconSet iconset); - public native void removeTabToolTip(QWidget w); - public native void setTabToolTip(QWidget w, String tip); - public native String tabToolTip(QWidget w); - public native QWidget currentPage(); - public native QWidget page(int arg1); + 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(QWidget arg1); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(); @@ -75,17 +75,17 @@ public class QTabWidget extends QWidget { public native void setMargin(int arg1); public native int count(); public native void setCurrentPage(int arg1); - public native void showPage(QWidget arg1); - public native void removePage(QWidget 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(QShowEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void setTabBar(QTabBar arg1); - protected native QTabBar tabBar(); - public native void styleChange(QStyle 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(QObject arg1, QEvent arg2); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java b/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java index 933aadb6..106f6d78 100644 --- a/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java +++ b/qtjava/javalib/org/kde/qt/QTabWidgetSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QTabWidgetSignals { - void currentChanged(QWidget arg1); +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 index cf249fbe..622e9391 100644 --- a/qtjava/javalib/org/kde/qt/QTable.java +++ b/qtjava/javalib/org/kde/qt/QTable.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTableSignals} for signals emitted by QTable + See {@link TQTableSignals} for signals emitted by TQTable */ -public class QTable extends QScrollView { - protected QTable(Class dummy){super((Class) null);} +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; @@ -21,50 +21,50 @@ public class QTable extends QScrollView { public static final int Editing = 1; public static final int Replacing = 2; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTable(QWidget parent, String name) { + public TQTable(TQWidget parent, String name) { super((Class) null); - newQTable(parent,name); + newTQTable(parent,name); } - private native void newQTable(QWidget parent, String name); - public QTable(QWidget parent) { + private native void newTQTable(TQWidget parent, String name); + public TQTable(TQWidget parent) { super((Class) null); - newQTable(parent); + newTQTable(parent); } - private native void newQTable(QWidget parent); - public QTable() { + private native void newTQTable(TQWidget parent); + public TQTable() { super((Class) null); - newQTable(); + newTQTable(); } - private native void newQTable(); - public QTable(int numRows, int numCols, QWidget parent, String name) { + private native void newTQTable(); + public TQTable(int numRows, int numCols, TQWidget parent, String name) { super((Class) null); - newQTable(numRows,numCols,parent,name); + newTQTable(numRows,numCols,parent,name); } - private native void newQTable(int numRows, int numCols, QWidget parent, String name); - public QTable(int numRows, int numCols, QWidget parent) { + private native void newTQTable(int numRows, int numCols, TQWidget parent, String name); + public TQTable(int numRows, int numCols, TQWidget parent) { super((Class) null); - newQTable(numRows,numCols,parent); + newTQTable(numRows,numCols,parent); } - private native void newQTable(int numRows, int numCols, QWidget parent); - public QTable(int numRows, int numCols) { + private native void newTQTable(int numRows, int numCols, TQWidget parent); + public TQTable(int numRows, int numCols) { super((Class) null); - newQTable(numRows,numCols); + newTQTable(numRows,numCols); } - private native void newQTable(int numRows, int numCols); - public native QHeader horizontalHeader(); - public native QHeader verticalHeader(); + 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, QTableItem item); + 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, QPixmap pix); - public native QTableItem item(int row, int col); + 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 QPixmap pixmap(int row, int col); + public native TQPixmap pixmap(int row, int col); public native void clearCell(int row, int col); - public native QRect cellGeometry(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); @@ -74,7 +74,7 @@ public class QTable extends QScrollView { public native int numRows(); public native int numCols(); public native void updateCell(int row, int col); - public native boolean eventFilter(QObject o, QEvent arg2); + public native boolean eventFilter(TQObject o, TQEvent arg2); public native int currentRow(); public native int currentColumn(); public native void ensureCellVisible(int row, int col); @@ -84,9 +84,9 @@ public class QTable extends QScrollView { public native boolean isColumnSelected(int col, boolean full); public native boolean isColumnSelected(int col); public native int numSelections(); - public native QTableSelection selection(int num); - public native int addSelection(QTableSelection s); - public native void removeSelection(QTableSelection s); + 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); @@ -99,15 +99,15 @@ public class QTable extends QScrollView { public native void sortColumn(int col, boolean ascending); public native void sortColumn(int col); public native boolean sortOnInsert(); - public native void takeItem(QTableItem i); - public native void setCellWidget(int row, int col, QWidget e); - public native QWidget cellWidget(int row, int col); + 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 QRect cellRect(int row, int col); - public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected); - public native void paintCell(QPainter p, int row, int col, QRect cr, boolean selected, QColorGroup cg); - public native void paintFocus(QPainter p, QRect r); - public native QSize sizeHint(); + 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); @@ -156,46 +156,46 @@ public class QTable extends QScrollView { public native void insertColumns(int col, int count); public native void insertColumns(int col); public native void removeRow(int row); - // void removeRows(const QMemArray& arg1); >>>> NOT CONVERTED + // void removeRows(const TQMemArray& arg1); >>>> NOT CONVERTED public native void removeColumn(int col); - // void removeColumns(const QMemArray& arg1); >>>> NOT CONVERTED + // 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(QPainter p, int cx, int cy, int cw, int ch); - protected native void contentsMousePressEvent(QMouseEvent arg1); - protected native void contentsMouseMoveEvent(QMouseEvent arg1); - protected native void contentsMouseDoubleClickEvent(QMouseEvent arg1); - protected native void contentsMouseReleaseEvent(QMouseEvent arg1); - protected native void contentsContextMenuEvent(QContextMenuEvent e); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void viewportResizeEvent(QResizeEvent arg1); - public native void showEvent(QShowEvent e); - protected native void paintEvent(QPaintEvent e); - // void setEditMode(QTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native QDragObject dragObject(); + 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(QPainter p, int cx, int cy, int cw, int ch); + protected native void paintEmptyArea(TQPainter p, int cx, int cy, int cw, int ch); protected native void activateNextCell(); - protected native QWidget createEditor(int row, int col, boolean initFromCell); + protected native TQWidget createEditor(int row, int col, boolean initFromCell); protected native void setCellContentFromEditor(int row, int col); - protected native QWidget beginEdit(int row, int col, boolean replace); + 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, QWidget w); + 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(); - // QTable::EditMode editMode(); >>>> NOT CONVERTED + // TQTable::EditMode editMode(); >>>> NOT CONVERTED protected native int currEditRow(); protected native int currEditCol(); protected native void columnWidthChanged(int col); diff --git a/qtjava/javalib/org/kde/qt/QTableItem.java b/qtjava/javalib/org/kde/qt/QTableItem.java index adbb8b8a..fde82a7f 100644 --- a/qtjava/javalib/org/kde/qt/QTableItem.java +++ b/qtjava/javalib/org/kde/qt/QTableItem.java @@ -3,43 +3,43 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTableItem extends Qt { - protected QTableItem(Class dummy){super((Class) null);} +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 QTableItem(QTable table, int et) { + public TQTableItem(TQTable table, int et) { super((Class) null); - newQTableItem(table,et); + newTQTableItem(table,et); } - private native void newQTableItem(QTable table, int et); - public QTableItem(QTable table, int et, String text) { + private native void newTQTableItem(TQTable table, int et); + public TQTableItem(TQTable table, int et, String text) { super((Class) null); - newQTableItem(table,et,text); + newTQTableItem(table,et,text); } - private native void newQTableItem(QTable table, int et, String text); - public QTableItem(QTable table, int et, String text, QPixmap p) { + private native void newTQTableItem(TQTable table, int et, String text); + public TQTableItem(TQTable table, int et, String text, TQPixmap p) { super((Class) null); - newQTableItem(table,et,text,p); + newTQTableItem(table,et,text,p); } - private native void newQTableItem(QTable table, int et, String text, QPixmap p); - public native QPixmap pixmap(); + private native void newTQTableItem(TQTable table, int et, String text, TQPixmap p); + public native TQPixmap pixmap(); public native String text(); - public native void setPixmap(QPixmap p); + public native void setPixmap(TQPixmap p); public native void setText(String t); - public native QTable table(); + public native TQTable table(); public native int alignment(); public native void setWordWrap(boolean b); public native boolean wordWrap(); public native int editType(); - public native QWidget createEditor(); - public native void setContentFromEditor(QWidget w); + 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 QSize sizeHint(); + public native TQSize sizeHint(); public native void setSpan(int rs, int cs); public native int rowSpan(); public native int colSpan(); @@ -47,7 +47,7 @@ public class QTableItem extends Qt { public native void setCol(int c); public native int row(); public native int col(); - public native void paint(QPainter p, QColorGroup cg, QRect cr, boolean selected); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QTableSelection.java b/qtjava/javalib/org/kde/qt/QTableSelection.java index 26550e79..3d075216 100644 --- a/qtjava/javalib/org/kde/qt/QTableSelection.java +++ b/qtjava/javalib/org/kde/qt/QTableSelection.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTableSelection implements QtSupport { +public class TQTableSelection implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTableSelection(Class dummy){} + protected TQTableSelection(Class dummy){} - public QTableSelection() { - newQTableSelection(); + public TQTableSelection() { + newTQTableSelection(); } - private native void newQTableSelection(); - public QTableSelection(int start_row, int start_col, int end_row, int end_col) { - newQTableSelection(start_row,start_col,end_row,end_col); + 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 newQTableSelection(int start_row, int start_col, int end_row, int 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(QTableSelection s); - public native boolean op_not_equals(QTableSelection s); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QTableSignals.java b/qtjava/javalib/org/kde/qt/QTableSignals.java index f656f4c9..864d2c8e 100644 --- a/qtjava/javalib/org/kde/qt/QTableSignals.java +++ b/qtjava/javalib/org/kde/qt/QTableSignals.java @@ -2,13 +2,13 @@ package org.kde.qt; -public interface QTableSignals { +public interface TQTableSignals { void currentChanged(int row, int col); - void clicked(int row, int col, int button, QPoint mousePos); - void doubleClicked(int row, int col, int button, QPoint mousePos); - void pressed(int row, int col, int button, QPoint mousePos); + 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, QPoint pos); - void dropped(QDropEvent e); + 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 index 2da895c5..8e01aa6b 100644 --- a/qtjava/javalib/org/kde/qt/QTabletEvent.java +++ b/qtjava/javalib/org/kde/qt/QTabletEvent.java @@ -3,20 +3,20 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTabletEvent extends QEvent { - protected QTabletEvent(Class dummy){super((Class) null);} +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; - // QTabletEvent* QTabletEvent(QEvent::Type arg1,const QPoint& arg2,const QPoint& arg3,int arg4,int arg5,int arg6,int arg7,const QPair& arg8); >>>> NOT CONVERTED - // QTabletEvent* QTabletEvent(const QPoint& arg1,const QPoint& arg2,int arg3,int arg4,int arg5,int arg6,const QPair& arg7); >>>> NOT CONVERTED + // 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 QPoint pos(); - public native QPoint globalPos(); + public native TQPoint pos(); + public native TQPoint globalPos(); public native int x(); public native int y(); public native int globalX(); @@ -25,7 +25,7 @@ public class QTabletEvent extends QEvent { public native int isAccepted(); public native void accept(); public native void ignore(); - // QPair uniqueId(); >>>> NOT CONVERTED + // TQPair uniqueId(); >>>> NOT CONVERTED /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QTextBrowser.java b/qtjava/javalib/org/kde/qt/QTextBrowser.java index 6a355738..03181e5e 100644 --- a/qtjava/javalib/org/kde/qt/QTextBrowser.java +++ b/qtjava/javalib/org/kde/qt/QTextBrowser.java @@ -4,27 +4,27 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTextBrowserSignals} for signals emitted by QTextBrowser + See {@link TQTextBrowserSignals} for signals emitted by TQTextBrowser */ -public class QTextBrowser extends QTextEdit { - protected QTextBrowser(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQTextBrowser extends TQTextEdit { + protected TQTextBrowser(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QTextBrowser(QWidget parent, String name) { + public TQTextBrowser(TQWidget parent, String name) { super((Class) null); - newQTextBrowser(parent,name); + newTQTextBrowser(parent,name); } - private native void newQTextBrowser(QWidget parent, String name); - public QTextBrowser(QWidget parent) { + private native void newTQTextBrowser(TQWidget parent, String name); + public TQTextBrowser(TQWidget parent) { super((Class) null); - newQTextBrowser(parent); + newTQTextBrowser(parent); } - private native void newQTextBrowser(QWidget parent); - public QTextBrowser() { + private native void newTQTextBrowser(TQWidget parent); + public TQTextBrowser() { super((Class) null); - newQTextBrowser(); + newTQTextBrowser(); } - private native void newQTextBrowser(); + private native void newTQTextBrowser(); public native String source(); public native void setSource(String name); public native void backward(); @@ -35,7 +35,7 @@ public class QTextBrowser extends QTextEdit { 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(QKeyEvent e); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java b/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java index 0d2c0004..0040f2cb 100644 --- a/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java +++ b/qtjava/javalib/org/kde/qt/QTextBrowserSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QTextBrowserSignals { +public interface TQTextBrowserSignals { void backwardAvailable(boolean arg1); void forwardAvailable(boolean arg1); void sourceChanged(String arg1); diff --git a/qtjava/javalib/org/kde/qt/QTextCodec.java b/qtjava/javalib/org/kde/qt/QTextCodec.java index 5b27de17..34a54bee 100644 --- a/qtjava/javalib/org/kde/qt/QTextCodec.java +++ b/qtjava/javalib/org/kde/qt/QTextCodec.java @@ -3,16 +3,16 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextCodec implements QtSupport { +public class TQTextCodec implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextCodec(Class dummy){} + protected TQTextCodec(Class dummy){} public native String name(); public native String mimeName(); public native int mibEnum(); - public native QTextDecoder makeDecoder(); - public native QTextEncoder makeEncoder(); + 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); @@ -25,19 +25,19 @@ public class QTextCodec implements QtSupport { 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 QTextCodec loadCharmap(QIODeviceInterface arg1); - public static native QTextCodec loadCharmapFile(String filename); - public static native QTextCodec codecForMib(int mib); - public static native QTextCodec codecForName(String hint, int accuracy); - public static native QTextCodec codecForName(String hint); - public static native QTextCodec codecForContent(String chars, int len); - public static native QTextCodec codecForIndex(int i); - public static native QTextCodec codecForLocale(); - public static native void setCodecForLocale(QTextCodec c); - public static native QTextCodec codecForTr(); - public static native void setCodecForTr(QTextCodec c); - public static native QTextCodec codecForCStrings(); - public static native void setCodecForCStrings(QTextCodec c); + 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 index 51855e90..fac57933 100644 --- a/qtjava/javalib/org/kde/qt/QTextDecoder.java +++ b/qtjava/javalib/org/kde/qt/QTextDecoder.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextDecoder implements QtSupport { +public class TQTextDecoder implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextDecoder(Class dummy){} + 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 index 961e768c..e62586e1 100644 --- a/qtjava/javalib/org/kde/qt/QTextDrag.java +++ b/qtjava/javalib/org/kde/qt/QTextDrag.java @@ -3,49 +3,49 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextDrag extends QDragObject { - protected QTextDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQTextDrag extends TQDragObject { + protected TQTextDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QTextDrag(String arg1, QWidget dragSource, String name) { + public TQTextDrag(String arg1, TQWidget dragSource, String name) { super((Class) null); - newQTextDrag(arg1,dragSource,name); + newTQTextDrag(arg1,dragSource,name); } - private native void newQTextDrag(String arg1, QWidget dragSource, String name); - public QTextDrag(String arg1, QWidget dragSource) { + private native void newTQTextDrag(String arg1, TQWidget dragSource, String name); + public TQTextDrag(String arg1, TQWidget dragSource) { super((Class) null); - newQTextDrag(arg1,dragSource); + newTQTextDrag(arg1,dragSource); } - private native void newQTextDrag(String arg1, QWidget dragSource); - public QTextDrag(String arg1) { + private native void newTQTextDrag(String arg1, TQWidget dragSource); + public TQTextDrag(String arg1) { super((Class) null); - newQTextDrag(arg1); + newTQTextDrag(arg1); } - private native void newQTextDrag(String arg1); - public QTextDrag(QWidget dragSource, String name) { + private native void newTQTextDrag(String arg1); + public TQTextDrag(TQWidget dragSource, String name) { super((Class) null); - newQTextDrag(dragSource,name); + newTQTextDrag(dragSource,name); } - private native void newQTextDrag(QWidget dragSource, String name); - public QTextDrag(QWidget dragSource) { + private native void newTQTextDrag(TQWidget dragSource, String name); + public TQTextDrag(TQWidget dragSource) { super((Class) null); - newQTextDrag(dragSource); + newTQTextDrag(dragSource); } - private native void newQTextDrag(QWidget dragSource); - public QTextDrag() { + private native void newTQTextDrag(TQWidget dragSource); + public TQTextDrag() { super((Class) null); - newQTextDrag(); + newTQTextDrag(); } - private native void newQTextDrag(); + 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(QMimeSourceInterface e); - public static native boolean decode(QMimeSourceInterface e, StringBuffer s); - public static native boolean decode(QMimeSourceInterface e, StringBuffer s, StringBuffer subtype); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTextEdit.java b/qtjava/javalib/org/kde/qt/QTextEdit.java index 829ea8ba..84780ea3 100644 --- a/qtjava/javalib/org/kde/qt/QTextEdit.java +++ b/qtjava/javalib/org/kde/qt/QTextEdit.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QTextEditSignals} for signals emitted by QTextEdit + See {@link TQTextEditSignals} for signals emitted by TQTextEdit */ -public class QTextEdit extends QScrollView { - protected QTextEdit(Class dummy){super((Class) null);} +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; @@ -50,44 +50,44 @@ public class QTextEdit extends QScrollView { public static final int CheckNewLines = 0x0002; public static final int RemoveSelected = 0x0004; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTextEdit(String text, String context, QWidget parent, String name) { + public TQTextEdit(String text, String context, TQWidget parent, String name) { super((Class) null); - newQTextEdit(text,context,parent,name); + newTQTextEdit(text,context,parent,name); } - private native void newQTextEdit(String text, String context, QWidget parent, String name); - public QTextEdit(String text, String context, QWidget parent) { + private native void newTQTextEdit(String text, String context, TQWidget parent, String name); + public TQTextEdit(String text, String context, TQWidget parent) { super((Class) null); - newQTextEdit(text,context,parent); + newTQTextEdit(text,context,parent); } - private native void newQTextEdit(String text, String context, QWidget parent); - public QTextEdit(String text, String context) { + private native void newTQTextEdit(String text, String context, TQWidget parent); + public TQTextEdit(String text, String context) { super((Class) null); - newQTextEdit(text,context); + newTQTextEdit(text,context); } - private native void newQTextEdit(String text, String context); - public QTextEdit(String text) { + private native void newTQTextEdit(String text, String context); + public TQTextEdit(String text) { super((Class) null); - newQTextEdit(text); + newTQTextEdit(text); } - private native void newQTextEdit(String text); - public QTextEdit(QWidget parent, String name) { + private native void newTQTextEdit(String text); + public TQTextEdit(TQWidget parent, String name) { super((Class) null); - newQTextEdit(parent,name); + newTQTextEdit(parent,name); } - private native void newQTextEdit(QWidget parent, String name); - public QTextEdit(QWidget parent) { + private native void newTQTextEdit(TQWidget parent, String name); + public TQTextEdit(TQWidget parent) { super((Class) null); - newQTextEdit(parent); + newTQTextEdit(parent); } - private native void newQTextEdit(QWidget parent); - public QTextEdit() { + private native void newTQTextEdit(TQWidget parent); + public TQTextEdit() { super((Class) null); - newQTextEdit(); + newTQTextEdit(); } - private native void newQTextEdit(); - public native void setPalette(QPalette arg1); + private native void newTQTextEdit(); + public native void setPalette(TQPalette arg1); public native String text(); public native String text(int para); public native int textFormat(); @@ -104,13 +104,13 @@ public class QTextEdit extends QScrollView { public native int linesOfParagraph(int para); public native int lineOfChar(int para, int chr); public native int length(); - public native QRect paragraphRect(int para); - public native int paragraphAt(QPoint pos); - public native int charAt(QPoint pos, int[] para); + 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 QStyleSheet styleSheet(); - public native QMimeSourceFactory mimeSourceFactory(); - public native QBrush paper(); + 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(); @@ -121,9 +121,9 @@ public class QTextEdit extends QScrollView { public native int wrapColumnOrWidth(); public native int wrapPolicy(); public native int tabStopWidth(); - public native String anchorAt(QPoint pos); - public native String anchorAt(QPoint pos, int a); - public native QSize sizeHint(); + 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(); @@ -132,26 +132,26 @@ public class QTextEdit extends QScrollView { public native boolean underline(); public native String family(); public native int pointSize(); - public native QColor color(); - public native QFont font(); - public native QFont currentFont(); + 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, QFont font, QColor color, int verticalAlignment); - public native boolean getParagraphFormat(int para, QFont font, QColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth); + 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 QColor paragraphBackgroundColor(int para); + public native TQColor paragraphBackgroundColor(int para); public native boolean isUndoRedoEnabled(); - public native boolean eventFilter(QObject o, QEvent e); + public native boolean eventFilter(TQObject o, TQEvent e); public native boolean tabChangesFocus(); public native void setAutoFormatting(int features); public native int autoFormatting(); - public native QSyntaxHighlighter syntaxHighlighter(); + public native TQSyntaxHighlighter syntaxHighlighter(); public native void setEnabled(boolean arg1); - public native void setMimeSourceFactory(QMimeSourceFactory factory); - public native void setStyleSheet(QStyleSheet styleSheet); + public native void setMimeSourceFactory(TQMimeSourceFactory factory); + public native void setStyleSheet(TQStyleSheet styleSheet); public native void scrollToAnchor(String name); - public native void setPaper(QBrush pap); + public native void setPaper(TQBrush pap); public native void setLinkUnderline(boolean arg1); public native void setWordWrap(int mode); public native void setWrapColumnOrWidth(int arg1); @@ -184,29 +184,29 @@ public class QTextEdit extends QScrollView { public native void setUnderline(boolean b); public native void setFamily(String f); public native void setPointSize(int s); - public native void setColor(QColor c); - public native void setFont(QFont f); + 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, QColor back, boolean invertText); + 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(QTextFormat* arg1,int arg2); >>>> NOT CONVERTED + // void setFormat(TQTextFormat* arg1,int arg2); >>>> NOT CONVERTED public native void ensureCursorVisible(); - // void placeCursor(const QPoint& arg1,QTextCursor* arg2); >>>> NOT CONVERTED - public native void placeCursor(QPoint pos); + // 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(QFont f); + public native void setCurrentFont(TQFont f); public native void setOverwriteMode(boolean b); public native void scrollToBottom(); public native void insert(String text, int insertionFlags); @@ -217,7 +217,7 @@ public class QTextEdit extends QScrollView { 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, QColor bg); + 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); @@ -225,30 +225,30 @@ public class QTextEdit extends QScrollView { public static native String tr(String arg1); protected native void repaintChanged(); protected native void updateStyles(); - protected native void drawContents(QPainter p, int cx, int cy, int cw, int ch); - public native boolean event(QEvent e); - protected native void keyPressEvent(QKeyEvent e); - protected native void resizeEvent(QResizeEvent e); - protected native void viewportResizeEvent(QResizeEvent arg1); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseMoveEvent(QMouseEvent e); - protected native void contentsMouseReleaseEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void contentsWheelEvent(QWheelEvent e); - protected native void imStartEvent(QIMEvent arg1); - protected native void imComposeEvent(QIMEvent arg1); - protected native void imEndEvent(QIMEvent arg1); - protected native void contentsDragEnterEvent(QDragEnterEvent e); - protected native void contentsDragMoveEvent(QDragMoveEvent e); - protected native void contentsDragLeaveEvent(QDragLeaveEvent e); - protected native void contentsDropEvent(QDropEvent e); - protected native void contentsContextMenuEvent(QContextMenuEvent e); + 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); - // QTextDocument* document(); >>>> NOT CONVERTED - // QTextCursor* textCursor(); >>>> NOT CONVERTED - // void setDocument(QTextDocument* arg1); >>>> NOT CONVERTED - protected native QPopupMenu createPopupMenu(QPoint pos); - protected native QPopupMenu createPopupMenu(); + // 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(); diff --git a/qtjava/javalib/org/kde/qt/QTextEditSignals.java b/qtjava/javalib/org/kde/qt/QTextEditSignals.java index ea89fd80..e8c13649 100644 --- a/qtjava/javalib/org/kde/qt/QTextEditSignals.java +++ b/qtjava/javalib/org/kde/qt/QTextEditSignals.java @@ -2,17 +2,17 @@ package org.kde.qt; -public interface QTextEditSignals { +public interface TQTextEditSignals { void textChanged(); void selectionChanged(); void copyAvailable(boolean arg1); void undoAvailable(boolean yes); void redoAvailable(boolean yes); - void currentFontChanged(QFont f); - void currentColorChanged(QColor c); + void currentFontChanged(TQFont f); + void currentColorChanged(TQColor c); void currentAlignmentChanged(int a); void currentVerticalAlignmentChanged(int a); - // void cursorPositionChanged(QTextCursor* arg1); >>>> NOT CONVERTED + // void cursorPositionChanged(TQTextCursor* arg1); >>>> NOT CONVERTED void cursorPositionChanged(int para, int pos); void returnPressed(); void modificationChanged(boolean m); diff --git a/qtjava/javalib/org/kde/qt/QTextEncoder.java b/qtjava/javalib/org/kde/qt/QTextEncoder.java index 5cb1d62f..3f2d68d0 100644 --- a/qtjava/javalib/org/kde/qt/QTextEncoder.java +++ b/qtjava/javalib/org/kde/qt/QTextEncoder.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextEncoder implements QtSupport { +public class TQTextEncoder implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextEncoder(Class dummy){} + 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 index afce047a..66a132cd 100644 --- a/qtjava/javalib/org/kde/qt/QTextIStream.java +++ b/qtjava/javalib/org/kde/qt/QTextIStream.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextIStream extends QTextStream { - protected QTextIStream(Class dummy){super((Class) null);} - public QTextIStream(String s) { +public class TQTextIStream extends TQTextStream { + protected TQTextIStream(Class dummy){super((Class) null);} + public TQTextIStream(String s) { super((Class) null); - newQTextIStream(s); + newTQTextIStream(s); } - private native void newQTextIStream(String s); - public QTextIStream(byte[] ba) { + private native void newTQTextIStream(String s); + public TQTextIStream(byte[] ba) { super((Class) null); - newQTextIStream(ba); + newTQTextIStream(ba); } - private native void newQTextIStream(byte[] 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTextOStream.java b/qtjava/javalib/org/kde/qt/QTextOStream.java index cc60e81d..c9a54673 100644 --- a/qtjava/javalib/org/kde/qt/QTextOStream.java +++ b/qtjava/javalib/org/kde/qt/QTextOStream.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextOStream extends QTextStream { - protected QTextOStream(Class dummy){super((Class) null);} - public QTextOStream(StringBuffer s) { +public class TQTextOStream extends TQTextStream { + protected TQTextOStream(Class dummy){super((Class) null);} + public TQTextOStream(StringBuffer s) { super((Class) null); - newQTextOStream(s); + newTQTextOStream(s); } - private native void newQTextOStream(StringBuffer s); - public QTextOStream(byte[] ba) { + private native void newTQTextOStream(StringBuffer s); + public TQTextOStream(byte[] ba) { super((Class) null); - newQTextOStream(ba); + newTQTextOStream(ba); } - private native void newQTextOStream(byte[] 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTextStream.java b/qtjava/javalib/org/kde/qt/QTextStream.java index 0a27feec..42bb5ae2 100644 --- a/qtjava/javalib/org/kde/qt/QTextStream.java +++ b/qtjava/javalib/org/kde/qt/QTextStream.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextStream implements QtSupport { +public class TQTextStream implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTextStream(Class dummy){} + protected TQTextStream(Class dummy){} public static final int skipws = 0x0001; public static final int left = 0x0002; @@ -32,51 +32,51 @@ public class QTextStream implements QtSupport { public static final int UnicodeUTF8 = 6; public native void setEncoding(int arg1); - public native void setCodec(QTextCodec arg1); - public native QTextCodec codec(); - public QTextStream() { - newQTextStream(); + public native void setCodec(TQTextCodec arg1); + public native TQTextCodec codec(); + public TQTextStream() { + newTQTextStream(); } - private native void newQTextStream(); - public QTextStream(QIODeviceInterface arg1) { - newQTextStream(arg1); + private native void newTQTextStream(); + public TQTextStream(TQIODeviceInterface arg1) { + newTQTextStream(arg1); } - private native void newQTextStream(QIODeviceInterface arg1); - public QTextStream(StringBuffer arg1, int mode) { - newQTextStream(arg1,mode); + private native void newTQTextStream(TQIODeviceInterface arg1); + public TQTextStream(StringBuffer arg1, int mode) { + newTQTextStream(arg1,mode); } - private native void newQTextStream(StringBuffer arg1, int mode); - public QTextStream(byte[] arg1, int mode) { - newQTextStream(arg1,mode); + private native void newTQTextStream(StringBuffer arg1, int mode); + public TQTextStream(byte[] arg1, int mode) { + newTQTextStream(arg1,mode); } - private native void newQTextStream(byte[] arg1, int mode); - public native QIODeviceInterface device(); - public native void setDevice(QIODeviceInterface arg1); + 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 QTextStream op_read(char arg1); - // QTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(short arg1); - // QTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(int arg1); - // QTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED - public native QTextStream op_read(long arg1); - public native QTextStream op_read(float arg1); - public native QTextStream op_read(double arg1); - public native QTextStream op_read(String arg1); - public native QTextStream op_read(StringBuffer arg1); - public native QTextStream op_write(char arg1); - public native QTextStream op_write(short arg1); - // QTextStream& op_write(signed arg1); >>>> NOT CONVERTED - public native QTextStream op_write(int arg1); - public native QTextStream op_write(long arg1); - public native QTextStream op_write(float arg1); - public native QTextStream op_write(double arg1); - public native QTextStream op_write(String arg1); - // QTextStream& op_write(void* arg1); >>>> NOT CONVERTED - public native QTextStream readRawBytes(String arg1, int len); - public native QTextStream writeRawBytes(String arg1, int len); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QTextView.java b/qtjava/javalib/org/kde/qt/QTextView.java index 10457a8e..419f498b 100644 --- a/qtjava/javalib/org/kde/qt/QTextView.java +++ b/qtjava/javalib/org/kde/qt/QTextView.java @@ -3,45 +3,45 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTextView extends QTextEdit { - protected QTextView(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQTextView extends TQTextEdit { + protected TQTextView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QTextView(String text, String context, QWidget parent, String name) { + public TQTextView(String text, String context, TQWidget parent, String name) { super((Class) null); - newQTextView(text,context,parent,name); + newTQTextView(text,context,parent,name); } - private native void newQTextView(String text, String context, QWidget parent, String name); - public QTextView(String text, String context, QWidget parent) { + private native void newTQTextView(String text, String context, TQWidget parent, String name); + public TQTextView(String text, String context, TQWidget parent) { super((Class) null); - newQTextView(text,context,parent); + newTQTextView(text,context,parent); } - private native void newQTextView(String text, String context, QWidget parent); - public QTextView(String text, String context) { + private native void newTQTextView(String text, String context, TQWidget parent); + public TQTextView(String text, String context) { super((Class) null); - newQTextView(text,context); + newTQTextView(text,context); } - private native void newQTextView(String text, String context); - public QTextView(String text) { + private native void newTQTextView(String text, String context); + public TQTextView(String text) { super((Class) null); - newQTextView(text); + newTQTextView(text); } - private native void newQTextView(String text); - public QTextView(QWidget parent, String name) { + private native void newTQTextView(String text); + public TQTextView(TQWidget parent, String name) { super((Class) null); - newQTextView(parent,name); + newTQTextView(parent,name); } - private native void newQTextView(QWidget parent, String name); - public QTextView(QWidget parent) { + private native void newTQTextView(TQWidget parent, String name); + public TQTextView(TQWidget parent) { super((Class) null); - newQTextView(parent); + newTQTextView(parent); } - private native void newQTextView(QWidget parent); - public QTextView() { + private native void newTQTextView(TQWidget parent); + public TQTextView() { super((Class) null); - newQTextView(); + newTQTextView(); } - private native void newQTextView(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QTimeEdit.java b/qtjava/javalib/org/kde/qt/QTimeEdit.java index a6298aa9..0d7e8534 100644 --- a/qtjava/javalib/org/kde/qt/QTimeEdit.java +++ b/qtjava/javalib/org/kde/qt/QTimeEdit.java @@ -5,49 +5,49 @@ import org.kde.qt.Qt; import java.util.Date; /** - See {@link QTimeEditSignals} for signals emitted by QTimeEdit + See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit */ -public class QTimeEdit extends QDateTimeEditBase { - protected QTimeEdit(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTimeEdit(QWidget parent, String name) { + public TQTimeEdit(TQWidget parent, String name) { super((Class) null); - newQTimeEdit(parent,name); + newTQTimeEdit(parent,name); } - private native void newQTimeEdit(QWidget parent, String name); - public QTimeEdit(QWidget parent) { + private native void newTQTimeEdit(TQWidget parent, String name); + public TQTimeEdit(TQWidget parent) { super((Class) null); - newQTimeEdit(parent); + newTQTimeEdit(parent); } - private native void newQTimeEdit(QWidget parent); - public QTimeEdit() { + private native void newTQTimeEdit(TQWidget parent); + public TQTimeEdit() { super((Class) null); - newQTimeEdit(); + newTQTimeEdit(); } - private native void newQTimeEdit(); - public QTimeEdit(Date time, QWidget parent, String name) { + private native void newTQTimeEdit(); + public TQTimeEdit(Date time, TQWidget parent, String name) { super((Class) null); - newQTimeEdit(time,parent,name); + newTQTimeEdit(time,parent,name); } - private native void newQTimeEdit(Date time, QWidget parent, String name); - public QTimeEdit(Date time, QWidget parent) { + private native void newTQTimeEdit(Date time, TQWidget parent, String name); + public TQTimeEdit(Date time, TQWidget parent) { super((Class) null); - newQTimeEdit(time,parent); + newTQTimeEdit(time,parent); } - private native void newQTimeEdit(Date time, QWidget parent); - public QTimeEdit(Date time) { + private native void newTQTimeEdit(Date time, TQWidget parent); + public TQTimeEdit(Date time) { super((Class) null); - newQTimeEdit(time); + newTQTimeEdit(time); } - private native void newQTimeEdit(Date time); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(); @@ -64,9 +64,9 @@ public class QTimeEdit extends QDateTimeEditBase { 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(QEvent e); - protected native void timerEvent(QTimerEvent e); - protected native void resizeEvent(QResizeEvent 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); diff --git a/qtjava/javalib/org/kde/qt/QTimeEditSignals.java b/qtjava/javalib/org/kde/qt/QTimeEditSignals.java index 51dce769..99d7a665 100644 --- a/qtjava/javalib/org/kde/qt/QTimeEditSignals.java +++ b/qtjava/javalib/org/kde/qt/QTimeEditSignals.java @@ -3,6 +3,6 @@ package org.kde.qt; import java.util.Date; -public interface QTimeEditSignals { +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 index b8fd1a74..e07b50ca 100644 --- a/qtjava/javalib/org/kde/qt/QTimer.java +++ b/qtjava/javalib/org/kde/qt/QTimer.java @@ -7,7 +7,7 @@ import org.kde.qt.Qt; ************************************************* $Id$ -* Definition of QTimer class +* Definition of TQTimer class * Created : 931111 @@ -17,7 +17,7 @@ import org.kde.qt.Qt; * 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.QPL included in the packaging of this 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 @@ -33,35 +33,35 @@ import org.kde.qt.Qt; * 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 QPL licensing information. + 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 QTimerSignals} for signals emitted by QTimer +********************************************** See {@link TQTimerSignals} for signals emitted by TQTimer @short $Id: qt/qtimer. */ -public class QTimer extends QObject { - protected QTimer(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQTimer extends TQObject { + protected TQTimer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QTimer(QObject parent, String name) { + public TQTimer(TQObject parent, String name) { super((Class) null); - newQTimer(parent,name); + newTQTimer(parent,name); } - private native void newQTimer(QObject parent, String name); - public QTimer(QObject parent) { + private native void newTQTimer(TQObject parent, String name); + public TQTimer(TQObject parent) { super((Class) null); - newQTimer(parent); + newTQTimer(parent); } - private native void newQTimer(QObject parent); - public QTimer() { + private native void newTQTimer(TQObject parent); + public TQTimer() { super((Class) null); - newQTimer(); + newTQTimer(); } - private native void newQTimer(); + private native void newTQTimer(); public native boolean isActive(); public native int start(int msec, boolean sshot); public native int start(int msec); @@ -70,8 +70,8 @@ public class QTimer extends QObject { 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, QObject receiver, String member); - public native boolean event(QEvent 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTimerEvent.java b/qtjava/javalib/org/kde/qt/QTimerEvent.java index c99a03d7..e0e0a4cd 100644 --- a/qtjava/javalib/org/kde/qt/QTimerEvent.java +++ b/qtjava/javalib/org/kde/qt/QTimerEvent.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTimerEvent extends QEvent { - protected QTimerEvent(Class dummy){super((Class) null);} - public QTimerEvent(int timerId) { +public class TQTimerEvent extends TQEvent { + protected TQTimerEvent(Class dummy){super((Class) null);} + public TQTimerEvent(int timerId) { super((Class) null); - newQTimerEvent(timerId); + newTQTimerEvent(timerId); } - private native void newQTimerEvent(int timerId); + private native void newTQTimerEvent(int timerId); public native int timerId(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; diff --git a/qtjava/javalib/org/kde/qt/QTimerSignals.java b/qtjava/javalib/org/kde/qt/QTimerSignals.java index 7f241cfd..9300eb1a 100644 --- a/qtjava/javalib/org/kde/qt/QTimerSignals.java +++ b/qtjava/javalib/org/kde/qt/QTimerSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QTimerSignals { +public interface TQTimerSignals { void timeout(); } diff --git a/qtjava/javalib/org/kde/qt/QToolBar.java b/qtjava/javalib/org/kde/qt/QToolBar.java index 194a1b5c..bb839456 100644 --- a/qtjava/javalib/org/kde/qt/QToolBar.java +++ b/qtjava/javalib/org/kde/qt/QToolBar.java @@ -3,82 +3,82 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QToolBar extends QDockWindow { - protected QToolBar(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQToolBar extends TQDockWindow { + protected TQToolBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QToolBar(String label, QMainWindow arg2, int arg3, boolean newLine, String name) { + public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name) { super((Class) null); - newQToolBar(label,arg2,arg3,newLine,name); + newTQToolBar(label,arg2,arg3,newLine,name); } - private native void newQToolBar(String label, QMainWindow arg2, int arg3, boolean newLine, String name); - public QToolBar(String label, QMainWindow arg2, int arg3, boolean newLine) { + 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); - newQToolBar(label,arg2,arg3,newLine); + newTQToolBar(label,arg2,arg3,newLine); } - private native void newQToolBar(String label, QMainWindow arg2, int arg3, boolean newLine); - public QToolBar(String label, QMainWindow arg2, int arg3) { + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, int arg3) { super((Class) null); - newQToolBar(label,arg2,arg3); + newTQToolBar(label,arg2,arg3); } - private native void newQToolBar(String label, QMainWindow arg2, int arg3); - public QToolBar(String label, QMainWindow arg2) { + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3); + public TQToolBar(String label, TQMainWindow arg2) { super((Class) null); - newQToolBar(label,arg2); + newTQToolBar(label,arg2); } - private native void newQToolBar(String label, QMainWindow arg2); - public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name, int f) { + 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); - newQToolBar(label,arg2,arg3,newLine,name,f); + newTQToolBar(label,arg2,arg3,newLine,name,f); } - private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name, int f); - public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name) { + 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); - newQToolBar(label,arg2,arg3,newLine,name); + newTQToolBar(label,arg2,arg3,newLine,name); } - private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine, String name); - public QToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine) { + 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); - newQToolBar(label,arg2,arg3,newLine); + newTQToolBar(label,arg2,arg3,newLine); } - private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3, boolean newLine); - public QToolBar(String label, QMainWindow arg2, QWidget arg3) { + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3) { super((Class) null); - newQToolBar(label,arg2,arg3); + newTQToolBar(label,arg2,arg3); } - private native void newQToolBar(String label, QMainWindow arg2, QWidget arg3); - public QToolBar(QMainWindow parent, String name) { + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3); + public TQToolBar(TQMainWindow parent, String name) { super((Class) null); - newQToolBar(parent,name); + newTQToolBar(parent,name); } - private native void newQToolBar(QMainWindow parent, String name); - public QToolBar(QMainWindow parent) { + private native void newTQToolBar(TQMainWindow parent, String name); + public TQToolBar(TQMainWindow parent) { super((Class) null); - newQToolBar(parent); + newTQToolBar(parent); } - private native void newQToolBar(QMainWindow parent); - public QToolBar() { + private native void newTQToolBar(TQMainWindow parent); + public TQToolBar() { super((Class) null); - newQToolBar(); + newTQToolBar(); } - private native void newQToolBar(); + private native void newTQToolBar(); public native void addSeparator(); public native void show(); public native void hide(); - public native QMainWindow mainWindow(); - public native void setStretchableWidget(QWidget arg1); - public native boolean event(QEvent e); + 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 QSize minimumSize(); - public native QSize minimumSizeHint(); + 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(QResizeEvent e); - public native void styleChange(QStyle 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() */ diff --git a/qtjava/javalib/org/kde/qt/QToolBox.java b/qtjava/javalib/org/kde/qt/QToolBox.java index c24294c5..135873c0 100644 --- a/qtjava/javalib/org/kde/qt/QToolBox.java +++ b/qtjava/javalib/org/kde/qt/QToolBox.java @@ -4,59 +4,59 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QToolBoxSignals} for signals emitted by QToolBox + See {@link TQToolBoxSignals} for signals emitted by TQToolBox */ -public class QToolBox extends QFrame { - protected QToolBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQToolBox extends TQFrame { + protected TQToolBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QToolBox(QWidget parent, String name, int f) { + public TQToolBox(TQWidget parent, String name, int f) { super((Class) null); - newQToolBox(parent,name,f); + newTQToolBox(parent,name,f); } - private native void newQToolBox(QWidget parent, String name, int f); - public QToolBox(QWidget parent, String name) { + private native void newTQToolBox(TQWidget parent, String name, int f); + public TQToolBox(TQWidget parent, String name) { super((Class) null); - newQToolBox(parent,name); + newTQToolBox(parent,name); } - private native void newQToolBox(QWidget parent, String name); - public QToolBox(QWidget parent) { + private native void newTQToolBox(TQWidget parent, String name); + public TQToolBox(TQWidget parent) { super((Class) null); - newQToolBox(parent); + newTQToolBox(parent); } - private native void newQToolBox(QWidget parent); - public QToolBox() { + private native void newTQToolBox(TQWidget parent); + public TQToolBox() { super((Class) null); - newQToolBox(); + newTQToolBox(); } - private native void newQToolBox(); - public native int addItem(QWidget item, String label); - public native int addItem(QWidget item, QIconSet iconSet, String label); - public native int insertItem(int index, QWidget item, String label); - public native int insertItem(int index, QWidget item, QIconSet iconSet, String label); - public native int removeItem(QWidget item); + 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, QIconSet iconSet); - public native QIconSet itemIconSet(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 QWidget currentItem(); - public native void setCurrentItem(QWidget item); + public native TQWidget currentItem(); + public native void setCurrentItem(TQWidget item); public native int currentIndex(); - public native QWidget item(int index); - public native int indexOf(QWidget item); + 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(QShowEvent e); + public native void showEvent(TQShowEvent e); protected native void frameChanged(); - public native void styleChange(QStyle arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QToolBoxSignals.java b/qtjava/javalib/org/kde/qt/QToolBoxSignals.java index 0fc890c2..316ac9e9 100644 --- a/qtjava/javalib/org/kde/qt/QToolBoxSignals.java +++ b/qtjava/javalib/org/kde/qt/QToolBoxSignals.java @@ -2,6 +2,6 @@ package org.kde.qt; -public interface QToolBoxSignals { +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 index c0b5a3d1..8ffdfc67 100644 --- a/qtjava/javalib/org/kde/qt/QToolButton.java +++ b/qtjava/javalib/org/kde/qt/QToolButton.java @@ -3,60 +3,60 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QToolButton extends QButton { - protected QToolButton(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QToolButton(QWidget parent, String name) { + public TQToolButton(TQWidget parent, String name) { super((Class) null); - newQToolButton(parent,name); + newTQToolButton(parent,name); } - private native void newQToolButton(QWidget parent, String name); - public QToolButton(QWidget parent) { + private native void newTQToolButton(TQWidget parent, String name); + public TQToolButton(TQWidget parent) { super((Class) null); - newQToolButton(parent); + newTQToolButton(parent); } - private native void newQToolButton(QWidget parent); - public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name) { + 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); - newQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); } - private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name); - public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent) { + 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); - newQToolButton(s,textLabel,grouptext,receiver,slot,parent); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent); } - private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent); - public QToolButton(int type, QWidget parent, String name) { + 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); - newQToolButton(type,parent,name); + newTQToolButton(type,parent,name); } - private native void newQToolButton(int type, QWidget parent, String name); - public QToolButton(int type, QWidget parent) { + private native void newTQToolButton(int type, TQWidget parent, String name); + public TQToolButton(int type, TQWidget parent) { super((Class) null); - newQToolButton(type,parent); + newTQToolButton(type,parent); } - private native void newQToolButton(int type, QWidget parent); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native void setOnIconSet(QIconSet arg1); - public native void setOffIconSet(QIconSet arg1); - public native void setIconSet(QIconSet arg1, boolean on); - public native QIconSet onIconSet(); - public native QIconSet offIconSet(); - public native QIconSet iconSet(boolean on); - public native void setIconSet(QIconSet arg1); - public native QIconSet iconSet(); + 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(QPopupMenu popup); - public native QPopupMenu popup(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); public native void setPopupDelay(int delay); public native int popupDelay(); public native void openPopup(); @@ -74,15 +74,15 @@ public class QToolButton extends QButton { 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(QMouseEvent arg1); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); - protected native void enterEvent(QEvent arg1); - protected native void leaveEvent(QEvent arg1); - protected native void moveEvent(QMoveEvent 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(QObject o, QEvent e); - protected native void paletteChange(QPalette arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QToolTip.java b/qtjava/javalib/org/kde/qt/QToolTip.java index 5a778375..aadc2908 100644 --- a/qtjava/javalib/org/kde/qt/QToolTip.java +++ b/qtjava/javalib/org/kde/qt/QToolTip.java @@ -3,23 +3,23 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QToolTip extends Qt { - protected QToolTip(Class dummy){super((Class) null);} - public native QWidget parentWidget(); - public native QToolTipGroup group(); - public static native void add(QWidget arg1, String arg2); - public static native void add(QWidget arg1, String arg2, QToolTipGroup arg3, String arg4); - public static native void remove(QWidget arg1); - public static native void add(QWidget arg1, QRect arg2, String arg3); - public static native void add(QWidget arg1, QRect arg2, String arg3, QToolTipGroup arg4, String arg5); - public static native void remove(QWidget arg1, QRect arg2); - public static native String textFor(QWidget arg1, QPoint pos); - public static native String textFor(QWidget arg1); +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 QFont font(); - public static native void setFont(QFont arg1); - public static native QPalette palette(); - public static native void setPalette(QPalette arg1); + 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); diff --git a/qtjava/javalib/org/kde/qt/QToolTipGroup.java b/qtjava/javalib/org/kde/qt/QToolTipGroup.java index 3cba2027..acef6c0b 100644 --- a/qtjava/javalib/org/kde/qt/QToolTipGroup.java +++ b/qtjava/javalib/org/kde/qt/QToolTipGroup.java @@ -4,22 +4,22 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QToolTipGroupSignals} for signals emitted by QToolTipGroup + See {@link TQToolTipGroupSignals} for signals emitted by TQToolTipGroup */ -public class QToolTipGroup extends QObject { - protected QToolTipGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQToolTipGroup extends TQObject { + protected TQToolTipGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QToolTipGroup(QObject parent, String name) { + public TQToolTipGroup(TQObject parent, String name) { super((Class) null); - newQToolTipGroup(parent,name); + newTQToolTipGroup(parent,name); } - private native void newQToolTipGroup(QObject parent, String name); - public QToolTipGroup(QObject parent) { + private native void newTQToolTipGroup(TQObject parent, String name); + public TQToolTipGroup(TQObject parent) { super((Class) null); - newQToolTipGroup(parent); + newTQToolTipGroup(parent); } - private native void newQToolTipGroup(QObject parent); + private native void newTQToolTipGroup(TQObject parent); public native boolean delay(); public native boolean enabled(); public native void setDelay(boolean arg1); diff --git a/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java b/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java index d625d94d..084a881a 100644 --- a/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java +++ b/qtjava/javalib/org/kde/qt/QToolTipGroupSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QToolTipGroupSignals { +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 index 9e791b48..d27bdeec 100644 --- a/qtjava/javalib/org/kde/qt/QTranslator.java +++ b/qtjava/javalib/org/kde/qt/QTranslator.java @@ -3,32 +3,32 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTranslator extends QObject { - protected QTranslator(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QTranslator(QObject parent, String name) { + public TQTranslator(TQObject parent, String name) { super((Class) null); - newQTranslator(parent,name); + newTQTranslator(parent,name); } - private native void newQTranslator(QObject parent, String name); - public QTranslator(QObject parent) { + private native void newTQTranslator(TQObject parent, String name); + public TQTranslator(TQObject parent) { super((Class) null); - newQTranslator(parent); + newTQTranslator(parent); } - private native void newQTranslator(QObject parent); - public QTranslator() { + private native void newTQTranslator(TQObject parent); + public TQTranslator() { super((Class) null); - newQTranslator(); + newTQTranslator(); } - private native void newQTranslator(); + private native void newTQTranslator(); public native String find(String context, String sourceText, String comment); public native String find(String context, String sourceText); - public native QTranslatorMessage findMessage(String arg1, String arg2, String arg3); - public native QTranslatorMessage findMessage(String arg1, String arg2); + 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); @@ -37,16 +37,16 @@ public class QTranslator extends QObject { public native void clear(); public native boolean save(String filename, int mode); public native boolean save(String filename); - public native void insert(QTranslatorMessage arg1); + public native void insert(TQTranslatorMessage arg1); public native void insert(String context, String sourceText, String translation); - public native void remove(QTranslatorMessage arg1); + 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(); - // QValueList messages(); >>>> NOT CONVERTED + // TQValueList messages(); >>>> NOT CONVERTED public native boolean isEmpty(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); diff --git a/qtjava/javalib/org/kde/qt/QTranslatorMessage.java b/qtjava/javalib/org/kde/qt/QTranslatorMessage.java index 66357fdc..3f54940b 100644 --- a/qtjava/javalib/org/kde/qt/QTranslatorMessage.java +++ b/qtjava/javalib/org/kde/qt/QTranslatorMessage.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTranslatorMessage implements QtSupport { +public class TQTranslatorMessage implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QTranslatorMessage(Class dummy){} + protected TQTranslatorMessage(Class dummy){} public static final int NoPrefix = 0; public static final int Hash = 1; @@ -14,42 +14,42 @@ public class QTranslatorMessage implements QtSupport { public static final int HashContextSourceText = 3; public static final int HashContextSourceTextComment = 4; - public QTranslatorMessage() { - newQTranslatorMessage(); + public TQTranslatorMessage() { + newTQTranslatorMessage(); } - private native void newQTranslatorMessage(); - public QTranslatorMessage(String context, String sourceText, String comment, String translation) { - newQTranslatorMessage(context,sourceText,comment,translation); + private native void newTQTranslatorMessage(); + public TQTranslatorMessage(String context, String sourceText, String comment, String translation) { + newTQTranslatorMessage(context,sourceText,comment,translation); } - private native void newQTranslatorMessage(String context, String sourceText, String comment, String translation); - public QTranslatorMessage(String context, String sourceText, String comment) { - newQTranslatorMessage(context,sourceText,comment); + 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 newQTranslatorMessage(String context, String sourceText, String comment); - public QTranslatorMessage(QDataStream arg1) { - newQTranslatorMessage(arg1); + private native void newTQTranslatorMessage(String context, String sourceText, String comment); + public TQTranslatorMessage(TQDataStream arg1) { + newTQTranslatorMessage(arg1); } - private native void newQTranslatorMessage(QDataStream arg1); - public QTranslatorMessage(QTranslatorMessage m) { - newQTranslatorMessage(m); + private native void newTQTranslatorMessage(TQDataStream arg1); + public TQTranslatorMessage(TQTranslatorMessage m) { + newTQTranslatorMessage(m); } - private native void newQTranslatorMessage(QTranslatorMessage 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(QDataStream s, boolean strip, int prefix); - public native void write(QDataStream s, boolean strip); - public native void write(QDataStream s); - public native int commonPrefix(QTranslatorMessage arg1); - public native boolean op_equals(QTranslatorMessage m); - public native boolean op_not_equals(QTranslatorMessage m); - public native boolean op_lt(QTranslatorMessage m); - public native boolean op_lte(QTranslatorMessage m); - public native boolean op_gt(QTranslatorMessage m); - public native boolean op_gte(QTranslatorMessage m); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QTsciiCodec.java b/qtjava/javalib/org/kde/qt/QTsciiCodec.java index 43cc9ffb..1ad4ffb0 100644 --- a/qtjava/javalib/org/kde/qt/QTsciiCodec.java +++ b/qtjava/javalib/org/kde/qt/QTsciiCodec.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QTsciiCodec extends QTextCodec { - protected QTsciiCodec(Class dummy){super((Class) null);} +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 QTsciiCodec() { + public TQTsciiCodec() { super((Class) null); - newQTsciiCodec(); + newTQTsciiCodec(); } - private native void newQTsciiCodec(); + private native void newTQTsciiCodec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QUriDrag.java b/qtjava/javalib/org/kde/qt/QUriDrag.java index c719cd6c..e95700bf 100644 --- a/qtjava/javalib/org/kde/qt/QUriDrag.java +++ b/qtjava/javalib/org/kde/qt/QUriDrag.java @@ -4,40 +4,40 @@ package org.kde.qt; import java.util.ArrayList; import org.kde.qt.Qt; -public class QUriDrag extends QStoredDrag { - protected QUriDrag(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQUriDrag extends TQStoredDrag { + protected TQUriDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QUriDrag(String[] uris, QWidget dragSource, String name) { + public TQUriDrag(String[] uris, TQWidget dragSource, String name) { super((Class) null); - newQUriDrag(uris,dragSource,name); + newTQUriDrag(uris,dragSource,name); } - private native void newQUriDrag(String[] uris, QWidget dragSource, String name); - public QUriDrag(String[] uris, QWidget dragSource) { + private native void newTQUriDrag(String[] uris, TQWidget dragSource, String name); + public TQUriDrag(String[] uris, TQWidget dragSource) { super((Class) null); - newQUriDrag(uris,dragSource); + newTQUriDrag(uris,dragSource); } - private native void newQUriDrag(String[] uris, QWidget dragSource); - public QUriDrag(String[] uris) { + private native void newTQUriDrag(String[] uris, TQWidget dragSource); + public TQUriDrag(String[] uris) { super((Class) null); - newQUriDrag(uris); + newTQUriDrag(uris); } - private native void newQUriDrag(String[] uris); - public QUriDrag(QWidget dragSource, String name) { + private native void newTQUriDrag(String[] uris); + public TQUriDrag(TQWidget dragSource, String name) { super((Class) null); - newQUriDrag(dragSource,name); + newTQUriDrag(dragSource,name); } - private native void newQUriDrag(QWidget dragSource, String name); - public QUriDrag(QWidget dragSource) { + private native void newTQUriDrag(TQWidget dragSource, String name); + public TQUriDrag(TQWidget dragSource) { super((Class) null); - newQUriDrag(dragSource); + newTQUriDrag(dragSource); } - private native void newQUriDrag(QWidget dragSource); - public QUriDrag() { + private native void newTQUriDrag(TQWidget dragSource); + public TQUriDrag() { super((Class) null); - newQUriDrag(); + newTQUriDrag(); } - private native void newQUriDrag(); + private native void newTQUriDrag(); public native void setFilenames(String[] fnames); public native void setFileNames(String[] fnames); public native void setUnicodeUris(String[] uuris); @@ -48,18 +48,18 @@ public class QUriDrag extends QStoredDrag { 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(QMimeSourceInterface e); - public static native boolean decode(QMimeSourceInterface e, String[] i); - public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, String[] i); - public static native boolean decodeLocalFiles(QMimeSourceInterface e, String[] i); + 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(QMimeSourceInterface e, ArrayList i); - public static native boolean decodeToUnicodeUris(QMimeSourceInterface e, ArrayList i); - public static native boolean decodeLocalFiles(QMimeSourceInterface e, ArrayList i); + 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 index 0dd13f90..9cd6a1ee 100644 --- a/qtjava/javalib/org/kde/qt/QUrl.java +++ b/qtjava/javalib/org/kde/qt/QUrl.java @@ -3,31 +3,31 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QUrl implements QtSupport, QUrlInterface { +public class TQUrl implements QtSupport, TQUrlInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QUrl(Class dummy){} + protected TQUrl(Class dummy){} - public QUrl() { - newQUrl(); + public TQUrl() { + newTQUrl(); } - private native void newQUrl(); - public QUrl(String url) { - newQUrl(url); + private native void newTQUrl(); + public TQUrl(String url) { + newTQUrl(url); } - private native void newQUrl(String url); - public QUrl(QUrlInterface url) { - newQUrl(url); + private native void newTQUrl(String url); + public TQUrl(TQUrlInterface url) { + newTQUrl(url); } - private native void newQUrl(QUrlInterface url); - public QUrl(QUrlInterface url, String relUrl, boolean checkSlash) { - newQUrl(url,relUrl,checkSlash); + private native void newTQUrl(TQUrlInterface url); + public TQUrl(TQUrlInterface url, String relUrl, boolean checkSlash) { + newTQUrl(url,relUrl,checkSlash); } - private native void newQUrl(QUrlInterface url, String relUrl, boolean checkSlash); - public QUrl(QUrlInterface url, String relUrl) { - newQUrl(url,relUrl); + private native void newTQUrl(TQUrlInterface url, String relUrl, boolean checkSlash); + public TQUrl(TQUrlInterface url, String relUrl) { + newTQUrl(url,relUrl); } - private native void newQUrl(QUrlInterface url, String relUrl); + private native void newTQUrl(TQUrlInterface url, String relUrl); public native String protocol(); public native void setProtocol(String protocol); public native String user(); @@ -59,7 +59,7 @@ public class QUrl implements QtSupport, QUrlInterface { public native void setFileName(String txt); public native String fileName(); public native String dirPath(); - public native boolean op_equals(QUrlInterface url); + 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); diff --git a/qtjava/javalib/org/kde/qt/QUrlInfo.java b/qtjava/javalib/org/kde/qt/QUrlInfo.java index 6d577eb9..bc33f522 100644 --- a/qtjava/javalib/org/kde/qt/QUrlInfo.java +++ b/qtjava/javalib/org/kde/qt/QUrlInfo.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.Calendar; -public class QUrlInfo implements QtSupport { +public class TQUrlInfo implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QUrlInfo(Class dummy){} + protected TQUrlInfo(Class dummy){} public static final int ReadOwner = 00400; public static final int WriteOwner = 00200; @@ -19,26 +19,26 @@ public class QUrlInfo implements QtSupport { public static final int WriteOther = 00002; public static final int ExeOther = 00001; - public QUrlInfo() { - newQUrlInfo(); + public TQUrlInfo() { + newTQUrlInfo(); } - private native void newQUrlInfo(); - public QUrlInfo(QUrlOperator path, String file) { - newQUrlInfo(path,file); + private native void newTQUrlInfo(); + public TQUrlInfo(TQUrlOperator path, String file) { + newTQUrlInfo(path,file); } - private native void newQUrlInfo(QUrlOperator path, String file); - public QUrlInfo(QUrlInfo ui) { - newQUrlInfo(ui); + private native void newTQUrlInfo(TQUrlOperator path, String file); + public TQUrlInfo(TQUrlInfo ui) { + newTQUrlInfo(ui); } - private native void newQUrlInfo(QUrlInfo ui); - public QUrlInfo(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) { - newQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + 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 newQUrlInfo(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 QUrlInfo(QUrlInterface 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) { - newQUrlInfo(url,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 newQUrlInfo(QUrlInterface 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); + 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); @@ -64,10 +64,10 @@ public class QUrlInfo implements QtSupport { public native boolean isWritable(); public native boolean isReadable(); public native boolean isExecutable(); - public native boolean op_equals(QUrlInfo i); - public static native boolean greaterThan(QUrlInfo i1, QUrlInfo i2, int sortBy); - public static native boolean lessThan(QUrlInfo i1, QUrlInfo i2, int sortBy); - public static native boolean equal(QUrlInfo i1, QUrlInfo i2, int sortBy); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QUrlInterface.java b/qtjava/javalib/org/kde/qt/QUrlInterface.java index 79656d7a..d33f8796 100644 --- a/qtjava/javalib/org/kde/qt/QUrlInterface.java +++ b/qtjava/javalib/org/kde/qt/QUrlInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QUrlInterface { +public interface TQUrlInterface { String protocol(); void setProtocol(String protocol); String user(); @@ -34,7 +34,7 @@ public interface QUrlInterface { void setFileName(String txt); String fileName(); String dirPath(); - boolean op_equals(QUrlInterface url); + boolean op_equals(TQUrlInterface url); boolean op_equals(String url); String toString(boolean encodedPath, boolean forcePrependProtocol); String toString(boolean encodedPath); diff --git a/qtjava/javalib/org/kde/qt/QUrlOperator.java b/qtjava/javalib/org/kde/qt/QUrlOperator.java index 495ccc78..6ba21026 100644 --- a/qtjava/javalib/org/kde/qt/QUrlOperator.java +++ b/qtjava/javalib/org/kde/qt/QUrlOperator.java @@ -4,57 +4,57 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QUrlOperatorSignals} for signals emitted by QUrlOperator + See {@link TQUrlOperatorSignals} for signals emitted by TQUrlOperator */ -public class QUrlOperator extends QObject implements QUrlInterface { - protected QUrlOperator(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQUrlOperator extends TQObject implements TQUrlInterface { + protected TQUrlOperator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QUrlOperator() { + public TQUrlOperator() { super((Class) null); - newQUrlOperator(); + newTQUrlOperator(); } - private native void newQUrlOperator(); - public QUrlOperator(String urL) { + private native void newTQUrlOperator(); + public TQUrlOperator(String urL) { super((Class) null); - newQUrlOperator(urL); + newTQUrlOperator(urL); } - private native void newQUrlOperator(String urL); - public QUrlOperator(QUrlOperator url) { + private native void newTQUrlOperator(String urL); + public TQUrlOperator(TQUrlOperator url) { super((Class) null); - newQUrlOperator(url); + newTQUrlOperator(url); } - private native void newQUrlOperator(QUrlOperator url); - public QUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash) { + private native void newTQUrlOperator(TQUrlOperator url); + public TQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash) { super((Class) null); - newQUrlOperator(url,relUrl,checkSlash); + newTQUrlOperator(url,relUrl,checkSlash); } - private native void newQUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash); - public QUrlOperator(QUrlOperator url, String relUrl) { + private native void newTQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash); + public TQUrlOperator(TQUrlOperator url, String relUrl) { super((Class) null); - newQUrlOperator(url,relUrl); + newTQUrlOperator(url,relUrl); } - private native void newQUrlOperator(QUrlOperator url, String relUrl); + private native void newTQUrlOperator(TQUrlOperator url, String relUrl); public native void setPath(String path); public native boolean cdUp(); - public native QNetworkOperation listChildren(); - public native QNetworkOperation mkdir(String dirname); - public native QNetworkOperation remove(String filename); - public native QNetworkOperation rename(String oldname, String newname); - public native QNetworkOperation get(String location); - public native QNetworkOperation get(); - public native QNetworkOperation put(byte[] data, String location); - public native QNetworkOperation put(byte[] data); - // QPtrList copy(const QString& arg1,const QString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // QPtrList copy(const QString& arg1,const QString& arg2,bool arg3); >>>> NOT CONVERTED - // QPtrList copy(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED + 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 QUrlInfo info(String entry); + 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); @@ -100,7 +100,7 @@ public class QUrlOperator extends QObject implements QUrlInterface { public native void setFileName(String txt); public native String fileName(); public native String dirPath(); - public native boolean op_equals(QUrlInterface url); + 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); diff --git a/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java b/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java index 4468a234..d6f21b0f 100644 --- a/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java +++ b/qtjava/javalib/org/kde/qt/QUrlOperatorSignals.java @@ -2,15 +2,15 @@ package org.kde.qt; -public interface QUrlOperatorSignals { - // void newChildren(const QValueList& arg1,QNetworkOperation* arg2); >>>> NOT CONVERTED - void finished(QNetworkOperation res); - void start(QNetworkOperation res); - void createdDirectory(QUrlInfo arg1, QNetworkOperation res); - void removed(QNetworkOperation res); - void itemChanged(QNetworkOperation res); - void data(byte[] arg1, QNetworkOperation res); - void dataTransferProgress(int bytesDone, int bytesTotal, QNetworkOperation res); - // void startedNextCopy(const QPtrList& arg1); >>>> NOT CONVERTED +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 index a456bd6e..8e566c94 100644 --- a/qtjava/javalib/org/kde/qt/QUtf16Codec.java +++ b/qtjava/javalib/org/kde/qt/QUtf16Codec.java @@ -3,18 +3,18 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QUtf16Codec extends QTextCodec { - protected QUtf16Codec(Class dummy){super((Class) null);} +public class TQUtf16Codec extends TQTextCodec { + protected TQUtf16Codec(Class dummy){super((Class) null);} public native int mibEnum(); public native String name(); - public native QTextDecoder makeDecoder(); - public native QTextEncoder makeEncoder(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder makeEncoder(); public native int heuristicContentMatch(String chars, int len); - public QUtf16Codec() { + public TQUtf16Codec() { super((Class) null); - newQUtf16Codec(); + newTQUtf16Codec(); } - private native void newQUtf16Codec(); + private native void newTQUtf16Codec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QUtf8Codec.java b/qtjava/javalib/org/kde/qt/QUtf8Codec.java index 66f2d0a7..4fe7308a 100644 --- a/qtjava/javalib/org/kde/qt/QUtf8Codec.java +++ b/qtjava/javalib/org/kde/qt/QUtf8Codec.java @@ -3,19 +3,19 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QUtf8Codec extends QTextCodec { - protected QUtf8Codec(Class dummy){super((Class) null);} +public class TQUtf8Codec extends TQTextCodec { + protected TQUtf8Codec(Class dummy){super((Class) null);} public native int mibEnum(); public native String name(); - public native QTextDecoder makeDecoder(); + 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 QUtf8Codec() { + public TQUtf8Codec() { super((Class) null); - newQUtf8Codec(); + newTQUtf8Codec(); } - private native void newQUtf8Codec(); + private native void newTQUtf8Codec(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QUuid.java b/qtjava/javalib/org/kde/qt/QUuid.java index e25e0929..47fd806e 100644 --- a/qtjava/javalib/org/kde/qt/QUuid.java +++ b/qtjava/javalib/org/kde/qt/QUuid.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QUuid implements QtSupport { +public class TQUuid implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QUuid(Class dummy){} + protected TQUuid(Class dummy){} public static final int VarUnknown = -1; public static final int NCS = 0; @@ -20,31 +20,31 @@ public class QUuid implements QtSupport { public static final int Name = 3; public static final int Random = 4; - public QUuid() { - newQUuid(); + public TQUuid() { + newTQUuid(); } - private native void newQUuid(); - public QUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8) { - newQUuid(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8); + 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 newQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8); - public QUuid(QUuid uuid) { - newQUuid(uuid); + 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 newQUuid(QUuid uuid); - public QUuid(String arg1) { - newQUuid(arg1); + private native void newTQUuid(TQUuid uuid); + public TQUuid(String arg1) { + newTQUuid(arg1); } - private native void newQUuid(String arg1); + private native void newTQUuid(String arg1); public native String toString(); public native boolean isNull(); - public native boolean op_equals(QUuid orig); - public native boolean op_not_equals(QUuid orig); - public native boolean op_lt(QUuid other); - public native boolean op_gt(QUuid other); + 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 QUuid createUuid(); + public static native TQUuid createUuid(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ diff --git a/qtjava/javalib/org/kde/qt/QVBox.java b/qtjava/javalib/org/kde/qt/QVBox.java index 6f558cfe..10aa69dd 100644 --- a/qtjava/javalib/org/kde/qt/QVBox.java +++ b/qtjava/javalib/org/kde/qt/QVBox.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QVBox extends QHBox { - protected QVBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQVBox extends TQHBox { + protected TQVBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QVBox(QWidget parent, String name, int f) { + public TQVBox(TQWidget parent, String name, int f) { super((Class) null); - newQVBox(parent,name,f); + newTQVBox(parent,name,f); } - private native void newQVBox(QWidget parent, String name, int f); - public QVBox(QWidget parent, String name) { + private native void newTQVBox(TQWidget parent, String name, int f); + public TQVBox(TQWidget parent, String name) { super((Class) null); - newQVBox(parent,name); + newTQVBox(parent,name); } - private native void newQVBox(QWidget parent, String name); - public QVBox(QWidget parent) { + private native void newTQVBox(TQWidget parent, String name); + public TQVBox(TQWidget parent) { super((Class) null); - newQVBox(parent); + newTQVBox(parent); } - private native void newQVBox(QWidget parent); - public QVBox() { + private native void newTQVBox(TQWidget parent); + public TQVBox() { super((Class) null); - newQVBox(); + newTQVBox(); } - private native void newQVBox(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QVBoxLayout.java b/qtjava/javalib/org/kde/qt/QVBoxLayout.java index 75b327b2..5beb1e39 100644 --- a/qtjava/javalib/org/kde/qt/QVBoxLayout.java +++ b/qtjava/javalib/org/kde/qt/QVBoxLayout.java @@ -3,60 +3,60 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QVBoxLayout extends QBoxLayout { - protected QVBoxLayout(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQVBoxLayout extends TQBoxLayout { + protected TQVBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QVBoxLayout(QWidget parent, int border, int spacing, String name) { + public TQVBoxLayout(TQWidget parent, int border, int spacing, String name) { super((Class) null); - newQVBoxLayout(parent,border,spacing,name); + newTQVBoxLayout(parent,border,spacing,name); } - private native void newQVBoxLayout(QWidget parent, int border, int spacing, String name); - public QVBoxLayout(QWidget parent, int border, int spacing) { + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQVBoxLayout(TQWidget parent, int border, int spacing) { super((Class) null); - newQVBoxLayout(parent,border,spacing); + newTQVBoxLayout(parent,border,spacing); } - private native void newQVBoxLayout(QWidget parent, int border, int spacing); - public QVBoxLayout(QWidget parent, int border) { + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing); + public TQVBoxLayout(TQWidget parent, int border) { super((Class) null); - newQVBoxLayout(parent,border); + newTQVBoxLayout(parent,border); } - private native void newQVBoxLayout(QWidget parent, int border); - public QVBoxLayout(QWidget parent) { + private native void newTQVBoxLayout(TQWidget parent, int border); + public TQVBoxLayout(TQWidget parent) { super((Class) null); - newQVBoxLayout(parent); + newTQVBoxLayout(parent); } - private native void newQVBoxLayout(QWidget parent); - public QVBoxLayout(QLayout parentLayout, int spacing, String name) { + private native void newTQVBoxLayout(TQWidget parent); + public TQVBoxLayout(TQLayout parentLayout, int spacing, String name) { super((Class) null); - newQVBoxLayout(parentLayout,spacing,name); + newTQVBoxLayout(parentLayout,spacing,name); } - private native void newQVBoxLayout(QLayout parentLayout, int spacing, String name); - public QVBoxLayout(QLayout parentLayout, int spacing) { + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQVBoxLayout(TQLayout parentLayout, int spacing) { super((Class) null); - newQVBoxLayout(parentLayout,spacing); + newTQVBoxLayout(parentLayout,spacing); } - private native void newQVBoxLayout(QLayout parentLayout, int spacing); - public QVBoxLayout(QLayout parentLayout) { + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing); + public TQVBoxLayout(TQLayout parentLayout) { super((Class) null); - newQVBoxLayout(parentLayout); + newTQVBoxLayout(parentLayout); } - private native void newQVBoxLayout(QLayout parentLayout); - public QVBoxLayout(int spacing, String name) { + private native void newTQVBoxLayout(TQLayout parentLayout); + public TQVBoxLayout(int spacing, String name) { super((Class) null); - newQVBoxLayout(spacing,name); + newTQVBoxLayout(spacing,name); } - private native void newQVBoxLayout(int spacing, String name); - public QVBoxLayout(int spacing) { + private native void newTQVBoxLayout(int spacing, String name); + public TQVBoxLayout(int spacing) { super((Class) null); - newQVBoxLayout(spacing); + newTQVBoxLayout(spacing); } - private native void newQVBoxLayout(int spacing); - public QVBoxLayout() { + private native void newTQVBoxLayout(int spacing); + public TQVBoxLayout() { super((Class) null); - newQVBoxLayout(); + newTQVBoxLayout(); } - private native void newQVBoxLayout(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QVButtonGroup.java b/qtjava/javalib/org/kde/qt/QVButtonGroup.java index a7eeed49..af8ab7cf 100644 --- a/qtjava/javalib/org/kde/qt/QVButtonGroup.java +++ b/qtjava/javalib/org/kde/qt/QVButtonGroup.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QVButtonGroup extends QButtonGroup { - protected QVButtonGroup(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQVButtonGroup extends TQButtonGroup { + protected TQVButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QVButtonGroup(QWidget parent, String name) { + public TQVButtonGroup(TQWidget parent, String name) { super((Class) null); - newQVButtonGroup(parent,name); + newTQVButtonGroup(parent,name); } - private native void newQVButtonGroup(QWidget parent, String name); - public QVButtonGroup(QWidget parent) { + private native void newTQVButtonGroup(TQWidget parent, String name); + public TQVButtonGroup(TQWidget parent) { super((Class) null); - newQVButtonGroup(parent); + newTQVButtonGroup(parent); } - private native void newQVButtonGroup(QWidget parent); - public QVButtonGroup() { + private native void newTQVButtonGroup(TQWidget parent); + public TQVButtonGroup() { super((Class) null); - newQVButtonGroup(); + newTQVButtonGroup(); } - private native void newQVButtonGroup(); - public QVButtonGroup(String title, QWidget parent, String name) { + private native void newTQVButtonGroup(); + public TQVButtonGroup(String title, TQWidget parent, String name) { super((Class) null); - newQVButtonGroup(title,parent,name); + newTQVButtonGroup(title,parent,name); } - private native void newQVButtonGroup(String title, QWidget parent, String name); - public QVButtonGroup(String title, QWidget parent) { + private native void newTQVButtonGroup(String title, TQWidget parent, String name); + public TQVButtonGroup(String title, TQWidget parent) { super((Class) null); - newQVButtonGroup(title,parent); + newTQVButtonGroup(title,parent); } - private native void newQVButtonGroup(String title, QWidget parent); - public QVButtonGroup(String title) { + private native void newTQVButtonGroup(String title, TQWidget parent); + public TQVButtonGroup(String title) { super((Class) null); - newQVButtonGroup(title); + newTQVButtonGroup(title); } - private native void newQVButtonGroup(String 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 */ diff --git a/qtjava/javalib/org/kde/qt/QVGroupBox.java b/qtjava/javalib/org/kde/qt/QVGroupBox.java index 213872f2..6767a211 100644 --- a/qtjava/javalib/org/kde/qt/QVGroupBox.java +++ b/qtjava/javalib/org/kde/qt/QVGroupBox.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QVGroupBox extends QGroupBox { - protected QVGroupBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQVGroupBox extends TQGroupBox { + protected TQVGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QVGroupBox(QWidget parent, String name) { + public TQVGroupBox(TQWidget parent, String name) { super((Class) null); - newQVGroupBox(parent,name); + newTQVGroupBox(parent,name); } - private native void newQVGroupBox(QWidget parent, String name); - public QVGroupBox(QWidget parent) { + private native void newTQVGroupBox(TQWidget parent, String name); + public TQVGroupBox(TQWidget parent) { super((Class) null); - newQVGroupBox(parent); + newTQVGroupBox(parent); } - private native void newQVGroupBox(QWidget parent); - public QVGroupBox() { + private native void newTQVGroupBox(TQWidget parent); + public TQVGroupBox() { super((Class) null); - newQVGroupBox(); + newTQVGroupBox(); } - private native void newQVGroupBox(); - public QVGroupBox(String title, QWidget parent, String name) { + private native void newTQVGroupBox(); + public TQVGroupBox(String title, TQWidget parent, String name) { super((Class) null); - newQVGroupBox(title,parent,name); + newTQVGroupBox(title,parent,name); } - private native void newQVGroupBox(String title, QWidget parent, String name); - public QVGroupBox(String title, QWidget parent) { + private native void newTQVGroupBox(String title, TQWidget parent, String name); + public TQVGroupBox(String title, TQWidget parent) { super((Class) null); - newQVGroupBox(title,parent); + newTQVGroupBox(title,parent); } - private native void newQVGroupBox(String title, QWidget parent); - public QVGroupBox(String title) { + private native void newTQVGroupBox(String title, TQWidget parent); + public TQVGroupBox(String title) { super((Class) null); - newQVGroupBox(title); + newTQVGroupBox(title); } - private native void newQVGroupBox(String 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 */ diff --git a/qtjava/javalib/org/kde/qt/QValidator.java b/qtjava/javalib/org/kde/qt/QValidator.java index 4031b347..d9e6e721 100644 --- a/qtjava/javalib/org/kde/qt/QValidator.java +++ b/qtjava/javalib/org/kde/qt/QValidator.java @@ -3,25 +3,25 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QValidator extends QObject { - protected QValidator(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QValidator(QObject parent, String name) { + public TQValidator(TQObject parent, String name) { super((Class) null); - newQValidator(parent,name); + newTQValidator(parent,name); } - private native void newQValidator(QObject parent, String name); - public QValidator(QObject parent) { + private native void newTQValidator(TQObject parent, String name); + public TQValidator(TQObject parent) { super((Class) null); - newQValidator(parent); + newTQValidator(parent); } - private native void newQValidator(QObject 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); diff --git a/qtjava/javalib/org/kde/qt/QVariant.java b/qtjava/javalib/org/kde/qt/QVariant.java index 87e27b3a..41a8ce67 100644 --- a/qtjava/javalib/org/kde/qt/QVariant.java +++ b/qtjava/javalib/org/kde/qt/QVariant.java @@ -6,10 +6,10 @@ import java.util.ArrayList; import java.util.Calendar; import java.util.Date; -public class QVariant implements QtSupport { +public class TQVariant implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QVariant(Class dummy){} + protected TQVariant(Class dummy){} public static final int Invalid = 0; public static final int Map = 1; @@ -47,131 +47,131 @@ public class QVariant implements QtSupport { public static final int LongLong = 33; public static final int ULongLong = 34; - public QVariant() { - newQVariant(); + public TQVariant() { + newTQVariant(); } - private native void newQVariant(); - public QVariant(QVariant arg1) { - newQVariant(arg1); + private native void newTQVariant(); + public TQVariant(TQVariant arg1) { + newTQVariant(arg1); } - private native void newQVariant(QVariant arg1); - public QVariant(QDataStream s) { - newQVariant(s); + private native void newTQVariant(TQVariant arg1); + public TQVariant(TQDataStream s) { + newTQVariant(s); } - private native void newQVariant(QDataStream s); - public QVariant(String arg1) { - newQVariant(arg1); + private native void newTQVariant(TQDataStream s); + public TQVariant(String arg1) { + newTQVariant(arg1); } - private native void newQVariant(String arg1); - public QVariant(String[] arg1) { - newQVariant(arg1); + private native void newTQVariant(String arg1); + public TQVariant(String[] arg1) { + newTQVariant(arg1); } - private native void newQVariant(String[] arg1); - public QVariant(QFont arg1) { - newQVariant(arg1); + private native void newTQVariant(String[] arg1); + public TQVariant(TQFont arg1) { + newTQVariant(arg1); } - private native void newQVariant(QFont arg1); - public QVariant(QPixmap arg1) { - newQVariant(arg1); + private native void newTQVariant(TQFont arg1); + public TQVariant(TQPixmap arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPixmap arg1); - public QVariant(QImage arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPixmap arg1); + public TQVariant(TQImage arg1) { + newTQVariant(arg1); } - private native void newQVariant(QImage arg1); - public QVariant(QBrush arg1) { - newQVariant(arg1); + private native void newTQVariant(TQImage arg1); + public TQVariant(TQBrush arg1) { + newTQVariant(arg1); } - private native void newQVariant(QBrush arg1); - public QVariant(QPoint arg1) { - newQVariant(arg1); + private native void newTQVariant(TQBrush arg1); + public TQVariant(TQPoint arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPoint arg1); - public QVariant(QRect arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPoint arg1); + public TQVariant(TQRect arg1) { + newTQVariant(arg1); } - private native void newQVariant(QRect arg1); - public QVariant(QSize arg1) { - newQVariant(arg1); + private native void newTQVariant(TQRect arg1); + public TQVariant(TQSize arg1) { + newTQVariant(arg1); } - private native void newQVariant(QSize arg1); - public QVariant(QColor arg1) { - newQVariant(arg1); + private native void newTQVariant(TQSize arg1); + public TQVariant(TQColor arg1) { + newTQVariant(arg1); } - private native void newQVariant(QColor arg1); - public QVariant(QPalette arg1) { - newQVariant(arg1); + private native void newTQVariant(TQColor arg1); + public TQVariant(TQPalette arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPalette arg1); - public QVariant(QColorGroup arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPalette arg1); + public TQVariant(TQColorGroup arg1) { + newTQVariant(arg1); } - private native void newQVariant(QColorGroup arg1); - public QVariant(QIconSet arg1) { - newQVariant(arg1); + private native void newTQVariant(TQColorGroup arg1); + public TQVariant(TQIconSet arg1) { + newTQVariant(arg1); } - private native void newQVariant(QIconSet arg1); - public QVariant(QPointArray arg1) { - newQVariant(arg1); + private native void newTQVariant(TQIconSet arg1); + public TQVariant(TQPointArray arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPointArray arg1); - public QVariant(QRegion arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPointArray arg1); + public TQVariant(TQRegion arg1) { + newTQVariant(arg1); } - private native void newQVariant(QRegion arg1); - public QVariant(QBitmap arg1) { - newQVariant(arg1); + private native void newTQVariant(TQRegion arg1); + public TQVariant(TQBitmap arg1) { + newTQVariant(arg1); } - private native void newQVariant(QBitmap arg1); - public QVariant(QCursor arg1) { - newQVariant(arg1); + private native void newTQVariant(TQBitmap arg1); + public TQVariant(TQCursor arg1) { + newTQVariant(arg1); } - private native void newQVariant(QCursor arg1); - public QVariant(Calendar arg1) { - newQVariant(arg1); + private native void newTQVariant(TQCursor arg1); + public TQVariant(Calendar arg1) { + newTQVariant(arg1); } - private native void newQVariant(Calendar arg1); - public QVariant(Date arg1) { - newQVariant(arg1); + private native void newTQVariant(Calendar arg1); + public TQVariant(Date arg1) { + newTQVariant(arg1); } - private native void newQVariant(Date arg1); - public QVariant(byte[] arg1) { - newQVariant(arg1); + private native void newTQVariant(Date arg1); + public TQVariant(byte[] arg1) { + newTQVariant(arg1); } - private native void newQVariant(byte[] arg1); - // QVariant* QVariant(const QBitArray& arg1); >>>> NOT CONVERTED - public QVariant(QKeySequence arg1) { - newQVariant(arg1); + private native void newTQVariant(byte[] arg1); + // TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED + public TQVariant(TQKeySequence arg1) { + newTQVariant(arg1); } - private native void newQVariant(QKeySequence arg1); - public QVariant(QPen arg1) { - newQVariant(arg1); + private native void newTQVariant(TQKeySequence arg1); + public TQVariant(TQPen arg1) { + newTQVariant(arg1); } - private native void newQVariant(QPen arg1); - // QVariant* QVariant(const QValueList& arg1); >>>> NOT CONVERTED - // QVariant* QVariant(const QMap& arg1); >>>> NOT CONVERTED - public QVariant(int arg1) { - newQVariant(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 newQVariant(int arg1); - public QVariant(long arg1) { - newQVariant(arg1); + private native void newTQVariant(int arg1); + public TQVariant(long arg1) { + newTQVariant(arg1); } - private native void newQVariant(long arg1); - public QVariant(boolean arg1, int arg2) { - newQVariant(arg1,arg2); + private native void newTQVariant(long arg1); + public TQVariant(boolean arg1, int arg2) { + newTQVariant(arg1,arg2); } - private native void newQVariant(boolean arg1, int arg2); - public QVariant(double arg1) { - newQVariant(arg1); + private native void newTQVariant(boolean arg1, int arg2); + public TQVariant(double arg1) { + newTQVariant(arg1); } - private native void newQVariant(double arg1); - public QVariant(QSizePolicy arg1) { - newQVariant(arg1); + private native void newTQVariant(double arg1); + public TQVariant(TQSizePolicy arg1) { + newTQVariant(arg1); } - private native void newQVariant(QSizePolicy arg1); - public native boolean op_equals(QVariant arg1); - public native boolean op_not_equals(QVariant 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); @@ -182,28 +182,28 @@ public class QVariant implements QtSupport { public native String toString(); public native String toCString(); public native ArrayList toStringList(); - public native QFont toFont(); - public native QPixmap toPixmap(); - public native QImage toImage(); - public native QBrush toBrush(); - public native QPoint toPoint(); - public native QRect toRect(); - public native QSize toSize(); - public native QColor toColor(); - public native QPalette toPalette(); - public native QColorGroup toColorGroup(); - public native QIconSet toIconSet(); - public native QPointArray toPointArray(); - public native QBitmap toBitmap(); - public native QRegion toRegion(); - public native QCursor toCursor(); + 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 QBitArray toBitArray(); >>>> NOT CONVERTED - public native QKeySequence toKeySequence(); - public native QPen toPen(); + // 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); @@ -215,54 +215,54 @@ public class QVariant implements QtSupport { public native boolean toBool(); public native double toDouble(boolean[] ok); public native double toDouble(); - // const QValueList toList(); >>>> NOT CONVERTED - // const QMap toMap(); >>>> NOT CONVERTED - public native QSizePolicy toSizePolicy(); - // QValueListConstIterator stringListBegin(); >>>> NOT CONVERTED - // QValueListConstIterator stringListEnd(); >>>> NOT CONVERTED - // QValueListConstIterator listBegin(); >>>> NOT CONVERTED - // QValueListConstIterator listEnd(); >>>> NOT CONVERTED - // QMapConstIterator mapBegin(); >>>> NOT CONVERTED - // QMapConstIterator mapEnd(); >>>> NOT CONVERTED - // QMapConstIterator mapFind(const QString& arg1); >>>> NOT CONVERTED + // 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 QFont asFont(); - public native QPixmap asPixmap(); - public native QImage asImage(); - public native QBrush asBrush(); - public native QPoint asPoint(); - public native QRect asRect(); - public native QSize asSize(); - public native QColor asColor(); - public native QPalette asPalette(); - public native QColorGroup asColorGroup(); - public native QIconSet asIconSet(); - public native QPointArray asPointArray(); - public native QBitmap asBitmap(); - public native QRegion asRegion(); - public native QCursor asCursor(); + 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(); - // QBitArray& asBitArray(); >>>> NOT CONVERTED - public native QKeySequence asKeySequence(); - public native QPen asPen(); + // 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(); - // QValueList& asList(); >>>> NOT CONVERTED - // QMap& asMap(); >>>> NOT CONVERTED - public native QSizePolicy asSizePolicy(); - public native void load(QDataStream arg1); - public native void save(QDataStream arg1); - // void* rawAccess(void* arg1,QVariant::Type arg2,bool arg3); >>>> NOT CONVERTED - // void* rawAccess(void* arg1,QVariant::Type arg2); >>>> NOT CONVERTED + // 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); diff --git a/qtjava/javalib/org/kde/qt/QWMatrix.java b/qtjava/javalib/org/kde/qt/QWMatrix.java index 94521c47..5eaf6a61 100644 --- a/qtjava/javalib/org/kde/qt/QWMatrix.java +++ b/qtjava/javalib/org/kde/qt/QWMatrix.java @@ -3,22 +3,22 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QWMatrix implements QtSupport { +public class TQWMatrix implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QWMatrix(Class dummy){} + protected TQWMatrix(Class dummy){} public static final int Points = 0; public static final int Areas = 1; - public QWMatrix() { - newQWMatrix(); + public TQWMatrix() { + newTQWMatrix(); } - private native void newQWMatrix(); - public QWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) { - newQWMatrix(m11,m12,m21,m22,dx,dy); + 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 newQWMatrix(double m11, double m12, double m21, double m22, double dx, double 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(); @@ -28,30 +28,30 @@ public class QWMatrix implements QtSupport { 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 QRect mapRect(QRect arg1); - public native QPoint map(QPoint p); - public native QRect map(QRect r); - public native QPointArray map(QPointArray a); - public native QRegion map(QRegion r); - public native QRegion mapToRegion(QRect r); - public native QPointArray mapToPolygon(QRect r); + 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 QWMatrix translate(double dx, double dy); - public native QWMatrix scale(double sx, double sy); - public native QWMatrix shear(double sh, double sv); - public native QWMatrix rotate(double a); + 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 QWMatrix invert(boolean[] arg1); - public native QWMatrix invert(); - public native boolean op_equals(QWMatrix arg1); - public native boolean op_not_equals(QWMatrix arg1); - public native QWMatrix op_mult_assign(QWMatrix arg1); - public native QPoint op_mult(QPoint arg1); - public native QRegion op_mult(QRect arg1); - public native QRegion op_mult(QRegion arg1); - public native QPointArray op_mult(QPointArray a); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QWhatsThis.java b/qtjava/javalib/org/kde/qt/QWhatsThis.java index 685b59c0..c24d8528 100644 --- a/qtjava/javalib/org/kde/qt/QWhatsThis.java +++ b/qtjava/javalib/org/kde/qt/QWhatsThis.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QWhatsThis extends Qt { - protected QWhatsThis(Class dummy){super((Class) null);} - public QWhatsThis(QWidget arg1) { +public class TQWhatsThis extends Qt { + protected TQWhatsThis(Class dummy){super((Class) null);} + public TQWhatsThis(TQWidget arg1) { super((Class) null); - newQWhatsThis(arg1); + newTQWhatsThis(arg1); } - private native void newQWhatsThis(QWidget arg1); - public native String text(QPoint arg1); + private native void newTQWhatsThis(TQWidget arg1); + public native String text(TQPoint arg1); public native boolean clicked(String href); - public static native void setFont(QFont font); - public static native void add(QWidget arg1, String arg2); - public static native void remove(QWidget arg1); - public static native String textFor(QWidget arg1, QPoint pos, boolean includeParents); - public static native String textFor(QWidget arg1, QPoint pos); - public static native String textFor(QWidget arg1); - public static native QToolButton whatsThisButton(QWidget parent); + 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, QPoint pos, QWidget w); - public static native void leaveWhatsThisMode(String arg1, QPoint pos); + 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, QPoint pos, QWidget w); - public static native void display(String text, QPoint pos); + 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; diff --git a/qtjava/javalib/org/kde/qt/QWheelEvent.java b/qtjava/javalib/org/kde/qt/QWheelEvent.java index 565c4ff8..ca14cf2c 100644 --- a/qtjava/javalib/org/kde/qt/QWheelEvent.java +++ b/qtjava/javalib/org/kde/qt/QWheelEvent.java @@ -3,31 +3,31 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QWheelEvent extends QEvent { - protected QWheelEvent(Class dummy){super((Class) null);} - public QWheelEvent(QPoint pos, int delta, int state, int orient) { +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); - newQWheelEvent(pos,delta,state,orient); + newTQWheelEvent(pos,delta,state,orient); } - private native void newQWheelEvent(QPoint pos, int delta, int state, int orient); - public QWheelEvent(QPoint pos, int delta, int state) { + private native void newTQWheelEvent(TQPoint pos, int delta, int state, int orient); + public TQWheelEvent(TQPoint pos, int delta, int state) { super((Class) null); - newQWheelEvent(pos,delta,state); + newTQWheelEvent(pos,delta,state); } - private native void newQWheelEvent(QPoint pos, int delta, int state); - public QWheelEvent(QPoint pos, QPoint globalPos, int delta, int state, int orient) { + 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); - newQWheelEvent(pos,globalPos,delta,state,orient); + newTQWheelEvent(pos,globalPos,delta,state,orient); } - private native void newQWheelEvent(QPoint pos, QPoint globalPos, int delta, int state, int orient); - public QWheelEvent(QPoint pos, QPoint globalPos, int delta, int state) { + 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); - newQWheelEvent(pos,globalPos,delta,state); + newTQWheelEvent(pos,globalPos,delta,state); } - private native void newQWheelEvent(QPoint pos, QPoint globalPos, int delta, int state); + private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state); public native int delta(); - public native QPoint pos(); - public native QPoint globalPos(); + public native TQPoint pos(); + public native TQPoint globalPos(); public native int x(); public native int y(); public native int globalX(); diff --git a/qtjava/javalib/org/kde/qt/QWidget.java b/qtjava/javalib/org/kde/qt/QWidget.java index e7f5d77f..5fdd541a 100644 --- a/qtjava/javalib/org/kde/qt/QWidget.java +++ b/qtjava/javalib/org/kde/qt/QWidget.java @@ -3,8 +3,8 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QWidget extends QObject implements QPaintDeviceInterface { - protected QWidget(Class dummy){super((Class) null);} +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; @@ -16,147 +16,147 @@ public class QWidget extends QObject implements QPaintDeviceInterface { public static final int WindowOrigin = 2; public static final int AncestorOrigin = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QWidget(QWidget parent, String name, int f) { + public TQWidget(TQWidget parent, String name, int f) { super((Class) null); - newQWidget(parent,name,f); + newTQWidget(parent,name,f); } - private native void newQWidget(QWidget parent, String name, int f); - public QWidget(QWidget parent, String name) { + private native void newTQWidget(TQWidget parent, String name, int f); + public TQWidget(TQWidget parent, String name) { super((Class) null); - newQWidget(parent,name); + newTQWidget(parent,name); } - private native void newQWidget(QWidget parent, String name); - public QWidget(QWidget parent) { + private native void newTQWidget(TQWidget parent, String name); + public TQWidget(TQWidget parent) { super((Class) null); - newQWidget(parent); + newTQWidget(parent); } - private native void newQWidget(QWidget parent); - public QWidget() { + private native void newTQWidget(TQWidget parent); + public TQWidget() { super((Class) null); - newQWidget(); + newTQWidget(); } - private native void newQWidget(); + private native void newTQWidget(); public native long winId(); public native void setName(String name); - public native QStyle style(); - public native void setStyle(QStyle arg1); - public native QStyle setStyle(String arg1); + 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(QWidget arg1); + public native boolean isEnabledTo(TQWidget arg1); public native boolean isEnabledToTLW(); - public native QRect frameGeometry(); - public native QRect geometry(); + public native TQRect frameGeometry(); + public native TQRect geometry(); public native int x(); public native int y(); - public native QPoint pos(); - public native QSize frameSize(); - public native QSize size(); + public native TQPoint pos(); + public native TQSize frameSize(); + public native TQSize size(); public native int width(); public native int height(); - public native QRect rect(); - public native QRect childrenRect(); - public native QRegion childrenRegion(); - public native QSize minimumSize(); - public native QSize maximumSize(); + 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(QSize arg1); + public native void setMinimumSize(TQSize arg1); public native void setMinimumSize(int minw, int minh); - public native void setMaximumSize(QSize arg1); + 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 QSize sizeIncrement(); - public native void setSizeIncrement(QSize arg1); + public native TQSize sizeIncrement(); + public native void setSizeIncrement(TQSize arg1); public native void setSizeIncrement(int w, int h); - public native QSize baseSize(); - public native void setBaseSize(QSize arg1); + public native TQSize baseSize(); + public native void setBaseSize(TQSize arg1); public native void setBaseSize(int basew, int baseh); - public native void setFixedSize(QSize arg1); + 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 QPoint mapToGlobal(QPoint arg1); - public native QPoint mapFromGlobal(QPoint arg1); - public native QPoint mapToParent(QPoint arg1); - public native QPoint mapFromParent(QPoint arg1); - public native QPoint mapTo(QWidget arg1, QPoint arg2); - public native QPoint mapFrom(QWidget arg1, QPoint arg2); - public native QWidget topLevelWidget(); + 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 QColor foregroundColor(); - public native QColor eraseColor(); - public native void setEraseColor(QColor arg1); - public native QPixmap erasePixmap(); - public native void setErasePixmap(QPixmap arg1); - public native QColorGroup colorGroup(); - public native QPalette palette(); + 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(QPalette arg1); + public native void setPalette(TQPalette arg1); public native void unsetPalette(); - public native QColor paletteForegroundColor(); - public native void setPaletteForegroundColor(QColor arg1); - public native QColor paletteBackgroundColor(); - public native void setPaletteBackgroundColor(QColor arg1); - public native QPixmap paletteBackgroundPixmap(); - public native void setPaletteBackgroundPixmap(QPixmap arg1); - public native QBrush backgroundBrush(); - public native QFont font(); + 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(QFont arg1); + public native void setFont(TQFont arg1); public native void unsetFont(); - public native QFontMetrics fontMetrics(); - public native QFontInfo fontInfo(); - public native QCursor cursor(); + public native TQFontMetrics fontMetrics(); + public native TQFontInfo fontInfo(); + public native TQCursor cursor(); public native boolean ownCursor(); - public native void setCursor(QCursor arg1); + public native void setCursor(TQCursor arg1); public native void unsetCursor(); public native String caption(); - public native QPixmap icon(); + public native TQPixmap icon(); public native String iconText(); public native boolean hasMouseTracking(); public native boolean hasMouse(); - public native void setMask(QBitmap arg1); - public native void setMask(QRegion arg1); + public native void setMask(TQBitmap arg1); + public native void setMask(TQRegion arg1); public native void clearMask(); - public native QColor backgroundColor(); - public native void setBackgroundColor(QColor arg1); - public native QPixmap backgroundPixmap(); - public native void setBackgroundPixmap(QPixmap arg1); + 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(QWidget arg1); - public native QWidget focusProxy(); + 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(QCursor arg1); + 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(QWidget arg1); + public native boolean isVisibleTo(TQWidget arg1); public native boolean isVisibleToTLW(); - public native QRect visibleRect(); + public native TQRect visibleRect(); public native boolean isHidden(); public native boolean isShown(); public native boolean isMinimized(); @@ -164,56 +164,56 @@ public class QWidget extends QObject implements QPaintDeviceInterface { public native boolean isFullScreen(); public native int windowState(); public native void setWindowState(int windowState); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); - public native QSizePolicy sizePolicy(); - public native void setSizePolicy(QSizePolicy arg1); + 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 QRegion clipRegion(); - public native QLayout layout(); + public native TQRegion clipRegion(); + public native TQLayout layout(); public native void updateGeometry(); - public native void reparent(QWidget parent, int arg2, QPoint arg3, boolean showIt); - public native void reparent(QWidget parent, int arg2, QPoint arg3); - public native void reparent(QWidget parent, QPoint arg2, boolean showIt); - public native void reparent(QWidget parent, QPoint arg2); - public native void recreate(QWidget parent, int f, QPoint p, boolean showIt); - public native void recreate(QWidget parent, int f, QPoint p); + 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(QRect arg1); - public native void erase(QRegion arg1); + 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, QRect arg3); + public native void scroll(int dx, int dy, TQRect arg3); public native void drawText(int x, int y, String arg3); - public native void drawText(QPoint arg1, String arg2); - public native QWidget focusWidget(); - public native QRect microFocusHint(); + 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 QPoint backgroundOffset(); + public native TQPoint backgroundOffset(); public native boolean customWhatsThis(); - public native QWidget parentWidget(boolean sameWindow); - public native QWidget parentWidget(); + public native TQWidget parentWidget(boolean sameWindow); + public native TQWidget parentWidget(); public native int testWState(int s); public native int testWFlags(int f); - public native QWidget childAt(int x, int y, boolean includeThis); - public native QWidget childAt(int x, int y); - public native QWidget childAt(QPoint arg1, boolean includeThis); - public native QWidget childAt(QPoint arg1); + 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(QPalette p, boolean arg2); - public native void setFont(QFont f, boolean arg2); + 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(QPixmap arg1); + public native void setIcon(TQPixmap arg1); public native void setIconText(String arg1); public native void setMouseTracking(boolean enable); public native void setFocus(); @@ -221,15 +221,15 @@ public class QWidget extends QObject implements QPaintDeviceInterface { 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(QRect arg1); + 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(QRect arg1, boolean erase); - public native void repaint(QRect arg1); - public native void repaint(QRegion arg1, boolean erase); - public native void repaint(QRegion arg1); + 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); @@ -244,53 +244,53 @@ public class QWidget extends QObject implements QPaintDeviceInterface { public native boolean close(); public native void raise(); public native void lower(); - public native void stackUnder(QWidget arg1); + public native void stackUnder(TQWidget arg1); public native void move(int x, int y); - public native void move(QPoint arg1); + public native void move(TQPoint arg1); public native void resize(int w, int h); - public native void resize(QSize arg1); + public native void resize(TQSize arg1); public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(QRect arg1); + 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(QWidget arg1, QWidget arg2); - public static native QWidget mouseGrabber(); - public static native QWidget keyboardGrabber(); - public static native QWidget find(long arg1); - // QWidgetMapper* wmapper(); >>>> NOT CONVERTED - public native boolean event(QEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseDoubleClickEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void keyReleaseEvent(QKeyEvent arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void enterEvent(QEvent arg1); - protected native void leaveEvent(QEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void moveEvent(QMoveEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void closeEvent(QCloseEvent arg1); - protected native void contextMenuEvent(QContextMenuEvent arg1); - protected native void imStartEvent(QIMEvent arg1); - protected native void imComposeEvent(QIMEvent arg1); - protected native void imEndEvent(QIMEvent arg1); - protected native void tabletEvent(QTabletEvent arg1); - protected native void dragEnterEvent(QDragEnterEvent arg1); - protected native void dragMoveEvent(QDragMoveEvent arg1); - protected native void dragLeaveEvent(QDragLeaveEvent arg1); - protected native void dropEvent(QDropEvent arg1); - public native void showEvent(QShowEvent arg1); - protected native void hideEvent(QHideEvent 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(QStyle arg1); + public native void styleChange(TQStyle arg1); protected native void enabledChange(boolean oldEnabled); - protected native void paletteChange(QPalette arg1); - protected native void fontChange(QFont arg1); + 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(); @@ -308,11 +308,11 @@ public class QWidget extends QObject implements QPaintDeviceInterface { protected native void setWFlags(int arg1); protected native void clearWFlags(int n); protected native boolean focusNextPrevChild(boolean next); - // QWExtra* extraData(); >>>> NOT CONVERTED - // QTLWExtra* topData(); >>>> NOT CONVERTED - protected native QFocusData focusData(); + // 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, QFont f); + 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 */ @@ -326,11 +326,11 @@ public class QWidget extends QObject implements QPaintDeviceInterface { public native boolean paintingActive(); public native void setResolution(int arg1); public native int resolution(); - // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED - protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4); - protected native int fontMet(QFont arg1, int arg2, String arg3); - protected native int fontMet(QFont arg1, int arg2); - protected native int fontInf(QFont arg1, int arg2); + // 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 index b29b8f78..8a7e447d 100644 --- a/qtjava/javalib/org/kde/qt/QWidgetItem.java +++ b/qtjava/javalib/org/kde/qt/QWidgetItem.java @@ -3,21 +3,21 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QWidgetItem extends QLayoutItem { - protected QWidgetItem(Class dummy){super((Class) null);} - public QWidgetItem(QWidget w) { +public class TQWidgetItem extends TQLayoutItem { + protected TQWidgetItem(Class dummy){super((Class) null);} + public TQWidgetItem(TQWidget w) { super((Class) null); - newQWidgetItem(w); + newTQWidgetItem(w); } - private native void newQWidgetItem(QWidget w); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize maximumSize(); + 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(QRect arg1); - public native QRect geometry(); - public native QWidget widget(); + 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 */ diff --git a/qtjava/javalib/org/kde/qt/QWidgetStack.java b/qtjava/javalib/org/kde/qt/QWidgetStack.java index 1146ca35..a0366a86 100644 --- a/qtjava/javalib/org/kde/qt/QWidgetStack.java +++ b/qtjava/javalib/org/kde/qt/QWidgetStack.java @@ -4,50 +4,50 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QWidgetStackSignals} for signals emitted by QWidgetStack + See {@link TQWidgetStackSignals} for signals emitted by TQWidgetStack */ -public class QWidgetStack extends QFrame { - protected QWidgetStack(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQWidgetStack extends TQFrame { + protected TQWidgetStack(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QWidgetStack(QWidget parent, String name) { + public TQWidgetStack(TQWidget parent, String name) { super((Class) null); - newQWidgetStack(parent,name); + newTQWidgetStack(parent,name); } - private native void newQWidgetStack(QWidget parent, String name); - public QWidgetStack(QWidget parent) { + private native void newTQWidgetStack(TQWidget parent, String name); + public TQWidgetStack(TQWidget parent) { super((Class) null); - newQWidgetStack(parent); + newTQWidgetStack(parent); } - private native void newQWidgetStack(QWidget parent); - public QWidgetStack() { + private native void newTQWidgetStack(TQWidget parent); + public TQWidgetStack() { super((Class) null); - newQWidgetStack(); + newTQWidgetStack(); } - private native void newQWidgetStack(); - public QWidgetStack(QWidget parent, String name, int f) { + private native void newTQWidgetStack(); + public TQWidgetStack(TQWidget parent, String name, int f) { super((Class) null); - newQWidgetStack(parent,name,f); + newTQWidgetStack(parent,name,f); } - private native void newQWidgetStack(QWidget parent, String name, int f); - public native int addWidget(QWidget arg1, int arg2); - public native int addWidget(QWidget arg1); - public native void removeWidget(QWidget arg1); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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 QWidget widget(int arg1); - public native int id(QWidget arg1); - public native QWidget visibleWidget(); - public native void setFrameRect(QRect arg1); + 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(QWidget 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(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); protected native void setChildGeometries(); - protected native void childEvent(QChildEvent arg1); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java b/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java index d8d833b7..acc7ca7c 100644 --- a/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java +++ b/qtjava/javalib/org/kde/qt/QWidgetStackSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QWidgetStackSignals { +public interface TQWidgetStackSignals { void aboutToShow(int arg1); - void aboutToShow(QWidget arg1); + void aboutToShow(TQWidget arg1); } diff --git a/qtjava/javalib/org/kde/qt/QWizard.java b/qtjava/javalib/org/kde/qt/QWizard.java index 2e290366..ab105d1f 100644 --- a/qtjava/javalib/org/kde/qt/QWizard.java +++ b/qtjava/javalib/org/kde/qt/QWizard.java @@ -4,68 +4,68 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QWizardSignals} for signals emitted by QWizard + See {@link TQWizardSignals} for signals emitted by TQWizard */ -public class QWizard extends QDialog { - protected QWizard(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQWizard extends TQDialog { + protected TQWizard(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QWizard(QWidget parent, String name, boolean modal, int f) { + public TQWizard(TQWidget parent, String name, boolean modal, int f) { super((Class) null); - newQWizard(parent,name,modal,f); + newTQWizard(parent,name,modal,f); } - private native void newQWizard(QWidget parent, String name, boolean modal, int f); - public QWizard(QWidget parent, String name, boolean modal) { + private native void newTQWizard(TQWidget parent, String name, boolean modal, int f); + public TQWizard(TQWidget parent, String name, boolean modal) { super((Class) null); - newQWizard(parent,name,modal); + newTQWizard(parent,name,modal); } - private native void newQWizard(QWidget parent, String name, boolean modal); - public QWizard(QWidget parent, String name) { + private native void newTQWizard(TQWidget parent, String name, boolean modal); + public TQWizard(TQWidget parent, String name) { super((Class) null); - newQWizard(parent,name); + newTQWizard(parent,name); } - private native void newQWizard(QWidget parent, String name); - public QWizard(QWidget parent) { + private native void newTQWizard(TQWidget parent, String name); + public TQWizard(TQWidget parent) { super((Class) null); - newQWizard(parent); + newTQWizard(parent); } - private native void newQWizard(QWidget parent); - public QWizard() { + private native void newTQWizard(TQWidget parent); + public TQWizard() { super((Class) null); - newQWizard(); + newTQWizard(); } - private native void newQWizard(); + private native void newTQWizard(); public native void show(); - public native void setFont(QFont font); - public native void addPage(QWidget arg1, String arg2); - public native void insertPage(QWidget arg1, String arg2, int arg3); - public native void removePage(QWidget arg1); - public native String title(QWidget arg1); - public native void setTitle(QWidget arg1, String arg2); - public native QFont titleFont(); - public native void setTitleFont(QFont arg1); - public native void showPage(QWidget arg1); - public native QWidget currentPage(); - public native QWidget page(int arg1); + 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(QWidget arg1); - public native boolean appropriate(QWidget arg1); - public native void setAppropriate(QWidget arg1, boolean arg2); - public native QPushButton backButton(); - public native QPushButton nextButton(); - public native QPushButton finishButton(); - public native QPushButton cancelButton(); - public native QPushButton helpButton(); - public native boolean eventFilter(QObject arg1, QEvent arg2); - public native void setBackEnabled(QWidget arg1, boolean arg2); - public native void setNextEnabled(QWidget arg1, boolean arg2); - public native void setFinishEnabled(QWidget arg1, boolean arg2); - public native void setHelpEnabled(QWidget arg1, boolean arg2); - public native void setFinish(QWidget arg1, boolean arg2); + 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(QHBoxLayout arg1); - protected native void layOutTitleRow(QHBoxLayout arg1, String arg2); + 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(); diff --git a/qtjava/javalib/org/kde/qt/QWizardSignals.java b/qtjava/javalib/org/kde/qt/QWizardSignals.java index 03d979ae..c73f2915 100644 --- a/qtjava/javalib/org/kde/qt/QWizardSignals.java +++ b/qtjava/javalib/org/kde/qt/QWizardSignals.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QWizardSignals { +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 index 52413dd5..96762dd8 100644 --- a/qtjava/javalib/org/kde/qt/QWorkspace.java +++ b/qtjava/javalib/org/kde/qt/QWorkspace.java @@ -5,38 +5,38 @@ import org.kde.qt.Qt; import java.util.ArrayList; /** - See {@link QWorkspaceSignals} for signals emitted by QWorkspace + See {@link TQWorkspaceSignals} for signals emitted by TQWorkspace */ -public class QWorkspace extends QWidget { - protected QWorkspace(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QWorkspace(QWidget parent, String name) { + public TQWorkspace(TQWidget parent, String name) { super((Class) null); - newQWorkspace(parent,name); + newTQWorkspace(parent,name); } - private native void newQWorkspace(QWidget parent, String name); - public QWorkspace(QWidget parent) { + private native void newTQWorkspace(TQWidget parent, String name); + public TQWorkspace(TQWidget parent) { super((Class) null); - newQWorkspace(parent); + newTQWorkspace(parent); } - private native void newQWorkspace(QWidget parent); - public QWorkspace() { + private native void newTQWorkspace(TQWidget parent); + public TQWorkspace() { super((Class) null); - newQWorkspace(); + newTQWorkspace(); } - private native void newQWorkspace(); - public native QWidget activeWindow(); + private native void newTQWorkspace(); + public native TQWidget activeWindow(); public native ArrayList windowList(); public native ArrayList windowList(int order); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native boolean scrollBarsEnabled(); public native void setScrollBarsEnabled(boolean enable); - public native void setPaletteBackgroundColor(QColor arg1); - public native void setPaletteBackgroundPixmap(QPixmap arg1); + public native void setPaletteBackgroundColor(TQColor arg1); + public native void setPaletteBackgroundPixmap(TQPixmap arg1); public native void cascade(); public native void tile(); public native void closeActiveWindow(); @@ -45,13 +45,13 @@ public class QWorkspace extends QWidget { public native void activatePrevWindow(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public native void styleChange(QStyle arg1); - protected native void childEvent(QChildEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); - public native boolean eventFilter(QObject arg1, QEvent arg2); - public native void showEvent(QShowEvent e); - protected native void hideEvent(QHideEvent e); - protected native void wheelEvent(QWheelEvent e); + 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() */ diff --git a/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java b/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java index f6492cb7..fcb9768f 100644 --- a/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java +++ b/qtjava/javalib/org/kde/qt/QWorkspaceSignals.java @@ -3,6 +3,6 @@ package org.kde.qt; import java.util.ArrayList; -public interface QWorkspaceSignals { - void windowActivated(QWidget w); +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 index d6fec641..ccd1013d 100644 --- a/qtjava/javalib/org/kde/qt/QXmlAttributes.java +++ b/qtjava/javalib/org/kde/qt/QXmlAttributes.java @@ -3,15 +3,15 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlAttributes implements QtSupport { +public class TQXmlAttributes implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlAttributes(Class dummy){} + protected TQXmlAttributes(Class dummy){} - public QXmlAttributes() { - newQXmlAttributes(); + public TQXmlAttributes() { + newTQXmlAttributes(); } - private native void newQXmlAttributes(); + private native void newTQXmlAttributes(); public native int index(String qName); public native int index(String uri, String localPart); public native int length(); diff --git a/qtjava/javalib/org/kde/qt/QXmlContentHandler.java b/qtjava/javalib/org/kde/qt/QXmlContentHandler.java index 5c1485e2..13ff56ae 100644 --- a/qtjava/javalib/org/kde/qt/QXmlContentHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlContentHandler.java @@ -3,17 +3,17 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlContentHandler implements QtSupport, QXmlContentHandlerInterface { +public class TQXmlContentHandler implements QtSupport, TQXmlContentHandlerInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlContentHandler(Class dummy){} + protected TQXmlContentHandler(Class dummy){} - public native void setDocumentLocator(QXmlLocator locator); + 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, QXmlAttributes atts); + 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); diff --git a/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java index 02a52f4f..412b60f9 100644 --- a/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlContentHandlerInterface.java @@ -2,13 +2,13 @@ package org.kde.qt; -public interface QXmlContentHandlerInterface { - void setDocumentLocator(QXmlLocator locator); +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, QXmlAttributes atts); + 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); diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java index 65df4ff6..2351b82e 100644 --- a/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlDTDHandler.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlDTDHandler implements QtSupport, QXmlDTDHandlerInterface { +public class TQXmlDTDHandler implements QtSupport, TQXmlDTDHandlerInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlDTDHandler(Class dummy){} + 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); diff --git a/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java index e0c3c7d5..15afd57b 100644 --- a/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlDTDHandlerInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QXmlDTDHandlerInterface { +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 index 2a67225f..0ce9a04b 100644 --- a/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlDeclHandler.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlDeclHandler implements QtSupport, QXmlDeclHandlerInterface { +public class TQXmlDeclHandler implements QtSupport, TQXmlDeclHandlerInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlDeclHandler(Class dummy){} + 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); diff --git a/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java index e52e268c..02d389ce 100644 --- a/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlDeclHandlerInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QXmlDeclHandlerInterface { +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); diff --git a/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java b/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java index 42f4c3a5..eba6da8e 100644 --- a/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlDefaultHandler.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlDefaultHandler extends QXmlLexicalHandler implements QXmlContentHandlerInterface, QXmlDTDHandlerInterface, QXmlDeclHandlerInterface, QXmlEntityResolverInterface, QXmlErrorHandlerInterface, QXmlLexicalHandlerInterface { - protected QXmlDefaultHandler(Class dummy){super((Class) null);} - public QXmlDefaultHandler() { +public class TQXmlDefaultHandler extends TQXmlLexicalHandler implements TQXmlContentHandlerInterface, TQXmlDTDHandlerInterface, TQXmlDeclHandlerInterface, TQXmlEntityResolverInterface, TQXmlErrorHandlerInterface, TQXmlLexicalHandlerInterface { + protected TQXmlDefaultHandler(Class dummy){super((Class) null);} + public TQXmlDefaultHandler() { super((Class) null); - newQXmlDefaultHandler(); + newTQXmlDefaultHandler(); } - private native void newQXmlDefaultHandler(); - public native void setDocumentLocator(QXmlLocator locator); + 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, QXmlAttributes atts); + 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(QXmlParseException exception); - public native boolean error(QXmlParseException exception); - public native boolean fatalError(QXmlParseException exception); + 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, QXmlInputSource ret); + 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); diff --git a/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java b/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java index c9725f27..4c4702ef 100644 --- a/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java +++ b/qtjava/javalib/org/kde/qt/QXmlEntityResolver.java @@ -3,11 +3,11 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlEntityResolver implements QtSupport, QXmlEntityResolverInterface { +public class TQXmlEntityResolver implements QtSupport, TQXmlEntityResolverInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlEntityResolver(Class dummy){} + protected TQXmlEntityResolver(Class dummy){} - public native boolean resolveEntity(String publicId, String systemId, QXmlInputSource ret); + 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 index d93a54ff..d18812ba 100644 --- a/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlEntityResolverInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QXmlEntityResolverInterface { - boolean resolveEntity(String publicId, String systemId, QXmlInputSource ret); +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 index cca6b897..c3defac4 100644 --- a/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlErrorHandler.java @@ -3,13 +3,13 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlErrorHandler implements QtSupport, QXmlErrorHandlerInterface { +public class TQXmlErrorHandler implements QtSupport, TQXmlErrorHandlerInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlErrorHandler(Class dummy){} + protected TQXmlErrorHandler(Class dummy){} - public native boolean warning(QXmlParseException exception); - public native boolean error(QXmlParseException exception); - public native boolean fatalError(QXmlParseException exception); + 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 index af9381a5..6fefc304 100644 --- a/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlErrorHandlerInterface.java @@ -2,9 +2,9 @@ package org.kde.qt; -public interface QXmlErrorHandlerInterface { - boolean warning(QXmlParseException exception); - boolean error(QXmlParseException exception); - boolean fatalError(QXmlParseException exception); +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 index fb5cf06e..9e8648be 100644 --- a/qtjava/javalib/org/kde/qt/QXmlInputSource.java +++ b/qtjava/javalib/org/kde/qt/QXmlInputSource.java @@ -3,27 +3,27 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlInputSource implements QtSupport { +public class TQXmlInputSource implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlInputSource(Class dummy){} + protected TQXmlInputSource(Class dummy){} - public QXmlInputSource() { - newQXmlInputSource(); + public TQXmlInputSource() { + newTQXmlInputSource(); } - private native void newQXmlInputSource(); - public QXmlInputSource(QIODeviceInterface dev) { - newQXmlInputSource(dev); + private native void newTQXmlInputSource(); + public TQXmlInputSource(TQIODeviceInterface dev) { + newTQXmlInputSource(dev); } - private native void newQXmlInputSource(QIODeviceInterface dev); - public QXmlInputSource(QFile file) { - newQXmlInputSource(file); + private native void newTQXmlInputSource(TQIODeviceInterface dev); + public TQXmlInputSource(TQFile file) { + newTQXmlInputSource(file); } - private native void newQXmlInputSource(QFile file); - public QXmlInputSource(QTextStream stream) { - newQXmlInputSource(stream); + private native void newTQXmlInputSource(TQFile file); + public TQXmlInputSource(TQTextStream stream) { + newTQXmlInputSource(stream); } - private native void newQXmlInputSource(QTextStream stream); + private native void newTQXmlInputSource(TQTextStream stream); public native void setData(String dat); public native void setData(byte[] dat); public native void fetchData(); diff --git a/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java index a0805ce2..fcc6afe9 100644 --- a/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java +++ b/qtjava/javalib/org/kde/qt/QXmlLexicalHandler.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlLexicalHandler implements QtSupport, QXmlLexicalHandlerInterface { +public class TQXmlLexicalHandler implements QtSupport, TQXmlLexicalHandlerInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlLexicalHandler(Class dummy){} + protected TQXmlLexicalHandler(Class dummy){} public native boolean startDTD(String name, String publicId, String systemId); public native boolean endDTD(); diff --git a/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java b/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java index b60839b0..2623395c 100644 --- a/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java +++ b/qtjava/javalib/org/kde/qt/QXmlLexicalHandlerInterface.java @@ -2,7 +2,7 @@ package org.kde.qt; -public interface QXmlLexicalHandlerInterface { +public interface TQXmlLexicalHandlerInterface { boolean startDTD(String name, String publicId, String systemId); boolean endDTD(); boolean startEntity(String name); diff --git a/qtjava/javalib/org/kde/qt/QXmlLocator.java b/qtjava/javalib/org/kde/qt/QXmlLocator.java index df000e39..a36602e9 100644 --- a/qtjava/javalib/org/kde/qt/QXmlLocator.java +++ b/qtjava/javalib/org/kde/qt/QXmlLocator.java @@ -3,10 +3,10 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlLocator implements QtSupport { +public class TQXmlLocator implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlLocator(Class dummy){} + 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 index 2c9f5347..233f3834 100644 --- a/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java +++ b/qtjava/javalib/org/kde/qt/QXmlNamespaceSupport.java @@ -4,15 +4,15 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QXmlNamespaceSupport implements QtSupport { +public class TQXmlNamespaceSupport implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlNamespaceSupport(Class dummy){} + protected TQXmlNamespaceSupport(Class dummy){} - public QXmlNamespaceSupport() { - newQXmlNamespaceSupport(); + public TQXmlNamespaceSupport() { + newTQXmlNamespaceSupport(); } - private native void newQXmlNamespaceSupport(); + private native void newTQXmlNamespaceSupport(); public native void setPrefix(String arg1, String arg2); public native String prefix(String arg1); public native String uri(String arg1); diff --git a/qtjava/javalib/org/kde/qt/QXmlParseException.java b/qtjava/javalib/org/kde/qt/QXmlParseException.java index 3e035222..23cafe52 100644 --- a/qtjava/javalib/org/kde/qt/QXmlParseException.java +++ b/qtjava/javalib/org/kde/qt/QXmlParseException.java @@ -3,35 +3,35 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlParseException implements QtSupport { +public class TQXmlParseException implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlParseException(Class dummy){} + protected TQXmlParseException(Class dummy){} - public QXmlParseException(String name, int c, int l, String p, String s) { - newQXmlParseException(name,c,l,p,s); + public TQXmlParseException(String name, int c, int l, String p, String s) { + newTQXmlParseException(name,c,l,p,s); } - private native void newQXmlParseException(String name, int c, int l, String p, String s); - public QXmlParseException(String name, int c, int l, String p) { - newQXmlParseException(name,c,l,p); + 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 newQXmlParseException(String name, int c, int l, String p); - public QXmlParseException(String name, int c, int l) { - newQXmlParseException(name,c,l); + 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 newQXmlParseException(String name, int c, int l); - public QXmlParseException(String name, int c) { - newQXmlParseException(name,c); + private native void newTQXmlParseException(String name, int c, int l); + public TQXmlParseException(String name, int c) { + newTQXmlParseException(name,c); } - private native void newQXmlParseException(String name, int c); - public QXmlParseException(String name) { - newQXmlParseException(name); + private native void newTQXmlParseException(String name, int c); + public TQXmlParseException(String name) { + newTQXmlParseException(name); } - private native void newQXmlParseException(String name); - public QXmlParseException() { - newQXmlParseException(); + private native void newTQXmlParseException(String name); + public TQXmlParseException() { + newTQXmlParseException(); } - private native void newQXmlParseException(); + private native void newTQXmlParseException(); public native int columnNumber(); public native int lineNumber(); public native String publicId(); diff --git a/qtjava/javalib/org/kde/qt/QXmlReader.java b/qtjava/javalib/org/kde/qt/QXmlReader.java index 46f6d3f7..611ef863 100644 --- a/qtjava/javalib/org/kde/qt/QXmlReader.java +++ b/qtjava/javalib/org/kde/qt/QXmlReader.java @@ -3,30 +3,30 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlReader implements QtSupport { +public class TQXmlReader implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QXmlReader(Class dummy){} + 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 QString& arg1,bool* arg2); >>>> NOT CONVERTED - // void* property(const QString& arg1); >>>> NOT CONVERTED - // void setProperty(const QString& arg1,void* arg2); >>>> NOT CONVERTED + // 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(QXmlEntityResolverInterface handler); - public native QXmlEntityResolverInterface entityResolver(); - public native void setDTDHandler(QXmlDTDHandlerInterface handler); - public native QXmlDTDHandlerInterface DTDHandler(); - public native void setContentHandler(QXmlContentHandlerInterface handler); - public native QXmlContentHandlerInterface contentHandler(); - public native void setErrorHandler(QXmlErrorHandlerInterface handler); - public native QXmlErrorHandlerInterface errorHandler(); - public native void setLexicalHandler(QXmlLexicalHandlerInterface handler); - public native QXmlLexicalHandlerInterface lexicalHandler(); - public native void setDeclHandler(QXmlDeclHandlerInterface handler); - public native QXmlDeclHandlerInterface declHandler(); - public native boolean parse(QXmlInputSource input); + 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 index ebd04945..6254f207 100644 --- a/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java +++ b/qtjava/javalib/org/kde/qt/QXmlSimpleReader.java @@ -3,35 +3,35 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QXmlSimpleReader extends QXmlReader { - protected QXmlSimpleReader(Class dummy){super((Class) null);} - public QXmlSimpleReader() { +public class TQXmlSimpleReader extends TQXmlReader { + protected TQXmlSimpleReader(Class dummy){super((Class) null);} + public TQXmlSimpleReader() { super((Class) null); - newQXmlSimpleReader(); + newTQXmlSimpleReader(); } - private native void newQXmlSimpleReader(); + 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 QString& arg1,bool* arg2); >>>> NOT CONVERTED - // void* property(const QString& arg1); >>>> NOT CONVERTED - // void setProperty(const QString& arg1,void* arg2); >>>> NOT CONVERTED + // 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(QXmlEntityResolverInterface handler); - public native QXmlEntityResolverInterface entityResolver(); - public native void setDTDHandler(QXmlDTDHandlerInterface handler); - public native QXmlDTDHandlerInterface DTDHandler(); - public native void setContentHandler(QXmlContentHandlerInterface handler); - public native QXmlContentHandlerInterface contentHandler(); - public native void setErrorHandler(QXmlErrorHandlerInterface handler); - public native QXmlErrorHandlerInterface errorHandler(); - public native void setLexicalHandler(QXmlLexicalHandlerInterface handler); - public native QXmlLexicalHandlerInterface lexicalHandler(); - public native void setDeclHandler(QXmlDeclHandlerInterface handler); - public native QXmlDeclHandlerInterface declHandler(); - public native boolean parse(QXmlInputSource input); - public native boolean parse(QXmlInputSource input, boolean incremental); + 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; diff --git a/qtjava/javalib/org/kde/qt/Qt.java b/qtjava/javalib/org/kde/qt/Qt.java index 11be3f41..a1bc4a6a 100644 --- a/qtjava/javalib/org/kde/qt/Qt.java +++ b/qtjava/javalib/org/kde/qt/Qt.java @@ -645,125 +645,125 @@ public class Qt implements QtSupport { /** Has the wrapped C++ instance been deleted? */ public native boolean isDisposed(); /** ************************************************** - QPoint stream functions - ************************************************** @short QPoint stream functions + TQPoint stream functions + ************************************************** @short TQPoint stream functions */ - public static native QDataStream op_write(QDataStream arg1, QPoint arg2); - public static native QDataStream op_read(QDataStream arg1, QPoint arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQPoint arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPoint arg2); /** ************************************************** - QPoint inline functions - ************************************************** @short QPoint inline functions + TQPoint inline functions + ************************************************** @short TQPoint inline functions */ - public static native boolean op_equals(QPoint p1, QPoint p2); - public static native boolean op_not_equals(QPoint p1, QPoint p2); - public static native QPoint op_plus(QPoint p1, QPoint p2); - public static native QPoint op_minus(QPoint p1, QPoint p2); - public static native QPoint op_mult(QPoint p, int c); - public static native QPoint op_mult(int c, QPoint p); - public static native QPoint op_mult(QPoint p, double c); - public static native QPoint op_mult(double c, QPoint p); - public static native QPoint op_minus(QPoint p); - public static native QPoint op_div(QPoint p, int c); - public static native QPoint op_div(QPoint p, double c); + public static native boolean op_equals(TQPoint p1, TQPoint p2); + public static native boolean op_not_equals(TQPoint p1, TQPoint p2); + public static native TQPoint op_plus(TQPoint p1, TQPoint p2); + public static native TQPoint op_minus(TQPoint p1, TQPoint p2); + public static native TQPoint op_mult(TQPoint p, int c); + public static native TQPoint op_mult(int c, TQPoint p); + public static native TQPoint op_mult(TQPoint p, double c); + public static native TQPoint op_mult(double c, TQPoint p); + public static native TQPoint op_minus(TQPoint p); + public static native TQPoint op_div(TQPoint p, int c); + public static native TQPoint op_div(TQPoint p, double c); /** ************************************************** - QRegion stream functions - ************************************************** @short QRegion stream functions + TQRegion stream functions + ************************************************** @short TQRegion stream functions */ - public static native QDataStream op_write(QDataStream arg1, QRegion arg2); - public static native QDataStream op_read(QDataStream arg1, QRegion arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQRegion arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQRegion arg2); /** ************************************************** - Misc. QBitArray operator functions + Misc. TQBitArray operator functions ************************************************** @short Misc. */ - // QBitArray op_and(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED - // QBitArray op_or(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED - // QBitArray op_xor(const QBitArray& arg1,const QBitArray& arg2); >>>> NOT CONVERTED + // TQBitArray op_and(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED + // TQBitArray op_or(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED + // TQBitArray op_xor(const TQBitArray& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED /** ************************************************** - QBitArray stream functions - ************************************************** @short QBitArray stream functions + TQBitArray stream functions + ************************************************** @short TQBitArray stream functions */ - // QDataStream& op_write(QDataStream& arg1,const QBitArray& arg2); >>>> NOT CONVERTED - // QDataStream& op_read(QDataStream& arg1,QBitArray& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,TQBitArray& arg2); >>>> NOT CONVERTED /** ************************************************** - QColorGroup/QPalette stream functions - ************************************************** @short QColorGroup/QPalette stream functions + TQColorGroup/TQPalette stream functions + ************************************************** @short TQColorGroup/TQPalette stream functions */ - public static native QDataStream op_write(QDataStream arg1, QColorGroup arg2); - public static native QDataStream op_read(QDataStream arg1, QColorGroup arg2); - public static native QDataStream op_write(QDataStream arg1, QPalette arg2); - public static native QDataStream op_read(QDataStream arg1, QPalette arg2); - // QTextStream& op_read(QTextStream& arg1,QTSFUNC arg2); >>>> NOT CONVERTED - // QTextStream& op_write(QTextStream& arg1,QTSFUNC arg2); >>>> NOT CONVERTED - // QTextStream& op_write(QTextStream& arg1,QTSManip arg2); >>>> NOT CONVERTED - public static native QTextStream bin(QTextStream s); - public static native QTextStream oct(QTextStream s); - public static native QTextStream dec(QTextStream s); - public static native QTextStream hex(QTextStream s); - public static native QTextStream endl(QTextStream s); - public static native QTextStream flush(QTextStream s); - public static native QTextStream ws(QTextStream s); - public static native QTextStream reset(QTextStream s); - // QTSManip qSetW(int arg1); >>>> NOT CONVERTED - // QTSManip qSetFill(int arg1); >>>> NOT CONVERTED - // QTSManip qSetPrecision(int arg1); >>>> NOT CONVERTED - // QDataStream& op_read(QDataStream& arg1,QGList& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const QGList& arg2); >>>> NOT CONVERTED - public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken, int lineWidth, int midLineWidth); - public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken, int lineWidth); - public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g, boolean sunken); - public static native void qDrawShadeLine(QPainter p, int x1, int y1, int x2, int y2, QColorGroup g); - public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken, int lineWidth, int midLineWidth); - public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken, int lineWidth); - public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g, boolean sunken); - public static native void qDrawShadeLine(QPainter p, QPoint p1, QPoint p2, QColorGroup g); - public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth, QBrush fill); - public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth); - public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth); - public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken); - public static native void qDrawShadeRect(QPainter p, int x, int y, int w, int h, QColorGroup arg6); - public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth, QBrush fill); - public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth); - public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth); - public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3, boolean sunken); - public static native void qDrawShadeRect(QPainter p, QRect r, QColorGroup arg3); - public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth, QBrush fill); - public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, int lineWidth); - public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken); - public static native void qDrawShadePanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6); - public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth, QBrush fill); - public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, int lineWidth); - public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken); - public static native void qDrawShadePanel(QPainter p, QRect r, QColorGroup arg3); - public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken, QBrush fill); - public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g, boolean sunken); - public static native void qDrawWinButton(QPainter p, int x, int y, int w, int h, QColorGroup g); - public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g, boolean sunken, QBrush fill); - public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g, boolean sunken); - public static native void qDrawWinButton(QPainter p, QRect r, QColorGroup g); - public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken, QBrush fill); - public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6, boolean sunken); - public static native void qDrawWinPanel(QPainter p, int x, int y, int w, int h, QColorGroup arg6); - public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken, QBrush fill); - public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3, boolean sunken); - public static native void qDrawWinPanel(QPainter p, QRect r, QColorGroup arg3); - public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6, int lineWidth, QBrush fill); - public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6, int lineWidth); - public static native void qDrawPlainRect(QPainter p, int x, int y, int w, int h, QColor arg6); - public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3, int lineWidth, QBrush fill); - public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3, int lineWidth); - public static native void qDrawPlainRect(QPainter p, QRect r, QColor arg3); - public static native QRect qItemRect(QPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, QPixmap pixmap, String text, int len); - public static native QRect qItemRect(QPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, QPixmap pixmap, String text); - public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len, QColor penColor); - public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text, int len); - public static native void qDrawItem(QPainter p, int gs, int x, int y, int w, int h, int flags, QColorGroup g, boolean enabled, QPixmap pixmap, String text); - public static native void qDrawArrow(QPainter p, int type, int style, boolean down, int x, int y, int w, int h, QColorGroup g, boolean enabled); + public static native TQDataStream op_write(TQDataStream arg1, TQColorGroup arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQColorGroup arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQPalette arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPalette arg2); + // TQTextStream& op_read(TQTextStream& arg1,TQTSFUNC arg2); >>>> NOT CONVERTED + // TQTextStream& op_write(TQTextStream& arg1,TQTSFUNC arg2); >>>> NOT CONVERTED + // TQTextStream& op_write(TQTextStream& arg1,TQTSManip arg2); >>>> NOT CONVERTED + public static native TQTextStream bin(TQTextStream s); + public static native TQTextStream oct(TQTextStream s); + public static native TQTextStream dec(TQTextStream s); + public static native TQTextStream hex(TQTextStream s); + public static native TQTextStream endl(TQTextStream s); + public static native TQTextStream flush(TQTextStream s); + public static native TQTextStream ws(TQTextStream s); + public static native TQTextStream reset(TQTextStream s); + // TQTSManip qSetW(int arg1); >>>> NOT CONVERTED + // TQTSManip qSetFill(int arg1); >>>> NOT CONVERTED + // TQTSManip qSetPrecision(int arg1); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,TQGList& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const TQGList& arg2); >>>> NOT CONVERTED + public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken, int lineWidth, int midLineWidth); + public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken, int lineWidth); + public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g, boolean sunken); + public static native void qDrawShadeLine(TQPainter p, int x1, int y1, int x2, int y2, TQColorGroup g); + public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken, int lineWidth, int midLineWidth); + public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken, int lineWidth); + public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g, boolean sunken); + public static native void qDrawShadeLine(TQPainter p, TQPoint p1, TQPoint p2, TQColorGroup g); + public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth, TQBrush fill); + public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, int midLineWidth); + public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth); + public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken); + public static native void qDrawShadeRect(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6); + public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth, TQBrush fill); + public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, int midLineWidth); + public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth); + public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken); + public static native void qDrawShadeRect(TQPainter p, TQRect r, TQColorGroup arg3); + public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth, TQBrush fill); + public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, int lineWidth); + public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken); + public static native void qDrawShadePanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6); + public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth, TQBrush fill); + public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, int lineWidth); + public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken); + public static native void qDrawShadePanel(TQPainter p, TQRect r, TQColorGroup arg3); + public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g, boolean sunken); + public static native void qDrawWinButton(TQPainter p, int x, int y, int w, int h, TQColorGroup g); + public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken, TQBrush fill); + public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g, boolean sunken); + public static native void qDrawWinButton(TQPainter p, TQRect r, TQColorGroup g); + public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken, TQBrush fill); + public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6, boolean sunken); + public static native void qDrawWinPanel(TQPainter p, int x, int y, int w, int h, TQColorGroup arg6); + public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken, TQBrush fill); + public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3, boolean sunken); + public static native void qDrawWinPanel(TQPainter p, TQRect r, TQColorGroup arg3); + public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6, int lineWidth, TQBrush fill); + public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6, int lineWidth); + public static native void qDrawPlainRect(TQPainter p, int x, int y, int w, int h, TQColor arg6); + public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3, int lineWidth, TQBrush fill); + public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3, int lineWidth); + public static native void qDrawPlainRect(TQPainter p, TQRect r, TQColor arg3); + public static native TQRect qItemRect(TQPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, TQPixmap pixmap, String text, int len); + public static native TQRect qItemRect(TQPainter p, int gs, int x, int y, int w, int h, int flags, boolean enabled, TQPixmap pixmap, String text); + public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); + public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); + public static native void qDrawItem(TQPainter p, int gs, int x, int y, int w, int h, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); + public static native void qDrawArrow(TQPainter p, int type, int style, boolean down, int x, int y, int w, int h, TQColorGroup g, boolean enabled); /** ************************************************** - QCursor stream functions - ************************************************** @short QCursor stream functions + TQCursor stream functions + ************************************************** @short TQCursor stream functions */ - public static native QDataStream op_write(QDataStream arg1, QCursor arg2); - public static native QDataStream op_read(QDataStream arg1, QCursor arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQCursor arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQCursor arg2); public static native String qAppName(); // void qAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED // void qRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED @@ -771,32 +771,32 @@ public class Qt implements QtSupport { public static native byte[] qUncompress(char[] data, int nbytes); public static native byte[] qCompress(byte[] data); public static native byte[] qUncompress(byte[] data); - public static native QTextStream op_write(QTextStream arg1, QDomNode arg2); - public static native QWMatrix op_mult(QWMatrix arg1, QWMatrix arg2); + public static native TQTextStream op_write(TQTextStream arg1, TQDomNode arg2); + public static native TQWMatrix op_mult(TQWMatrix arg1, TQWMatrix arg2); /** ************************************************** - QWMatrix stream functions - ************************************************** @short QWMatrix stream functions + TQWMatrix stream functions + ************************************************** @short TQWMatrix stream functions */ - public static native QDataStream op_write(QDataStream arg1, QWMatrix arg2); - public static native QDataStream op_read(QDataStream arg1, QWMatrix arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQWMatrix arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQWMatrix arg2); /** ************************************************** - QBrush stream functions - ************************************************** @short QBrush stream functions + TQBrush stream functions + ************************************************** @short TQBrush stream functions */ - public static native QDataStream op_write(QDataStream arg1, QBrush arg2); - public static native QDataStream op_read(QDataStream arg1, QBrush arg2); - public static native QDataStream op_write(QDataStream arg1, QImage arg2); - public static native QDataStream op_read(QDataStream arg1, QImage arg2); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh, int conversion_flags); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy, int sw); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx, int sy); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src, int sx); - public static native void bitBlt(QImage dst, int dx, int dy, QImage src); - public static native QDataStream op_read(QDataStream s, QVariant p); - public static native QDataStream op_write(QDataStream s, QVariant p); - public static native QDataStream op_read(QDataStream s, int p); - public static native QDataStream op_write(QDataStream s, int p); + public static native TQDataStream op_write(TQDataStream arg1, TQBrush arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQBrush arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQImage arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQImage arg2); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh, int conversion_flags); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy, int sw); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx, int sy); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src, int sx); + public static native void bitBlt(TQImage dst, int dx, int dy, TQImage src); + public static native TQDataStream op_read(TQDataStream s, TQVariant p); + public static native TQDataStream op_write(TQDataStream s, TQVariant p); + public static native TQDataStream op_read(TQDataStream s, int p); + public static native TQDataStream op_write(TQDataStream s, int p); /** ************************************************* $Id$ @@ -810,7 +810,7 @@ public class Qt implements QtSupport { * 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.QPL included in the packaging of this 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 @@ -826,7 +826,7 @@ public class Qt implements QtSupport { * 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 QPL licensing information. + 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 @@ -835,47 +835,47 @@ public class Qt implements QtSupport { ********************************************** @short $Id: qt/qgl. */ public static native String qGLVersion(); - public static native boolean op_equals(QGLFormat arg1, QGLFormat arg2); - public static native boolean op_not_equals(QGLFormat arg1, QGLFormat arg2); + public static native boolean op_equals(TQGLFormat arg1, TQGLFormat arg2); + public static native boolean op_not_equals(TQGLFormat arg1, TQGLFormat arg2); /** ************************************************** - QFont stream functions - ************************************************** @short QFont stream functions + TQFont stream functions + ************************************************** @short TQFont stream functions */ - public static native QDataStream op_write(QDataStream arg1, QFont arg2); - public static native QDataStream op_read(QDataStream arg1, QFont arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQFont arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQFont arg2); /** ************************************************** - QSize stream functions - ************************************************** @short QSize stream functions + TQSize stream functions + ************************************************** @short TQSize stream functions */ - public static native QDataStream op_write(QDataStream arg1, QSize arg2); - public static native QDataStream op_read(QDataStream arg1, QSize arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQSize arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQSize arg2); /** ************************************************** - QSize inline functions - ************************************************** @short QSize inline functions + TQSize inline functions + ************************************************** @short TQSize inline functions */ - public static native boolean op_equals(QSize s1, QSize s2); - public static native boolean op_not_equals(QSize s1, QSize s2); - public static native QSize op_plus(QSize s1, QSize s2); - public static native QSize op_minus(QSize s1, QSize s2); - public static native QSize op_mult(QSize s, int c); - public static native QSize op_mult(int c, QSize s); - public static native QSize op_mult(QSize s, double c); - public static native QSize op_mult(double c, QSize s); - public static native QSize op_div(QSize s, int c); - public static native QSize op_div(QSize s, double c); - public static native QDataStream op_read(QDataStream arg1, String[] arg2); - public static native QDataStream op_write(QDataStream arg1, String[] arg2); + public static native boolean op_equals(TQSize s1, TQSize s2); + public static native boolean op_not_equals(TQSize s1, TQSize s2); + public static native TQSize op_plus(TQSize s1, TQSize s2); + public static native TQSize op_minus(TQSize s1, TQSize s2); + public static native TQSize op_mult(TQSize s, int c); + public static native TQSize op_mult(int c, TQSize s); + public static native TQSize op_mult(TQSize s, double c); + public static native TQSize op_mult(double c, TQSize s); + public static native TQSize op_div(TQSize s, int c); + public static native TQSize op_div(TQSize s, double c); + public static native TQDataStream op_read(TQDataStream arg1, String[] arg2); + public static native TQDataStream op_write(TQDataStream arg1, String[] arg2); /** ************************************************** - QPixmap stream functions - ************************************************** @short QPixmap stream functions + TQPixmap stream functions + ************************************************** @short TQPixmap stream functions */ - public static native QDataStream op_write(QDataStream arg1, QPixmap arg2); - public static native QDataStream op_read(QDataStream arg1, QPixmap arg2); - public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy, int sw, int sh); - public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy, int sw); - public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx, int sy); - public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src, int sx); - public static native void copyBlt(QPixmap dst, int dx, int dy, QPixmap src); + public static native TQDataStream op_write(TQDataStream arg1, TQPixmap arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPixmap arg2); + public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy, int sw, int sh); + public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy, int sw); + public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx, int sy); + public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src, int sx); + public static native void copyBlt(TQPixmap dst, int dx, int dy, TQPixmap src); /** ************************************************* $Id$ @@ -889,7 +889,7 @@ public class Qt implements QtSupport { * 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.QPL included in the packaging of this 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 @@ -905,7 +905,7 @@ public class Qt implements QtSupport { * 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 QPL licensing information. + 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 @@ -915,17 +915,17 @@ public class Qt implements QtSupport { */ public static native void qInitNetworkProtocols(); /** ************************************************** - QPointArray stream functions - ************************************************** @short QPointArray stream functions + TQPointArray stream functions + ************************************************** @short TQPointArray stream functions */ - public static native QDataStream op_write(QDataStream arg1, QPointArray arg2); - public static native QDataStream op_read(QDataStream arg1, QPointArray arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQPointArray arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPointArray arg2); /** ************************************************** - QPen stream functions - ************************************************** @short QPen stream functions + TQPen stream functions + ************************************************** @short TQPen stream functions */ - public static native QDataStream op_write(QDataStream arg1, QPen arg2); - public static native QDataStream op_read(QDataStream arg1, QPen arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQPen arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPen arg2); public static native int qRed(int rgb); public static native int qGreen(int rgb); public static native int qBlue(int rgb); @@ -935,35 +935,35 @@ public class Qt implements QtSupport { public static native int qGray(int r, int g, int b); public static native int qGray(int rgb); /** ************************************************** - QColor stream functions - ************************************************** @short QColor stream functions + TQColor stream functions + ************************************************** @short TQColor stream functions */ - public static native QDataStream op_write(QDataStream arg1, QColor arg2); - public static native QDataStream op_read(QDataStream arg1, QColor arg2); - public static native QTextStream op_write(QTextStream arg1, QSplitter arg2); - public static native QTextStream op_read(QTextStream arg1, QSplitter arg2); - public static native QDataStream op_write(QDataStream arg1, QUuid arg2); - public static native QDataStream op_read(QDataStream arg1, QUuid arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQColor arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQColor arg2); + public static native TQTextStream op_write(TQTextStream arg1, TQSplitter arg2); + public static native TQTextStream op_read(TQTextStream arg1, TQSplitter arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQUuid arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQUuid arg2); /** ************************************************** Date and time stream functions ************************************************** @short Date and time stream functions */ - public static native QDataStream op_write(QDataStream arg1, Calendar arg2); - public static native QDataStream op_read(QDataStream arg1, Calendar arg2); - public static native QDataStream op_write(QDataStream arg1, Date arg2); - public static native QDataStream op_read(QDataStream arg1, Date arg2); - public static native QDataStream op_write(QDataStream arg1, QKeySequence arg2); - public static native QDataStream op_read(QDataStream arg1, QKeySequence arg2); + public static native TQDataStream op_write(TQDataStream arg1, Calendar arg2); + public static native TQDataStream op_read(TQDataStream arg1, Calendar arg2); + public static native TQDataStream op_write(TQDataStream arg1, Date arg2); + public static native TQDataStream op_read(TQDataStream arg1, Date arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQKeySequence arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQKeySequence arg2); /** ************************************************** - QPicture stream functions - ************************************************** @short QPicture stream functions + TQPicture stream functions + ************************************************** @short TQPicture stream functions */ - public static native QDataStream op_write(QDataStream arg1, QPicture arg2); - public static native QDataStream op_read(QDataStream arg1, QPicture arg2); - public static native QTextStream op_write(QTextStream arg1, QMainWindow arg2); - public static native QTextStream op_read(QTextStream arg1, QMainWindow arg2); - // QDataStream& op_read(QDataStream& arg1,QGVector& arg2); >>>> NOT CONVERTED - // QDataStream& op_write(QDataStream& arg1,const QGVector& arg2); >>>> NOT CONVERTED + public static native TQDataStream op_write(TQDataStream arg1, TQPicture arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPicture arg2); + public static native TQTextStream op_write(TQTextStream arg1, TQMainWindow arg2); + public static native TQTextStream op_read(TQTextStream arg1, TQMainWindow arg2); + // TQDataStream& op_read(TQDataStream& arg1,TQGVector& arg2); >>>> NOT CONVERTED + // TQDataStream& op_write(TQDataStream& arg1,const TQGVector& arg2); >>>> NOT CONVERTED public static native int qRound(double d); public static native String qVersion(); public static native boolean qSysInfo(int[] wordSize, boolean[] bigEndian); @@ -985,37 +985,37 @@ public class Qt implements QtSupport { public static native String qInstallPathData(); public static native String qInstallPathTranslations(); public static native String qInstallPathSysconf(); - public static native QTextStream op_write(QTextStream arg1, QDockArea arg2); - public static native QTextStream op_read(QTextStream arg1, QDockArea arg2); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9, boolean ignoreMask); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw, int sh); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy, int sw); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx, int sy); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src, int sx); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QPaintDeviceInterface src); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh, int conversion_flags); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw, int sh); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy, int sw); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx, int sy); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src, int sx); - public static native void bitBlt(QPaintDeviceInterface dst, int dx, int dy, QImage src); + public static native TQTextStream op_write(TQTextStream arg1, TQDockArea arg2); + public static native TQTextStream op_read(TQTextStream arg1, TQDockArea arg2); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9, boolean ignoreMask); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh, int conversion_flags); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw, int sh); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy, int sw); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx, int sy); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src, int sx); + public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQImage src); /** ************************************************** Inline functions ************************************************** @short Inline functions */ - public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr, int rop, boolean ignoreMask); - public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr, int rop); - public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src, QRect sr); - public static native void bitBlt(QPaintDeviceInterface dst, QPoint dp, QPaintDeviceInterface src); - public static native boolean op_equals(QRect arg1, QRect arg2); - public static native boolean op_not_equals(QRect arg1, QRect arg2); + public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr, int rop, boolean ignoreMask); + public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr, int rop); + public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src, TQRect sr); + public static native void bitBlt(TQPaintDeviceInterface dst, TQPoint dp, TQPaintDeviceInterface src); + public static native boolean op_equals(TQRect arg1, TQRect arg2); + public static native boolean op_not_equals(TQRect arg1, TQRect arg2); /** ************************************************** - QRect stream functions - ************************************************** @short QRect stream functions + TQRect stream functions + ************************************************** @short TQRect stream functions */ - public static native QDataStream op_write(QDataStream arg1, QRect arg2); - public static native QDataStream op_read(QDataStream arg1, QRect arg2); + public static native TQDataStream op_write(TQDataStream arg1, TQRect arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQRect arg2); /** This member allows a typecast of an instance which wraps a Qt instance, to a more specialized type. Invokes the private qtjava.dynamicCast() via reflection, as that method isn't part of the public Qt api */ @@ -1042,48 +1042,48 @@ public class Qt implements QtSupport { } } - public static native QColor color0(); - public static native QColor color1(); - public static native QColor black(); - public static native QColor white(); - public static native QColor darkGray(); - public static native QColor gray(); - public static native QColor lightGray(); - public static native QColor red(); - public static native QColor green(); - public static native QColor blue(); - public static native QColor cyan(); - public static native QColor magenta(); - public static native QColor yellow(); - public static native QColor darkRed(); - public static native QColor darkGreen(); - public static native QColor darkBlue(); - public static native QColor darkCyan(); - public static native QColor darkMagenta(); - public static native QColor darkYellow(); + public static native TQColor color0(); + public static native TQColor color1(); + public static native TQColor black(); + public static native TQColor white(); + public static native TQColor darkGray(); + public static native TQColor gray(); + public static native TQColor lightGray(); + public static native TQColor red(); + public static native TQColor green(); + public static native TQColor blue(); + public static native TQColor cyan(); + public static native TQColor magenta(); + public static native TQColor yellow(); + public static native TQColor darkRed(); + public static native TQColor darkGreen(); + public static native TQColor darkBlue(); + public static native TQColor darkCyan(); + public static native TQColor darkMagenta(); + public static native TQColor darkYellow(); // Global cursors - public static native QCursor arrowCursor(); // standard arrow cursor - public static native QCursor upArrowCursor(); // upwards arrow - public static native QCursor crossCursor(); // crosshair - public static native QCursor waitCursor(); // hourglass/watch - public static native QCursor ibeamCursor(); // ibeam/text entry - public static native QCursor sizeVerCursor(); // vertical resize - public static native QCursor sizeHorCursor(); // horizontal resize - public static native QCursor sizeBDiagCursor(); // diagonal resize (/) - public static native QCursor sizeFDiagCursor(); // diagonal resize () - public static native QCursor sizeAllCursor(); // all directions resize - public static native QCursor blankCursor(); // blank/invisible cursor - public static native QCursor splitVCursor(); // vertical bar with left-right + public static native TQCursor arrowCursor(); // standard arrow cursor + public static native TQCursor upArrowCursor(); // upwards arrow + public static native TQCursor crossCursor(); // crosshair + public static native TQCursor waitCursor(); // hourglass/watch + public static native TQCursor ibeamCursor(); // ibeam/text entry + public static native TQCursor sizeVerCursor(); // vertical resize + public static native TQCursor sizeHorCursor(); // horizontal resize + public static native TQCursor sizeBDiagCursor(); // diagonal resize (/) + public static native TQCursor sizeFDiagCursor(); // diagonal resize () + public static native TQCursor sizeAllCursor(); // all directions resize + public static native TQCursor blankCursor(); // blank/invisible cursor + public static native TQCursor splitVCursor(); // vertical bar with left-right // arrows - public static native QCursor splitHCursor(); // horizontal bar with up-down + public static native TQCursor splitHCursor(); // horizontal bar with up-down // arrows - public static native QCursor pointingHandCursor(); // pointing hand - public static native QCursor forbiddenCursor(); // forbidden cursor (slashed circle) - public static native QCursor whatsThisCursor(); // arrow with a question mark + public static native TQCursor pointingHandCursor(); // pointing hand + public static native TQCursor forbiddenCursor(); // forbidden cursor (slashed circle) + public static native TQCursor whatsThisCursor(); // arrow with a question mark - public static native QApplication qApp(); + public static native TQApplication qApp(); public static native void qDebug(String message); public static void qDebug(String pattern, Object[] arguments) { @@ -1124,7 +1124,7 @@ public class Qt implements QtSupport { return "1" + sqeezeOut(slot, ' '); } - /** Convert from a UTF-8 string to Unicode - the java equivalent to QString::fromUtf8() */ + /** Convert from a UTF-8 string to Unicode - the java equivalent to TQString::fromUtf8() */ public String fromUtf8(byte[] bytes) { String result = null; diff --git a/qtjava/javalib/org/kde/qt/qtjava.java b/qtjava/javalib/org/kde/qt/qtjava.java index 8547776c..4ce02b93 100644 --- a/qtjava/javalib/org/kde/qt/qtjava.java +++ b/qtjava/javalib/org/kde/qt/qtjava.java @@ -77,7 +77,7 @@ public class qtjava { qtKeyToJavaMap (tricky!). So it is useful to be able to force the early removal of an entry, when the C++ - instance has a known lifetime (eg a QEvent after its event handler has + instance has a known lifetime (eg a TQEvent after its event handler has returned). */ public static void removeObjectForQtKey(long qt) { @@ -88,7 +88,7 @@ public class qtjava { /** Allocates an instance of a class without initializing it */ private native static Object allocateInstance(Class cls) throws InstantiationException, IllegalAccessException; - /** If the C++ qt instance is an instance of QObject, then + /** If the C++ qt instance is an instance of TQObject, then use the Qt runtime meta-data to retrieve the class name. If there is a Java class with the same name, then return a Class object for that class. Otherwise, just return the @@ -115,7 +115,7 @@ public class qtjava { } if (QtSupport.class.isAssignableFrom(aClass)) { - if (QObject.class.isAssignableFrom(aClass)) { + if (TQObject.class.isAssignableFrom(aClass)) { aClass = qtjava.classFromQtMetaData(aClass, aClass.getName(), qt); } @@ -247,11 +247,11 @@ public class qtjava { /** Returns a new C++ JavaSlot proxy instance, to receive signals and invoke the target Java slot */ - private native static long newJavaSlot(QObject receiver, String member); + private native static long newJavaSlot(TQObject receiver, String member); /** Looks up a 'qt instance/slot name' key and returns the corresponding JavaSlot instance */ - public static long slotForReceiver(long qt, QObject receiver, String slot) { + public static long slotForReceiver(long qt, TQObject receiver, String slot) { String normalizedSlot = toNormalizedTypeSignature(slot); String key = (Long.toString(qt) + normalizedSlot).intern(); Long result = (Long) qtSlotDictionary.get(key); diff --git a/qtjava/javalib/qtjava/JavaSlot.cpp b/qtjava/javalib/qtjava/JavaSlot.cpp index d628d3cc..34247cc8 100644 --- a/qtjava/javalib/qtjava/JavaSlot.cpp +++ b/qtjava/javalib/qtjava/JavaSlot.cpp @@ -36,96 +36,96 @@ static const char * const javaToQtTypeSignatureMap[][2] = { {"(float)", "(float)"}, {"(int)", "(int)"}, {"(int,boolean)", "(int,bool)"}, - {"(int,String,byte[])", "(int,const TQCString&,const TQByteArray&)"}, - {"(int,TQPoint)", "(int,const TQPoint&)"}, - {"(int,String)", "(int,const TQString&)"}, + {"(int,String,byte[])", "(int,const TTQCString&,const TTQByteArray&)"}, + {"(int,TTQPoint)", "(int,const TTQPoint&)"}, + {"(int,String)", "(int,const TTQString&)"}, {"(int,int)", "(int,int)"}, - {"(int,int,TQPoint)", "(int,int,const TQPoint&)"}, + {"(int,int,TTQPoint)", "(int,int,const TTQPoint&)"}, {"(int,int,int)", "(int,int,int)"}, - {"(int,int,int,TQPoint)", "(int,int,int,const TQPoint&)"}, - {"(int,int,TQNetworkOperation)", "(int,int,TQNetworkOperation*)"}, - {"(int,TQDropEvent)", "(int,TQDropEvent*)"}, - {"(int,TQIconViewItem,TQPoint)", "(int,TQIconViewItem*,const TQPoint&)"}, - {"(int,TQListBoxItem,TQPoint)", "(int,TQListBoxItem*,const TQPoint)"}, - {"(int,TQListViewItem,TQPoint,int)", "(int,TQListViewItem*,const TQPoint,int)"}, + {"(int,int,int,TTQPoint)", "(int,int,int,const TTQPoint&)"}, + {"(int,int,TTQNetworkOperation)", "(int,int,TTQNetworkOperation*)"}, + {"(int,TTQDropEvent)", "(int,TTQDropEvent*)"}, + {"(int,TTQIconViewItem,TTQPoint)", "(int,TTQIconViewItem*,const TTQPoint&)"}, + {"(int,TTQListBoxItem,TTQPoint)", "(int,TTQListBoxItem*,const TTQPoint)"}, + {"(int,TTQListViewItem,TTQPoint,int)", "(int,TTQListViewItem*,const TTQPoint,int)"}, {"(long)", "(long)"}, - {"(long,byte[])", "(long,const TQByteArray&)"}, - {"(long,String)", "(long,const TQString&)"}, + {"(long,byte[])", "(long,const TTQByteArray&)"}, + {"(long,String)", "(long,const TTQString&)"}, {"(short)", "(short)"}, {"(byte)", "(unsigned char)"}, - {"(TQAction)", "(TQAction*)"}, - {"(int)", "(TQDir::SortSpec)"}, - {"(TQDockWindow)", "(TQDockWindow*)"}, - {"(int)", "(TQDockWindow::Place)"}, - {"(TQDropEvent)", "(TQDropEvent*)"}, - {"(TQDropEvent,TQListViewItem)", "(TQDropEvent*,TQListViewItem*)"}, - {"(TQDropEvent,ArrayList", "(TQDropEvent*,const TQValueList&)"}, - {"(TQDropEvent,TQListViewItem,TQListViewItem)", "(TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(TQIconViewItem)", "(TQIconViewItem*)"}, - {"(TQIconViewItem,TQPoint)", "(TQIconViewItem*,const TQPoint&)"}, - {"(TQIconViewItem,String)", "(TQIconViewItem*,const TQString&)"}, - {"(ArrayList,ArrayList,ArrayList)", "(QList,QList,QList)"}, - {"(TQListBoxItem)", "(TQListBoxItem*)"}, - {"(TQListBoxItem,TQPoint)", "(TQListBoxItem*,const TQPoint&)"}, - {"(TQListViewItem,int,String)", "(TQListViewItem*,int,const TQString&)"}, - {"(TQListViewItem,TQListViewItem,TQListViewItem)", "(TQListViewItem*,TQListViewItem*,TQListViewItem*)"}, - {"(TQListViewItem,TQPoint,int)", "(TQListViewItem*,const TQPoint&,int)"}, - {"(TQListViewItem,String,int)", "(TQListViewItem*,const TQString&,int)"}, - {"(TQListViewItem,int)", "(TQListViewItem*,int)"}, - {"(TQListViewItem)", "(TQListViewItem*)"}, - {"(TQNetworkOperation)", "(TQNetworkOperation*)"}, - {"(TQObject)", "(TQObject*)"}, - {"(TQPopupMenu)", "(TQPopupMenu*)"}, - {"(int)", "(TQSql::Op)"}, - {"(int)", "(TQSqlCursor::Mode)"}, - {"(TQSqlRecord)", "(TQSqlRecord*)"}, - {"(int)", "(TQTextEdit::VerticalAlignment)"}, - {"(TQToolBar)", "(TQToolBar*)"}, + {"(TTQAction)", "(TTQAction*)"}, + {"(int)", "(TTQDir::SortSpec)"}, + {"(TTQDockWindow)", "(TTQDockWindow*)"}, + {"(int)", "(TTQDockWindow::Place)"}, + {"(TTQDropEvent)", "(TTQDropEvent*)"}, + {"(TTQDropEvent,TTQListViewItem)", "(TTQDropEvent*,TTQListViewItem*)"}, + {"(TTQDropEvent,ArrayList", "(TTQDropEvent*,const TTQValueList&)"}, + {"(TTQDropEvent,TTQListViewItem,TTQListViewItem)", "(TTQDropEvent*,TTQListViewItem*,TTQListViewItem*)"}, + {"(TTQIconViewItem)", "(TTQIconViewItem*)"}, + {"(TTQIconViewItem,TTQPoint)", "(TTQIconViewItem*,const TTQPoint&)"}, + {"(TTQIconViewItem,String)", "(TTQIconViewItem*,const TTQString&)"}, + {"(ArrayList,ArrayList,ArrayList)", "(TQList,TQList,TQList)"}, + {"(TTQListBoxItem)", "(TTQListBoxItem*)"}, + {"(TTQListBoxItem,TTQPoint)", "(TTQListBoxItem*,const TTQPoint&)"}, + {"(TTQListViewItem,int,String)", "(TTQListViewItem*,int,const TTQString&)"}, + {"(TTQListViewItem,TTQListViewItem,TTQListViewItem)", "(TTQListViewItem*,TTQListViewItem*,TTQListViewItem*)"}, + {"(TTQListViewItem,TTQPoint,int)", "(TTQListViewItem*,const TTQPoint&,int)"}, + {"(TTQListViewItem,String,int)", "(TTQListViewItem*,const TTQString&,int)"}, + {"(TTQListViewItem,int)", "(TTQListViewItem*,int)"}, + {"(TTQListViewItem)", "(TTQListViewItem*)"}, + {"(TTQNetworkOperation)", "(TTQNetworkOperation*)"}, + {"(TTQObject)", "(TTQObject*)"}, + {"(TTQPopupMenu)", "(TTQPopupMenu*)"}, + {"(int)", "(TTQSql::Op)"}, + {"(int)", "(TTQSqlCursor::Mode)"}, + {"(TTQSqlRecord)", "(TTQSqlRecord*)"}, + {"(int)", "(TTQTextEdit::VerticalAlignment)"}, + {"(TTQToolBar)", "(TTQToolBar*)"}, {"(int)", "(Orientation)"}, - {"(TQWidget)", "(TQWidget*)"}, - {"(TQWidget,TQPoint)", "(TQWidget*,const TQPoint&)"}, - {"(TQWidget,String)", "(TQWidget*,const TQString&)"}, - {"(TQWidget,TQDropEvent)", "(TQWidget*,const TQDropEvent*)"}, - {"(TQWidget,TQPixmap)", "(TQWidget*,TQPixmap)"}, - {"byte[]", "(const TQByteArray&)"}, - {"(byte[],TQNetworkOperation)", "(const TQByteArray&,TQNetworkOperation*)"}, + {"(TTQWidget)", "(TTQWidget*)"}, + {"(TTQWidget,TTQPoint)", "(TTQWidget*,const TTQPoint&)"}, + {"(TTQWidget,String)", "(TTQWidget*,const TTQString&)"}, + {"(TTQWidget,TTQDropEvent)", "(TTQWidget*,const TTQDropEvent*)"}, + {"(TTQWidget,TTQPixmap)", "(TTQWidget*,TTQPixmap)"}, + {"byte[]", "(const TTQByteArray&)"}, + {"(byte[],TTQNetworkOperation)", "(const TTQByteArray&,TTQNetworkOperation*)"}, {"(String,boolean)", "(const char*,bool)"}, - {"(String,String,byte[],String,String,String)", "(const char*,const TQString&,const TQByteArray&,const TQString&,const TQString&,const TQString&)"}, - {"(char)", "(const TQChar&)"}, - {"(String)", "(const TQCString&)"}, - {"(TQColor)", "(const TQColor&)"}, - {"(TQColor,String)", "(const TQColor&,const TQString&)"}, - {"(Calendar)", "(const TQDate&)"}, - {"(Calendar,Calendar)", "(const TQDate&,const TQDate&)"}, - {"(Calendar)", "(const TQDateTime&)"}, - {"(TQDragMoveEvent,boolean)", "(const TQDragMoveEvent*,bool&)"}, - {"(TQSize)", "(const TQSize&)"}, - {"(TQFont)", "(const TQFont&)"}, - {"(TQHttpResponseHeader)", "(const TQHttpResponseHeader&)"}, - {"(TQImage,int)", "(const TQImage&, int)"}, - {"(TQPixmap)", "(const TQPixmap&)"}, - {"(TQPoint)", "(const TQPoint&)"}, - {"(TQRect)", "(const TQRect&)"}, - {"(TQSqlRecord)", "(const TQSqlRecord*)"}, - {"(String)", "(const TQString&)"}, - {"(String,boolean,String)", "(const TQString&,bool,const TQString&)"}, - {"(String,String,String)", "(const TQString&,const TQCString&,const TQString&)"}, - {"(String,TQLibrary)", "(const TQString&,TQLibrary*)"}, - {"(String,TQPoint)", "(const TQString&,const TQPoint&)"}, - {"(String,String)", "(const TQString&,const TQString&)"}, - {"(String,ArrayList,int)", "(const TQString&,const TQStringList&,unsigned int)"}, - {"(String,String,int)", "(const TQString&,const TQString&,unsigned int)"}, - {"(String,int)", "(const TQString&,int)"}, - {"(String,int,int)", "(const TQString&,int,int)"}, - {"(String,int,int,int)", "(const TQString&,int,int,int)"}, - {"(ArrayList)", "(const TQStringList&)"}, - {"(Date)", "(const TQTime&)"}, - {"(String,long,long,long)", "(const TQString&,unsigned long,unsigned long,unsigned long)"}, - {"(TQUrlInfo)", "(const TQUrlInfo&)"}, - {"(TQUrlInfo,TQNetworkOperation)", "(const TQUrlInfo&,TQNetworkOperation*)"}, - {"(ArrayList,TQNetworkOperation)", "(const TQValueList&,TQNetworkOperation*)"}, - {"(TQVariant)", "(const TQVariant&)"}, - {"(long,long,long,String)", "(const unsigned long&,const unsigned long&,const unsigned long&,const TQString&)"} + {"(String,String,byte[],String,String,String)", "(const char*,const TTQString&,const TTQByteArray&,const TTQString&,const TTQString&,const TTQString&)"}, + {"(char)", "(const TTQChar&)"}, + {"(String)", "(const TTQCString&)"}, + {"(TTQColor)", "(const TTQColor&)"}, + {"(TTQColor,String)", "(const TTQColor&,const TTQString&)"}, + {"(Calendar)", "(const TTQDate&)"}, + {"(Calendar,Calendar)", "(const TTQDate&,const TTQDate&)"}, + {"(Calendar)", "(const TTQDateTime&)"}, + {"(TTQDragMoveEvent,boolean)", "(const TTQDragMoveEvent*,bool&)"}, + {"(TTQSize)", "(const TTQSize&)"}, + {"(TTQFont)", "(const TTQFont&)"}, + {"(TTQHttpResponseHeader)", "(const TTQHttpResponseHeader&)"}, + {"(TTQImage,int)", "(const TTQImage&, int)"}, + {"(TTQPixmap)", "(const TTQPixmap&)"}, + {"(TTQPoint)", "(const TTQPoint&)"}, + {"(TTQRect)", "(const TTQRect&)"}, + {"(TTQSqlRecord)", "(const TTQSqlRecord*)"}, + {"(String)", "(const TTQString&)"}, + {"(String,boolean,String)", "(const TTQString&,bool,const TTQString&)"}, + {"(String,String,String)", "(const TTQString&,const TTQCString&,const TTQString&)"}, + {"(String,TTQLibrary)", "(const TTQString&,TTQLibrary*)"}, + {"(String,TTQPoint)", "(const TTQString&,const TTQPoint&)"}, + {"(String,String)", "(const TTQString&,const TTQString&)"}, + {"(String,ArrayList,int)", "(const TTQString&,const TTQStringList&,unsigned int)"}, + {"(String,String,int)", "(const TTQString&,const TTQString&,unsigned int)"}, + {"(String,int)", "(const TTQString&,int)"}, + {"(String,int,int)", "(const TTQString&,int,int)"}, + {"(String,int,int,int)", "(const TTQString&,int,int,int)"}, + {"(ArrayList)", "(const TTQStringList&)"}, + {"(Date)", "(const TTQTime&)"}, + {"(String,long,long,long)", "(const TTQString&,unsigned long,unsigned long,unsigned long)"}, + {"(TTQUrlInfo)", "(const TTQUrlInfo&)"}, + {"(TTQUrlInfo,TTQNetworkOperation)", "(const TTQUrlInfo&,TTQNetworkOperation*)"}, + {"(ArrayList,TTQNetworkOperation)", "(const TTQValueList&,TTQNetworkOperation*)"}, + {"(TTQVariant)", "(const TTQVariant&)"}, + {"(long,long,long,String)", "(const unsigned long&,const unsigned long&,const unsigned long&,const TTQString&)"} }; JavaSlot::JavaSlot(JNIEnv * env, jobject receiver, jstring slot) @@ -177,7 +177,7 @@ JavaSlot::createJavaSlot(JNIEnv * env, jobject receiver, jstring slot) } const char * -JavaSlot::javaToQtSignalName(JNIEnv * env, jstring signal, TQMetaObject * smeta) +JavaSlot::javaToQtSignalName(JNIEnv * env, jstring signal, TTQMetaObject * smeta) { char signalName[200]; char javaTypeSignature[200]; @@ -196,7 +196,7 @@ JavaSlot::javaToQtSignalName(JNIEnv * env, jstring signal, TQMetaObject * smeta) const char * -JavaSlot::javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta) +JavaSlot::javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TTQMetaObject * smeta) { static char qtSignalString[200]; @@ -243,7 +243,7 @@ JavaSlot::javaToQtSlotType(const char * javaTypeSignature, const char * signalSt { if ( strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0 && ( signalString == 0 - || TQObject::checkConnectArgs(signalString, (const TQObject *) 0, javaToQtTypeSignatureMap[index][1]) ) ) + || TTQObject::checkConnectArgs(signalString, (const TTQObject *) 0, javaToQtTypeSignatureMap[index][1]) ) ) { return javaToQtTypeSignatureMap[index][1]; } @@ -344,7 +344,7 @@ JavaSlot::invoke(const char* arg1, bool arg2) } void -JavaSlot::invoke(const char* arg1,const TQString& arg2,const TQByteArray& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6) +JavaSlot::invoke(const char* arg1,const TTQString& arg2,const TTQByteArray& arg3,const TTQString& arg4,const TTQString& arg5,const TTQString& arg6) { JNIEnv * env; jclass cls; @@ -361,16 +361,16 @@ JavaSlot::invoke(const char* arg1,const TQString& arg2,const TQByteArray& arg3,c } result = env->CallObjectMethod( invocation, mid, QtSupport::fromCharString(env, (char*)arg1), - QtSupport::fromQString(env, (TQString*)&arg2), - QtSupport::fromQByteArray(env, (TQByteArray *) &arg3), - QtSupport::fromQString(env, (TQString*)&arg4), - QtSupport::fromQString(env, (TQString*)&arg5), - QtSupport::fromQString(env, (TQString*)&arg6) ); + QtSupport::fromTQString(env, (TTQString*)&arg2), + QtSupport::fromTQByteArray(env, (TTQByteArray *) &arg3), + QtSupport::fromTQString(env, (TTQString*)&arg4), + QtSupport::fromTQString(env, (TTQString*)&arg5), + QtSupport::fromTQString(env, (TTQString*)&arg6) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQByteArray& arg1) +JavaSlot::invoke(const TTQByteArray& arg1) { JNIEnv * env; jclass cls; @@ -386,12 +386,12 @@ JavaSlot::invoke(const TQByteArray& arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQByteArray(env, (TQByteArray *) &arg1) ); + QtSupport::fromTQByteArray(env, (TTQByteArray *) &arg1) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQByteArray& arg1,TQNetworkOperation* arg2) +JavaSlot::invoke(const TTQByteArray& arg1,TTQNetworkOperation* arg2) { JNIEnv * env; jclass cls; @@ -407,13 +407,13 @@ JavaSlot::invoke(const TQByteArray& arg1,TQNetworkOperation* arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQByteArray(env, (TQByteArray *) &arg1), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQNetworkOperation") ); + QtSupport::fromTQByteArray(env, (TTQByteArray *) &arg1), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQNetworkOperation") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQChar& arg1) +JavaSlot::invoke(const TTQChar& arg1) { JNIEnv * env; jclass cls; @@ -428,12 +428,12 @@ JavaSlot::invoke(const TQChar& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::fromQChar(env, (TQChar *) &arg1)); + result = env->CallObjectMethod(invocation, mid, QtSupport::fromTQChar(env, (TTQChar *) &arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQColor& arg1) +JavaSlot::invoke(const TTQColor& arg1) { JNIEnv * env; jclass cls; @@ -448,12 +448,12 @@ JavaSlot::invoke(const TQColor& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQColor")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQColor")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQColor& arg1,const TQString& arg2) +JavaSlot::invoke(const TTQColor& arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -469,13 +469,13 @@ JavaSlot::invoke(const TQColor& arg1,const TQString& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQColor"), - QtSupport::fromQString(env, (TQString*)&arg2) ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQColor"), + QtSupport::fromTQString(env, (TTQString*)&arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQCString& arg1) +JavaSlot::invoke(const TTQCString& arg1) { JNIEnv * env; jclass cls; @@ -490,12 +490,12 @@ JavaSlot::invoke(const TQCString& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::fromQCString(env, (TQCString*)&arg1)); + result = env->CallObjectMethod(invocation, mid, QtSupport::fromTQCString(env, (TTQCString*)&arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQDate& arg1) +JavaSlot::invoke(const TTQDate& arg1) { JNIEnv * env; jclass cls; @@ -510,12 +510,12 @@ JavaSlot::invoke(const TQDate& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::fromQDate(env, (TQDate *) &arg1)); + result = env->CallObjectMethod(invocation, mid, QtSupport::fromTQDate(env, (TTQDate *) &arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQDate& arg1,const TQDate& arg2) +JavaSlot::invoke(const TTQDate& arg1,const TTQDate& arg2) { JNIEnv * env; jclass cls; @@ -531,13 +531,13 @@ JavaSlot::invoke(const TQDate& arg1,const TQDate& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQDate(env, (TQDate *) &arg1), - QtSupport::fromQDate(env, (TQDate *) &arg2) ); + QtSupport::fromTQDate(env, (TTQDate *) &arg1), + QtSupport::fromTQDate(env, (TTQDate *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQDateTime& arg1) +JavaSlot::invoke(const TTQDateTime& arg1) { JNIEnv * env; jclass cls; @@ -552,12 +552,12 @@ JavaSlot::invoke(const TQDateTime& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::fromQDateTime(env, (TQDateTime *) &arg1)); + result = env->CallObjectMethod(invocation, mid, QtSupport::fromTQDateTime(env, (TTQDateTime *) &arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQDragMoveEvent* arg1,bool& arg2) +JavaSlot::invoke(const TTQDragMoveEvent* arg1,bool& arg2) { JNIEnv * env; jclass cls; @@ -573,12 +573,12 @@ JavaSlot::invoke(const TQDragMoveEvent* arg1,bool& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQDragMoveEvent"), (jboolean) arg2); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQDragMoveEvent"), (jboolean) arg2); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQFont& arg1) +JavaSlot::invoke(const TTQFont& arg1) { JNIEnv * env; jclass cls; @@ -593,12 +593,12 @@ JavaSlot::invoke(const TQFont& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQFont")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQFont")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQHttpResponseHeader& arg1) +JavaSlot::invoke(const TTQHttpResponseHeader& arg1) { JNIEnv * env; jclass cls; @@ -613,12 +613,12 @@ JavaSlot::invoke(const TQHttpResponseHeader& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQHttpResponseHeader")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQHttpResponseHeader")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQImage& arg1, int arg2) +JavaSlot::invoke(const TTQImage& arg1, int arg2) { JNIEnv * env; jclass cls; @@ -633,12 +633,12 @@ JavaSlot::invoke(const TQImage& arg1, int arg2) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQImage"), (jint) arg2); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQImage"), (jint) arg2); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQPixmap& arg1) +JavaSlot::invoke(const TTQPixmap& arg1) { JNIEnv * env; jclass cls; @@ -653,12 +653,12 @@ JavaSlot::invoke(const TQPixmap& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPixmap")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQPixmap")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQPoint& arg1) +JavaSlot::invoke(const TTQPoint& arg1) { JNIEnv * env; jclass cls; @@ -673,12 +673,12 @@ JavaSlot::invoke(const TQPoint& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQPoint")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQRect& arg1) +JavaSlot::invoke(const TTQRect& arg1) { JNIEnv * env; jclass cls; @@ -693,12 +693,12 @@ JavaSlot::invoke(const TQRect& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQRect")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQRect")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQSize& arg1) +JavaSlot::invoke(const TTQSize& arg1) { JNIEnv * env; jclass cls; @@ -713,12 +713,12 @@ JavaSlot::invoke(const TQSize& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQSize")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQSize")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQSqlRecord* arg1) +JavaSlot::invoke(const TTQSqlRecord* arg1) { JNIEnv * env; jclass cls; @@ -733,12 +733,12 @@ JavaSlot::invoke(const TQSqlRecord* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQSqlRecord")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQSqlRecord")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1) +JavaSlot::invoke(const TTQString& arg1) { JNIEnv * env; jclass cls; @@ -753,12 +753,12 @@ JavaSlot::invoke(const TQString& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod( invocation, mid, QtSupport::fromQString(env, (TQString *) &arg1)); + result = env->CallObjectMethod( invocation, mid, QtSupport::fromTQString(env, (TTQString *) &arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,bool arg2,const TQString& arg3) +JavaSlot::invoke(const TTQString& arg1,bool arg2,const TTQString& arg3) { JNIEnv * env; jclass cls; @@ -774,14 +774,14 @@ JavaSlot::invoke(const TQString& arg1,bool arg2,const TQString& arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString*) &arg1), + QtSupport::fromTQString(env, (TTQString*) &arg1), (jboolean) arg2, - QtSupport::fromQString(env, (TQString*) &arg3) ); + QtSupport::fromTQString(env, (TTQString*) &arg3) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,const TQCString& arg2,const TQString& arg3) +JavaSlot::invoke(const TTQString& arg1,const TTQCString& arg2,const TTQString& arg3) { JNIEnv * env; jclass cls; @@ -797,14 +797,14 @@ JavaSlot::invoke(const TQString& arg1,const TQCString& arg2,const TQString& arg3 return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString*) &arg1), - QtSupport::fromQString(env, (TQString*) &arg2), - QtSupport::fromQString(env, (TQString*) &arg3) ); + QtSupport::fromTQString(env, (TTQString*) &arg1), + QtSupport::fromTQString(env, (TTQString*) &arg2), + QtSupport::fromTQString(env, (TTQString*) &arg3) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,const TQPoint& arg2) +JavaSlot::invoke(const TTQString& arg1,const TTQPoint& arg2) { JNIEnv * env; jclass cls; @@ -820,13 +820,13 @@ JavaSlot::invoke(const TQString& arg1,const TQPoint& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); + QtSupport::fromTQString(env, (TTQString *) &arg1), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,const TQString& arg2) +JavaSlot::invoke(const TTQString& arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -842,13 +842,13 @@ JavaSlot::invoke(const TQString& arg1,const TQString& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), - QtSupport::fromQString(env, (TQString *) &arg2) ); + QtSupport::fromTQString(env, (TTQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,const TQString& arg2,unsigned int arg3) +JavaSlot::invoke(const TTQString& arg1,const TTQString& arg2,unsigned int arg3) { JNIEnv * env; jclass cls; @@ -864,14 +864,14 @@ JavaSlot::invoke(const TQString& arg1,const TQString& arg2,unsigned int arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), - QtSupport::fromQString(env, (TQString *) &arg2), + QtSupport::fromTQString(env, (TTQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg2), (jint) arg3 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,const TQStringList& arg2,unsigned int arg3) +JavaSlot::invoke(const TTQString& arg1,const TTQStringList& arg2,unsigned int arg3) { JNIEnv * env; jclass cls; @@ -887,14 +887,14 @@ JavaSlot::invoke(const TQString& arg1,const TQStringList& arg2,unsigned int arg3 return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString*) &arg1), - QtSupport::arrayWithQStringList(env, (TQStringList*)&arg2), + QtSupport::fromTQString(env, (TTQString*) &arg1), + QtSupport::arrayWithTQStringList(env, (TTQStringList*)&arg2), (jint) arg3 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,int arg2) +JavaSlot::invoke(const TTQString& arg1,int arg2) { JNIEnv * env; jclass cls; @@ -910,13 +910,13 @@ JavaSlot::invoke(const TQString& arg1,int arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg1), (jint) arg2 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,int arg2,int arg3) +JavaSlot::invoke(const TTQString& arg1,int arg2,int arg3) { JNIEnv * env; jclass cls; @@ -932,14 +932,14 @@ JavaSlot::invoke(const TQString& arg1,int arg2,int arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg1), (jint) arg2, (jint) arg3 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,int arg2,int arg3,int arg4) +JavaSlot::invoke(const TTQString& arg1,int arg2,int arg3,int arg4) { JNIEnv * env; jclass cls; @@ -955,7 +955,7 @@ JavaSlot::invoke(const TQString& arg1,int arg2,int arg3,int arg4) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg1), (jint) arg2, (jint) arg3, (jint) arg4 ); @@ -963,7 +963,7 @@ JavaSlot::invoke(const TQString& arg1,int arg2,int arg3,int arg4) } void -JavaSlot::invoke(const TQString& arg1,TQLibrary* arg2) +JavaSlot::invoke(const TTQString& arg1,TTQLibrary* arg2) { JNIEnv * env; jclass cls; @@ -979,13 +979,13 @@ JavaSlot::invoke(const TQString& arg1,TQLibrary* arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQLibrary") ); + QtSupport::fromTQString(env, (TTQString *) &arg1), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQLibrary") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQString& arg1,unsigned long arg2,unsigned long arg3,unsigned long arg4) +JavaSlot::invoke(const TTQString& arg1,unsigned long arg2,unsigned long arg3,unsigned long arg4) { JNIEnv * env; jclass cls; @@ -1001,13 +1001,13 @@ JavaSlot::invoke(const TQString& arg1,unsigned long arg2,unsigned long arg3,unsi return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::fromQString(env, (TQString *) &arg1), + QtSupport::fromTQString(env, (TTQString *) &arg1), (jlong) arg2, (jlong) arg3,(jlong) arg4 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQStringList& arg1) +JavaSlot::invoke(const TTQStringList& arg1) { JNIEnv * env; jclass cls; @@ -1022,12 +1022,12 @@ JavaSlot::invoke(const TQStringList& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::arrayWithQStringList(env, (TQStringList *) &arg1)); + result = env->CallObjectMethod(invocation, mid, QtSupport::arrayWithTQStringList(env, (TTQStringList *) &arg1)); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQTime& arg1) +JavaSlot::invoke(const TTQTime& arg1) { JNIEnv * env; jclass cls; @@ -1042,12 +1042,12 @@ JavaSlot::invoke(const TQTime& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQTime")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQTime")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQUrlInfo& arg1) +JavaSlot::invoke(const TTQUrlInfo& arg1) { JNIEnv * env; jclass cls; @@ -1063,12 +1063,12 @@ JavaSlot::invoke(const TQUrlInfo& arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQUrlInfo") ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQUrlInfo") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQUrlInfo& arg1,TQNetworkOperation* arg2) +JavaSlot::invoke(const TTQUrlInfo& arg1,TTQNetworkOperation* arg2) { JNIEnv * env; jclass cls; @@ -1084,13 +1084,13 @@ JavaSlot::invoke(const TQUrlInfo& arg1,TQNetworkOperation* arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQUrlInfo"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQNetworkOperation") ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQUrlInfo"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQNetworkOperation") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQValueList& arg1,TQNetworkOperation* arg2) +JavaSlot::invoke(const TTQValueList& arg1,TTQNetworkOperation* arg2) { JNIEnv * env; jclass cls; @@ -1106,13 +1106,13 @@ JavaSlot::invoke(const TQValueList& arg1,TQNetworkOperation* arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::arrayWithQUrlInfoList(env, (TQValueList *) &arg1), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQNetworkOperation") ); + QtSupport::arrayWithTQUrlInfoList(env, (TTQValueList *) &arg1), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQNetworkOperation") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(const TQVariant& arg1) +JavaSlot::invoke(const TTQVariant& arg1) { JNIEnv * env; jclass cls; @@ -1127,12 +1127,12 @@ JavaSlot::invoke(const TQVariant& arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQVariant")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TTQVariant")); env->PopLocalFrame(0); } void -JavaSlot::invoke(const unsigned long& arg1,const unsigned long& arg2,const unsigned long& arg3,const TQString& arg4) +JavaSlot::invoke(const unsigned long& arg1,const unsigned long& arg2,const unsigned long& arg3,const TTQString& arg4) { JNIEnv * env; jclass cls; @@ -1151,7 +1151,7 @@ JavaSlot::invoke(const unsigned long& arg1,const unsigned long& arg2,const unsig (jlong) arg1, (jlong) arg2, (jlong) arg3, - QtSupport::fromQString(env, (TQString*) &arg4) ); + QtSupport::fromTQString(env, (TTQString*) &arg4) ); env->PopLocalFrame(0); } @@ -1236,7 +1236,7 @@ JavaSlot::invoke(int arg1, bool arg2) } void -JavaSlot::invoke(int arg1,const TQCString& arg2,const TQByteArray& arg3) +JavaSlot::invoke(int arg1,const TTQCString& arg2,const TTQByteArray& arg3) { JNIEnv * env; jclass cls; @@ -1253,13 +1253,13 @@ JavaSlot::invoke(int arg1,const TQCString& arg2,const TQByteArray& arg3) } result = env->CallObjectMethod( invocation, mid, (jlong) arg1, - QtSupport::fromQCString(env, (TQCString*)&arg2), - QtSupport::fromQByteArray(env, (TQByteArray *) &arg3) ); + QtSupport::fromTQCString(env, (TTQCString*)&arg2), + QtSupport::fromTQByteArray(env, (TTQByteArray *) &arg3) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,const TQPoint& arg2) +JavaSlot::invoke(int arg1,const TTQPoint& arg2) { JNIEnv * env; jclass cls; @@ -1276,12 +1276,12 @@ JavaSlot::invoke(int arg1,const TQPoint& arg2) } result = env->CallObjectMethod( invocation, mid, (jint) arg1, - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,const TQString& arg2) +JavaSlot::invoke(int arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -1296,7 +1296,7 @@ JavaSlot::invoke(int arg1,const TQString& arg2) if (mid == NULL) { return; } - result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::fromQString(env, (TQString *) &arg2)); + result = env->CallObjectMethod( invocation, mid, (jint) arg1, QtSupport::fromTQString(env, (TTQString *) &arg2)); env->PopLocalFrame(0); } @@ -1321,7 +1321,7 @@ JavaSlot::invoke(int arg1,int arg2) } void -JavaSlot::invoke(int arg1,int arg2,const TQPoint& arg3) +JavaSlot::invoke(int arg1,int arg2,const TTQPoint& arg3) { JNIEnv * env; jclass cls; @@ -1339,7 +1339,7 @@ JavaSlot::invoke(int arg1,int arg2,const TQPoint& arg3) result = env->CallObjectMethod( invocation, mid, (jint) arg1, (jint) arg2, - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } @@ -1364,7 +1364,7 @@ JavaSlot::invoke(int arg1,int arg2,int arg3) } void -JavaSlot::invoke(int arg1,int arg2,int arg3,const TQPoint& arg4) +JavaSlot::invoke(int arg1,int arg2,int arg3,const TTQPoint& arg4) { JNIEnv * env; jclass cls; @@ -1383,12 +1383,12 @@ JavaSlot::invoke(int arg1,int arg2,int arg3,const TQPoint& arg4) (jint) arg1, (jint) arg2, (jint) arg3, - QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.qt.TQPoint")); + QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.qt.TTQPoint")); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,int arg2,TQNetworkOperation* arg3) +JavaSlot::invoke(int arg1,int arg2,TTQNetworkOperation* arg3) { JNIEnv * env; jclass cls; @@ -1407,12 +1407,12 @@ JavaSlot::invoke(int arg1,int arg2,TQNetworkOperation* arg3) mid, arg1, arg2, - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQNetworkOperation") ); + QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TTQNetworkOperation") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,TQDropEvent* arg2) +JavaSlot::invoke(int arg1,TTQDropEvent* arg2) { JNIEnv * env; jclass cls; @@ -1430,12 +1430,12 @@ JavaSlot::invoke(int arg1,TQDropEvent* arg2) result = env->CallObjectMethod( invocation, mid, arg1, - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent") ); + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQDropEvent") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,TQIconViewItem* arg2,const TQPoint& arg3) +JavaSlot::invoke(int arg1,TTQIconViewItem* arg2,const TTQPoint& arg3) { JNIEnv * env; jclass cls; @@ -1452,13 +1452,13 @@ JavaSlot::invoke(int arg1,TQIconViewItem* arg2,const TQPoint& arg3) } result = env->CallObjectMethod( invocation, mid, (jint) arg1, - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQIconViewItem"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQIconViewItem"), + QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,TQListBoxItem* arg2,const TQPoint arg3) +JavaSlot::invoke(int arg1,TTQListBoxItem* arg2,const TTQPoint arg3) { JNIEnv * env; jclass cls; @@ -1475,13 +1475,13 @@ JavaSlot::invoke(int arg1,TQListBoxItem* arg2,const TQPoint arg3) } result = env->CallObjectMethod( invocation, mid, (jint) arg1, - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListBoxItem"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQListBoxItem"), + QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(int arg1,TQListViewItem* arg2,const TQPoint arg3,int arg4) +JavaSlot::invoke(int arg1,TTQListViewItem* arg2,const TTQPoint arg3,int arg4) { JNIEnv * env; jclass cls; @@ -1498,8 +1498,8 @@ JavaSlot::invoke(int arg1,TQListViewItem* arg2,const TQPoint arg3,int arg4) } result = env->CallObjectMethod( invocation, mid, (jint) arg1, - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListBoxItem"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQListBoxItem"), + QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TTQPoint"), (jint) arg4 ); env->PopLocalFrame(0); } @@ -1525,7 +1525,7 @@ JavaSlot::invoke(long arg) } void -JavaSlot::invoke(long arg1,const TQByteArray& arg2) +JavaSlot::invoke(long arg1,const TTQByteArray& arg2) { JNIEnv * env; jclass cls; @@ -1542,12 +1542,12 @@ JavaSlot::invoke(long arg1,const TQByteArray& arg2) } result = env->CallObjectMethod( invocation, mid, (jlong) arg1, - QtSupport::fromQByteArray(env, (TQByteArray *) &arg2) ); + QtSupport::fromTQByteArray(env, (TTQByteArray *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(long arg1,const TQString& arg2) +JavaSlot::invoke(long arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -1562,12 +1562,12 @@ JavaSlot::invoke(long arg1,const TQString& arg2) if (mid == NULL) { return; } - result = env->CallObjectMethod( invocation, mid, (jlong) arg1, QtSupport::fromQString(env, (TQString *) &arg2)); + result = env->CallObjectMethod( invocation, mid, (jlong) arg1, QtSupport::fromTQString(env, (TTQString *) &arg2)); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQAction * arg1) +JavaSlot::invoke(TTQAction * arg1) { JNIEnv * env; jclass cls; @@ -1582,12 +1582,12 @@ JavaSlot::invoke(TQAction * arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQAction")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQAction")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQDir::SortSpec arg1) +JavaSlot::invoke(TTQDir::SortSpec arg1) { JNIEnv * env; jclass cls; @@ -1607,7 +1607,7 @@ JavaSlot::invoke(TQDir::SortSpec arg1) } void -JavaSlot::invoke(TQDockWindow * arg1) +JavaSlot::invoke(TTQDockWindow * arg1) { JNIEnv * env; jclass cls; @@ -1622,12 +1622,12 @@ JavaSlot::invoke(TQDockWindow * arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDockWindow")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQDockWindow")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQDockWindow::Place arg1) +JavaSlot::invoke(TTQDockWindow::Place arg1) { JNIEnv * env; jclass cls; @@ -1647,7 +1647,7 @@ JavaSlot::invoke(TQDockWindow::Place arg1) } void -JavaSlot::invoke(TQDropEvent* arg1) +JavaSlot::invoke(TTQDropEvent* arg1) { JNIEnv * env; jclass cls; @@ -1662,12 +1662,12 @@ JavaSlot::invoke(TQDropEvent* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQDropEvent")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQDropEvent* arg1,const TQValueList& arg2) +JavaSlot::invoke(TTQDropEvent* arg1,const TTQValueList& arg2) { JNIEnv * env; jclass cls; @@ -1683,13 +1683,13 @@ JavaSlot::invoke(TQDropEvent* arg1,const TQValueList& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - QtSupport::arrayWithQIconDragItemList(env, (TQValueList *) &arg2) ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQDropEvent"), + QtSupport::arrayWithTQIconDragItemList(env, (TTQValueList *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQDropEvent* arg1,TQListViewItem*arg2) +JavaSlot::invoke(TTQDropEvent* arg1,TTQListViewItem*arg2) { JNIEnv * env; jclass cls; @@ -1705,13 +1705,13 @@ JavaSlot::invoke(TQDropEvent* arg1,TQListViewItem*arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQDropEvent"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQListViewItem") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQDropEvent*arg1,TQListViewItem*arg2,TQListViewItem*arg3) +JavaSlot::invoke(TTQDropEvent*arg1,TTQListViewItem*arg2,TTQListViewItem*arg3) { JNIEnv * env; jclass cls; @@ -1727,14 +1727,14 @@ JavaSlot::invoke(TQDropEvent*arg1,TQListViewItem*arg2,TQListViewItem*arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQDropEvent"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQListViewItem"), + QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TTQListViewItem") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQIconViewItem* arg1) +JavaSlot::invoke(TTQIconViewItem* arg1) { JNIEnv * env; jclass cls; @@ -1749,12 +1749,12 @@ JavaSlot::invoke(TQIconViewItem* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQIconViewItem")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQIconViewItem")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQIconViewItem* arg1,const TQPoint& arg2) +JavaSlot::invoke(TTQIconViewItem* arg1,const TTQPoint& arg2) { JNIEnv * env; jclass cls; @@ -1770,13 +1770,13 @@ JavaSlot::invoke(TQIconViewItem* arg1,const TQPoint& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQIconViewItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQIconViewItem"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQIconViewItem* arg1,const TQString& arg2) +JavaSlot::invoke(TTQIconViewItem* arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -1792,13 +1792,13 @@ JavaSlot::invoke(TQIconViewItem* arg1,const TQString& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQIconViewItem"), - QtSupport::fromQString(env, (TQString *) &arg2) ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQIconViewItem"), + QtSupport::fromTQString(env, (TTQString *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListBoxItem* arg1) +JavaSlot::invoke(TTQListBoxItem* arg1) { JNIEnv * env; jclass cls; @@ -1813,12 +1813,12 @@ JavaSlot::invoke(TQListBoxItem* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListBoxItem")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListBoxItem")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListBoxItem* arg1,const TQPoint& arg2) +JavaSlot::invoke(TTQListBoxItem* arg1,const TTQPoint& arg2) { JNIEnv * env; jclass cls; @@ -1834,13 +1834,13 @@ JavaSlot::invoke(TQListBoxItem* arg1,const TQPoint& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListBoxItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListBoxItem"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(QList arg1,QList arg2,QList arg3) +JavaSlot::invoke(TQList arg1,TQList arg2,TQList arg3) { JNIEnv * env; jclass cls; @@ -1856,14 +1856,14 @@ JavaSlot::invoke(QList arg1,QList arg2,QListCallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.QList"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.QList"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.QList") ); + QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQList"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQList"), + QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQList") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem*arg1) +JavaSlot::invoke(TTQListViewItem*arg1) { JNIEnv * env; jclass cls; @@ -1878,12 +1878,12 @@ JavaSlot::invoke(TQListViewItem*arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListViewItem")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListViewItem")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem* arg1,const TQPoint& arg2,int arg3) +JavaSlot::invoke(TTQListViewItem* arg1,const TTQPoint& arg2,int arg3) { JNIEnv * env; jclass cls; @@ -1899,14 +1899,14 @@ JavaSlot::invoke(TQListViewItem* arg1,const TQPoint& arg2,int arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListBoxItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListBoxItem"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint"), (jint) arg3 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem* arg1,const TQString& arg2,int arg3) +JavaSlot::invoke(TTQListViewItem* arg1,const TTQString& arg2,int arg3) { JNIEnv * env; jclass cls; @@ -1922,14 +1922,14 @@ JavaSlot::invoke(TQListViewItem* arg1,const TQString& arg2,int arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListViewItem"), - QtSupport::fromQString(env, (TQString *) &arg2), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListViewItem"), + QtSupport::fromTQString(env, (TTQString *) &arg2), (jint) arg3 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem* arg1,int arg2) +JavaSlot::invoke(TTQListViewItem* arg1,int arg2) { JNIEnv * env; jclass cls; @@ -1945,13 +1945,13 @@ JavaSlot::invoke(TQListViewItem* arg1,int arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListViewItem"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListViewItem"), (jint) arg2 ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem* arg1, int arg2, const TQString& arg3) +JavaSlot::invoke(TTQListViewItem* arg1, int arg2, const TTQString& arg3) { JNIEnv * env; jclass cls; @@ -1967,14 +1967,14 @@ JavaSlot::invoke(TQListViewItem* arg1, int arg2, const TQString& arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListViewItem"), + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListViewItem"), (jint) arg2, - QtSupport::fromQString(env, (TQString *) &arg3) ); + QtSupport::fromTQString(env, (TTQString *) &arg3) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQListViewItem* arg1,TQListViewItem*arg2,TQListViewItem*arg3) +JavaSlot::invoke(TTQListViewItem* arg1,TTQListViewItem*arg2,TTQListViewItem*arg3) { JNIEnv * env; jclass cls; @@ -1990,14 +1990,14 @@ JavaSlot::invoke(TQListViewItem* arg1,TQListViewItem*arg2,TQListViewItem*arg3) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQListViewItem"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQListViewItem"), + QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TTQListViewItem") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQNetworkOperation* arg1) +JavaSlot::invoke(TTQNetworkOperation* arg1) { JNIEnv * env; jclass cls; @@ -2013,12 +2013,12 @@ JavaSlot::invoke(TQNetworkOperation* arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQNetworkOperation") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQNetworkOperation") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQObject* arg1) +JavaSlot::invoke(TTQObject* arg1) { JNIEnv * env; jclass cls; @@ -2034,12 +2034,12 @@ JavaSlot::invoke(TQObject* arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQObject") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQObject") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQPopupMenu* arg1) +JavaSlot::invoke(TTQPopupMenu* arg1) { JNIEnv * env; jclass cls; @@ -2055,12 +2055,12 @@ JavaSlot::invoke(TQPopupMenu* arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQPopupMenu") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQPopupMenu") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQSqlCursor::Mode arg1) +JavaSlot::invoke(TTQSqlCursor::Mode arg1) { JNIEnv * env; jclass cls; @@ -2080,7 +2080,7 @@ JavaSlot::invoke(TQSqlCursor::Mode arg1) } void -JavaSlot::invoke(TQSql::Op arg1) +JavaSlot::invoke(TTQSql::Op arg1) { JNIEnv * env; jclass cls; @@ -2100,7 +2100,7 @@ JavaSlot::invoke(TQSql::Op arg1) } void -JavaSlot::invoke(TQSqlRecord* arg1) +JavaSlot::invoke(TTQSqlRecord* arg1) { JNIEnv * env; jclass cls; @@ -2116,12 +2116,12 @@ JavaSlot::invoke(TQSqlRecord* arg1) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQSqlRecord") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQSqlRecord") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQTextEdit::VerticalAlignment arg1) +JavaSlot::invoke(TTQTextEdit::VerticalAlignment arg1) { JNIEnv * env; jclass cls; @@ -2141,7 +2141,7 @@ JavaSlot::invoke(TQTextEdit::VerticalAlignment arg1) } void -JavaSlot::invoke(TQToolBar* arg1) +JavaSlot::invoke(TTQToolBar* arg1) { JNIEnv * env; jclass cls; @@ -2156,7 +2156,7 @@ JavaSlot::invoke(TQToolBar* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQToolBar")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQToolBar")); env->PopLocalFrame(0); } @@ -2181,7 +2181,7 @@ JavaSlot::invoke(Orientation arg1) } void -JavaSlot::invoke(TQWidget* arg1) +JavaSlot::invoke(TTQWidget* arg1) { JNIEnv * env; jclass cls; @@ -2196,12 +2196,12 @@ JavaSlot::invoke(TQWidget* arg1) if (mid == NULL) { return; } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget")); + result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQWidget")); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQWidget* arg1,const TQDropEvent* arg2) +JavaSlot::invoke(TTQWidget* arg1,const TTQDropEvent* arg2) { JNIEnv * env; jclass cls; @@ -2217,13 +2217,13 @@ JavaSlot::invoke(TQWidget* arg1,const TQDropEvent* arg2) return; } result = env->CallObjectMethod(invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQWidget"), + QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TTQDropEvent") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQWidget* arg1,const TQPoint& arg2) +JavaSlot::invoke(TTQWidget* arg1,const TTQPoint& arg2) { JNIEnv * env; jclass cls; @@ -2239,13 +2239,13 @@ JavaSlot::invoke(TQWidget* arg1,const TQPoint& arg2) return; } result = env->CallObjectMethod(invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQWidget"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPoint") ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQWidget* arg1,const TQString& arg2) +JavaSlot::invoke(TTQWidget* arg1,const TTQString& arg2) { JNIEnv * env; jclass cls; @@ -2261,13 +2261,13 @@ JavaSlot::invoke(TQWidget* arg1,const TQString& arg2) return; } result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::fromQString(env, (TQString *) &arg2) ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQWidget"), + QtSupport::fromTQString(env, (TTQString *) &arg2) ); env->PopLocalFrame(0); } void -JavaSlot::invoke(TQWidget* arg1,TQPixmap arg2) +JavaSlot::invoke(TTQWidget* arg1,TTQPixmap arg2) { JNIEnv * env; jclass cls; @@ -2283,8 +2283,8 @@ JavaSlot::invoke(TQWidget* arg1,TQPixmap arg2) return; } result = env->CallObjectMethod(invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPixmap") ); + QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TTQWidget"), + QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TTQPixmap") ); env->PopLocalFrame(0); } diff --git a/qtjava/javalib/qtjava/JavaSlot.h b/qtjava/javalib/qtjava/JavaSlot.h index 8c20b657..ac4525c2 100644 --- a/qtjava/javalib/qtjava/JavaSlot.h +++ b/qtjava/javalib/qtjava/JavaSlot.h @@ -41,9 +41,9 @@ #include class JavaSlotFactory; -class QMetaObject; +class TQMetaObject; -class JavaSlot: public QObject +class JavaSlot: public TQObject { Q_OBJECT public: @@ -57,12 +57,12 @@ public: static JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); /** Given a Java signal name, returns the corresponding C++ signal name. - The TQMetaObject is used to check whether the TQObject instance described + The TTQMetaObject is used to check whether the TTQObject instance described by 'smeta' implements the C++ signal. */ - const char * javaToQtSignalName(JNIEnv * env, jstring signalString, TQMetaObject * smeta); + const char * javaToQtSignalName(JNIEnv * env, jstring signalString, TTQMetaObject * smeta); /** Converts a Java type signature for a signal to the corresponding C++ Qt type signature.*/ - virtual const char * javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta); + virtual const char * javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TTQMetaObject * smeta); /** Given a Java slot name, returns the corresponding C++ slot name. The optional signalString parameter is the C++ signal to connect to - any C++ slot type signature must match this. @@ -81,96 +81,96 @@ public slots: void invoke(float arg); void invoke(int arg); void invoke(int arg1, bool arg2); - void invoke(int arg1,const TQCString& arg2,const TQByteArray& arg3); - void invoke(int arg1,const TQPoint& arg2); - void invoke(int arg1,const TQString& arg2); + void invoke(int arg1,const TTQCString& arg2,const TTQByteArray& arg3); + void invoke(int arg1,const TTQPoint& arg2); + void invoke(int arg1,const TTQString& arg2); void invoke(int arg1,int arg2); - void invoke(int arg1,int arg2,const TQPoint& arg3); + void invoke(int arg1,int arg2,const TTQPoint& arg3); void invoke(int arg1,int arg2,int arg3); - void invoke(int arg1,int arg2,int arg3,const TQPoint& arg4); - void invoke(int arg1,int arg2,TQNetworkOperation* arg3); - void invoke(int arg1,TQDropEvent* arg2); - void invoke(int arg1,TQIconViewItem* arg2,const TQPoint& arg3); - void invoke(int arg1,TQListBoxItem* arg2,const TQPoint arg3); - void invoke(int arg1,TQListViewItem* arg2,const TQPoint arg3,int arg4); + void invoke(int arg1,int arg2,int arg3,const TTQPoint& arg4); + void invoke(int arg1,int arg2,TTQNetworkOperation* arg3); + void invoke(int arg1,TTQDropEvent* arg2); + void invoke(int arg1,TTQIconViewItem* arg2,const TTQPoint& arg3); + void invoke(int arg1,TTQListBoxItem* arg2,const TTQPoint arg3); + void invoke(int arg1,TTQListViewItem* arg2,const TTQPoint arg3,int arg4); void invoke(long arg); - void invoke(long arg,const TQByteArray&); - void invoke(long arg,const TQString&); + void invoke(long arg,const TTQByteArray&); + void invoke(long arg,const TTQString&); void invoke(short arg); void invoke(unsigned char arg); - void invoke(TQAction * arg1); - void invoke(TQDir::SortSpec arg1); - void invoke(TQDockWindow * arg1); - void invoke(TQDockWindow::Place arg1); - void invoke(TQDropEvent* arg1); - void invoke(TQDropEvent* arg1,TQListViewItem*arg2); - void invoke(TQDropEvent* arg1,const TQValueList& arg2); - void invoke(TQDropEvent*arg1,TQListViewItem*arg2,TQListViewItem*arg3); - void invoke(TQIconViewItem* arg1); - void invoke(TQIconViewItem* arg1,const TQPoint& arg2); - void invoke(TQIconViewItem* arg1,const TQString& arg2); - void invoke(QList arg1,QList arg2,QList arg3); - void invoke(TQListBoxItem* arg1); - void invoke(TQListBoxItem* arg1,const TQPoint& arg2); - void invoke(TQListViewItem* arg1, int arg2, const TQString& arg3); - void invoke(TQListViewItem* arg1,TQListViewItem*arg2,TQListViewItem*arg3); - void invoke(TQListViewItem* arg1,const TQPoint& arg2,int arg3); - void invoke(TQListViewItem* arg1,const TQString& arg2,int arg3); - void invoke(TQListViewItem* arg1,int arg2); - void invoke(TQListViewItem*arg1); - void invoke(TQNetworkOperation* arg1); - void invoke(TQObject* arg1); - void invoke(TQPopupMenu* arg1); - void invoke(TQSql::Op arg1); - void invoke(TQSqlCursor::Mode arg1); - void invoke(TQSqlRecord* arg1); - void invoke(TQTextEdit::VerticalAlignment arg1); - void invoke(TQToolBar* arg1); + void invoke(TTQAction * arg1); + void invoke(TTQDir::SortSpec arg1); + void invoke(TTQDockWindow * arg1); + void invoke(TTQDockWindow::Place arg1); + void invoke(TTQDropEvent* arg1); + void invoke(TTQDropEvent* arg1,TTQListViewItem*arg2); + void invoke(TTQDropEvent* arg1,const TTQValueList& arg2); + void invoke(TTQDropEvent*arg1,TTQListViewItem*arg2,TTQListViewItem*arg3); + void invoke(TTQIconViewItem* arg1); + void invoke(TTQIconViewItem* arg1,const TTQPoint& arg2); + void invoke(TTQIconViewItem* arg1,const TTQString& arg2); + void invoke(TQList arg1,TQList arg2,TQList arg3); + void invoke(TTQListBoxItem* arg1); + void invoke(TTQListBoxItem* arg1,const TTQPoint& arg2); + void invoke(TTQListViewItem* arg1, int arg2, const TTQString& arg3); + void invoke(TTQListViewItem* arg1,TTQListViewItem*arg2,TTQListViewItem*arg3); + void invoke(TTQListViewItem* arg1,const TTQPoint& arg2,int arg3); + void invoke(TTQListViewItem* arg1,const TTQString& arg2,int arg3); + void invoke(TTQListViewItem* arg1,int arg2); + void invoke(TTQListViewItem*arg1); + void invoke(TTQNetworkOperation* arg1); + void invoke(TTQObject* arg1); + void invoke(TTQPopupMenu* arg1); + void invoke(TTQSql::Op arg1); + void invoke(TTQSqlCursor::Mode arg1); + void invoke(TTQSqlRecord* arg1); + void invoke(TTQTextEdit::VerticalAlignment arg1); + void invoke(TTQToolBar* arg1); void invoke(Orientation arg1); - void invoke(TQWidget* arg1); - void invoke(TQWidget* arg1,const TQPoint& arg2); - void invoke(TQWidget* arg1,const TQString& arg2); - void invoke(TQWidget* arg1,const TQDropEvent* arg2); - void invoke(TQWidget* arg1,TQPixmap arg2); - void invoke(const TQByteArray& arg1); - void invoke(const TQByteArray& arg1,TQNetworkOperation* arg2); + void invoke(TTQWidget* arg1); + void invoke(TTQWidget* arg1,const TTQPoint& arg2); + void invoke(TTQWidget* arg1,const TTQString& arg2); + void invoke(TTQWidget* arg1,const TTQDropEvent* arg2); + void invoke(TTQWidget* arg1,TTQPixmap arg2); + void invoke(const TTQByteArray& arg1); + void invoke(const TTQByteArray& arg1,TTQNetworkOperation* arg2); void invoke(const char* arg1, bool arg2); - void invoke(const char* arg1,const TQString& arg2,const TQByteArray& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6); - void invoke(const TQChar& arg1); - void invoke(const TQCString& arg1); - void invoke(const TQColor& arg1); - void invoke(const TQColor& arg1,const TQString& arg2); - void invoke(const TQDate& arg1); - void invoke(const TQDate& arg1,const TQDate& arg2); - void invoke(const TQDateTime& arg1); - void invoke(const TQDragMoveEvent* arg1,bool& arg2); - void invoke(const TQSize& arg1); - void invoke(const TQFont& arg1); - void invoke(const TQHttpResponseHeader& arg1); - void invoke(const TQImage& arg1, int arg2); - void invoke(const TQPixmap& arg1); - void invoke(const TQPoint& arg1); - void invoke(const TQRect& arg1); - void invoke(const TQSqlRecord* arg1); - void invoke(const TQString& arg1); - void invoke(const TQString& arg1,bool arg2,const TQString& arg3); - void invoke(const TQString& arg1,const TQCString& arg2,const TQString& arg3); - void invoke(const TQString& arg1,TQLibrary* arg2); - void invoke(const TQString& arg1,const TQPoint& arg2); - void invoke(const TQString& arg1,const TQString& arg2); - void invoke(const TQString& arg1,const TQStringList& arg2,unsigned int arg3); - void invoke(const TQString& arg1,const TQString& arg2,unsigned int arg3); - void invoke(const TQString& arg1,int arg2); - void invoke(const TQString& arg1,int arg2,int arg3); - void invoke(const TQString& arg1,int arg2,int arg3,int arg4); - void invoke(const TQStringList& arg1); - void invoke(const TQTime& arg1); - void invoke(const TQString& arg1,unsigned long arg2,unsigned long arg3,unsigned long arg4); - void invoke(const TQUrlInfo& arg1); - void invoke(const TQUrlInfo& arg1,TQNetworkOperation* arg2); - void invoke(const TQValueList& arg1,TQNetworkOperation* arg2); - void invoke(const TQVariant& arg1); - void invoke(const unsigned long& arg1,const unsigned long& arg2,const unsigned long& arg3,const TQString& arg4); + void invoke(const char* arg1,const TTQString& arg2,const TTQByteArray& arg3,const TTQString& arg4,const TTQString& arg5,const TTQString& arg6); + void invoke(const TTQChar& arg1); + void invoke(const TTQCString& arg1); + void invoke(const TTQColor& arg1); + void invoke(const TTQColor& arg1,const TTQString& arg2); + void invoke(const TTQDate& arg1); + void invoke(const TTQDate& arg1,const TTQDate& arg2); + void invoke(const TTQDateTime& arg1); + void invoke(const TTQDragMoveEvent* arg1,bool& arg2); + void invoke(const TTQSize& arg1); + void invoke(const TTQFont& arg1); + void invoke(const TTQHttpResponseHeader& arg1); + void invoke(const TTQImage& arg1, int arg2); + void invoke(const TTQPixmap& arg1); + void invoke(const TTQPoint& arg1); + void invoke(const TTQRect& arg1); + void invoke(const TTQSqlRecord* arg1); + void invoke(const TTQString& arg1); + void invoke(const TTQString& arg1,bool arg2,const TTQString& arg3); + void invoke(const TTQString& arg1,const TTQCString& arg2,const TTQString& arg3); + void invoke(const TTQString& arg1,TTQLibrary* arg2); + void invoke(const TTQString& arg1,const TTQPoint& arg2); + void invoke(const TTQString& arg1,const TTQString& arg2); + void invoke(const TTQString& arg1,const TTQStringList& arg2,unsigned int arg3); + void invoke(const TTQString& arg1,const TTQString& arg2,unsigned int arg3); + void invoke(const TTQString& arg1,int arg2); + void invoke(const TTQString& arg1,int arg2,int arg3); + void invoke(const TTQString& arg1,int arg2,int arg3,int arg4); + void invoke(const TTQStringList& arg1); + void invoke(const TTQTime& arg1); + void invoke(const TTQString& arg1,unsigned long arg2,unsigned long arg3,unsigned long arg4); + void invoke(const TTQUrlInfo& arg1); + void invoke(const TTQUrlInfo& arg1,TTQNetworkOperation* arg2); + void invoke(const TTQValueList& arg1,TTQNetworkOperation* arg2); + void invoke(const TTQVariant& arg1); + void invoke(const unsigned long& arg1,const unsigned long& arg2,const unsigned long& arg3,const TTQString& arg4); /** Java signals are always of type 'jobjectArray' */ void invoke(jobjectArray args); @@ -188,7 +188,7 @@ public: virtual JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); }; -class JavaSignal: public QObject +class JavaSignal: public TQObject { Q_OBJECT public: 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 index 1f202ab4..d92ca24e 100644 --- a/qtjava/javalib/qtjava/QAccel.cpp +++ b/qtjava/javalib/qtjava/QAccel.cpp @@ -4,46 +4,46 @@ #include #include -#include +#include -class QAccelJBridge : public QAccel +class TQAccelJBridge : public TQAccel { public: - QAccelJBridge(TQWidget* arg1,const char* arg2) : TQAccel(arg1,arg2) {}; - QAccelJBridge(TQWidget* arg1) : TQAccel(arg1) {}; - QAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TQAccel(arg1,arg2,arg3) {}; - QAccelJBridge(TQWidget* arg1,TQObject* arg2) : TQAccel(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQAccel::eventFilter(arg1,arg2); + TQAccelJBridge(TTQWidget* arg1,const char* arg2) : TTQAccel(arg1,arg2) {}; + TQAccelJBridge(TTQWidget* arg1) : TTQAccel(arg1) {}; + TQAccelJBridge(TTQWidget* arg1,TTQObject* arg2,const char* arg3) : TTQAccel(arg1,arg2,arg3) {}; + TQAccelJBridge(TTQWidget* arg1,TTQObject* arg2) : TTQAccel(arg1,arg2) {}; + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQAccel::eventFilter(arg1,arg2); } - ~QAccelJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQAccelJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -53,35 +53,35 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQAccel*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQAccel*) 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(); + ((TTQAccel*) 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()"); + jboolean xret = (jboolean) ((TTQAccel*) QtSupport::getQt(env, obj))->connectItem((int) id, (const TTQObject*) 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(); + jint xret = (jint) ((TTQAccel*) 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()"); + jboolean xret = (jboolean) ((TTQAccel*) QtSupport::getQt(env, obj))->disconnectItem((int) id, (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); return xret; } @@ -95,15 +95,15 @@ Java_org_kde_qt_QAccel_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - jboolean xret = (jboolean) ((QAccelJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQAccelJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQAccel*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQAccel*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -112,28 +112,28 @@ Java_org_kde_qt_QAccel_finalize(JNIEnv* env, jobject obj) 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)); + jint xret = (jint) ((TTQAccel*) QtSupport::getQt(env, obj))->findKey((const TTQKeySequence&)*(const TTQKeySequence*) 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(); + jboolean xret = (jboolean) ((TTQAccel*) 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)); + jint xret = (jint) ((TTQAccel*) QtSupport::getQt(env, obj))->insertItem((const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQAccel*) QtSupport::getQt(env, obj))->insertItem((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, key), (int) id); return xret; } @@ -146,77 +146,77 @@ Java_org_kde_qt_QAccel_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAccel_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQAccel*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQAccel*) 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); + jboolean xret = (jboolean) ((TTQAccel*) 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; + TTQString _qstring; (void) cls; - _qstring = QAccelJBridge::keyToString((TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, k)); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQAccelJBridge::keyToString((TTQKeySequence)*(TTQKeySequence*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQAccel*) QtSupport::getQt(env, obj))->key((int) id)), "org.kde.qt.TTQKeySequence", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newQAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QAccelJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQAccelJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newQAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QAccelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQAccelJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newQAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) +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 QAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQAccelJBridge((TTQWidget*) QtSupport::getQt(env, watch), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAccel_newQAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQAccelJBridge((TTQWidget*) QtSupport::getQt(env, watch), (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -225,43 +225,43 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_removeItem(JNIEnv* env, jobject obj, jint id) { - ((TQAccel*) QtSupport::getQt(env, obj))->removeItem((int) id); + ((TTQAccel*) 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(); + ((TTQAccel*) 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); + ((TTQAccel*) 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); + ((TTQAccel*) 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); + ((TTQAccel*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQAccel*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } @@ -269,8 +269,8 @@ 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(QAccelJBridge::shortcutKey((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(TQAccelJBridge::shortcutKey((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TTQKeySequence", TRUE); return xret; } @@ -278,37 +278,37 @@ 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(QAccelJBridge::stringToKey((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQKeySequence", TRUE); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(TQAccelJBridge::stringToKey((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TTQKeySequence", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QAccel_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QAccelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAccel*) 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 index c07cda6a..3d27f3ac 100644 --- a/qtjava/javalib/qtjava/QAccel.h +++ b/qtjava/javalib/qtjava/QAccel.h @@ -12,10 +12,10 @@ extern "C" 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_newQAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newQAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAccel_newQAccel__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_newQAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, 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); diff --git a/qtjava/javalib/qtjava/QAction.cpp b/qtjava/javalib/qtjava/QAction.cpp index 38977341..e55b5f80 100644 --- a/qtjava/javalib/qtjava/QAction.cpp +++ b/qtjava/javalib/qtjava/QAction.cpp @@ -5,78 +5,78 @@ #include #include -#include +#include -class QActionJBridge : public QAction +class TQActionJBridge : public TQAction { public: - QActionJBridge(TQObject* arg1,const char* arg2) : TQAction(arg1,arg2) {}; - QActionJBridge(TQObject* arg1) : TQAction(arg1) {}; - QActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3,const char* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - QActionJBridge(const TQString& arg1,TQKeySequence arg2,TQObject* arg3) : TQAction(arg1,arg2,arg3) {}; - QActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - QActionJBridge(const TQIconSet& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - QActionJBridge(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) {}; - QActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5,const char* arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,TQKeySequence arg4,TQObject* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - QActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5,bool arg6) : TQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4,const char* arg5) : TQAction(arg1,arg2,arg3,arg4,arg5) {}; - QActionJBridge(const TQString& arg1,const TQString& arg2,TQKeySequence arg3,TQObject* arg4) : TQAction(arg1,arg2,arg3,arg4) {}; - QActionJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQAction(arg1,arg2,arg3) {}; - void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { - TQAction::addedTo(arg1,arg2); + TQActionJBridge(TTQObject* arg1,const char* arg2) : TTQAction(arg1,arg2) {}; + TQActionJBridge(TTQObject* arg1) : TTQAction(arg1) {}; + TQActionJBridge(const TTQString& arg1,TTQKeySequence arg2,TTQObject* arg3,const char* arg4) : TTQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(const TTQString& arg1,TTQKeySequence arg2,TTQObject* arg3) : TTQAction(arg1,arg2,arg3) {}; + TQActionJBridge(const TTQIconSet& arg1,const TTQString& arg2,TTQKeySequence arg3,TTQObject* arg4,const char* arg5) : TTQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TTQIconSet& arg1,const TTQString& arg2,TTQKeySequence arg3,TTQObject* arg4) : TTQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(const TTQString& arg1,const TTQIconSet& arg2,const TTQString& arg3,TTQKeySequence arg4,TTQObject* arg5,const char* arg6,bool arg7) : TTQAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQActionJBridge(const TTQString& arg1,const TTQIconSet& arg2,const TTQString& arg3,TTQKeySequence arg4,TTQObject* arg5,const char* arg6) : TTQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQActionJBridge(const TTQString& arg1,const TTQIconSet& arg2,const TTQString& arg3,TTQKeySequence arg4,TTQObject* arg5) : TTQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TTQString& arg1,const TTQString& arg2,TTQKeySequence arg3,TTQObject* arg4,const char* arg5,bool arg6) : TTQAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQActionJBridge(const TTQString& arg1,const TTQString& arg2,TTQKeySequence arg3,TTQObject* arg4,const char* arg5) : TTQAction(arg1,arg2,arg3,arg4,arg5) {}; + TQActionJBridge(const TTQString& arg1,const TTQString& arg2,TTQKeySequence arg3,TTQObject* arg4) : TTQAction(arg1,arg2,arg3,arg4) {}; + TQActionJBridge(TTQObject* arg1,const char* arg2,bool arg3) : TTQAction(arg1,arg2,arg3) {}; + void protected_addedTo(TTQWidget* arg1,TTQWidget* arg2) { + TTQAction::addedTo(arg1,arg2); return; } - void protected_addedTo(int arg1,TQPopupMenu* arg2) { - TQAction::addedTo(arg1,arg2); + void protected_addedTo(int arg1,TTQPopupMenu* arg2) { + TTQAction::addedTo(arg1,arg2); return; } - ~QActionJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQActionJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TQAction::setIconSet(arg1); + void setIconSet(const TTQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TTQIconSet")) { + TTQAction::setIconSet(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQAction::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQAction::setAccel(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQAction",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQAction",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -86,35 +86,35 @@ public: 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQAction*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TTQKeySequence", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QAction_activate(JNIEnv* env, jobject obj) { - ((TQAction*) QtSupport::getQt(env, obj))->activate(); + ((TTQAction*) 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)); + jboolean xret = (jboolean) ((TTQAction*) QtSupport::getQt(env, obj))->addTo((TTQWidget*) 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) { - ((QActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); + ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TTQPopupMenu*) 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) { - ((QActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); + ((TQActionJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TTQWidget*) QtSupport::getQt(env, actionWidget), (TTQWidget*) QtSupport::getQt(env, container)); return; } @@ -122,7 +122,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QAction_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQAction*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQAction*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -136,8 +136,8 @@ Java_org_kde_qt_QAction_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQAction*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQAction*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -146,7 +146,7 @@ Java_org_kde_qt_QAction_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TTQIconSet", TRUE); return xret; } @@ -159,195 +159,195 @@ Java_org_kde_qt_QAction_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAction_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQAction*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQAction*) 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(); + jboolean xret = (jboolean) ((TTQAction*) 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(); + jboolean xret = (jboolean) ((TTQAction*) 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(); + jboolean xret = (jboolean) ((TTQAction*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAction*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, 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_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) 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_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, 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_newQAction__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) 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_newQAction__Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring menuText, jobject accel, jobject parent) +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; +static TTQString* _qstring_menuText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__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) +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; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, 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_newQAction__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) +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; +static TTQString* _qstring_menuText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__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) +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; +static TTQString* _qstring_menuText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, menuText, &_qstring_menuText), (TQKeySequence)*(TQKeySequence*) QtSupport::getQt(env, accel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, menuText, &_qstring_menuText), (TTQKeySequence)*(TTQKeySequence*) QtSupport::getQt(env, accel), (TTQObject*) QtSupport::getQt(env, 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_newQAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QActionJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QAction_newQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionJBridge((TTQObject*) QtSupport::getQt(env, 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_newQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean toggle) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); + QtSupport::setQt(env, obj, new TQActionJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) toggle)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -356,156 +356,156 @@ static TQCString* _qstring_name = 0; 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)); + jboolean xret = (jboolean) ((TTQAction*) QtSupport::getQt(env, obj))->removeFrom((TTQWidget*) 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)); + ((TTQAction*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) 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); + ((TTQAction*) 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); + ((TTQAction*) 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)); + ((TTQAction*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQAction*) QtSupport::getQt(env, obj))->setMenuText((const TTQString&)*(TTQString*) 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); + ((TTQAction*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQAction*) QtSupport::getQt(env, obj))->setStatusTip((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQAction*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + ((TTQAction*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQAction*) QtSupport::getQt(env, obj))->setToolTip((const TTQString&)*(TTQString*) 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); + ((TTQAction*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAction*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAction*) 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(); + ((TTQAction*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAction*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QActionJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQAction*) QtSupport::getQt(env, obj))->whatsThis(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QAction.h b/qtjava/javalib/qtjava/QAction.h index 33d4ea92..2980b90b 100644 --- a/qtjava/javalib/qtjava/QAction.h +++ b/qtjava/javalib/qtjava/QAction.h @@ -12,19 +12,19 @@ extern "C" 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_newQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newQAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QAction_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__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_newQAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +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); diff --git a/qtjava/javalib/qtjava/QActionGroup.cpp b/qtjava/javalib/qtjava/QActionGroup.cpp index 580ce212..51c41f1f 100644 --- a/qtjava/javalib/qtjava/QActionGroup.cpp +++ b/qtjava/javalib/qtjava/QActionGroup.cpp @@ -4,74 +4,74 @@ #include #include -#include +#include -class QActionGroupJBridge : public QActionGroup +class TQActionGroupJBridge : public TQActionGroup { public: - QActionGroupJBridge(TQObject* arg1,const char* arg2) : TQActionGroup(arg1,arg2) {}; - QActionGroupJBridge(TQObject* arg1) : TQActionGroup(arg1) {}; - QActionGroupJBridge(TQObject* arg1,const char* arg2,bool arg3) : TQActionGroup(arg1,arg2,arg3) {}; - void protected_childEvent(TQChildEvent* arg1) { - TQActionGroup::childEvent(arg1); + TQActionGroupJBridge(TTQObject* arg1,const char* arg2) : TTQActionGroup(arg1,arg2) {}; + TQActionGroupJBridge(TTQObject* arg1) : TTQActionGroup(arg1) {}; + TQActionGroupJBridge(TTQObject* arg1,const char* arg2,bool arg3) : TTQActionGroup(arg1,arg2,arg3) {}; + void protected_childEvent(TTQChildEvent* arg1) { + TTQActionGroup::childEvent(arg1); return; } - void protected_addedTo(TQWidget* arg1,TQWidget* arg2,TQAction* arg3) { - TQActionGroup::addedTo(arg1,arg2,arg3); + void protected_addedTo(TTQWidget* arg1,TTQWidget* arg2,TTQAction* arg3) { + TTQActionGroup::addedTo(arg1,arg2,arg3); return; } - void protected_addedTo(int arg1,TQPopupMenu* arg2,TQAction* arg3) { - TQActionGroup::addedTo(arg1,arg2,arg3); + void protected_addedTo(int arg1,TTQPopupMenu* arg2,TTQAction* arg3) { + TTQActionGroup::addedTo(arg1,arg2,arg3); return; } - void protected_addedTo(TQWidget* arg1,TQWidget* arg2) { - TQActionGroup::addedTo(arg1,arg2); + void protected_addedTo(TTQWidget* arg1,TTQWidget* arg2) { + TTQActionGroup::addedTo(arg1,arg2); return; } - void protected_addedTo(int arg1,TQPopupMenu* arg2) { - TQActionGroup::addedTo(arg1,arg2); + void protected_addedTo(int arg1,TTQPopupMenu* arg2) { + TTQActionGroup::addedTo(arg1,arg2); return; } - ~QActionGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQActionGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQAction::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQAction::setAccel(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQActionGroup::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQActionGroup::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQActionGroup",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQActionGroup",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -81,56 +81,56 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_addSeparator(JNIEnv* env, jobject obj) { - ((TQActionGroup*) QtSupport::getQt(env, obj))->addSeparator(); + ((TTQActionGroup*) 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)); + jboolean xret = (jboolean) ((TTQActionGroup*) QtSupport::getQt(env, obj))->addTo((TTQWidget*) 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)); + ((TTQActionGroup*) QtSupport::getQt(env, obj))->add((TTQAction*) 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) { - ((QActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu)); + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TTQPopupMenu*) 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) { - ((QActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TQPopupMenu*) QtSupport::getQt(env, menu), (TQAction*) QtSupport::getQt(env, a)); + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((int) index, (TTQPopupMenu*) QtSupport::getQt(env, menu), (TTQAction*) 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) { - ((QActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container)); + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TTQWidget*) QtSupport::getQt(env, actionWidget), (TTQWidget*) 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) { - ((QActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TQWidget*) QtSupport::getQt(env, actionWidget), (TQWidget*) QtSupport::getQt(env, container), (TQAction*) QtSupport::getQt(env, a)); + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_addedTo((TTQWidget*) QtSupport::getQt(env, actionWidget), (TTQWidget*) QtSupport::getQt(env, container), (TTQAction*) QtSupport::getQt(env, a)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQActionGroupJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) QtSupport::getQt(env, arg1)); return; } @@ -138,7 +138,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QActionGroup_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQActionGroup*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQActionGroup*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -152,8 +152,8 @@ Java_org_kde_qt_QActionGroup_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQActionGroup*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQActionGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -162,7 +162,7 @@ Java_org_kde_qt_QActionGroup_finalize(JNIEnv* env, jobject obj) 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)); + ((TTQActionGroup*) QtSupport::getQt(env, obj))->insert((TTQAction*) QtSupport::getQt(env, a)); return; } @@ -175,44 +175,44 @@ Java_org_kde_qt_QActionGroup_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QActionGroup_isExclusive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQActionGroup*) QtSupport::getQt(env, obj))->isExclusive(); + jboolean xret = (jboolean) ((TTQActionGroup*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQActionGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_newQActionGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQActionGroupJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QActionGroup_newQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQActionGroupJBridge((TTQObject*) QtSupport::getQt(env, 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_newQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean exclusive) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QActionGroupJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) exclusive)); + QtSupport::setQt(env, obj, new TQActionGroupJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) exclusive)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -221,109 +221,109 @@ static TQCString* _qstring_name = 0; 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)); + jboolean xret = (jboolean) ((TTQActionGroup*) QtSupport::getQt(env, obj))->removeFrom((TTQWidget*) 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); + ((TTQActionGroup*) 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); + ((TTQActionGroup*) 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)); + ((TTQActionGroup*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQActionGroup*) QtSupport::getQt(env, obj))->setMenuText((const TTQString&)*(TTQString*) 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); + ((TTQActionGroup*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQActionGroup*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + ((TTQActionGroup*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQActionGroup*) QtSupport::getQt(env, obj))->setToolTip((const TTQString&)*(TTQString*) 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); + ((TTQActionGroup*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQActionGroup*) QtSupport::getQt(env, obj))->setWhatsThis((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QActionGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQActionGroup*) QtSupport::getQt(env, obj))->usesDropDown(); return xret; } diff --git a/qtjava/javalib/qtjava/QActionGroup.h b/qtjava/javalib/qtjava/QActionGroup.h index 797e2e2a..3f9a122a 100644 --- a/qtjava/javalib/qtjava/QActionGroup.h +++ b/qtjava/javalib/qtjava/QActionGroup.h @@ -12,9 +12,9 @@ extern "C" 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_newQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newQActionGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QActionGroup_newQActionGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); +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); diff --git a/qtjava/javalib/qtjava/QApplication.cpp b/qtjava/javalib/qtjava/QApplication.cpp index dfa9608d..eb1b992e 100644 --- a/qtjava/javalib/qtjava/QApplication.cpp +++ b/qtjava/javalib/qtjava/QApplication.cpp @@ -14,81 +14,81 @@ #include #include -#include +#include -class QApplicationJBridge : public QApplication +class TQApplicationJBridge : public TQApplication { public: - QApplicationJBridge(int& arg1,char** arg2) : TQApplication(arg1,arg2) {}; - QApplicationJBridge(int& arg1,char** arg2,bool arg3) : TQApplication(arg1,arg2,arg3) {}; - QApplicationJBridge(int& arg1,char** arg2,TQApplication::Type arg3) : TQApplication(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQApplication::event(arg1); + TQApplicationJBridge(int& arg1,char** arg2) : TTQApplication(arg1,arg2) {}; + TQApplicationJBridge(int& arg1,char** arg2,bool arg3) : TTQApplication(arg1,arg2,arg3) {}; + TQApplicationJBridge(int& arg1,char** arg2,TTQApplication::Type arg3) : TTQApplication(arg1,arg2,arg3) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TTQApplication::event(arg1); } - ~QApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void commitData(QSessionManager& arg1) { - if (!QtSupport::eventDelegate(this,"commitData",(void*)&arg1,"org.kde.qt.QSessionManager")) { - TQApplication::commitData(arg1); + ~TQApplicationJBridge() {QtSupport::qtKeyDeleted(this);} + void commitData(TQSessionManager& arg1) { + if (!QtSupport::eventDelegate(this,"commitData",(void*)&arg1,"org.kde.qt.TQSessionManager")) { + TTQApplication::commitData(arg1); } return; } void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQApplication","processOneEvent")) { - TQApplication::processOneEvent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQApplication","processOneEvent")) { + TTQApplication::processOneEvent(); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void polish(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::polish(arg1); + void polish(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQApplication::polish(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void setMainWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::setMainWidget(arg1); + void setMainWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQApplication::setMainWidget(arg1); } return; } - void saveState(QSessionManager& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.QSessionManager")) { - TQApplication::saveState(arg1); + void saveState(TQSessionManager& arg1) { + if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQSessionManager")) { + TTQApplication::saveState(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQApplication",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQApplication",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -98,7 +98,7 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_aboutQt(JNIEnv* env, jobject obj) { - ((TQApplication*) QtSupport::getQt(env, obj))->aboutQt(); + ((TTQApplication*) QtSupport::getQt(env, obj))->aboutQt(); return; } @@ -106,7 +106,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activeModalWidget(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::activeModalWidget(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activeModalWidget(), "org.kde.qt.TTQWidget"); return xret; } @@ -114,14 +114,14 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_activePopupWidget(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::activePopupWidget(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::activePopupWidget(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQApplication*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TTQWidget"); return xret; } @@ -129,34 +129,34 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_addLibraryPath(JNIEnv* env, jclass cls, jstring arg1) { (void) cls; -static TQString* _qstring_arg1 = 0; - QApplicationJBridge::addLibraryPath((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + TQApplicationJBridge::addLibraryPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_allWidgets(JNIEnv* env, jclass cls) { - TQWidgetList* _qlist; + TTQWidgetList* _qlist; (void) cls; - _qlist = QApplicationJBridge::allWidgets(); - return (jobject) QtSupport::arrayWithQWidgetList(env, (TQWidgetList*) _qlist); + _qlist = TQApplicationJBridge::allWidgets(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TTQWidgetList*) _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQApplication*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQApplication*) QtSupport::getQt(env, obj))->applicationFilePath(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -164,7 +164,7 @@ Java_org_kde_qt_QApplication_beep(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::beep(); + TQApplicationJBridge::beep(); return; } @@ -172,7 +172,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQApplication*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQApplication*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -180,14 +180,14 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_clipboard(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::clipboard(), "org.kde.qt.QClipboard"); + 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(); + ((TTQApplication*) QtSupport::getQt(env, obj))->closeAllWindows(); return; } @@ -196,7 +196,7 @@ Java_org_kde_qt_QApplication_closingDown(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::closingDown(); + jboolean xret = (jboolean) TQApplicationJBridge::closingDown(); return xret; } @@ -205,7 +205,7 @@ Java_org_kde_qt_QApplication_colorMode(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::colorMode(); + jint xret = (jint) TQApplicationJBridge::colorMode(); return xret; } @@ -214,14 +214,14 @@ Java_org_kde_qt_QApplication_colorSpec(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::colorSpec(); + 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((QSessionManager&)*(QSessionManager*) QtSupport::getQt(env, sm)); + ((TTQApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); return; } @@ -230,14 +230,14 @@ Java_org_kde_qt_QApplication_cursorFlashTime(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::cursorFlashTime(); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQApplication*) QtSupport::getQt(env, obj))->defaultCodec(), "org.kde.qt.TTQTextCodec"); return xret; } @@ -246,7 +246,7 @@ Java_org_kde_qt_QApplication_desktopSettingsAware(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::desktopSettingsAware(); + jboolean xret = (jboolean) TQApplicationJBridge::desktopSettingsAware(); return xret; } @@ -254,7 +254,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_desktop(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::desktop(), "org.kde.qt.TQDesktopWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::desktop(), "org.kde.qt.TTQDesktopWidget"); return xret; } @@ -270,14 +270,14 @@ Java_org_kde_qt_QApplication_doubleClickInterval(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::doubleClickInterval(); + 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(); + jint xret = (jint) ((TTQApplication*) QtSupport::getQt(env, obj))->enter_loop(); return xret; } @@ -285,28 +285,28 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_eventLoop(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::eventLoop(), "org.kde.qt.TQEventLoop"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::eventLoop(), "org.kde.qt.TTQEventLoop"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QApplicationJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQApplicationJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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(); + jint xret = (jint) ((TTQApplication*) 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(); + ((TTQApplication*) QtSupport::getQt(env, obj))->exit_loop(); return; } @@ -315,7 +315,7 @@ Java_org_kde_qt_QApplication_exit__(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::exit(); + TQApplicationJBridge::exit(); return; } @@ -324,15 +324,15 @@ Java_org_kde_qt_QApplication_exit__I(JNIEnv* env, jclass cls, jint retcode) { (void) cls; (void) env; - QApplicationJBridge::exit((int) retcode); + 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQApplication*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQApplication*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -343,7 +343,7 @@ Java_org_kde_qt_QApplication_flushX(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::flushX(); + TQApplicationJBridge::flushX(); return; } @@ -352,14 +352,14 @@ Java_org_kde_qt_QApplication_flush(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::flush(); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQApplication*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TTQWidget"); return xret; } @@ -367,7 +367,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_fontMetrics(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(QApplicationJBridge::fontMetrics()), "org.kde.qt.TQFontMetrics", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFontMetrics(TQApplicationJBridge::fontMetrics()), "org.kde.qt.TTQFontMetrics", TRUE); return xret; } @@ -375,7 +375,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_font__(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QApplicationJBridge::font()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQApplicationJBridge::font()), "org.kde.qt.TTQFont", TRUE); return xret; } @@ -383,7 +383,7 @@ 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(QApplicationJBridge::font((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQApplicationJBridge::font((const TTQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQFont", TRUE); return xret; } @@ -391,7 +391,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_globalStrut(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(QApplicationJBridge::globalStrut()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(TQApplicationJBridge::globalStrut()), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -400,14 +400,14 @@ Java_org_kde_qt_QApplication_hasGlobalMouseTracking(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::hasGlobalMouseTracking(); + 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(); + jboolean xret = (jboolean) ((TTQApplication*) QtSupport::getQt(env, obj))->hasPendingEvents(); return xret; } @@ -416,14 +416,14 @@ Java_org_kde_qt_QApplication_horizontalAlignment(JNIEnv* env, jclass cls, jint a { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::horizontalAlignment((int) align); + 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((QTranslator*) QtSupport::getQt(env, arg1)); + ((TTQApplication*) QtSupport::getQt(env, obj))->installTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); return; } @@ -438,51 +438,51 @@ Java_org_kde_qt_QApplication_isEffectEnabled(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::isEffectEnabled((Qt::UIEffect) arg1); + 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(); + jboolean xret = (jboolean) ((TTQApplication*) QtSupport::getQt(env, obj))->isSessionRestored(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_libraryPaths(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QApplicationJBridge::libraryPaths(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQApplicationJBridge::libraryPaths(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QApplication_loopLevel(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQApplication*) QtSupport::getQt(env, obj))->loopLevel(); + jint xret = (jint) ((TTQApplication*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQApplication*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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)); + jboolean xret = (jboolean) ((TTQApplication*) QtSupport::getQt(env, obj))->notify((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) QtSupport::getQt(env, arg2)); return xret; } @@ -490,7 +490,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_overrideCursor(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QApplicationJBridge::overrideCursor(), "org.kde.qt.TQCursor"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::overrideCursor(), "org.kde.qt.TTQCursor"); return xret; } @@ -498,7 +498,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_palette__(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(QApplicationJBridge::palette()), "org.kde.qt.TQPalette", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(TQApplicationJBridge::palette()), "org.kde.qt.TTQPalette", TRUE); return xret; } @@ -506,14 +506,14 @@ 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(QApplicationJBridge::palette((const TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPalette", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(TQApplicationJBridge::palette((const TTQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPalette", 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)); + ((TTQApplication*) QtSupport::getQt(env, obj))->polish((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -521,35 +521,35 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_postEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) { (void) cls; - QApplicationJBridge::postEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); + TQApplicationJBridge::postEvent((TTQObject*) QtSupport::getQt(env, receiver), (TTQEvent*) QtSupport::getQt(env, event)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_processEvents__(JNIEnv* env, jobject obj) { - ((TQApplication*) QtSupport::getQt(env, obj))->processEvents(); + ((TTQApplication*) 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); + ((TTQApplication*) 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(); + ((TTQApplication*) 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(); + ((TTQApplication*) QtSupport::getQt(env, obj))->quit(); return; } @@ -557,8 +557,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removeLibraryPath(JNIEnv* env, jclass cls, jstring arg1) { (void) cls; -static TQString* _qstring_arg1 = 0; - QApplicationJBridge::removeLibraryPath((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + TQApplicationJBridge::removeLibraryPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } @@ -566,14 +566,14 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_removePostedEvents(JNIEnv* env, jclass cls, jobject receiver) { (void) cls; - QApplicationJBridge::removePostedEvents((TQObject*) QtSupport::getQt(env, receiver)); + TQApplicationJBridge::removePostedEvents((TTQObject*) 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((QTranslator*) QtSupport::getQt(env, arg1)); + ((TTQApplication*) QtSupport::getQt(env, obj))->removeTranslator((TQTranslator*) QtSupport::getQt(env, arg1)); return; } @@ -582,7 +582,7 @@ Java_org_kde_qt_QApplication_restoreOverrideCursor(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::restoreOverrideCursor(); + TQApplicationJBridge::restoreOverrideCursor(); return; } @@ -591,14 +591,14 @@ Java_org_kde_qt_QApplication_reverseLayout(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::reverseLayout(); + 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((QSessionManager&)*(QSessionManager*) QtSupport::getQt(env, sm)); + ((TTQApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); return; } @@ -606,7 +606,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QApplication_sendEvent(JNIEnv* env, jclass cls, jobject receiver, jobject event) { (void) cls; - jboolean xret = (jboolean) QApplicationJBridge::sendEvent((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); + jboolean xret = (jboolean) TQApplicationJBridge::sendEvent((TTQObject*) QtSupport::getQt(env, receiver), (TTQEvent*) QtSupport::getQt(env, event)); return xret; } @@ -615,7 +615,7 @@ Java_org_kde_qt_QApplication_sendPostedEvents__(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::sendPostedEvents(); + TQApplicationJBridge::sendPostedEvents(); return; } @@ -623,24 +623,24 @@ 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; - QApplicationJBridge::sendPostedEvents((TQObject*) QtSupport::getQt(env, receiver), (int) event_type); + TQApplicationJBridge::sendPostedEvents((TTQObject*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQApplication*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQApplication*) QtSupport::getQt(env, obj))->sessionKey(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -648,7 +648,7 @@ Java_org_kde_qt_QApplication_setColorMode(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - QApplicationJBridge::setColorMode((TQApplication::ColorMode) arg1); + TQApplicationJBridge::setColorMode((TTQApplication::ColorMode) arg1); return; } @@ -657,7 +657,7 @@ Java_org_kde_qt_QApplication_setColorSpec(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - QApplicationJBridge::setColorSpec((int) arg1); + TQApplicationJBridge::setColorSpec((int) arg1); return; } @@ -666,14 +666,14 @@ Java_org_kde_qt_QApplication_setCursorFlashTime(JNIEnv* env, jclass cls, jint ar { (void) cls; (void) env; - QApplicationJBridge::setCursorFlashTime((int) arg1); + 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)); + ((TTQApplication*) QtSupport::getQt(env, obj))->setDefaultCodec((TTQTextCodec*) QtSupport::getQt(env, arg1)); return; } @@ -682,7 +682,7 @@ Java_org_kde_qt_QApplication_setDesktopSettingsAware(JNIEnv* env, jclass cls, jb { (void) cls; (void) env; - QApplicationJBridge::setDesktopSettingsAware((bool) arg1); + TQApplicationJBridge::setDesktopSettingsAware((bool) arg1); return; } @@ -691,7 +691,7 @@ Java_org_kde_qt_QApplication_setDoubleClickInterval(JNIEnv* env, jclass cls, jin { (void) cls; (void) env; - QApplicationJBridge::setDoubleClickInterval((int) arg1); + TQApplicationJBridge::setDoubleClickInterval((int) arg1); return; } @@ -700,7 +700,7 @@ Java_org_kde_qt_QApplication_setEffectEnabled__I(JNIEnv* env, jclass cls, jint a { (void) cls; (void) env; - QApplicationJBridge::setEffectEnabled((Qt::UIEffect) arg1); + TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1); return; } @@ -709,7 +709,7 @@ Java_org_kde_qt_QApplication_setEffectEnabled__IZ(JNIEnv* env, jclass cls, jint { (void) cls; (void) env; - QApplicationJBridge::setEffectEnabled((Qt::UIEffect) arg1, (bool) enable); + TQApplicationJBridge::setEffectEnabled((TQt::UIEffect) arg1, (bool) enable); return; } @@ -717,7 +717,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + TQApplicationJBridge::setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); return; } @@ -725,7 +725,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) { (void) cls; - QApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets); + TQApplicationJBridge::setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets); return; } @@ -733,8 +733,8 @@ 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; - QApplicationJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); +static TTQCString* _qstring_className = 0; + TQApplicationJBridge::setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); return; } @@ -743,7 +743,7 @@ Java_org_kde_qt_QApplication_setGlobalMouseTracking(JNIEnv* env, jclass cls, jbo { (void) cls; (void) env; - QApplicationJBridge::setGlobalMouseTracking((bool) enable); + TQApplicationJBridge::setGlobalMouseTracking((bool) enable); return; } @@ -751,7 +751,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setGlobalStrut(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QApplicationJBridge::setGlobalStrut((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1)); + TQApplicationJBridge::setGlobalStrut((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)); return; } @@ -759,15 +759,15 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setLibraryPaths(JNIEnv* env, jclass cls, jobjectArray arg1) { (void) cls; -static TQStringList* _qlist_arg1 = 0; - QApplicationJBridge::setLibraryPaths((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + TQApplicationJBridge::setLibraryPaths((const TTQStringList&)*(TTQStringList*) 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)); + ((TTQApplication*) QtSupport::getQt(env, obj))->setMainWidget((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -775,7 +775,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); + TQApplicationJBridge::setOverrideCursor((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1)); return; } @@ -783,7 +783,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setOverrideCursor__Lorg_kde_qt_QCursor_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean replace) { (void) cls; - QApplicationJBridge::setOverrideCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1), (bool) replace); + TQApplicationJBridge::setOverrideCursor((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1), (bool) replace); return; } @@ -791,7 +791,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + TQApplicationJBridge::setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); return; } @@ -799,7 +799,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv* env, jclass cls, jobject arg1, jboolean informWidgets) { (void) cls; - QApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets); + TQApplicationJBridge::setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets); return; } @@ -807,8 +807,8 @@ 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; - QApplicationJBridge::setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); +static TTQCString* _qstring_className = 0; + TQApplicationJBridge::setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1), (bool) informWidgets, (const char*) QtSupport::toCharString(env, className, &_qstring_className)); return; } @@ -817,7 +817,7 @@ Java_org_kde_qt_QApplication_setReverseLayout(JNIEnv* env, jclass cls, jboolean { (void) cls; (void) env; - QApplicationJBridge::setReverseLayout((bool) b); + TQApplicationJBridge::setReverseLayout((bool) b); return; } @@ -826,7 +826,7 @@ Java_org_kde_qt_QApplication_setStartDragDistance(JNIEnv* env, jclass cls, jint { (void) cls; (void) env; - QApplicationJBridge::setStartDragDistance((int) l); + TQApplicationJBridge::setStartDragDistance((int) l); return; } @@ -835,7 +835,7 @@ Java_org_kde_qt_QApplication_setStartDragTime(JNIEnv* env, jclass cls, jint ms) { (void) cls; (void) env; - QApplicationJBridge::setStartDragTime((int) ms); + TQApplicationJBridge::setStartDragTime((int) ms); return; } @@ -843,8 +843,8 @@ 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*)QApplicationJBridge::setStyle((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::setStyle((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQStyle"); return xret; } @@ -852,7 +852,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QApplicationJBridge::setStyle((TQStyle*) QtSupport::getQt(env, arg1)); + TQApplicationJBridge::setStyle((TTQStyle*) QtSupport::getQt(env, arg1)); return; } @@ -861,7 +861,7 @@ Java_org_kde_qt_QApplication_setWheelScrollLines(JNIEnv* env, jclass cls, jint a { (void) cls; (void) env; - QApplicationJBridge::setWheelScrollLines((int) arg1); + TQApplicationJBridge::setWheelScrollLines((int) arg1); return; } @@ -869,7 +869,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_setWinStyleHighlightColor(JNIEnv* env, jclass cls, jobject c) { (void) cls; - QApplicationJBridge::setWinStyleHighlightColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + TQApplicationJBridge::setWinStyleHighlightColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, c)); return; } @@ -878,7 +878,7 @@ Java_org_kde_qt_QApplication_startDragDistance(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::startDragDistance(); + jint xret = (jint) TQApplicationJBridge::startDragDistance(); return xret; } @@ -887,7 +887,7 @@ Java_org_kde_qt_QApplication_startDragTime(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::startDragTime(); + jint xret = (jint) TQApplicationJBridge::startDragTime(); return xret; } @@ -896,7 +896,7 @@ Java_org_kde_qt_QApplication_startingUp(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QApplicationJBridge::startingUp(); + jboolean xret = (jboolean) TQApplicationJBridge::startingUp(); return xret; } @@ -904,7 +904,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_style(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQStyle *) &QApplicationJBridge::style(), "org.kde.qt.TQStyle"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQStyle *) &TQApplicationJBridge::style(), "org.kde.qt.TTQStyle"); return xret; } @@ -913,83 +913,83 @@ Java_org_kde_qt_QApplication_syncX(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QApplicationJBridge::syncX(); + TQApplicationJBridge::syncX(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_topLevelWidgets(JNIEnv* env, jclass cls) { - TQWidgetList* _qlist; + TTQWidgetList* _qlist; (void) cls; - _qlist = QApplicationJBridge::topLevelWidgets(); - return (jobject) QtSupport::arrayWithQWidgetList(env, (TQWidgetList*) _qlist); + _qlist = TQApplicationJBridge::topLevelWidgets(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TTQWidgetList*) _qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QApplication_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QApplicationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_key = 0; + _qstring = ((TTQApplication*) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_key = 0; +static TTQCString* _qstring_comment = 0; + _qstring = ((TTQApplication*) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_key = 0; +static TTQCString* _qstring_comment = 0; + _qstring = ((TTQApplication*) 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), (TTQApplication::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(); + jint xret = (jint) ((TTQApplication*) 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(); + ((TTQApplication*) QtSupport::getQt(env, obj))->wakeUpGuiThread(); return; } @@ -998,7 +998,7 @@ Java_org_kde_qt_QApplication_wheelScrollLines(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QApplicationJBridge::wheelScrollLines(); + jint xret = (jint) TQApplicationJBridge::wheelScrollLines(); return xret; } @@ -1006,7 +1006,7 @@ 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*)QApplicationJBridge::widgetAt((int) x, (int) y), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y), "org.kde.qt.TTQWidget"); return xret; } @@ -1014,7 +1014,7 @@ 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*)QApplicationJBridge::widgetAt((int) x, (int) y, (bool) child), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((int) x, (int) y, (bool) child), "org.kde.qt.TTQWidget"); return xret; } @@ -1022,7 +1022,7 @@ 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*)QApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQWidget"); return xret; } @@ -1030,7 +1030,7 @@ 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*)QApplicationJBridge::widgetAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) child), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQApplicationJBridge::widgetAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (bool) child), "org.kde.qt.TTQWidget"); return xret; } @@ -1038,43 +1038,43 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QApplication_winStyleHighlightColor(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &QApplicationJBridge::winStyleHighlightColor(), "org.kde.qt.TQColor"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &TQApplicationJBridge::winStyleHighlightColor(), "org.kde.qt.TTQColor"); return xret; } static jobjectArray _args = 0; JNIEXPORT void JNICALL -Java_org_kde_qt_QApplication_newQApplication___3Ljava_lang_String_2(JNIEnv *env, jobject obj, jobjectArray args) +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 QApplicationJBridge(argc, QtSupport::toArgv(env, args))); + 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_newQApplication___3Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jobjectArray args, jboolean GUIenabled) +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 QApplicationJBridge(argc, QtSupport::toArgv(env, args), (bool) GUIenabled)); + 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_newQApplication___3Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobjectArray args, jint arg1) +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 QApplicationJBridge(argc, QtSupport::toArgv(env, args), (TQApplication::Type) arg1)); + QtSupport::setQt(env, obj, new TQApplicationJBridge(argc, QtSupport::toArgv(env, args), (TTQApplication::Type) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/qtjava/javalib/qtjava/QApplication.h b/qtjava/javalib/qtjava/QApplication.h index ff40d319..094b9e3e 100644 --- a/qtjava/javalib/qtjava/QApplication.h +++ b/qtjava/javalib/qtjava/QApplication.h @@ -12,9 +12,9 @@ extern "C" 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_newQApplication___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newQApplication___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QApplication_newQApplication___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); +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); diff --git a/qtjava/javalib/qtjava/QAsyncIO.cpp b/qtjava/javalib/qtjava/QAsyncIO.cpp index cac171e8..9fc205a6 100644 --- a/qtjava/javalib/qtjava/QAsyncIO.cpp +++ b/qtjava/javalib/qtjava/QAsyncIO.cpp @@ -2,24 +2,24 @@ #include #include -#include +#include -class QAsyncIOJBridge : public QAsyncIO +class TQAsyncIOJBridge : public TQAsyncIO { public: - QAsyncIOJBridge() : TQAsyncIO() {}; + TQAsyncIOJBridge() : TTQAsyncIO() {}; void protected_ready() { - TQAsyncIO::ready(); + TTQAsyncIO::ready(); return; } - ~QAsyncIOJBridge() {QtSupport::qtKeyDeleted(this);} + ~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)); +static TTQCString* _qstring_member = 0; + ((TTQAsyncIO*) QtSupport::getQt(env, obj))->connect((TTQObject*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, member, &_qstring_member)); return; } @@ -34,7 +34,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQAsyncIO*)QtSupport::getQt(env, obj); + delete (TTQAsyncIO*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -47,10 +47,10 @@ Java_org_kde_qt_QAsyncIO_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QAsyncIO_newQAsyncIO(JNIEnv* env, jobject obj) +Java_org_kde_qt_QAsyncIO_newTQAsyncIO(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QAsyncIOJBridge()); + QtSupport::setQt(env, obj, new TQAsyncIOJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -59,7 +59,7 @@ Java_org_kde_qt_QAsyncIO_newQAsyncIO(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QAsyncIO_ready(JNIEnv* env, jobject obj) { - ((QAsyncIOJBridge*) QtSupport::getQt(env, obj))->protected_ready(); + ((TQAsyncIOJBridge*) QtSupport::getQt(env, obj))->protected_ready(); return; } diff --git a/qtjava/javalib/qtjava/QAsyncIO.h b/qtjava/javalib/qtjava/QAsyncIO.h index 33866f29..bce6ce27 100644 --- a/qtjava/javalib/qtjava/QAsyncIO.h +++ b/qtjava/javalib/qtjava/QAsyncIO.h @@ -11,7 +11,7 @@ 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_newQAsyncIO (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QAuServer.cpp b/qtjava/javalib/qtjava/QAuServer.cpp index 0e9fa22a..03b64557 100644 --- a/qtjava/javalib/qtjava/QAuServer.cpp +++ b/qtjava/javalib/qtjava/QAuServer.cpp @@ -3,77 +3,77 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QAuServer_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QAuServer*) QtSupport::getQt(env, obj))->className(); + _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) { - ((QAuServer*) QtSupport::getQt(env, obj))->init((TQSound*) QtSupport::getQt(env, arg1)); + ((TQAuServer*) QtSupport::getQt(env, obj))->init((TTQSound*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QAuServer_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QAuServer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQAuServer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QAuServer_okay(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QAuServer*) QtSupport::getQt(env, obj))->okay(); + 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; - ((QAuServer*) QtSupport::getQt(env, obj))->play((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename)); +static TTQString* _qstring_filename = 0; + ((TQAuServer*) QtSupport::getQt(env, obj))->play((const TTQString&)*(TTQString*) 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) { - ((QAuServer*) QtSupport::getQt(env, obj))->play((TQSound*) QtSupport::getQt(env, arg1)); + ((TQAuServer*) QtSupport::getQt(env, obj))->play((TTQSound*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QAuServer_stop(JNIEnv* env, jobject obj, jobject arg1) { - ((QAuServer*) QtSupport::getQt(env, obj))->stop((TQSound*) QtSupport::getQt(env, arg1)); + ((TQAuServer*) QtSupport::getQt(env, obj))->stop((TTQSound*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QAuServer::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QBig5Codec.cpp b/qtjava/javalib/qtjava/QBig5Codec.cpp index 6a8676f9..99fa7dba 100644 --- a/qtjava/javalib/qtjava/QBig5Codec.cpp +++ b/qtjava/javalib/qtjava/QBig5Codec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QBig5CodecJBridge : public QBig5Codec +class TQBig5CodecJBridge : public TQBig5Codec { public: - QBig5CodecJBridge() : TQBig5Codec() {}; - ~QBig5CodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQBig5CodecJBridge() : TTQBig5Codec() {}; + ~TQBig5CodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QBig5Codec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBig5Codec*)QtSupport::getQt(env, obj); + delete (TTQBig5Codec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QBig5Codec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQBig5Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQBig5Codec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQBig5Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QBig5Codec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQBig5Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QBig5Codec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQBig5Codec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQBig5Codec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,15 +81,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQBig5Codec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQBig5Codec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QBig5Codec_newQBig5Codec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QBig5Codec_newTQBig5Codec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBig5CodecJBridge()); + QtSupport::setQt(env, obj, new TQBig5CodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -98,9 +98,9 @@ Java_org_kde_qt_QBig5Codec_newQBig5Codec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQBig5Codec*) 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 index 79b719aa..4b912a1c 100644 --- a/qtjava/javalib/qtjava/QBig5Codec.h +++ b/qtjava/javalib/qtjava/QBig5Codec.h @@ -17,7 +17,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QBig5Codec_fromUnicode (JNIEnv 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_newQBig5Codec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QBitmap.cpp b/qtjava/javalib/qtjava/QBitmap.cpp index 4797c616..c4c6c7b4 100644 --- a/qtjava/javalib/qtjava/QBitmap.cpp +++ b/qtjava/javalib/qtjava/QBitmap.cpp @@ -6,26 +6,26 @@ #include #include -#include +#include -class QBitmapJBridge : public QBitmap +class TQBitmapJBridge : public TQBitmap { public: - QBitmapJBridge() : TQBitmap() {}; - QBitmapJBridge(int arg1,int arg2,bool arg3,TQPixmap::Optimization arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; - QBitmapJBridge(int arg1,int arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; - QBitmapJBridge(int arg1,int arg2) : TQBitmap(arg1,arg2) {}; - QBitmapJBridge(const TQSize& arg1,bool arg2,TQPixmap::Optimization arg3) : TQBitmap(arg1,arg2,arg3) {}; - QBitmapJBridge(const TQSize& arg1,bool arg2) : TQBitmap(arg1,arg2) {}; - QBitmapJBridge(const TQSize& arg1) : TQBitmap(arg1) {}; - QBitmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQBitmap(arg1,arg2,arg3,arg4) {}; - QBitmapJBridge(int arg1,int arg2,const uchar* arg3) : TQBitmap(arg1,arg2,arg3) {}; - QBitmapJBridge(const TQSize& arg1,const uchar* arg2,bool arg3) : TQBitmap(arg1,arg2,arg3) {}; - QBitmapJBridge(const TQSize& arg1,const uchar* arg2) : TQBitmap(arg1,arg2) {}; - QBitmapJBridge(const TQBitmap& arg1) : TQBitmap(arg1) {}; - QBitmapJBridge(const TQString& arg1,const char* arg2) : TQBitmap(arg1,arg2) {}; - QBitmapJBridge(const TQString& arg1) : TQBitmap(arg1) {}; - ~QBitmapJBridge() {QtSupport::qtKeyDeleted(this);} + TQBitmapJBridge() : TTQBitmap() {}; + TQBitmapJBridge(int arg1,int arg2,bool arg3,TTQPixmap::Optimization arg4) : TTQBitmap(arg1,arg2,arg3,arg4) {}; + TQBitmapJBridge(int arg1,int arg2,bool arg3) : TTQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(int arg1,int arg2) : TTQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TTQSize& arg1,bool arg2,TTQPixmap::Optimization arg3) : TTQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TTQSize& arg1,bool arg2) : TTQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TTQSize& arg1) : TTQBitmap(arg1) {}; + TQBitmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TTQBitmap(arg1,arg2,arg3,arg4) {}; + TQBitmapJBridge(int arg1,int arg2,const uchar* arg3) : TTQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TTQSize& arg1,const uchar* arg2,bool arg3) : TTQBitmap(arg1,arg2,arg3) {}; + TQBitmapJBridge(const TTQSize& arg1,const uchar* arg2) : TTQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TTQBitmap& arg1) : TTQBitmap(arg1) {}; + TQBitmapJBridge(const TTQString& arg1,const char* arg2) : TTQBitmap(arg1,arg2) {}; + TQBitmapJBridge(const TTQString& arg1) : TTQBitmap(arg1) {}; + ~TQBitmapJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -39,7 +39,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBitmap*)QtSupport::getQt(env, obj); + delete (TTQBitmap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -52,147 +52,147 @@ Java_org_kde_qt_QBitmap_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QBitmap_newTQBitmap__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge()); + QtSupport::setQt(env, obj, new TQBitmapJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__II(JNIEnv* env, jobject obj, jint w, jint h) +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 QBitmapJBridge((int) w, (int) h)); + 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_newQBitmap__IIZ(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear) +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 QBitmapJBridge((int) w, (int) h, (bool) clear)); + 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_newQBitmap__IIZI(JNIEnv* env, jobject obj, jint w, jint h, jboolean clear, jint arg4) +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 QBitmapJBridge((int) w, (int) h, (bool) clear, (TQPixmap::Optimization) arg4)); + QtSupport::setQt(env, obj, new TQBitmapJBridge((int) w, (int) h, (bool) clear, (TTQPixmap::Optimization) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__II_3C(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits) +Java_org_kde_qt_QBitmap_newTQBitmap__II_3C(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits) { -static TQByteArray* _qbytearray_bits = 0; +static TTQByteArray* _qbytearray_bits = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); + 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_newQBitmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray bits, jboolean isXbitmap) +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; +static TTQByteArray* _qbytearray_bits = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); + 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_newQBitmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +Java_org_kde_qt_QBitmap_newTQBitmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) { -static TQString* _qstring_fileName = 0; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName))); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) +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; +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQString&)*(TTQString*) 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_newQBitmap__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QBitmapJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +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 QBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean clear) +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 QBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear)); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (bool) clear)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2ZI(JNIEnv* env, jobject obj, jobject arg1, jboolean clear, jint arg3) +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 QBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (bool) clear, (TQPixmap::Optimization) arg3)); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (bool) clear, (TTQPixmap::Optimization) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2_3C(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits) +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; +static TTQByteArray* _qbytearray_bits = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits))); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQSize&)*(const TTQSize*) 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_newQBitmap__Lorg_kde_qt_QSize_2_3CZ(JNIEnv* env, jobject obj, jobject arg1, jcharArray bits, jboolean isXbitmap) +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; +static TTQByteArray* _qbytearray_bits = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBitmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); + QtSupport::setQt(env, obj, new TQBitmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (const uchar*) QtSupport::toUcharArray(env, bits, &_qbytearray_bits), (bool) isXbitmap)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -201,29 +201,29 @@ static TQByteArray* _qbytearray_bits = 0; 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQBitmap*) QtSupport::getQt(env, obj))->xForm((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQBitmap", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QPixmap_2(JNIEnv *env, jobject obj, jobject arg1) +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 QBitmapJBridge(temp)); + TTQBitmap temp; + temp = (TTQPixmap&) *(TTQPixmap *) 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_newQBitmap__Lorg_kde_qt_QImage_2(JNIEnv *env, jobject obj, jobject arg1) +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 QBitmapJBridge(temp)); + TTQBitmap temp; + temp = (TTQImage&) *(TTQImage *) 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 index 8ca1a424..e20bba15 100644 --- a/qtjava/javalib/qtjava/QBitmap.h +++ b/qtjava/javalib/qtjava/QBitmap.h @@ -10,26 +10,26 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2ZI (JNIEnv *env, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__II_3C (JNIEnv *env, jobject, jint, jint, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2_3CZ (JNIEnv *env, jobject, jobject, jcharArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QSize_2_3C (JNIEnv *env, jobject, jobject, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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_newQBitmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBitmap_newQBitmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, 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 } diff --git a/qtjava/javalib/qtjava/QBoxLayout.cpp b/qtjava/javalib/qtjava/QBoxLayout.cpp index b5eeb915..febe2a74 100644 --- a/qtjava/javalib/qtjava/QBoxLayout.cpp +++ b/qtjava/javalib/qtjava/QBoxLayout.cpp @@ -6,59 +6,59 @@ #include #include -#include +#include -class QBoxLayoutJBridge : public QBoxLayout +class TQBoxLayoutJBridge : public TQBoxLayout { public: - QBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4,const char* arg5) : TQBoxLayout(arg1,arg2,arg3,arg4,arg5) {}; - QBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3,int arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; - QBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - QBoxLayoutJBridge(TQWidget* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; - QBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3,const char* arg4) : TQBoxLayout(arg1,arg2,arg3,arg4) {}; - QBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2,int arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - QBoxLayoutJBridge(TQLayout* arg1,TQBoxLayout::Direction arg2) : TQBoxLayout(arg1,arg2) {}; - QBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2,const char* arg3) : TQBoxLayout(arg1,arg2,arg3) {}; - QBoxLayoutJBridge(TQBoxLayout::Direction arg1,int arg2) : TQBoxLayout(arg1,arg2) {}; - QBoxLayoutJBridge(TQBoxLayout::Direction arg1) : TQBoxLayout(arg1) {}; - void protected_insertItem(int arg1,TQLayoutItem* arg2) { - TQBoxLayout::insertItem(arg1,arg2); + TQBoxLayoutJBridge(TTQWidget* arg1,TTQBoxLayout::Direction arg2,int arg3,int arg4,const char* arg5) : TTQBoxLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQBoxLayoutJBridge(TTQWidget* arg1,TTQBoxLayout::Direction arg2,int arg3,int arg4) : TTQBoxLayout(arg1,arg2,arg3,arg4) {}; + TQBoxLayoutJBridge(TTQWidget* arg1,TTQBoxLayout::Direction arg2,int arg3) : TTQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TTQWidget* arg1,TTQBoxLayout::Direction arg2) : TTQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TTQLayout* arg1,TTQBoxLayout::Direction arg2,int arg3,const char* arg4) : TTQBoxLayout(arg1,arg2,arg3,arg4) {}; + TQBoxLayoutJBridge(TTQLayout* arg1,TTQBoxLayout::Direction arg2,int arg3) : TTQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TTQLayout* arg1,TTQBoxLayout::Direction arg2) : TTQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TTQBoxLayout::Direction arg1,int arg2,const char* arg3) : TTQBoxLayout(arg1,arg2,arg3) {}; + TQBoxLayoutJBridge(TTQBoxLayout::Direction arg1,int arg2) : TTQBoxLayout(arg1,arg2) {}; + TQBoxLayoutJBridge(TTQBoxLayout::Direction arg1) : TTQBoxLayout(arg1) {}; + void protected_insertItem(int arg1,TTQLayoutItem* arg2) { + TTQBoxLayout::insertItem(arg1,arg2); return; } - ~QBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(arg1); + void setMenuBar(TTQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TTQMenuBar")) { + TTQLayout::setMenuBar(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQLayout::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQLayout::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -67,70 +67,70 @@ public: 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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addItem((TTQLayoutItem*) 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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TTQLayout*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addLayout((TTQLayout*) 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); + ((TTQBoxLayout*) 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(); + ((TTQBoxLayout*) 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); + ((TTQBoxLayout*) 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); + ((TTQBoxLayout*) 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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (int) alignment); return; } @@ -138,14 +138,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQBoxLayout*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQBoxLayout*) 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(); + jint xret = (jint) ((TTQBoxLayout*) QtSupport::getQt(env, obj))->direction(); return xret; } @@ -159,15 +159,15 @@ Java_org_kde_qt_QBoxLayout_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QBoxLayout_expanding(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQBoxLayout*) QtSupport::getQt(env, obj))->expanding(); + jint xret = (jint) ((TTQBoxLayout*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQBoxLayout*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -176,91 +176,91 @@ Java_org_kde_qt_QBoxLayout_finalize(JNIEnv* env, jobject obj) 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)); + jint xret = (jint) ((TTQBoxLayout*) QtSupport::getQt(env, obj))->findWidget((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQBoxLayout*) 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); + jint xret = (jint) ((TTQBoxLayout*) 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) { - ((QBoxLayoutJBridge*) QtSupport::getQt(env, obj))->protected_insertItem((int) index, (TQLayoutItem*) QtSupport::getQt(env, arg2)); + ((TQBoxLayoutJBridge*) QtSupport::getQt(env, obj))->protected_insertItem((int) index, (TTQLayoutItem*) 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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TTQLayout*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->insertLayout((int) index, (TTQLayout*) 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); + ((TTQBoxLayout*) 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); + ((TTQBoxLayout*) 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); + ((TTQBoxLayout*) 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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TTQWidget*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TTQWidget*) 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); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->insertWidget((int) index, (TTQWidget*) 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(); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->invalidate(); return; } @@ -273,129 +273,129 @@ Java_org_kde_qt_QBoxLayout_isDisposed(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQBoxLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jint xret = (jint) ((TTQBoxLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQBoxLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QBoxLayout_newTQBoxLayout__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBoxLayoutJBridge((TQBoxLayout::Direction) arg1)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQBoxLayout::Direction) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__II(JNIEnv* env, jobject obj, jint arg1, jint spacing) +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 QBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQBoxLayout::Direction) arg1, (int) spacing)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBoxLayoutJBridge((TQBoxLayout::Direction) arg1, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQBoxLayout::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_newQBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2) +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 QBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (TTQBoxLayout::Direction) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing) +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 QBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (TTQBoxLayout::Direction) arg2, (int) spacing)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint arg2, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (TQBoxLayout::Direction) arg2, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (TTQBoxLayout::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_newQBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint arg2) +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 QBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (TTQBoxLayout::Direction) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border) +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 QBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (TTQBoxLayout::Direction) arg2, (int) border)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing) +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 QBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing)); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (TTQBoxLayout::Direction) arg2, (int) border, (int) spacing)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QWidget_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jint border, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQBoxLayout::Direction) arg2, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (TTQBoxLayout::Direction) arg2, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -404,56 +404,56 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_setDirection(JNIEnv* env, jobject obj, jint arg1) { - ((TQBoxLayout*) QtSupport::getQt(env, obj))->setDirection((TQBoxLayout::Direction) arg1); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->setDirection((TTQBoxLayout::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)); + ((TTQBoxLayout*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + jboolean xret = (jboolean) ((TTQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TTQLayout*) 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); + jboolean xret = (jboolean) ((TTQBoxLayout*) QtSupport::getQt(env, obj))->setStretchFactor((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQBoxLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 9d07a2b3..b29d6b7e 100644 --- a/qtjava/javalib/qtjava/QBoxLayout.h +++ b/qtjava/javalib/qtjava/QBoxLayout.h @@ -12,16 +12,16 @@ extern "C" 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_newQBoxLayout__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_newQBoxLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QLayout_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBoxLayout_newQBoxLayout__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QBrush.cpp b/qtjava/javalib/qtjava/QBrush.cpp index 9aa98c53..46a878b8 100644 --- a/qtjava/javalib/qtjava/QBrush.cpp +++ b/qtjava/javalib/qtjava/QBrush.cpp @@ -5,24 +5,24 @@ #include #include -#include +#include -class QBrushJBridge : public QBrush +class TQBrushJBridge : public TQBrush { public: - QBrushJBridge() : TQBrush() {}; - QBrushJBridge(Qt::BrushStyle arg1) : TQBrush(arg1) {}; - QBrushJBridge(const TQColor& arg1,Qt::BrushStyle arg2) : TQBrush(arg1,arg2) {}; - QBrushJBridge(const TQColor& arg1) : TQBrush(arg1) {}; - QBrushJBridge(const TQColor& arg1,const TQPixmap& arg2) : TQBrush(arg1,arg2) {}; - QBrushJBridge(const TQBrush& arg1) : TQBrush(arg1) {}; - ~QBrushJBridge() {QtSupport::qtKeyDeleted(this);} + TQBrushJBridge() : TTQBrush() {}; + TQBrushJBridge(TQt::BrushStyle arg1) : TTQBrush(arg1) {}; + TQBrushJBridge(const TTQColor& arg1,TQt::BrushStyle arg2) : TTQBrush(arg1,arg2) {}; + TQBrushJBridge(const TTQColor& arg1) : TTQBrush(arg1) {}; + TQBrushJBridge(const TTQColor& arg1,const TTQPixmap& arg2) : TTQBrush(arg1,arg2) {}; + TQBrushJBridge(const TTQBrush& arg1) : TTQBrush(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQBrush*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TTQColor"); return xret; } @@ -37,7 +37,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBrush*)QtSupport::getQt(env, obj); + delete (TTQBrush*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -50,60 +50,60 @@ Java_org_kde_qt_QBrush_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newQBrush__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QBrush_newTQBrush__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBrushJBridge()); + QtSupport::setQt(env, obj, new TQBrushJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newQBrush__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QBrush_newTQBrush__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBrushJBridge((Qt::BrushStyle) arg1)); + 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_newQBrush__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +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 QBrushJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQBrushJBridge((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +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 QBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQBrushJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +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 QBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (Qt::BrushStyle) arg2)); + QtSupport::setQt(env, obj, new TQBrushJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1), (TQt::BrushStyle) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +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 QBrushJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); + QtSupport::setQt(env, obj, new TQBrushJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -112,49 +112,49 @@ Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2(JNIE 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)); + jboolean xret = (jboolean) ((TTQBrush*) QtSupport::getQt(env, obj))->operator==((const TTQBrush&)*(const TTQBrush*) 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)); + jboolean xret = (jboolean) ((TTQBrush*) QtSupport::getQt(env, obj))->operator!=((const TTQBrush&)*(const TTQBrush*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQBrush*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); 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)); + ((TTQBrush*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQBrush*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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((Qt::BrushStyle) arg1); + ((TTQBrush*) 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(); + jint xret = (jint) ((TTQBrush*) QtSupport::getQt(env, obj))->style(); return xret; } diff --git a/qtjava/javalib/qtjava/QBrush.h b/qtjava/javalib/qtjava/QBrush.h index 7d6ef865..ad802b80 100644 --- a/qtjava/javalib/qtjava/QBrush.h +++ b/qtjava/javalib/qtjava/QBrush.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QColor_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBrush_newQBrush__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QBuffer.cpp b/qtjava/javalib/qtjava/QBuffer.cpp index b45ad9ac..d9d838b3 100644 --- a/qtjava/javalib/qtjava/QBuffer.cpp +++ b/qtjava/javalib/qtjava/QBuffer.cpp @@ -5,42 +5,42 @@ #include #include -#include +#include -class QBufferJBridge : public QBuffer +class TQBufferJBridge : public TQBuffer { public: - QBufferJBridge() : TQBuffer() {}; - QBufferJBridge(TQByteArray arg1) : TQBuffer(arg1) {}; - ~QBufferJBridge() {QtSupport::qtKeyDeleted(this);} + TQBufferJBridge() : TTQBuffer() {}; + TQBufferJBridge(TTQByteArray arg1) : TTQBuffer(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(); + jlong xret = (jlong) ((TTQBuffer*) 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); + jboolean xret = (jboolean) ((TTQBuffer*) QtSupport::getQt(env, obj))->at((TTQIODevice::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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQBuffer*) 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(); + ((TTQBuffer*) QtSupport::getQt(env, obj))->close(); return; } @@ -55,7 +55,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQBuffer*)QtSupport::getQt(env, obj); + delete (TTQBuffer*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -64,14 +64,14 @@ Java_org_kde_qt_QBuffer_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_flush(JNIEnv* env, jobject obj) { - ((TQBuffer*) QtSupport::getQt(env, obj))->flush(); + ((TTQBuffer*) 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(); + jint xret = (jint) ((TTQBuffer*) QtSupport::getQt(env, obj))->getch(); return xret; } @@ -82,21 +82,21 @@ Java_org_kde_qt_QBuffer_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_newQBuffer__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QBuffer_newTQBuffer__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBufferJBridge()); + QtSupport::setQt(env, obj, new TQBufferJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QBuffer_newQBuffer___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +Java_org_kde_qt_QBuffer_newTQBuffer___3B(JNIEnv* env, jobject obj, jbyteArray arg1) { -static TQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QBufferJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1))); + QtSupport::setQt(env, obj, new TQBufferJBridge((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -105,71 +105,71 @@ static TQByteArray* _qbyteArray_arg1 = 0; 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); + jboolean xret = (jboolean) ((TTQBuffer*) 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); + jint xret = (jint) ((TTQBuffer*) 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(); } +static TTQCString* _qstring_p = 0; + if (_qstring_p == 0) { _qstring_p = new TTQCString(); } _qstring_p->resize((uint) arg2); - jlong xret = (jlong) ((TQBuffer*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_p->data(), (Q_ULONG) arg2); - QtSupport::fromQCStringToStringBuffer(env, _qstring_p, p); + jlong xret = (jlong) ((TTQBuffer*) 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); +static TTQCString* _qstring_p = 0; + jlong xret = (jlong) ((TTQBuffer*) 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::toQByteArray(env, arg1, &_qbyteArray_arg1)); +static TTQByteArray* _qbyteArray_arg1 = 0; + jboolean xret = (jboolean) ((TTQBuffer*) QtSupport::getQt(env, obj))->setBuffer((TTQByteArray)*(TTQByteArray*) 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(); + jlong xret = (jlong) ((TTQBuffer*) 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); + jint xret = (jint) ((TTQBuffer*) 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); +static TTQCString* _qstring_p = 0; + jlong xret = (jlong) ((TTQBuffer*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TTQBuffer*) QtSupport::getQt(env, obj))->writeBlock((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); return xret; } diff --git a/qtjava/javalib/qtjava/QBuffer.h b/qtjava/javalib/qtjava/QBuffer.h index b363f612..8b4ee52f 100644 --- a/qtjava/javalib/qtjava/QBuffer.h +++ b/qtjava/javalib/qtjava/QBuffer.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newQBuffer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QBuffer_newQBuffer___3B (JNIEnv *env, jobject, jbyteArray); +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); diff --git a/qtjava/javalib/qtjava/QButton.cpp b/qtjava/javalib/qtjava/QButton.cpp index 32c5e5a6..54e92822 100644 --- a/qtjava/javalib/qtjava/QButton.cpp +++ b/qtjava/javalib/qtjava/QButton.cpp @@ -7,446 +7,446 @@ #include #include -#include +#include -class QButtonJBridge : public QButton +class TQButtonJBridge : public TQButton { public: - QButtonJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQButton(arg1,arg2,arg3) {}; - QButtonJBridge(TQWidget* arg1,const char* arg2) : TQButton(arg1,arg2) {}; - QButtonJBridge(TQWidget* arg1) : TQButton(arg1) {}; - QButtonJBridge() : TQButton() {}; + TQButtonJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQButton(arg1,arg2,arg3) {}; + TQButtonJBridge(TTQWidget* arg1,const char* arg2) : TTQButton(arg1,arg2) {}; + TQButtonJBridge(TTQWidget* arg1) : TTQButton(arg1) {}; + TQButtonJBridge() : TTQButton() {}; void protected_setToggleButton(bool arg1) { - TQButton::setToggleButton(arg1); + TTQButton::setToggleButton(arg1); return; } - void protected_setToggleType(TQButton::ToggleType arg1) { - TQButton::setToggleType(arg1); + void protected_setToggleType(TTQButton::ToggleType arg1) { + TTQButton::setToggleType(arg1); return; } void protected_setOn(bool arg1) { - TQButton::setOn(arg1); + TTQButton::setOn(arg1); return; } - void protected_setState(TQButton::ToggleState arg1) { - TQButton::setState(arg1); + void protected_setState(TTQButton::ToggleState arg1) { + TTQButton::setState(arg1); return; } - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQButton::hitButton(arg1); + bool protected_hitButton(const TTQPoint& arg1) { + return (bool) TTQButton::hitButton(arg1); } - void protected_drawButton(TQPainter* arg1) { - TQButton::drawButton(arg1); + void protected_drawButton(TTQPainter* arg1) { + TTQButton::drawButton(arg1); return; } - void protected_drawButtonLabel(TQPainter* arg1) { - TQButton::drawButtonLabel(arg1); + void protected_drawButtonLabel(TTQPainter* arg1) { + TTQButton::drawButtonLabel(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQButton::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQButton::keyPressEvent(arg1); return; } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQButton::keyReleaseEvent(arg1); + void protected_keyReleaseEvent(TTQKeyEvent* arg1) { + TTQButton::keyReleaseEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQButton::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQButton::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQButton::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQButton::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQButton::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQButton::mouseMoveEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQButton::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQButton::paintEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQButton::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQButton::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQButton::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQButton::focusOutEvent(arg1); return; } void protected_enabledChange(bool arg1) { - TQButton::enabledChange(arg1); + TTQButton::enabledChange(arg1); return; } - ~QButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQButton::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQButton::setAccel(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mousePressEvent(arg1); } return; } - void drawButton(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TQPainter")) { - TQButton::drawButton(arg1); + void drawButton(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQButton::drawButton(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseMoveEvent(arg1); } return; } - void drawButtonLabel(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TQPainter")) { - TQButton::drawButtonLabel(arg1); + void drawButtonLabel(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQButton::drawButtonLabel(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQButton::setPixmap(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQButton",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQButton",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButton","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButton","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -455,28 +455,28 @@ public: 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQButton*) QtSupport::getQt(env, obj))->accel()), "org.kde.qt.TTQKeySequence", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_animateClick(JNIEnv* env, jobject obj) { - ((TQButton*) QtSupport::getQt(env, obj))->animateClick(); + ((TTQButton*) 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(); + jboolean xret = (jboolean) ((TTQButton*) 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(); + jboolean xret = (jboolean) ((TTQButton*) QtSupport::getQt(env, obj))->autoResize(); return xret; } @@ -484,7 +484,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QButton_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQButton*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQButton*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -498,29 +498,29 @@ Java_org_kde_qt_QButton_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_enabledChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQButton*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -529,28 +529,28 @@ Java_org_kde_qt_QButton_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButton*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TTQButtonGroup"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_hitButton(JNIEnv* env, jobject obj, jobject pos) { - jboolean xret = (jboolean) ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + jboolean xret = (jboolean) ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return xret; } @@ -563,110 +563,110 @@ Java_org_kde_qt_QButton_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButton_isDown(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->isDown(); + jboolean xret = (jboolean) ((TTQButton*) 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(); + jboolean xret = (jboolean) ((TTQButton*) 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(); + jboolean xret = (jboolean) ((TTQButton*) 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(); + jboolean xret = (jboolean) ((TTQButton*) QtSupport::getQt(env, obj))->isToggleButton(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newQButton__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QButton_newTQButton__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonJBridge()); + QtSupport::setQt(env, obj, new TQButtonJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newQButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButton_newQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -675,135 +675,135 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QButton_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButton*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); 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)); + ((TTQButton*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) 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); + ((TTQButton*) 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); + ((TTQButton*) 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); + ((TTQButton*) QtSupport::getQt(env, obj))->setDown((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setOn(JNIEnv* env, jobject obj, jboolean arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_setOn((bool) 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)); + ((TTQButton*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setState(JNIEnv* env, jobject obj, jint arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_setState((TQButton::ToggleState) arg1); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setState((TTQButton::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQButton*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButton_setToggleButton(JNIEnv* env, jobject obj, jboolean arg1) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleButton((bool) 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) { - ((QButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleType((TQButton::ToggleType) arg1); + ((TQButtonJBridge*) QtSupport::getQt(env, obj))->protected_setToggleType((TTQButton::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(); + jint xret = (jint) ((TTQButton*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQButton*) 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(); + jint xret = (jint) ((TTQButton*) 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(); + ((TTQButton*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 2769ad00..1cf59815 100644 --- a/qtjava/javalib/qtjava/QButton.h +++ b/qtjava/javalib/qtjava/QButton.h @@ -12,10 +12,10 @@ extern "C" 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_newQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newQButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newQButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButton_newQButton__ (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); diff --git a/qtjava/javalib/qtjava/QButtonGroup.cpp b/qtjava/javalib/qtjava/QButtonGroup.cpp index 73c124e5..2330099e 100644 --- a/qtjava/javalib/qtjava/QButtonGroup.cpp +++ b/qtjava/javalib/qtjava/QButtonGroup.cpp @@ -4,398 +4,398 @@ #include #include -#include +#include -class QButtonGroupJBridge : public QButtonGroup +class TQButtonGroupJBridge : public TQButtonGroup { public: - QButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQButtonGroup(arg1,arg2) {}; - QButtonGroupJBridge(TQWidget* arg1) : TQButtonGroup(arg1) {}; - QButtonGroupJBridge() : TQButtonGroup() {}; - QButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - QButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQButtonGroup(arg1,arg2) {}; - QButtonGroupJBridge(const TQString& arg1) : TQButtonGroup(arg1) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2) : TQButtonGroup(arg1,arg2) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQButtonGroup(arg1,arg2,arg3,arg4,arg5) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQButtonGroup(arg1,arg2,arg3,arg4) {}; - QButtonGroupJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3) : TQButtonGroup(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQButtonGroup::event(arg1); + TQButtonGroupJBridge(TTQWidget* arg1,const char* arg2) : TTQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(TTQWidget* arg1) : TTQButtonGroup(arg1) {}; + TQButtonGroupJBridge() : TTQButtonGroup() {}; + TQButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQButtonGroup(arg1,arg2,arg3) {}; + TQButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(const TTQString& arg1) : TTQButtonGroup(arg1) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3,const char* arg4) : TTQButtonGroup(arg1,arg2,arg3,arg4) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3) : TTQButtonGroup(arg1,arg2,arg3) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2) : TTQButtonGroup(arg1,arg2) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3,TTQWidget* arg4,const char* arg5) : TTQButtonGroup(arg1,arg2,arg3,arg4,arg5) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3,TTQWidget* arg4) : TTQButtonGroup(arg1,arg2,arg3,arg4) {}; + TQButtonGroupJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3) : TTQButtonGroup(arg1,arg2,arg3) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TTQButtonGroup::event(arg1); } void protected_buttonPressed() { - TQButtonGroup::buttonPressed(); + TTQButtonGroup::buttonPressed(); return; } void protected_buttonReleased() { - TQButtonGroup::buttonReleased(); + TTQButtonGroup::buttonReleased(); return; } void protected_buttonClicked() { - TQButtonGroup::buttonClicked(); + TTQButtonGroup::buttonClicked(); return; } void protected_buttonToggled(bool arg1) { - TQButtonGroup::buttonToggled(arg1); + TTQButtonGroup::buttonToggled(arg1); return; } - ~QButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQButtonGroup",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQButtonGroup",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQButtonGroup","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQButtonGroup","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -404,28 +404,28 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonClicked(JNIEnv* env, jobject obj) { - ((QButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonPressed(JNIEnv* env, jobject obj) { - ((QButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonPressed(); + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonPressed(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonReleased(JNIEnv* env, jobject obj) { - ((QButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonReleased(); + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonReleased(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_buttonToggled(JNIEnv* env, jobject obj, jboolean on) { - ((QButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonToggled((bool) on); + ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_buttonToggled((bool) on); return; } @@ -433,14 +433,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QButtonGroup_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQButtonGroup*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQButtonGroup*) 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(); + jint xret = (jint) ((TTQButtonGroup*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -454,15 +454,15 @@ Java_org_kde_qt_QButtonGroup_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQButtonGroupJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQButtonGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -471,28 +471,28 @@ Java_org_kde_qt_QButtonGroup_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButtonGroup*) QtSupport::getQt(env, obj))->find((int) id), "org.kde.qt.TTQButton"); 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)); + jint xret = (jint) ((TTQButtonGroup*) QtSupport::getQt(env, obj))->id((TTQButton*) 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)); + jint xret = (jint) ((TTQButtonGroup*) QtSupport::getQt(env, obj))->insert((TTQButton*) 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); + jint xret = (jint) ((TTQButtonGroup*) QtSupport::getQt(env, obj))->insert((TTQButton*) QtSupport::getQt(env, arg1), (int) id); return xret; } @@ -505,156 +505,156 @@ Java_org_kde_qt_QButtonGroup_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QButtonGroup_isExclusive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQButtonGroup*) QtSupport::getQt(env, obj))->isExclusive(); + jboolean xret = (jboolean) ((TTQButtonGroup*) 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(); + jboolean xret = (jboolean) ((TTQButtonGroup*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + ((TTQButtonGroup*) QtSupport::getQt(env, obj))->moveFocus((int) arg1); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge()); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__II(JNIEnv* env, jobject obj, jint columns, jint o) +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 QButtonGroupJBridge((int) columns, (Qt::Orientation) o)); + 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_newQButtonGroup__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((int) columns, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((int) columns, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__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) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((int) columns, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent) +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 QButtonGroupJBridge((int) columns, (Qt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint columns, jint o, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((int) columns, (Qt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((int) columns, (TQt::Orientation) o, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QButtonGroup_newTQButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QButtonGroup_newQButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -663,63 +663,63 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQButtonGroup*) QtSupport::getQt(env, obj))->remove((TTQButton*) 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(); + jint xret = (jint) ((TTQButtonGroup*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQButtonGroup*) QtSupport::getQt(env, obj))->selected(), "org.kde.qt.TTQButton"); 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); + ((TTQButtonGroup*) 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); + ((TTQButtonGroup*) 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); + ((TTQButtonGroup*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 06d7db43..6871226a 100644 --- a/qtjava/javalib/qtjava/QButtonGroup.h +++ b/qtjava/javalib/qtjava/QButtonGroup.h @@ -12,18 +12,18 @@ extern "C" 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_newQButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__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_newQButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__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_newQButtonGroup__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QButtonGroup_newQButtonGroup__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +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); diff --git a/qtjava/javalib/qtjava/QCanvas.cpp b/qtjava/javalib/qtjava/QCanvas.cpp index 4719ec5a..e362ebc5 100644 --- a/qtjava/javalib/qtjava/QCanvas.cpp +++ b/qtjava/javalib/qtjava/QCanvas.cpp @@ -10,149 +10,149 @@ #include #include -#include +#include -class QCanvasJBridge : public QCanvas +class TQCanvasJBridge : public TQCanvas { public: - QCanvasJBridge(TQObject* arg1,const char* arg2) : TQCanvas(arg1,arg2) {}; - QCanvasJBridge(TQObject* arg1) : TQCanvas(arg1) {}; - QCanvasJBridge() : TQCanvas() {}; - QCanvasJBridge(int arg1,int arg2) : TQCanvas(arg1,arg2) {}; - QCanvasJBridge(TQPixmap arg1,int arg2,int arg3,int arg4,int arg5) : TQCanvas(arg1,arg2,arg3,arg4,arg5) {}; + TQCanvasJBridge(TTQObject* arg1,const char* arg2) : TTQCanvas(arg1,arg2) {}; + TQCanvasJBridge(TTQObject* arg1) : TTQCanvas(arg1) {}; + TQCanvasJBridge() : TTQCanvas() {}; + TQCanvasJBridge(int arg1,int arg2) : TTQCanvas(arg1,arg2) {}; + TQCanvasJBridge(TTQPixmap arg1,int arg2,int arg3,int arg4,int arg5) : TTQCanvas(arg1,arg2,arg3,arg4,arg5) {}; void public_setAllChanged() { - TQCanvas::setAllChanged(); + TTQCanvas::setAllChanged(); return; } void public_advance() { - TQCanvas::advance(); + TTQCanvas::advance(); return; } void public_update() { - TQCanvas::update(); + TTQCanvas::update(); return; } - void protected_drawBackground(TQPainter& arg1,const TQRect& arg2) { - TQCanvas::drawBackground(arg1,arg2); + void protected_drawBackground(TTQPainter& arg1,const TTQRect& arg2) { + TTQCanvas::drawBackground(arg1,arg2); return; } - void protected_drawForeground(TQPainter& arg1,const TQRect& arg2) { - TQCanvas::drawForeground(arg1,arg2); + void protected_drawForeground(TTQPainter& arg1,const TTQRect& arg2) { + TTQCanvas::drawForeground(arg1,arg2); return; } - ~QCanvasJBridge() {QtSupport::qtKeyDeleted(this);} - void removeItem(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::removeItem(arg1); + ~TQCanvasJBridge() {QtSupport::qtKeyDeleted(this);} + void removeItem(TTQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TTQCanvasItem")) { + TTQCanvas::removeItem(arg1); } return; } - void addItem(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"addItem",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::addItem(arg1); + void addItem(TTQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"addItem",(void*)arg1,"org.kde.qt.TTQCanvasItem")) { + TTQCanvas::addItem(arg1); } return; } - void removeAnimation(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::removeAnimation(arg1); + void removeAnimation(TTQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeAnimation",(void*)arg1,"org.kde.qt.TTQCanvasItem")) { + TTQCanvas::removeAnimation(arg1); } return; } void update() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","update")) { - TQCanvas::update(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvas","update")) { + TTQCanvas::update(); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void removeView(TQCanvasView* arg1) { - if (!QtSupport::eventDelegate(this,"removeView",(void*)arg1,"org.kde.qt.TQCanvasView")) { - TQCanvas::removeView(arg1); + void removeView(TTQCanvasView* arg1) { + if (!QtSupport::eventDelegate(this,"removeView",(void*)arg1,"org.kde.qt.TTQCanvasView")) { + TTQCanvas::removeView(arg1); } return; } void setAllChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","setAllChanged")) { - TQCanvas::setAllChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvas","setAllChanged")) { + TTQCanvas::setAllChanged(); } return; } - void setChanged(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setChanged",(void*)&arg1,"org.kde.qt.TQRect")) { - TQCanvas::setChanged(arg1); + void setChanged(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setChanged",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQCanvas::setChanged(arg1); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQCanvas::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQCanvas::setBackgroundPixmap(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void addAnimation(TQCanvasItem* arg1) { - if (!QtSupport::eventDelegate(this,"addAnimation",(void*)arg1,"org.kde.qt.TQCanvasItem")) { - TQCanvas::addAnimation(arg1); + void addAnimation(TTQCanvasItem* arg1) { + if (!QtSupport::eventDelegate(this,"addAnimation",(void*)arg1,"org.kde.qt.TTQCanvasItem")) { + TTQCanvas::addAnimation(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void setUnchanged(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setUnchanged",(void*)&arg1,"org.kde.qt.TQRect")) { - TQCanvas::setUnchanged(arg1); + void setUnchanged(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setUnchanged",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQCanvas::setUnchanged(arg1); } return; } - void addView(TQCanvasView* arg1) { - if (!QtSupport::eventDelegate(this,"addView",(void*)arg1,"org.kde.qt.TQCanvasView")) { - TQCanvas::addView(arg1); + void addView(TTQCanvasView* arg1) { + if (!QtSupport::eventDelegate(this,"addView",(void*)arg1,"org.kde.qt.TTQCanvasView")) { + TTQCanvas::addView(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQCanvas::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQCanvas::setBackgroundColor(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQCanvas",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQCanvas",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void advance() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvas","advance")) { - TQCanvas::advance(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvas","advance")) { + TTQCanvas::advance(); } return; } @@ -161,71 +161,71 @@ public: 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->addAnimation((TTQCanvasItem*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->addItemToChunkContaining((TTQCanvasItem*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->addItemToChunk((TTQCanvasItem*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->addItem((TTQCanvasItem*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->addView((TTQCanvasView*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_advance(JNIEnv* env, jobject obj) { - ((QCanvasJBridge*) QtSupport::getQt(env, obj))->public_advance(); + ((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::arrayWithQCanvasItemList(env, (TQCanvasItemList*) &_qlist); + TTQCanvasItemList _qlist; + _qlist = ((TTQCanvas*) QtSupport::getQt(env, obj))->allItems(); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TTQCanvasItemList*) &_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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQCanvas*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TTQColor", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQCanvas*) QtSupport::getQt(env, obj))->backgroundPixmap()), "org.kde.qt.TTQPixmap", 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(); + jint xret = (jint) ((TTQCanvas*) QtSupport::getQt(env, obj))->chunkSize(); return xret; } @@ -233,32 +233,32 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvas_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQCanvas*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQCanvas*) 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::arrayWithQCanvasItemList(env, (TQCanvasItemList*) &_qlist); + TTQCanvasItemList _qlist; + _qlist = ((TTQCanvas*) QtSupport::getQt(env, obj))->collisions((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, pa), (const TTQCanvasItem*) QtSupport::getQt(env, item), (bool) exact); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TTQCanvasItemList*) &_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::arrayWithQCanvasItemList(env, (TQCanvasItemList*) &_qlist); + TTQCanvasItemList _qlist; + _qlist = ((TTQCanvas*) QtSupport::getQt(env, obj))->collisions((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TTQCanvasItemList*) &_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::arrayWithQCanvasItemList(env, (TQCanvasItemList*) &_qlist); + TTQCanvasItemList _qlist; + _qlist = ((TTQCanvas*) QtSupport::getQt(env, obj))->collisions((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1)); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TTQCanvasItemList*) &_qlist); } JNIEXPORT void JNICALL @@ -271,64 +271,64 @@ Java_org_kde_qt_QCanvas_dispose(JNIEnv* env, jobject obj) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQPainter*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawArea((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQPainter*) 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) { - ((QCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TTQRect&)*(const TTQRect*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQPainter*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawCanvasArea((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQPainter*) 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) { - ((QCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawForeground((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); + ((TQCanvasJBridge*) QtSupport::getQt(env, obj))->protected_drawForeground((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->drawViewArea((TTQCanvasView*) QtSupport::getQt(env, view), (TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQCanvas*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQCanvas*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -337,7 +337,7 @@ Java_org_kde_qt_QCanvas_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvas_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvas*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQCanvas*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -350,56 +350,56 @@ Java_org_kde_qt_QCanvas_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newQCanvas__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QCanvas_newTQCanvas__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasJBridge()); + QtSupport::setQt(env, obj, new TQCanvasJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newQCanvas__II(JNIEnv* env, jobject obj, jint w, jint h) +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 QCanvasJBridge((int) w, (int) h)); + 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_newQCanvas__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QCanvasJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQCanvasJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvas_newQCanvas__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQCanvasJBridge((TTQObject*) QtSupport::getQt(env, 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_newQCanvas__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jobject p, jint h, jint v, jint tilewidth, jint tileheight) +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 QCanvasJBridge((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, p), (int) h, (int) v, (int) tilewidth, (int) tileheight)); + QtSupport::setQt(env, obj, new TQCanvasJBridge((TTQPixmap)*(TTQPixmap*) QtSupport::getQt(env, p), (int) h, (int) v, (int) tilewidth, (int) tileheight)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -408,259 +408,259 @@ Java_org_kde_qt_QCanvas_newQCanvas__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobje 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); + jboolean xret = (jboolean) ((TTQCanvas*) 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)); + jboolean xret = (jboolean) ((TTQCanvas*) QtSupport::getQt(env, obj))->onCanvas((const TTQPoint&)*(const TTQPoint*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvas*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->removeAnimation((TTQCanvasItem*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunkContaining((TTQCanvasItem*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->removeItemFromChunk((TTQCanvasItem*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->removeItem((TTQCanvasItem*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->removeView((TTQCanvasView*) 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); + ((TTQCanvas*) 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); + ((TTQCanvas*) 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); + ((TTQCanvas*) 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); + jboolean xret = (jboolean) ((TTQCanvas*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setAdvancePeriod((int) ms); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_setAllChanged(JNIEnv* env, jobject obj) { - ((QCanvasJBridge*) QtSupport::getQt(env, obj))->public_setAllChanged(); + ((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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setBackgroundColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQCanvas*) 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); + ((TTQCanvas*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setChanged((const TTQRect&)*(const TTQRect*) 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); + ((TTQCanvas*) 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); + ((TTQCanvas*) 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); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setTiles((TTQPixmap)*(TTQPixmap*) 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)); + ((TTQCanvas*) QtSupport::getQt(env, obj))->setUnchanged((const TTQRect&)*(const TTQRect*) 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); + ((TTQCanvas*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQCanvas*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQCanvas*) 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(); + jint xret = (jint) ((TTQCanvas*) 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); + jint xret = (jint) ((TTQCanvas*) 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(); + jint xret = (jint) ((TTQCanvas*) 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(); + jint xret = (jint) ((TTQCanvas*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QCanvasJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QCanvasJBridge*) QtSupport::getQt(env, obj))->public_update(); + ((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); + jboolean xret = (jboolean) ((TTQCanvas*) 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)); + jboolean xret = (jboolean) ((TTQCanvas*) QtSupport::getQt(env, obj))->validChunk((const TTQPoint&)*(const TTQPoint*) 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(); + jint xret = (jint) ((TTQCanvas*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvas.h b/qtjava/javalib/qtjava/QCanvas.h index e08f9ffa..c8fd79fd 100644 --- a/qtjava/javalib/qtjava/QCanvas.h +++ b/qtjava/javalib/qtjava/QCanvas.h @@ -12,11 +12,11 @@ extern "C" 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_newQCanvas__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newQCanvas__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newQCanvas__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newQCanvas__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvas_newQCanvas__Lorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QCanvasEllipse.cpp b/qtjava/javalib/qtjava/QCanvasEllipse.cpp index 722b34a8..b83912a7 100644 --- a/qtjava/javalib/qtjava/QCanvasEllipse.cpp +++ b/qtjava/javalib/qtjava/QCanvasEllipse.cpp @@ -4,46 +4,46 @@ #include #include -#include +#include -class QCanvasEllipseJBridge : public QCanvasEllipse +class TQCanvasEllipseJBridge : public TQCanvasEllipse { public: - QCanvasEllipseJBridge(TQCanvas* arg1) : TQCanvasEllipse(arg1) {}; - QCanvasEllipseJBridge(int arg1,int arg2,TQCanvas* arg3) : TQCanvasEllipse(arg1,arg2,arg3) {}; - QCanvasEllipseJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasEllipse(arg1,arg2,arg3,arg4,arg5) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasEllipse::drawShape(arg1); + TQCanvasEllipseJBridge(TTQCanvas* arg1) : TTQCanvasEllipse(arg1) {}; + TQCanvasEllipseJBridge(int arg1,int arg2,TTQCanvas* arg3) : TTQCanvasEllipse(arg1,arg2,arg3) {}; + TQCanvasEllipseJBridge(int arg1,int arg2,int arg3,int arg4,TTQCanvas* arg5) : TTQCanvasEllipse(arg1,arg2,arg3,arg4,arg5) {}; + void protected_drawShape(TTQPainter& arg1) { + TTQCanvasEllipse::drawShape(arg1); return; } - ~QCanvasEllipseJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jint xret = (jint) ((TTQCanvasEllipse*) 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(); + jint xret = (jint) ((TTQCanvasEllipse*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasEllipse*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TTQPointArray", 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)); + jboolean xret = (jboolean) ((TTQCanvasEllipse*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) QtSupport::getQt(env, arg1)); return xret; } @@ -57,7 +57,7 @@ Java_org_kde_qt_QCanvasEllipse_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_drawShape(JNIEnv* env, jobject obj, jobject arg1) { - ((QCanvasEllipseJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCanvasEllipseJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1)); return; } @@ -65,7 +65,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasEllipse*)QtSupport::getQt(env, obj); + delete (TTQCanvasEllipse*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -74,7 +74,7 @@ Java_org_kde_qt_QCanvasEllipse_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQCanvasEllipse*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -85,30 +85,30 @@ Java_org_kde_qt_QCanvasEllipse_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jint startangle, jint angle, jobject canvas) +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 QCanvasEllipseJBridge((int) width, (int) height, (int) startangle, (int) angle, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (int) startangle, (int) angle, (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__IILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint width, jint height, jobject canvas) +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 QCanvasEllipseJBridge((int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((int) width, (int) height, (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +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 QCanvasEllipseJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasEllipseJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -117,28 +117,28 @@ Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__Lorg_kde_qt_QCanvas_2(JNIEnv* JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasEllipse_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasEllipse*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQCanvasEllipse*) 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); + ((TTQCanvasEllipse*) 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); + ((TTQCanvasEllipse*) 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(); + jint xret = (jint) ((TTQCanvasEllipse*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasEllipse.h b/qtjava/javalib/qtjava/QCanvasEllipse.h index 2217e279..d8f6f5ac 100644 --- a/qtjava/javalib/qtjava/QCanvasEllipse.h +++ b/qtjava/javalib/qtjava/QCanvasEllipse.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__IILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasEllipse_newQCanvasEllipse__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasItem.cpp b/qtjava/javalib/qtjava/QCanvasItem.cpp index a13c9f90..bdda1319 100644 --- a/qtjava/javalib/qtjava/QCanvasItem.cpp +++ b/qtjava/javalib/qtjava/QCanvasItem.cpp @@ -4,272 +4,272 @@ #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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasItem*) QtSupport::getQt(env, obj))->boundingRectAdvanced()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasItem*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TTQCanvas"); 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)); + jboolean xret = (jboolean) ((TTQCanvasItem*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) 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::arrayWithQCanvasItemList(env, (TQCanvasItemList*) &_qlist); + TTQCanvasItemList _qlist; + _qlist = ((TTQCanvasItem*) QtSupport::getQt(env, obj))->collisions((bool) exact); + return (jobject) QtSupport::arrayWithTQCanvasItemList(env, (TTQCanvasItemList*) &_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)); + ((TTQCanvasItem*) QtSupport::getQt(env, obj))->draw((TTQPainter&)*(TTQPainter*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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(); + ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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(); + jint xret = (jint) ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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)); + ((TTQCanvasItem*) QtSupport::getQt(env, obj))->setCanvas((TTQCanvas*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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); + ((TTQCanvasItem*) 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(); + ((TTQCanvasItem*) 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(); + jboolean xret = (jboolean) ((TTQCanvasItem*) 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(); + jdouble xret = (jdouble) ((TTQCanvasItem*) 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(); + jdouble xret = (jdouble) ((TTQCanvasItem*) 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(); + jdouble xret = (jdouble) ((TTQCanvasItem*) 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(); + jdouble xret = (jdouble) ((TTQCanvasItem*) 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(); + jdouble xret = (jdouble) ((TTQCanvasItem*) QtSupport::getQt(env, obj))->z(); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasLine.cpp b/qtjava/javalib/qtjava/QCanvasLine.cpp index 1329c430..fba664be 100644 --- a/qtjava/javalib/qtjava/QCanvasLine.cpp +++ b/qtjava/javalib/qtjava/QCanvasLine.cpp @@ -6,26 +6,26 @@ #include #include -#include +#include -class QCanvasLineJBridge : public QCanvasLine +class TQCanvasLineJBridge : public TQCanvasLine { public: - QCanvasLineJBridge(TQCanvas* arg1) : TQCanvasLine(arg1) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasLine::drawShape(arg1); + TQCanvasLineJBridge(TTQCanvas* arg1) : TTQCanvasLine(arg1) {}; + void protected_drawShape(TTQPainter& arg1) { + TTQCanvasLine::drawShape(arg1); return; } - TQPointArray protected_areaPoints() { - return (TQPointArray) TQCanvasLine::areaPoints(); + TTQPointArray protected_areaPoints() { + return (TTQPointArray) TTQCanvasLine::areaPoints(); } - ~QCanvasLineJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(((QCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_areaPoints()), "org.kde.qt.TQPointArray", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_areaPoints()), "org.kde.qt.TTQPointArray", TRUE); return xret; } @@ -39,14 +39,14 @@ Java_org_kde_qt_QCanvasLine_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_drawShape(JNIEnv* env, jobject obj, jobject arg1) { - ((QCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCanvasLineJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TTQPainter&)*(TTQPainter*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQCanvasLine*) QtSupport::getQt(env, obj))->endPoint()), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -54,7 +54,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasLine*)QtSupport::getQt(env, obj); + delete (TTQCanvasLine*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -69,15 +69,15 @@ Java_org_kde_qt_QCanvasLine_isDisposed(JNIEnv* env, jobject obj) 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); + ((TTQCanvasLine*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasLine_newQCanvasLine(JNIEnv* env, jobject obj, jobject canvas) +Java_org_kde_qt_QCanvasLine_newTQCanvasLine(JNIEnv* env, jobject obj, jobject canvas) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasLineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasLineJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -86,28 +86,28 @@ Java_org_kde_qt_QCanvasLine_newQCanvasLine(JNIEnv* env, jobject obj, jobject can JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasLine_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasLine*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQCanvasLine*) 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)); + ((TTQCanvasLine*) QtSupport::getQt(env, obj))->setPen((TTQPen)*(TTQPen*) 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); + ((TTQCanvasLine*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQCanvasLine*) QtSupport::getQt(env, obj))->startPoint()), "org.kde.qt.TTQPoint", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasLine.h b/qtjava/javalib/qtjava/QCanvasLine.h index 6d919e75..c3401b02 100644 --- a/qtjava/javalib/qtjava/QCanvasLine.h +++ b/qtjava/javalib/qtjava/QCanvasLine.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasLine_newQCanvasLine (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.cpp b/qtjava/javalib/qtjava/QCanvasPixmap.cpp index 650df137..af3d068e 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmap.cpp +++ b/qtjava/javalib/qtjava/QCanvasPixmap.cpp @@ -6,15 +6,15 @@ #include #include -#include +#include -class QCanvasPixmapJBridge : public QCanvasPixmap +class TQCanvasPixmapJBridge : public TQCanvasPixmap { public: - QCanvasPixmapJBridge(const TQString& arg1) : TQCanvasPixmap(arg1) {}; - QCanvasPixmapJBridge(const TQImage& arg1) : TQCanvasPixmap(arg1) {}; - QCanvasPixmapJBridge(const TQPixmap& arg1,const TQPoint& arg2) : TQCanvasPixmap(arg1,arg2) {}; - ~QCanvasPixmapJBridge() {QtSupport::qtKeyDeleted(this);} + TQCanvasPixmapJBridge(const TTQString& arg1) : TTQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TTQImage& arg1) : TTQCanvasPixmap(arg1) {}; + TQCanvasPixmapJBridge(const TTQPixmap& arg1,const TTQPoint& arg2) : TTQCanvasPixmap(arg1,arg2) {}; + ~TQCanvasPixmapJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -28,7 +28,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPixmap*)QtSupport::getQt(env, obj); + delete (TTQCanvasPixmap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -41,31 +41,31 @@ Java_org_kde_qt_QCanvasPixmap_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename) +Java_org_kde_qt_QCanvasPixmap_newTQCanvasPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilename) { -static TQString* _qstring_datafilename = 0; +static TTQString* _qstring_datafilename = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasPixmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, datafilename, &_qstring_datafilename))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilename, &_qstring_datafilename))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +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 QCanvasPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, image))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) +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 QCanvasPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot))); + QtSupport::setQt(env, obj, new TQCanvasPixmapJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, hotspot))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -74,21 +74,21 @@ Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasPixmap_offsetX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasPixmap*) QtSupport::getQt(env, obj))->offsetX(); + jint xret = (jint) ((TTQCanvasPixmap*) 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(); + jint xret = (jint) ((TTQCanvasPixmap*) 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); + ((TTQCanvasPixmap*) QtSupport::getQt(env, obj))->setOffset((int) x, (int) y); return; } diff --git a/qtjava/javalib/qtjava/QCanvasPixmap.h b/qtjava/javalib/qtjava/QCanvasPixmap.h index fdede711..87196204 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmap.h +++ b/qtjava/javalib/qtjava/QCanvasPixmap.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmap_newQCanvasPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp b/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp index 409ca593..e19786a7 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp +++ b/qtjava/javalib/qtjava/QCanvasPixmapArray.cpp @@ -4,21 +4,21 @@ #include #include -#include +#include -class QCanvasPixmapArrayJBridge : public QCanvasPixmapArray +class TQCanvasPixmapArrayJBridge : public TQCanvasPixmapArray { public: - QCanvasPixmapArrayJBridge() : TQCanvasPixmapArray() {}; - QCanvasPixmapArrayJBridge(const TQString& arg1,int arg2) : TQCanvasPixmapArray(arg1,arg2) {}; - QCanvasPixmapArrayJBridge(const TQString& arg1) : TQCanvasPixmapArray(arg1) {}; - ~QCanvasPixmapArrayJBridge() {QtSupport::qtKeyDeleted(this);} + TQCanvasPixmapArrayJBridge() : TTQCanvasPixmapArray() {}; + TQCanvasPixmapArrayJBridge(const TTQString& arg1,int arg2) : TTQCanvasPixmapArray(arg1,arg2) {}; + TQCanvasPixmapArrayJBridge(const TTQString& arg1) : TTQCanvasPixmapArray(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(); + jint xret = (jint) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -33,7 +33,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPixmapArray*)QtSupport::getQt(env, obj); + delete (TTQCanvasPixmapArray*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,7 +42,7 @@ Java_org_kde_qt_QCanvasPixmapArray_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->image((int) i), "org.kde.qt.TTQCanvasPixmap"); return xret; } @@ -55,37 +55,37 @@ Java_org_kde_qt_QCanvasPixmapArray_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge()); + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring datafilenamepattern) { -static TQString* _qstring_datafilenamepattern = 0; +static TTQString* _qstring_datafilenamepattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) +Java_org_kde_qt_QCanvasPixmapArray_newTQCanvasPixmapArray__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring datafilenamepattern, jint framecount) { -static TQString* _qstring_datafilenamepattern = 0; +static TTQString* _qstring_datafilenamepattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasPixmapArrayJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); + QtSupport::setQt(env, obj, new TQCanvasPixmapArrayJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -94,38 +94,38 @@ static TQString* _qstring_datafilenamepattern = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCanvasPixmapArray_op_1not(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQCanvasPixmapArray*) QtSupport::getQt(env, obj))->operator!(); + jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) 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::toQString(env, filenamepattern, &_qstring_filenamepattern)); +static TTQString* _qstring_filenamepattern = 0; + jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readCollisionMasks((const TTQString&)*(TTQString*) 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::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern)); +static TTQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TTQString&)*(TTQString*) 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::toQString(env, datafilenamepattern, &_qstring_datafilenamepattern), (int) framecount); +static TTQString* _qstring_datafilenamepattern = 0; + jboolean xret = (jboolean) ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->readPixmaps((const TTQString&)*(TTQString*) 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)); + ((TTQCanvasPixmapArray*) QtSupport::getQt(env, obj))->setImage((int) i, (TTQCanvasPixmap*) QtSupport::getQt(env, p)); return; } diff --git a/qtjava/javalib/qtjava/QCanvasPixmapArray.h b/qtjava/javalib/qtjava/QCanvasPixmapArray.h index 83716fb3..2ec6be3e 100644 --- a/qtjava/javalib/qtjava/QCanvasPixmapArray.h +++ b/qtjava/javalib/qtjava/QCanvasPixmapArray.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPixmapArray_newQCanvasPixmapArray__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QCanvasPolygon.cpp b/qtjava/javalib/qtjava/QCanvasPolygon.cpp index 9f104780..fd2c68a3 100644 --- a/qtjava/javalib/qtjava/QCanvasPolygon.cpp +++ b/qtjava/javalib/qtjava/QCanvasPolygon.cpp @@ -4,23 +4,23 @@ #include #include -#include +#include -class QCanvasPolygonJBridge : public QCanvasPolygon +class TQCanvasPolygonJBridge : public TQCanvasPolygon { public: - QCanvasPolygonJBridge(TQCanvas* arg1) : TQCanvasPolygon(arg1) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasPolygon::drawShape(arg1); + TQCanvasPolygonJBridge(TTQCanvas* arg1) : TTQCanvasPolygon(arg1) {}; + void protected_drawShape(TTQPainter& arg1) { + TTQCanvasPolygon::drawShape(arg1); return; } - ~QCanvasPolygonJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygon*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TTQPointArray", TRUE); return xret; } @@ -34,7 +34,7 @@ Java_org_kde_qt_QCanvasPolygon_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_drawShape(JNIEnv* env, jobject obj, jobject arg1) { - ((QCanvasPolygonJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCanvasPolygonJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1)); return; } @@ -42,7 +42,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasPolygon*)QtSupport::getQt(env, obj); + delete (TTQCanvasPolygon*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,15 +57,15 @@ Java_org_kde_qt_QCanvasPolygon_isDisposed(JNIEnv* env, jobject obj) 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); + ((TTQCanvasPolygon*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasPolygon_newQCanvasPolygon(JNIEnv* env, jobject obj, jobject canvas) +Java_org_kde_qt_QCanvasPolygon_newTQCanvasPolygon(JNIEnv* env, jobject obj, jobject canvas) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasPolygonJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasPolygonJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -74,21 +74,21 @@ Java_org_kde_qt_QCanvasPolygon_newQCanvasPolygon(JNIEnv* env, jobject obj, jobje 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygon*) QtSupport::getQt(env, obj))->points()), "org.kde.qt.TTQPointArray", 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(); + jint xret = (jint) ((TTQCanvasPolygon*) 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)); + ((TTQCanvasPolygon*) QtSupport::getQt(env, obj))->setPoints((TTQPointArray)*(TTQPointArray*) QtSupport::getQt(env, arg1)); return; } diff --git a/qtjava/javalib/qtjava/QCanvasPolygon.h b/qtjava/javalib/qtjava/QCanvasPolygon.h index 686d2b6f..01acb3e7 100644 --- a/qtjava/javalib/qtjava/QCanvasPolygon.h +++ b/qtjava/javalib/qtjava/QCanvasPolygon.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasPolygon_newQCanvasPolygon (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp b/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp index 97718db2..c43f369d 100644 --- a/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp +++ b/qtjava/javalib/qtjava/QCanvasPolygonalItem.cpp @@ -6,68 +6,68 @@ #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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPointsAdvanced()), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->brush()), "org.kde.qt.TTQBrush", 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)); + jboolean xret = (jboolean) ((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPen(((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->pen()), "org.kde.qt.TTQPen", 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(); + jint xret = (jint) ((TTQCanvasPolygonalItem*) 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)); + ((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setBrush((TTQBrush)*(TTQBrush*) 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)); + ((TTQCanvasPolygonalItem*) QtSupport::getQt(env, obj))->setPen((TTQPen)*(TTQPen*) QtSupport::getQt(env, p)); return; } diff --git a/qtjava/javalib/qtjava/QCanvasRectangle.cpp b/qtjava/javalib/qtjava/QCanvasRectangle.cpp index b395b6e6..f7daab2a 100644 --- a/qtjava/javalib/qtjava/QCanvasRectangle.cpp +++ b/qtjava/javalib/qtjava/QCanvasRectangle.cpp @@ -6,42 +6,42 @@ #include #include -#include +#include -class QCanvasRectangleJBridge : public QCanvasRectangle +class TQCanvasRectangleJBridge : public TQCanvasRectangle { public: - QCanvasRectangleJBridge(TQCanvas* arg1) : TQCanvasRectangle(arg1) {}; - QCanvasRectangleJBridge(const TQRect& arg1,TQCanvas* arg2) : TQCanvasRectangle(arg1,arg2) {}; - QCanvasRectangleJBridge(int arg1,int arg2,int arg3,int arg4,TQCanvas* arg5) : TQCanvasRectangle(arg1,arg2,arg3,arg4,arg5) {}; - void protected_drawShape(TQPainter& arg1) { - TQCanvasRectangle::drawShape(arg1); + TQCanvasRectangleJBridge(TTQCanvas* arg1) : TTQCanvasRectangle(arg1) {}; + TQCanvasRectangleJBridge(const TTQRect& arg1,TTQCanvas* arg2) : TTQCanvasRectangle(arg1,arg2) {}; + TQCanvasRectangleJBridge(int arg1,int arg2,int arg3,int arg4,TTQCanvas* arg5) : TTQCanvasRectangle(arg1,arg2,arg3,arg4,arg5) {}; + void protected_drawShape(TTQPainter& arg1) { + TTQCanvasRectangle::drawShape(arg1); return; } - TQPointArray protected_chunks() { - return (TQPointArray) TQCanvasRectangle::chunks(); + TTQPointArray protected_chunks() { + return (TTQPointArray) TTQCanvasRectangle::chunks(); } - ~QCanvasRectangleJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->areaPoints()), "org.kde.qt.TTQPointArray", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QCanvasRectangle_chunks(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((QCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_chunks()), "org.kde.qt.TQPointArray", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_chunks()), "org.kde.qt.TTQPointArray", 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)); + jboolean xret = (jboolean) ((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) QtSupport::getQt(env, arg1)); return xret; } @@ -55,7 +55,7 @@ Java_org_kde_qt_QCanvasRectangle_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_drawShape(JNIEnv* env, jobject obj, jobject arg1) { - ((QCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCanvasRectangleJBridge*) QtSupport::getQt(env, obj))->protected_drawShape((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1)); return; } @@ -63,7 +63,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasRectangle*)QtSupport::getQt(env, obj); + delete (TTQCanvasRectangle*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -72,7 +72,7 @@ Java_org_kde_qt_QCanvasRectangle_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasRectangle_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasRectangle*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -83,30 +83,30 @@ Java_org_kde_qt_QCanvasRectangle_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jint x, jint y, jint width, jint height, jobject canvas) +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 QCanvasRectangleJBridge((int) x, (int) y, (int) width, (int) height, (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((int) x, (int) y, (int) width, (int) height, (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +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 QCanvasRectangleJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject arg1, jobject canvas) +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 QCanvasRectangleJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasRectangleJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -115,35 +115,35 @@ Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kd 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQCanvasRectangle*) 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); + ((TTQCanvasRectangle*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQCanvasRectangle*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasRectangle.h b/qtjava/javalib/qtjava/QCanvasRectangle.h index 85a8d92e..d59cff4f 100644 --- a/qtjava/javalib/qtjava/QCanvasRectangle.h +++ b/qtjava/javalib/qtjava/QCanvasRectangle.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__Lorg_kde_qt_QRect_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasRectangle_newQCanvasRectangle__IIIILorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasSpline.cpp b/qtjava/javalib/qtjava/QCanvasSpline.cpp index 5bee3020..d6bffdf2 100644 --- a/qtjava/javalib/qtjava/QCanvasSpline.cpp +++ b/qtjava/javalib/qtjava/QCanvasSpline.cpp @@ -3,26 +3,26 @@ #include #include -#include +#include -class QCanvasSplineJBridge : public QCanvasSpline +class TQCanvasSplineJBridge : public TQCanvasSpline { public: - QCanvasSplineJBridge(TQCanvas* arg1) : TQCanvasSpline(arg1) {}; - ~QCanvasSplineJBridge() {QtSupport::qtKeyDeleted(this);} + TQCanvasSplineJBridge(TTQCanvas* arg1) : TTQCanvasSpline(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(); + jboolean xret = (jboolean) ((TTQCanvasSpline*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQCanvasSpline*) QtSupport::getQt(env, obj))->controlPoints()), "org.kde.qt.TTQPointArray", TRUE); return xret; } @@ -37,7 +37,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasSpline*)QtSupport::getQt(env, obj); + delete (TTQCanvasSpline*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -50,10 +50,10 @@ Java_org_kde_qt_QCanvasSpline_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSpline_newQCanvasSpline(JNIEnv* env, jobject obj, jobject canvas) +Java_org_kde_qt_QCanvasSpline_newTQCanvasSpline(JNIEnv* env, jobject obj, jobject canvas) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasSplineJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasSplineJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -62,21 +62,21 @@ Java_org_kde_qt_QCanvasSpline_newQCanvasSpline(JNIEnv* env, jobject obj, jobject JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSpline_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasSpline*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQCanvasSpline*) 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)); + ((TTQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TTQPointArray)*(TTQPointArray*) 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); + ((TTQCanvasSpline*) QtSupport::getQt(env, obj))->setControlPoints((TTQPointArray)*(TTQPointArray*) QtSupport::getQt(env, arg1), (bool) closed); return; } diff --git a/qtjava/javalib/qtjava/QCanvasSpline.h b/qtjava/javalib/qtjava/QCanvasSpline.h index 7ebe54d6..244e03b9 100644 --- a/qtjava/javalib/qtjava/QCanvasSpline.h +++ b/qtjava/javalib/qtjava/QCanvasSpline.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSpline_newQCanvasSpline (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasSprite.cpp b/qtjava/javalib/qtjava/QCanvasSprite.cpp index f557c126..28f8ef4c 100644 --- a/qtjava/javalib/qtjava/QCanvasSprite.cpp +++ b/qtjava/javalib/qtjava/QCanvasSprite.cpp @@ -4,51 +4,51 @@ #include #include -#include +#include -class QCanvasSpriteJBridge : public QCanvasSprite +class TQCanvasSpriteJBridge : public TQCanvasSprite { public: - QCanvasSpriteJBridge(TQCanvasPixmapArray* arg1,TQCanvas* arg2) : TQCanvasSprite(arg1,arg2) {}; + TQCanvasSpriteJBridge(TTQCanvasPixmapArray* arg1,TTQCanvas* arg2) : TTQCanvasSprite(arg1,arg2) {}; void public_setFrameAnimation() { - TQCanvasSprite::setFrameAnimation(); + TTQCanvasSprite::setFrameAnimation(); return; } - ~QCanvasSpriteJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + ((TTQCanvasSprite*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) 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); + jint xret = (jint) ((TTQCanvasSprite*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasSprite*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", 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)); + jboolean xret = (jboolean) ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) QtSupport::getQt(env, arg1)); return xret; } @@ -62,7 +62,7 @@ Java_org_kde_qt_QCanvasSprite_dispose(JNIEnv* env, jobject obj) 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)); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->draw((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, painter)); return; } @@ -70,7 +70,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasSprite*)QtSupport::getQt(env, obj); + delete (TTQCanvasSprite*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -79,42 +79,42 @@ Java_org_kde_qt_QCanvasSprite_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_frameCount(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->frameCount(); + jint xret = (jint) ((TTQCanvasSprite*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasSprite*) QtSupport::getQt(env, obj))->imageAdvanced(), "org.kde.qt.TTQCanvasPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasSprite*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TTQCanvasPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasSprite*) QtSupport::getQt(env, obj))->image((int) f), "org.kde.qt.TTQCanvasPixmap"); return xret; } @@ -127,36 +127,36 @@ Java_org_kde_qt_QCanvasSprite_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_leftEdge__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->leftEdge(); + jint xret = (jint) ((TTQCanvasSprite*) 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); + jint xret = (jint) ((TTQCanvasSprite*) 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); + ((TTQCanvasSprite*) 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); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->move((double) x, (double) y, (int) frame); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasSprite_newQCanvasSprite(JNIEnv* env, jobject obj, jobject array, jobject canvas) +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 QCanvasSpriteJBridge((TQCanvasPixmapArray*) QtSupport::getQt(env, array), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasSpriteJBridge((TTQCanvasPixmapArray*) QtSupport::getQt(env, array), (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -165,84 +165,84 @@ Java_org_kde_qt_QCanvasSprite_newQCanvasSprite(JNIEnv* env, jobject obj, jobject JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasSprite_rightEdge__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasSprite*) QtSupport::getQt(env, obj))->rightEdge(); + jint xret = (jint) ((TTQCanvasSprite*) 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); + jint xret = (jint) ((TTQCanvasSprite*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->rtti(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_setFrameAnimation__(JNIEnv* env, jobject obj) { - ((QCanvasSpriteJBridge*) QtSupport::getQt(env, obj))->public_setFrameAnimation(); + ((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); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TTQCanvasSprite::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); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TTQCanvasSprite::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); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->setFrameAnimation((TTQCanvasSprite::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); + ((TTQCanvasSprite*) 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)); + ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->setSequence((TTQCanvasPixmapArray*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) 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); + jint xret = (jint) ((TTQCanvasSprite*) 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(); + jint xret = (jint) ((TTQCanvasSprite*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasSprite.h b/qtjava/javalib/qtjava/QCanvasSprite.h index ee8639c5..53aeb2f8 100644 --- a/qtjava/javalib/qtjava/QCanvasSprite.h +++ b/qtjava/javalib/qtjava/QCanvasSprite.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasSprite_newQCanvasSprite (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCanvasText.cpp b/qtjava/javalib/qtjava/QCanvasText.cpp index bd4b2c6a..df11e6f7 100644 --- a/qtjava/javalib/qtjava/QCanvasText.cpp +++ b/qtjava/javalib/qtjava/QCanvasText.cpp @@ -7,39 +7,39 @@ #include #include -#include +#include -class QCanvasTextJBridge : public QCanvasText +class TQCanvasTextJBridge : public TQCanvasText { public: - QCanvasTextJBridge(TQCanvas* arg1) : TQCanvasText(arg1) {}; - QCanvasTextJBridge(const TQString& arg1,TQCanvas* arg2) : TQCanvasText(arg1,arg2) {}; - QCanvasTextJBridge(const TQString& arg1,TQFont arg2,TQCanvas* arg3) : TQCanvasText(arg1,arg2,arg3) {}; - void protected_draw(TQPainter& arg1) { - TQCanvasText::draw(arg1); + TQCanvasTextJBridge(TTQCanvas* arg1) : TTQCanvasText(arg1) {}; + TQCanvasTextJBridge(const TTQString& arg1,TTQCanvas* arg2) : TTQCanvasText(arg1,arg2) {}; + TQCanvasTextJBridge(const TTQString& arg1,TTQFont arg2,TTQCanvas* arg3) : TTQCanvasText(arg1,arg2,arg3) {}; + void protected_draw(TTQPainter& arg1) { + TTQCanvasText::draw(arg1); return; } - ~QCanvasTextJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQCanvasText*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", 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)); + jboolean xret = (jboolean) ((TTQCanvasText*) QtSupport::getQt(env, obj))->collidesWith((const TTQCanvasItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQCanvasText*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -53,7 +53,7 @@ Java_org_kde_qt_QCanvasText_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_draw(JNIEnv* env, jobject obj, jobject arg1) { - ((QCanvasTextJBridge*) QtSupport::getQt(env, obj))->protected_draw((TQPainter&)*(TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCanvasTextJBridge*) QtSupport::getQt(env, obj))->protected_draw((TTQPainter&)*(TTQPainter*) QtSupport::getQt(env, arg1)); return; } @@ -61,7 +61,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCanvasText*)QtSupport::getQt(env, obj); + delete (TTQCanvasText*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -70,7 +70,7 @@ Java_org_kde_qt_QCanvasText_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQCanvasText*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TTQFont", TRUE); return xret; } @@ -83,37 +83,37 @@ Java_org_kde_qt_QCanvasText_isDisposed(JNIEnv* env, jobject obj) 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); + ((TTQCanvasText*) QtSupport::getQt(env, obj))->moveBy((double) dx, (double) dy); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject canvas) +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; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jstring arg1, jobject arg2, jobject canvas) +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; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQFont)*(TQFont*) QtSupport::getQt(env, arg2), (TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQFont)*(TTQFont*) QtSupport::getQt(env, arg2), (TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasText_newQCanvasText__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject canvas) +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 QCanvasTextJBridge((TQCanvas*) QtSupport::getQt(env, canvas))); + QtSupport::setQt(env, obj, new TQCanvasTextJBridge((TTQCanvas*) QtSupport::getQt(env, canvas))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -122,51 +122,51 @@ Java_org_kde_qt_QCanvasText_newQCanvasText__Lorg_kde_qt_QCanvas_2(JNIEnv* env, j JNIEXPORT jint JNICALL Java_org_kde_qt_QCanvasText_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQCanvasText*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQCanvasText*) 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)); + ((TTQCanvasText*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQCanvasText*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQCanvasText*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQCanvasText*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQCanvasText*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQCanvasText*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QCanvasText.h b/qtjava/javalib/qtjava/QCanvasText.h index e16ca983..e37e542c 100644 --- a/qtjava/javalib/qtjava/QCanvasText.h +++ b/qtjava/javalib/qtjava/QCanvasText.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newQCanvasText__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newQCanvasText__Ljava_lang_String_2Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasText_newQCanvasText__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_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); diff --git a/qtjava/javalib/qtjava/QCanvasView.cpp b/qtjava/javalib/qtjava/QCanvasView.cpp index 58fa52f2..6ad3dd71 100644 --- a/qtjava/javalib/qtjava/QCanvasView.cpp +++ b/qtjava/javalib/qtjava/QCanvasView.cpp @@ -6,489 +6,489 @@ #include #include -#include +#include -class QCanvasViewJBridge : public QCanvasView +class TQCanvasViewJBridge : public TQCanvasView { public: - QCanvasViewJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQCanvasView(arg1,arg2,arg3) {}; - QCanvasViewJBridge(TQWidget* arg1,const char* arg2) : TQCanvasView(arg1,arg2) {}; - QCanvasViewJBridge(TQWidget* arg1) : TQCanvasView(arg1) {}; - QCanvasViewJBridge() : TQCanvasView() {}; - QCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQCanvasView(arg1,arg2,arg3,arg4) {}; - QCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2,const char* arg3) : TQCanvasView(arg1,arg2,arg3) {}; - QCanvasViewJBridge(TQCanvas* arg1,TQWidget* arg2) : TQCanvasView(arg1,arg2) {}; - QCanvasViewJBridge(TQCanvas* arg1) : TQCanvasView(arg1) {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQCanvasView::drawContents(arg1,arg2,arg3,arg4,arg5); + TQCanvasViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQCanvasView(arg1,arg2,arg3) {}; + TQCanvasViewJBridge(TTQWidget* arg1,const char* arg2) : TTQCanvasView(arg1,arg2) {}; + TQCanvasViewJBridge(TTQWidget* arg1) : TTQCanvasView(arg1) {}; + TQCanvasViewJBridge() : TTQCanvasView() {}; + TQCanvasViewJBridge(TTQCanvas* arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQCanvasView(arg1,arg2,arg3,arg4) {}; + TQCanvasViewJBridge(TTQCanvas* arg1,TTQWidget* arg2,const char* arg3) : TTQCanvasView(arg1,arg2,arg3) {}; + TQCanvasViewJBridge(TTQCanvas* arg1,TTQWidget* arg2) : TTQCanvasView(arg1,arg2) {}; + TQCanvasViewJBridge(TTQCanvas* arg1) : TTQCanvasView(arg1) {}; + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQCanvasView::drawContents(arg1,arg2,arg3,arg4,arg5); return; } - TQSize protected_sizeHint() { - return (TQSize) TQCanvasView::sizeHint(); + TTQSize protected_sizeHint() { + return (TTQSize) TTQCanvasView::sizeHint(); } - ~QCanvasViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQCanvasViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCanvasView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCanvasView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -497,7 +497,7 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasView*) QtSupport::getQt(env, obj))->canvas(), "org.kde.qt.TTQCanvas"); return xret; } @@ -505,7 +505,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQCanvasView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQCanvasView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -519,15 +519,15 @@ Java_org_kde_qt_QCanvasView_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_drawContents(JNIEnv* env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch) { - ((QCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQCanvasView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQCanvasView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -536,7 +536,7 @@ Java_org_kde_qt_QCanvasView_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQCanvasView*) QtSupport::getQt(env, obj))->inverseWorldMatrix(), "org.kde.qt.TTQWMatrix"); return xret; } @@ -549,89 +549,89 @@ Java_org_kde_qt_QCanvasView_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCanvasView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QCanvasView_newTQCanvasView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasViewJBridge()); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QCanvas_2(JNIEnv* env, jobject obj, jobject viewing) +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 QCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing))); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQCanvas*) QtSupport::getQt(env, viewing))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent) +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 QCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQCanvas*) QtSupport::getQt(env, viewing), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQCanvas*) QtSupport::getQt(env, viewing), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject viewing, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasViewJBridge((TQCanvas*) QtSupport::getQt(env, viewing), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQCanvas*) QtSupport::getQt(env, viewing), (TTQWidget*) 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_newQCanvasView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCanvasViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQCanvasViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -640,49 +640,49 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQCanvasView*) QtSupport::getQt(env, obj))->setCanvas((TTQCanvas*) 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)); + jboolean xret = (jboolean) ((TTQCanvasView*) QtSupport::getQt(env, obj))->setWorldMatrix((const TTQWMatrix&)*(const TTQWMatrix*) 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(((QCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQCanvasViewJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QCanvasView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QCanvasViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQCanvasView*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TTQWMatrix"); return xret; } diff --git a/qtjava/javalib/qtjava/QCanvasView.h b/qtjava/javalib/qtjava/QCanvasView.h index 41e8effe..cd509a9f 100644 --- a/qtjava/javalib/qtjava/QCanvasView.h +++ b/qtjava/javalib/qtjava/QCanvasView.h @@ -12,14 +12,14 @@ extern "C" 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_newQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newQCanvasView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newQCanvasView__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_newQCanvasView__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_newQCanvasView__Lorg_kde_qt_QCanvas_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCanvasView_newQCanvasView__Lorg_kde_qt_QCanvas_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QCheckBox.cpp b/qtjava/javalib/qtjava/QCheckBox.cpp index aabc14d6..58ddab83 100644 --- a/qtjava/javalib/qtjava/QCheckBox.cpp +++ b/qtjava/javalib/qtjava/QCheckBox.cpp @@ -5,384 +5,384 @@ #include #include -#include +#include -class QCheckBoxJBridge : public QCheckBox +class TQCheckBoxJBridge : public TQCheckBox { public: - QCheckBoxJBridge(TQWidget* arg1,const char* arg2) : TQCheckBox(arg1,arg2) {}; - QCheckBoxJBridge(TQWidget* arg1) : TQCheckBox(arg1) {}; - QCheckBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQCheckBox(arg1,arg2,arg3) {}; - QCheckBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQCheckBox(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQCheckBox::resizeEvent(arg1); + TQCheckBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQCheckBox(arg1,arg2) {}; + TQCheckBoxJBridge(TTQWidget* arg1) : TTQCheckBox(arg1) {}; + TQCheckBoxJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQCheckBox(arg1,arg2,arg3) {}; + TQCheckBoxJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQCheckBox(arg1,arg2) {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQCheckBox::resizeEvent(arg1); return; } - void protected_drawButton(TQPainter* arg1) { - TQCheckBox::drawButton(arg1); + void protected_drawButton(TTQPainter* arg1) { + TTQCheckBox::drawButton(arg1); return; } - void protected_drawButtonLabel(TQPainter* arg1) { - TQCheckBox::drawButtonLabel(arg1); + void protected_drawButtonLabel(TTQPainter* arg1) { + TTQCheckBox::drawButtonLabel(arg1); return; } void protected_updateMask() { - TQCheckBox::updateMask(); + TTQCheckBox::updateMask(); return; } - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQCheckBox::hitButton(arg1); + bool protected_hitButton(const TTQPoint& arg1) { + return (bool) TTQCheckBox::hitButton(arg1); } - ~QCheckBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQCheckBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQCheckBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQCheckBox::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQButton::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQButton::setAccel(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQButton::setPixmap(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQCheckBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQCheckBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQCheckBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQCheckBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -392,7 +392,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQCheckBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQCheckBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -406,22 +406,22 @@ Java_org_kde_qt_QCheckBox_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) { - ((QCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_drawButton(JNIEnv* env, jobject obj, jobject arg1) { - ((QCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQCheckBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQCheckBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -430,14 +430,14 @@ Java_org_kde_qt_QCheckBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_hitButton(JNIEnv* env, jobject obj, jobject pos) { - jboolean xret = (jboolean) ((QCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + jboolean xret = (jboolean) ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TTQPoint&)*(const TTQPoint*) 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(); + jboolean xret = (jboolean) ((TTQCheckBox*) QtSupport::getQt(env, obj))->isChecked(); return xret; } @@ -450,56 +450,56 @@ Java_org_kde_qt_QCheckBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckBox_isTristate(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQCheckBox*) QtSupport::getQt(env, obj))->isTristate(); + jboolean xret = (jboolean) ((TTQCheckBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCheckBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQCheckBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQCheckBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newQCheckBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQCheckBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckBox_newQCheckBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQCheckBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -508,70 +508,70 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQCheckBox*) 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(); + ((TTQCheckBox*) 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(); + ((TTQCheckBox*) 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); + ((TTQCheckBox*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQCheckBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QCheckBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QCheckBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((TQCheckBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); return; } diff --git a/qtjava/javalib/qtjava/QCheckBox.h b/qtjava/javalib/qtjava/QCheckBox.h index 45225cb9..e690ba59 100644 --- a/qtjava/javalib/qtjava/QCheckBox.h +++ b/qtjava/javalib/qtjava/QCheckBox.h @@ -12,10 +12,10 @@ extern "C" 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_newQCheckBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newQCheckBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckBox_newQCheckBox__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_newQCheckBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, 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); diff --git a/qtjava/javalib/qtjava/QCheckListItem.cpp b/qtjava/javalib/qtjava/QCheckListItem.cpp index 6d6d6078..74c366e3 100644 --- a/qtjava/javalib/qtjava/QCheckListItem.cpp +++ b/qtjava/javalib/qtjava/QCheckListItem.cpp @@ -7,44 +7,44 @@ #include #include -#include +#include -class QCheckListItemJBridge : public QCheckListItem +class TQCheckListItemJBridge : public TQCheckListItem { public: - QCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQCheckListItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - QCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - QCheckListItemJBridge(TQCheckListItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - QCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - QCheckListItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListView* arg1,const TQString& arg2,TQCheckListItem::Type arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListView* arg1,const TQString& arg2) : TQCheckListItem(arg1,arg2) {}; - QCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3,TQCheckListItem::Type arg4) : TQCheckListItem(arg1,arg2,arg3,arg4) {}; - QCheckListItemJBridge(TQListView* arg1,TQListViewItem* arg2,const TQString& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListViewItem* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; - QCheckListItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQCheckListItem* arg1,const TTQString& arg2,TTQCheckListItem::Type arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQCheckListItem* arg1,const TTQString& arg2) : TTQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TTQCheckListItem* arg1,TTQListViewItem* arg2,const TTQString& arg3,TTQCheckListItem::Type arg4) : TTQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TTQCheckListItem* arg1,TTQListViewItem* arg2,const TTQString& arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListViewItem* arg1,const TTQString& arg2,TTQCheckListItem::Type arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListViewItem* arg1,const TTQString& arg2) : TTQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,const TTQString& arg3,TTQCheckListItem::Type arg4) : TTQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,const TTQString& arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListView* arg1,const TTQString& arg2,TTQCheckListItem::Type arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListView* arg1,const TTQString& arg2) : TTQCheckListItem(arg1,arg2) {}; + TQCheckListItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,const TTQString& arg3,TTQCheckListItem::Type arg4) : TTQCheckListItem(arg1,arg2,arg3,arg4) {}; + TQCheckListItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,const TTQString& arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListViewItem* arg1,const TTQString& arg2,const TTQPixmap& arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; + TQCheckListItemJBridge(TTQListView* arg1,const TTQString& arg2,const TTQPixmap& arg3) : TTQCheckListItem(arg1,arg2,arg3) {}; void protected_activate() { - TQCheckListItem::activate(); + TTQCheckListItem::activate(); return; } void protected_turnOffChild() { - TQCheckListItem::turnOffChild(); + TTQCheckListItem::turnOffChild(); return; } void protected_stateChange(bool arg1) { - TQCheckListItem::stateChange(arg1); + TTQCheckListItem::stateChange(arg1); return; } - ~QCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQCheckListItemJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_activate(JNIEnv* env, jobject obj) { - ((QCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); + ((TQCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); return; } @@ -58,8 +58,8 @@ Java_org_kde_qt_QCheckListItem_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQCheckListItem*)(TTQCheckListItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TTQCheckListItem*)(TTQCheckListItem*)QtSupport::getQt(env, obj))->listView() == 0) { + delete (TTQCheckListItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -74,166 +74,166 @@ Java_org_kde_qt_QCheckListItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckListItem_isOn(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQCheckListItem*) QtSupport::getQt(env, obj))->isOn(); + jboolean xret = (jboolean) ((TTQCheckListItem*) 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(); + jboolean xret = (jboolean) ((TTQCheckListItem*) QtSupport::getQt(env, obj))->isTristate(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQCheckListItem*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQCheckListItem*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQCheckListItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQCheckListItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQCheckListItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring text, jint arg3) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg3)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject arg3) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg3))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jint arg4) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckListItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQCheckListItem::Type) arg4)); + QtSupport::setQt(env, obj, new TQCheckListItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQCheckListItem::Type) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -242,100 +242,100 @@ static TQString* _qstring_text = 0; 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); + ((TTQCheckListItem*) QtSupport::getQt(env, obj))->paintCell((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQCheckListItem*) QtSupport::getQt(env, obj))->paintFocus((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQRect&)*(const TTQRect*) 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(); + jint xret = (jint) ((TTQCheckListItem*) 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); + ((TTQCheckListItem*) 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); + ((TTQCheckListItem*) QtSupport::getQt(env, obj))->setState((TTQCheckListItem::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); + ((TTQCheckListItem*) 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(); + ((TTQCheckListItem*) QtSupport::getQt(env, obj))->setup(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_stateChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_stateChange((bool) 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(); + jint xret = (jint) ((TTQCheckListItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQCheckListItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQCheckListItem*) 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) { - ((QCheckListItemJBridge*) QtSupport::getQt(env, obj))->protected_turnOffChild(); + ((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(); + jint xret = (jint) ((TTQCheckListItem*) 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); + jint xret = (jint) ((TTQCheckListItem*) QtSupport::getQt(env, obj))->width((const TTQFontMetrics&)*(const TTQFontMetrics*) QtSupport::getQt(env, arg1), (const TTQListView*) QtSupport::getQt(env, arg2), (int) column); return xret; } diff --git a/qtjava/javalib/qtjava/QCheckListItem.h b/qtjava/javalib/qtjava/QCheckListItem.h index 24334be9..5a56080c 100644 --- a/qtjava/javalib/qtjava/QCheckListItem.h +++ b/qtjava/javalib/qtjava/QCheckListItem.h @@ -10,20 +10,20 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QCheckListItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__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_newQCheckListItem__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_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__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_newQCheckListItem__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_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckListItem_newQCheckListItem__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_newQCheckListItem__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_newQCheckListItem__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_newQCheckListItem__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_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); diff --git a/qtjava/javalib/qtjava/QCheckTableItem.cpp b/qtjava/javalib/qtjava/QCheckTableItem.cpp index c228be50..c67189c9 100644 --- a/qtjava/javalib/qtjava/QCheckTableItem.cpp +++ b/qtjava/javalib/qtjava/QCheckTableItem.cpp @@ -6,19 +6,19 @@ #include #include -#include +#include -class QCheckTableItemJBridge : public QCheckTableItem +class TQCheckTableItemJBridge : public TQCheckTableItem { public: - QCheckTableItemJBridge(TQTable* arg1,const TQString& arg2) : TQCheckTableItem(arg1,arg2) {}; - ~QCheckTableItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQCheckTableItemJBridge(TTQTable* arg1,const TTQString& arg2) : TTQCheckTableItem(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCheckTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TTQWidget"); return xret; } @@ -32,8 +32,8 @@ Java_org_kde_qt_QCheckTableItem_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQTableItem*)(TTQCheckTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TTQCheckTableItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,7 +42,7 @@ Java_org_kde_qt_QCheckTableItem_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QCheckTableItem_isChecked(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQCheckTableItem*) QtSupport::getQt(env, obj))->isChecked(); + jboolean xret = (jboolean) ((TTQCheckTableItem*) QtSupport::getQt(env, obj))->isChecked(); return xret; } @@ -53,11 +53,11 @@ Java_org_kde_qt_QCheckTableItem_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCheckTableItem_newQCheckTableItem(JNIEnv* env, jobject obj, jobject table, jstring txt) +Java_org_kde_qt_QCheckTableItem_newTQCheckTableItem(JNIEnv* env, jobject obj, jobject table, jstring txt) { -static TQString* _qstring_txt = 0; +static TTQString* _qstring_txt = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCheckTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQString&)*(TQString*) QtSupport::toQString(env, txt, &_qstring_txt))); + QtSupport::setQt(env, obj, new TQCheckTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -66,43 +66,43 @@ static TQString* _qstring_txt = 0; 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); + ((TTQCheckTableItem*) QtSupport::getQt(env, obj))->paint((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQRect&)*(const TTQRect*) 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(); + jint xret = (jint) ((TTQCheckTableItem*) 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); + ((TTQCheckTableItem*) 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)); + ((TTQCheckTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TTQWidget*) 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::toQString(env, t, &_qstring_t)); +static TTQString* _qstring_t = 0; + ((TTQCheckTableItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQCheckTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QCheckTableItem.h b/qtjava/javalib/qtjava/QCheckTableItem.h index 11747797..303192ec 100644 --- a/qtjava/javalib/qtjava/QCheckTableItem.h +++ b/qtjava/javalib/qtjava/QCheckTableItem.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCheckTableItem_newQCheckTableItem (JNIEnv *env, jobject, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QChildEvent.cpp b/qtjava/javalib/qtjava/QChildEvent.cpp index 87018d7f..7393900c 100644 --- a/qtjava/javalib/qtjava/QChildEvent.cpp +++ b/qtjava/javalib/qtjava/QChildEvent.cpp @@ -2,19 +2,19 @@ #include #include -#include +#include -class QChildEventJBridge : public QChildEvent +class TQChildEventJBridge : public TQChildEvent { public: - QChildEventJBridge(TQEvent::Type arg1,TQObject* arg2) : TQChildEvent(arg1,arg2) {}; - ~QChildEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQChildEventJBridge(TTQEvent::Type arg1,TTQObject* arg2) : TTQChildEvent(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQChildEvent*) QtSupport::getQt(env, obj))->child(), "org.kde.qt.TTQObject"); return xret; } @@ -29,7 +29,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQChildEvent*)QtSupport::getQt(env, obj); + delete (TTQChildEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,7 +38,7 @@ Java_org_kde_qt_QChildEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_inserted(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->inserted(); + jboolean xret = (jboolean) ((TTQChildEvent*) QtSupport::getQt(env, obj))->inserted(); return xret; } @@ -49,10 +49,10 @@ Java_org_kde_qt_QChildEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QChildEvent_newQChildEvent(JNIEnv* env, jobject obj, jint type, jobject child) +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 QChildEventJBridge((TQEvent::Type) type, (TQObject*) QtSupport::getQt(env, child))); + QtSupport::setQt(env, obj, new TQChildEventJBridge((TTQEvent::Type) type, (TTQObject*) QtSupport::getQt(env, child))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -61,7 +61,7 @@ Java_org_kde_qt_QChildEvent_newQChildEvent(JNIEnv* env, jobject obj, jint type, JNIEXPORT jboolean JNICALL Java_org_kde_qt_QChildEvent_removed(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQChildEvent*) QtSupport::getQt(env, obj))->removed(); + jboolean xret = (jboolean) ((TTQChildEvent*) QtSupport::getQt(env, obj))->removed(); return xret; } diff --git a/qtjava/javalib/qtjava/QChildEvent.h b/qtjava/javalib/qtjava/QChildEvent.h index e90291a9..f54e60f5 100644 --- a/qtjava/javalib/qtjava/QChildEvent.h +++ b/qtjava/javalib/qtjava/QChildEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QChildEvent_newQChildEvent (JNIEnv *env, jobject, jint, jobject); +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); diff --git a/qtjava/javalib/qtjava/QClassInfo.cpp b/qtjava/javalib/qtjava/QClassInfo.cpp index 8525b655..7cf9a0ad 100644 --- a/qtjava/javalib/qtjava/QClassInfo.cpp +++ b/qtjava/javalib/qtjava/QClassInfo.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QClassInfoJBridge : public QClassInfo +class TQClassInfoJBridge : public TQClassInfo { public: - QClassInfoJBridge() : QClassInfo() {}; - ~QClassInfoJBridge() {QtSupport::qtKeyDeleted(this);} + TQClassInfoJBridge() : TQClassInfo() {}; + ~TQClassInfoJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QClassInfo*)QtSupport::getQt(env, obj); + delete (TQClassInfo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QClassInfo_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QClassInfo_newQClassInfo(JNIEnv* env, jobject obj) +Java_org_kde_qt_QClassInfo_newTQClassInfo(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QClassInfoJBridge()); + 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 index e3b9fefd..919fa9e0 100644 --- a/qtjava/javalib/qtjava/QClassInfo.h +++ b/qtjava/javalib/qtjava/QClassInfo.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QClassInfo_newQClassInfo (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QClipboard.cpp b/qtjava/javalib/qtjava/QClipboard.cpp index 1177cf5c..2983d53e 100644 --- a/qtjava/javalib/qtjava/QClipboard.cpp +++ b/qtjava/javalib/qtjava/QClipboard.cpp @@ -6,232 +6,232 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QClipboard_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->className(); + _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) { - ((QClipboard*) QtSupport::getQt(env, obj))->clear(); + ((TQClipboard*) QtSupport::getQt(env, obj))->clear(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_clear__I(JNIEnv* env, jobject obj, jint mode) { - ((QClipboard*) QtSupport::getQt(env, obj))->clear((QClipboard::Mode) 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*)((QClipboard*) QtSupport::getQt(env, obj))->data(), "org.kde.qt.QMimeSourceInterface"); + 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*)((QClipboard*) QtSupport::getQt(env, obj))->data((QClipboard::Mode) mode), "org.kde.qt.QMimeSourceInterface"); + 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(((QClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image()), "org.kde.qt.TTQImage", 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(((QClipboard*) QtSupport::getQt(env, obj))->image((QClipboard::Mode) mode)), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TQClipboard*) QtSupport::getQt(env, obj))->image((TQClipboard::Mode) mode)), "org.kde.qt.TTQImage", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QClipboard_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQClipboard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_ownsClipboard(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QClipboard*) QtSupport::getQt(env, obj))->ownsClipboard(); + 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) ((QClipboard*) QtSupport::getQt(env, obj))->ownsSelection(); + 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(((QClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TTQPixmap", 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(((QClipboard*) QtSupport::getQt(env, obj))->pixmap((QClipboard::Mode) mode)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TQClipboard*) QtSupport::getQt(env, obj))->pixmap((TQClipboard::Mode) mode)), "org.kde.qt.TTQPixmap", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QClipboard_selectionModeEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QClipboard*) QtSupport::getQt(env, obj))->selectionModeEnabled(); + 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1)); + ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TTQMimeSource*) 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setData((TQMimeSource*) QtSupport::mimeSource(env, arg1), (QClipboard::Mode) mode); + ((TQClipboard*) QtSupport::getQt(env, obj))->setData((TTQMimeSource*) 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)); + ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TTQImage&)*(const TTQImage*) 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode); + ((TQClipboard*) QtSupport::getQt(env, obj))->setImage((const TTQImage&)*(const TTQImage*) 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); + ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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) { - ((QClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (QClipboard::Mode) mode); + ((TQClipboard*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1), (TQClipboard::Mode) mode); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QClipboard_setSelectionMode(JNIEnv* env, jobject obj, jboolean enable) { - ((QClipboard*) QtSupport::getQt(env, obj))->setSelectionMode((bool) 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; - ((QClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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; - ((QClipboard*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (QClipboard::Mode) mode); +static TTQString* _qstring_arg1 = 0; + ((TQClipboard*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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) ((QClipboard*) QtSupport::getQt(env, obj))->supportsSelection(); + 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 = ((QClipboard*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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 = ((QClipboard*) QtSupport::getQt(env, obj))->text((QClipboard::Mode) mode); - return QtSupport::fromQString(env, &_qstring); + TTQString _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; + TTQString _qstring; +static TTQCString* _qcstring_subtype = 0; if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); + _qcstring_subtype = new TTQCString(); } - _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype); - QtSupport::fromQCStringToStringBuffer(env, _qcstring_subtype, subtype); - return QtSupport::fromQString(env, &_qstring); + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TTQCString&)*(TTQCString*) _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; + TTQString _qstring; +static TTQCString* _qcstring_subtype = 0; if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); + _qcstring_subtype = new TTQCString(); } - _qstring = ((QClipboard*) QtSupport::getQt(env, obj))->text((TQCString&)*(TQCString*) _qcstring_subtype, (QClipboard::Mode) mode); - QtSupport::fromQCStringToStringBuffer(env, _qcstring_subtype, subtype); - return QtSupport::fromQString(env, &_qstring); + _qstring = ((TQClipboard*) QtSupport::getQt(env, obj))->text((TTQCString&)*(TTQCString*) _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QClipboard::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QCloseEvent.cpp b/qtjava/javalib/qtjava/QCloseEvent.cpp index 665298cf..d07f532a 100644 --- a/qtjava/javalib/qtjava/QCloseEvent.cpp +++ b/qtjava/javalib/qtjava/QCloseEvent.cpp @@ -2,19 +2,19 @@ #include #include -#include +#include -class QCloseEventJBridge : public QCloseEvent +class TQCloseEventJBridge : public TQCloseEvent { public: - QCloseEventJBridge() : TQCloseEvent() {}; - ~QCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQCloseEventJBridge() : TTQCloseEvent() {}; + ~TQCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_accept(JNIEnv* env, jobject obj) { - ((TQCloseEvent*) QtSupport::getQt(env, obj))->accept(); + ((TTQCloseEvent*) QtSupport::getQt(env, obj))->accept(); return; } @@ -29,7 +29,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCloseEvent*)QtSupport::getQt(env, obj); + delete (TTQCloseEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,14 +38,14 @@ Java_org_kde_qt_QCloseEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_ignore(JNIEnv* env, jobject obj) { - ((TQCloseEvent*) QtSupport::getQt(env, obj))->ignore(); + ((TTQCloseEvent*) 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(); + jboolean xret = (jboolean) ((TTQCloseEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -56,10 +56,10 @@ Java_org_kde_qt_QCloseEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCloseEvent_newQCloseEvent(JNIEnv* env, jobject obj) +Java_org_kde_qt_QCloseEvent_newTQCloseEvent(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCloseEventJBridge()); + 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 index 441f6989..391b75e3 100644 --- a/qtjava/javalib/qtjava/QCloseEvent.h +++ b/qtjava/javalib/qtjava/QCloseEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCloseEvent_newQCloseEvent (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QColor.cpp b/qtjava/javalib/qtjava/QColor.cpp index 8c10e0fc..a217ef09 100644 --- a/qtjava/javalib/qtjava/QColor.cpp +++ b/qtjava/javalib/qtjava/QColor.cpp @@ -5,32 +5,32 @@ #include #include -#include +#include -class QColorJBridge : public QColor +class TQColorJBridge : public TQColor { public: - QColorJBridge() : TQColor() {}; - QColorJBridge(int arg1,int arg2,int arg3) : TQColor(arg1,arg2,arg3) {}; - QColorJBridge(int arg1,int arg2,int arg3,TQColor::Spec arg4) : TQColor(arg1,arg2,arg3,arg4) {}; - QColorJBridge(QRgb arg1,uint arg2) : TQColor(arg1,arg2) {}; - QColorJBridge(QRgb arg1) : TQColor(arg1) {}; - QColorJBridge(const TQString& arg1) : TQColor(arg1) {}; - QColorJBridge(const TQColor& arg1) : TQColor(arg1) {}; - ~QColorJBridge() {QtSupport::qtKeyDeleted(this);} + TQColorJBridge() : TTQColor() {}; + TQColorJBridge(int arg1,int arg2,int arg3) : TTQColor(arg1,arg2,arg3) {}; + TQColorJBridge(int arg1,int arg2,int arg3,TTQColor::Spec arg4) : TTQColor(arg1,arg2,arg3,arg4) {}; + TQColorJBridge(TQRgb arg1,uint arg2) : TTQColor(arg1,arg2) {}; + TQColorJBridge(TQRgb arg1) : TTQColor(arg1) {}; + TQColorJBridge(const TTQString& arg1) : TTQColor(arg1) {}; + TQColorJBridge(const TTQColor& arg1) : TTQColor(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(); + jint xret = (jint) ((TTQColor*) 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(); + jint xret = (jint) ((TTQColor*) QtSupport::getQt(env, obj))->blue(); return xret; } @@ -39,17 +39,17 @@ Java_org_kde_qt_QColor_cleanup(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QColorJBridge::cleanup(); + TQColorJBridge::cleanup(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QColor_colorNames(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QColorJBridge::colorNames(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQColorJBridge::colorNames(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jint JNICALL @@ -57,21 +57,21 @@ Java_org_kde_qt_QColor_currentAllocContext(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QColorJBridge::currentAllocContext(); + 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQColor*) QtSupport::getQt(env, obj))->dark()), "org.kde.qt.TTQColor", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQColor*) QtSupport::getQt(env, obj))->dark((int) f)), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -80,7 +80,7 @@ Java_org_kde_qt_QColor_destroyAllocContext(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - QColorJBridge::destroyAllocContext((int) arg1); + TQColorJBridge::destroyAllocContext((int) arg1); return; } @@ -96,7 +96,7 @@ Java_org_kde_qt_QColor_enterAllocContext(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QColorJBridge::enterAllocContext(); + jint xret = (jint) TQColorJBridge::enterAllocContext(); return xret; } @@ -104,7 +104,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QColor_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQColor*)QtSupport::getQt(env, obj); + delete (TTQColor*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -116,7 +116,7 @@ Java_org_kde_qt_QColor_getHsv(JNIEnv* env, jobject obj, jintArray h, jintArray s 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); + ((TTQColor*) 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); @@ -129,7 +129,7 @@ Java_org_kde_qt_QColor_getRgb(JNIEnv* env, jobject obj, jintArray r, jintArray g 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); + ((TTQColor*) 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); @@ -139,7 +139,7 @@ Java_org_kde_qt_QColor_getRgb(JNIEnv* env, jobject obj, jintArray r, jintArray g JNIEXPORT jint JNICALL Java_org_kde_qt_QColor_green(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQColor*) QtSupport::getQt(env, obj))->green(); + jint xret = (jint) ((TTQColor*) QtSupport::getQt(env, obj))->green(); return xret; } @@ -149,7 +149,7 @@ Java_org_kde_qt_QColor_hsv(JNIEnv* env, jobject obj, jintArray h, jintArray s, j 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); + ((TTQColor*) 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); @@ -161,14 +161,14 @@ Java_org_kde_qt_QColor_initialize(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QColorJBridge::initialize(); + 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(); + jboolean xret = (jboolean) ((TTQColor*) QtSupport::getQt(env, obj))->isDirty(); return xret; } @@ -181,7 +181,7 @@ Java_org_kde_qt_QColor_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColor_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQColor*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TTQColor*) QtSupport::getQt(env, obj))->isValid(); return xret; } @@ -190,21 +190,21 @@ Java_org_kde_qt_QColor_leaveAllocContext(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QColorJBridge::leaveAllocContext(); + 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQColor*) QtSupport::getQt(env, obj))->light()), "org.kde.qt.TTQColor", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQColor*) QtSupport::getQt(env, obj))->light((int) f)), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -213,84 +213,84 @@ Java_org_kde_qt_QColor_maxColors(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QColorJBridge::maxColors(); + 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQColor*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newQColor__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QColor_newTQColor__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorJBridge()); + QtSupport::setQt(env, obj, new TQColorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newQColor__I(JNIEnv* env, jobject obj, jint rgb) +Java_org_kde_qt_QColor_newTQColor__I(JNIEnv* env, jobject obj, jint rgb) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorJBridge((QRgb) rgb)); + 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_newQColor__II(JNIEnv* env, jobject obj, jint rgb, jint pixel) +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 QColorJBridge((QRgb) rgb, (uint) pixel)); + 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_newQColor__III(JNIEnv* env, jobject obj, jint r, jint g, jint b) +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 QColorJBridge((int) r, (int) g, (int) b)); + 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_newQColor__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint z, jint arg4) +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 QColorJBridge((int) x, (int) y, (int) z, (TQColor::Spec) arg4)); + QtSupport::setQt(env, obj, new TQColorJBridge((int) x, (int) y, (int) z, (TTQColor::Spec) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newQColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QColor_newTQColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQColorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColor_newQColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +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 QColorJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQColorJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -301,42 +301,42 @@ Java_org_kde_qt_QColor_numBitPlanes(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QColorJBridge::numBitPlanes(); + 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)); + jboolean xret = (jboolean) ((TTQColor*) QtSupport::getQt(env, obj))->operator==((const TTQColor&)*(const TTQColor*) 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)); + jboolean xret = (jboolean) ((TTQColor*) QtSupport::getQt(env, obj))->operator!=((const TTQColor&)*(const TTQColor*) 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(); + jint xret = (jint) ((TTQColor*) 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(); + jint xret = (jint) ((TTQColor*) 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(); + jint xret = (jint) ((TTQColor*) QtSupport::getQt(env, obj))->rgb(); return xret; } @@ -346,7 +346,7 @@ Java_org_kde_qt_QColor_rgb___3I_3I_3I(JNIEnv* env, jobject obj, jintArray r, jin 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); + ((TTQColor*) 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); @@ -356,29 +356,29 @@ Java_org_kde_qt_QColor_rgb___3I_3I_3I(JNIEnv* env, jobject obj, jintArray r, jin 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); + ((TTQColor*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQColor*) QtSupport::getQt(env, obj))->setNamedColor((const TTQString&)*(TTQString*) 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((QRgb) rgb); + ((TTQColor*) 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); + ((TTQColor*) 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 index 0a03abae..c5a2e803 100644 --- a/qtjava/javalib/qtjava/QColor.h +++ b/qtjava/javalib/qtjava/QColor.h @@ -10,13 +10,13 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColor_newQColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QColorDialog.cpp b/qtjava/javalib/qtjava/QColorDialog.cpp index 376a1933..1ac0f2f3 100644 --- a/qtjava/javalib/qtjava/QColorDialog.cpp +++ b/qtjava/javalib/qtjava/QColorDialog.cpp @@ -5,13 +5,13 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QColorDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQColorDialog*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -20,7 +20,7 @@ Java_org_kde_qt_QColorDialog_customColor(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - jint xret = (jint) QColorDialog::customColor((int) arg1); + jint xret = (jint) TQColorDialog::customColor((int) arg1); return xret; } @@ -29,7 +29,7 @@ Java_org_kde_qt_QColorDialog_customCount(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QColorDialog::customCount(); + jint xret = (jint) TQColorDialog::customCount(); return xret; } @@ -37,7 +37,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_getColor__(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(QColorDialog::getColor()), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(TQColorDialog::getColor()), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -45,7 +45,7 @@ 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(QColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init))), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(TQColorDialog::getColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, init))), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -53,7 +53,7 @@ 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(QColorDialog::getColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, init), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(TQColorDialog::getColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, init), (TTQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -61,8 +61,8 @@ 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(QColorDialog::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); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(TQColorDialog::getColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, init), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQColor", TRUE); return xret; } @@ -71,7 +71,7 @@ Java_org_kde_qt_QColorDialog_getRgba__I(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - jint xret = (jint) QColorDialog::getRgba((QRgb) arg1); + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1); return xret; } @@ -80,7 +80,7 @@ Java_org_kde_qt_QColorDialog_getRgba__I_3Z(JNIEnv* env, jclass cls, jint arg1, j { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) QColorDialog::getRgba((QRgb) arg1, (bool*) _bool_ok); + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -90,7 +90,7 @@ Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jcl { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) QColorDialog::getRgba((QRgb) arg1, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -100,8 +100,8 @@ Java_org_kde_qt_QColorDialog_getRgba__I_3ZLorg_kde_qt_QWidget_2Ljava_lang_String { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jint xret = (jint) QColorDialog::getRgba((QRgb) arg1, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TTQCString* _qstring_name = 0; + jint xret = (jint) TQColorDialog::getRgba((TQRgb) arg1, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -109,7 +109,7 @@ static TQCString* _qstring_name = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QColorDialog_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } @@ -118,7 +118,7 @@ Java_org_kde_qt_QColorDialog_setCustomColor(JNIEnv* env, jclass cls, jint arg1, { (void) cls; (void) env; - QColorDialog::setCustomColor((int) arg1, (QRgb) arg2); + TQColorDialog::setCustomColor((int) arg1, (TQRgb) arg2); return; } @@ -127,28 +127,28 @@ Java_org_kde_qt_QColorDialog_setStandardColor(JNIEnv* env, jclass cls, jint arg1 { (void) cls; (void) env; - QColorDialog::setStandardColor((int) arg1, (QRgb) arg2); + 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QColorDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QColorDrag.cpp b/qtjava/javalib/qtjava/QColorDrag.cpp index 7056070a..ab2d82a0 100644 --- a/qtjava/javalib/qtjava/QColorDrag.cpp +++ b/qtjava/javalib/qtjava/QColorDrag.cpp @@ -4,51 +4,51 @@ #include #include -#include +#include -class QColorDragJBridge : public QColorDrag +class TQColorDragJBridge : public TQColorDrag { public: - QColorDragJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : TQColorDrag(arg1,arg2,arg3) {}; - QColorDragJBridge(const TQColor& arg1,TQWidget* arg2) : TQColorDrag(arg1,arg2) {}; - QColorDragJBridge(const TQColor& arg1) : TQColorDrag(arg1) {}; - QColorDragJBridge(TQWidget* arg1,const char* arg2) : TQColorDrag(arg1,arg2) {}; - QColorDragJBridge(TQWidget* arg1) : TQColorDrag(arg1) {}; - QColorDragJBridge() : TQColorDrag() {}; - ~QColorDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQColorDragJBridge(const TTQColor& arg1,TTQWidget* arg2,const char* arg3) : TTQColorDrag(arg1,arg2,arg3) {}; + TQColorDragJBridge(const TTQColor& arg1,TTQWidget* arg2) : TTQColorDrag(arg1,arg2) {}; + TQColorDragJBridge(const TTQColor& arg1) : TTQColorDrag(arg1) {}; + TQColorDragJBridge(TTQWidget* arg1,const char* arg2) : TTQColorDrag(arg1,arg2) {}; + TQColorDragJBridge(TTQWidget* arg1) : TTQColorDrag(arg1) {}; + TQColorDragJBridge() : TTQColorDrag() {}; + ~TQColorDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQColorDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQColorDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -59,7 +59,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_canDecode(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - jboolean xret = (jboolean) QColorDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, arg1)); + jboolean xret = (jboolean) TQColorDragJBridge::canDecode((TTQMimeSource*) QtSupport::mimeSource(env, arg1)); return xret; } @@ -67,7 +67,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QColorDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQColorDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQColorDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -75,7 +75,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QColorDrag_decode(JNIEnv* env, jclass cls, jobject arg1, jobject col) { (void) cls; - jboolean xret = (jboolean) QColorDragJBridge::decode((TQMimeSource*) QtSupport::mimeSource(env, arg1), (TQColor&)*(TQColor*) QtSupport::getQt(env, col)); + jboolean xret = (jboolean) TQColorDragJBridge::decode((TTQMimeSource*) QtSupport::mimeSource(env, arg1), (TTQColor&)*(TTQColor*) QtSupport::getQt(env, col)); return xret; } @@ -89,8 +89,8 @@ Java_org_kde_qt_QColorDrag_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQColorDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQColorDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -105,67 +105,67 @@ Java_org_kde_qt_QColorDrag_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQColorDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newQColorDrag__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QColorDrag_newTQColorDrag__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorDragJBridge()); + QtSupport::setQt(env, obj, new TQColorDragJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) +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 QColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); + QtSupport::setQt(env, obj, new TQColorDragJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, col))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource) +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 QColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource))); + QtSupport::setQt(env, obj, new TQColorDragJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, col), (TTQWidget*) QtSupport::getQt(env, dragsource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQColorDragJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, col), (TTQWidget*) 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_newQColorDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +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 QColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQColorDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQColorDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -174,28 +174,28 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQColorDrag*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QColorDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 3fbc474a..6ee7d7c2 100644 --- a/qtjava/javalib/qtjava/QColorDrag.h +++ b/qtjava/javalib/qtjava/QColorDrag.h @@ -12,12 +12,12 @@ extern "C" 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_newQColorDrag__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_newQColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newQColorDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorDrag_newQColorDrag__ (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); diff --git a/qtjava/javalib/qtjava/QColorGroup.cpp b/qtjava/javalib/qtjava/QColorGroup.cpp index 53dd82f8..0c0829d1 100644 --- a/qtjava/javalib/qtjava/QColorGroup.cpp +++ b/qtjava/javalib/qtjava/QColorGroup.cpp @@ -4,71 +4,71 @@ #include #include -#include +#include -class QColorGroupJBridge : public QColorGroup +class TQColorGroupJBridge : public TQColorGroup { public: - QColorGroupJBridge() : TQColorGroup() {}; - QColorGroupJBridge(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) {}; - QColorGroupJBridge(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) {}; - QColorGroupJBridge(const TQColorGroup& arg1) : TQColorGroup(arg1) {}; - ~QColorGroupJBridge() {QtSupport::qtKeyDeleted(this);} + TQColorGroupJBridge() : TTQColorGroup() {}; + TQColorGroupJBridge(const TTQColor& arg1,const TTQColor& arg2,const TTQColor& arg3,const TTQColor& arg4,const TTQColor& arg5,const TTQColor& arg6,const TTQColor& arg7) : TTQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQColorGroupJBridge(const TTQBrush& arg1,const TTQBrush& arg2,const TTQBrush& arg3,const TTQBrush& arg4,const TTQBrush& arg5,const TTQBrush& arg6,const TTQBrush& arg7,const TTQBrush& arg8,const TTQBrush& arg9) : TTQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQColorGroupJBridge(const TTQColorGroup& arg1) : TTQColorGroup(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->background(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->base(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->brightText(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->brush((TTQColorGroup::ColorRole) arg1), "org.kde.qt.TTQBrush"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->buttonText(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->color((TTQColorGroup::ColorRole) arg1), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->dark(), "org.kde.qt.TTQColor"); return xret; } @@ -83,7 +83,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQColorGroup*)QtSupport::getQt(env, obj); + delete (TTQColorGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -92,21 +92,21 @@ Java_org_kde_qt_QColorGroup_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->foreground(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->highlight(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->highlightedText(), "org.kde.qt.TTQColor"); return xret; } @@ -119,73 +119,73 @@ Java_org_kde_qt_QColorGroup_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->light(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->linkVisited(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->link(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->mid(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->midlight(), "org.kde.qt.TTQColor"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newQColorGroup__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QColorGroup_newTQColorGroup__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QColorGroupJBridge()); + QtSupport::setQt(env, obj, new TQColorGroupJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newQColorGroup__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) +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 QColorGroupJBridge((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::setQt(env, obj, new TQColorGroupJBridge((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, foreground), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, button), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, light), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, dark), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, mid), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, text), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, bright_text), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, base), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, background))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newQColorGroup__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) +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 QColorGroupJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QColorGroup_newQColorGroup__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) +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 QColorGroupJBridge((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::setQt(env, obj, new TQColorGroupJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, foreground), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, button), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, light), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, dark), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, mid), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, text), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, base))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -194,42 +194,42 @@ Java_org_kde_qt_QColorGroup_newQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QCol 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)); + jboolean xret = (jboolean) ((TTQColorGroup*) QtSupport::getQt(env, obj))->operator==((const TTQColorGroup&)*(const TTQColorGroup*) 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)); + jboolean xret = (jboolean) ((TTQColorGroup*) QtSupport::getQt(env, obj))->operator!=((const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQColorGroup*) QtSupport::getQt(env, obj))->setBrush((TTQColorGroup::ColorRole) arg1, (const TTQBrush&)*(const TTQBrush*) 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)); + ((TTQColorGroup*) QtSupport::getQt(env, obj))->setColor((TTQColorGroup::ColorRole) arg1, (const TTQColor&)*(const TTQColor*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->shadow(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQColorGroup*) QtSupport::getQt(env, obj))->text(), "org.kde.qt.TTQColor"); return xret; } diff --git a/qtjava/javalib/qtjava/QColorGroup.h b/qtjava/javalib/qtjava/QColorGroup.h index 77753f89..8a53ddcc 100644 --- a/qtjava/javalib/qtjava/QColorGroup.h +++ b/qtjava/javalib/qtjava/QColorGroup.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newQColorGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QColorGroup_newQColorGroup__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_newQColorGroup__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_newQColorGroup__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QComboBox.cpp b/qtjava/javalib/qtjava/QComboBox.cpp index 1507e90f..b684219c 100644 --- a/qtjava/javalib/qtjava/QComboBox.cpp +++ b/qtjava/javalib/qtjava/QComboBox.cpp @@ -10,412 +10,412 @@ #include #include -#include +#include -class QComboBoxJBridge : public QComboBox +class TQComboBoxJBridge : public TQComboBox { public: - QComboBoxJBridge(TQWidget* arg1,const char* arg2) : TQComboBox(arg1,arg2) {}; - QComboBoxJBridge(TQWidget* arg1) : TQComboBox(arg1) {}; - QComboBoxJBridge() : TQComboBox() {}; - QComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQComboBox(arg1,arg2,arg3) {}; - QComboBoxJBridge(bool arg1,TQWidget* arg2) : TQComboBox(arg1,arg2) {}; - QComboBoxJBridge(bool arg1) : TQComboBox(arg1) {}; + TQComboBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQComboBox(arg1,arg2) {}; + TQComboBoxJBridge(TTQWidget* arg1) : TTQComboBox(arg1) {}; + TQComboBoxJBridge() : TTQComboBox() {}; + TQComboBoxJBridge(bool arg1,TTQWidget* arg2,const char* arg3) : TTQComboBox(arg1,arg2,arg3) {}; + TQComboBoxJBridge(bool arg1,TTQWidget* arg2) : TTQComboBox(arg1,arg2) {}; + TQComboBoxJBridge(bool arg1) : TTQComboBox(arg1) {}; void public_popup() { - TQComboBox::popup(); + TTQComboBox::popup(); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQComboBox::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQComboBox::paintEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQComboBox::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQComboBox::resizeEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQComboBox::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQComboBox::mousePressEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQComboBox::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQComboBox::mouseMoveEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQComboBox::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQComboBox::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQComboBox::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQComboBox::mouseDoubleClickEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQComboBox::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQComboBox::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQComboBox::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQComboBox::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQComboBox::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQComboBox::focusOutEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQComboBox::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQComboBox::wheelEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQComboBox::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQComboBox::styleChange(arg1); return; } void protected_updateMask() { - TQComboBox::updateMask(); + TTQComboBox::updateMask(); return; } - ~QComboBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQComboBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); + void setValidator(const TTQValidator* arg1) { + if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TTQValidator")) { + TTQComboBox::setValidator(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQComboBox::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQComboBox::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); + void setListBox(TTQListBox* arg1) { + if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TTQListBox")) { + TTQComboBox::setListBox(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQComboBox::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQComboBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQComboBox::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQComboBox::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQComboBox::mousePressEvent(arg1); } return; } void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","popup")) { - TQComboBox::popup(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","popup")) { + TTQComboBox::popup(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQComboBox::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQComboBox::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQComboBox::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQComboBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - TQComboBox::setLineEdit(arg1); + void setLineEdit(TTQLineEdit* arg1) { + if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TTQLineEdit")) { + TTQComboBox::setLineEdit(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQComboBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQComboBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -424,37 +424,37 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_autoCompletion(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->autoCompletion(); + jboolean xret = (jboolean) ((TTQComboBox*) 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(); + jboolean xret = (jboolean) ((TTQComboBox*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) 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); + ((TTQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); return; } @@ -462,51 +462,51 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QComboBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQComboBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQComboBox*) 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(); + ((TTQComboBox*) 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(); + ((TTQComboBox*) 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(); + ((TTQComboBox*) 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(); + jint xret = (jint) ((TTQComboBox*) 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(); + jint xret = (jint) ((TTQComboBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQComboBox*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -519,29 +519,29 @@ Java_org_kde_qt_QComboBox_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboBox_duplicatesEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQComboBox*) QtSupport::getQt(env, obj))->duplicatesEnabled(); + jboolean xret = (jboolean) ((TTQComboBox*) 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(); + jboolean xret = (jboolean) ((TTQComboBox*) 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)); + jboolean xret = (jboolean) ((TTQComboBox*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, object), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQComboBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -550,113 +550,113 @@ Java_org_kde_qt_QComboBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_hide(JNIEnv* env, jobject obj) { - ((TQComboBox*) QtSupport::getQt(env, obj))->hide(); + ((TTQComboBox*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQStrList(env, arg1, &_qlist_arg1)); +static TTQStrList* _qlist_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TTQStrList&)*(TTQStrList*) 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::toQStrList(env, arg1, &_qlist_arg1), (int) index); +static TTQStrList* _qlist_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertStrList((const TTQStrList&)*(TTQStrList*) 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); + ((TTQComboBox*) 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::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TTQStringList&)*(TTQStringList*) 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::toQStringList(env, arg1, &_qlist_arg1), (int) index); +static TTQStringList* _qlist_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->insertStringList((const TTQStringList&)*(TTQStringList*) 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(); + jint xret = (jint) ((TTQComboBox*) QtSupport::getQt(env, obj))->insertionPolicy(); return xret; } @@ -669,123 +669,123 @@ Java_org_kde_qt_QComboBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboBox*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.qt.TTQLineEdit"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboBox*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TTQListBox"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QComboBox_maxCount(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQComboBox*) QtSupport::getQt(env, obj))->maxCount(); + jint xret = (jint) ((TTQComboBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newQComboBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QComboBox_newTQComboBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboBoxJBridge()); + QtSupport::setQt(env, obj, new TQComboBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newQComboBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQComboBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newQComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQComboBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newQComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) +Java_org_kde_qt_QComboBox_newTQComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboBoxJBridge((bool) rw)); + 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_newQComboBox__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent) +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 QComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboBox_newQComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQComboBoxJBridge((bool) rw, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -794,220 +794,220 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_popup(JNIEnv* env, jobject obj) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->public_popup(); + ((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); + ((TTQComboBox*) QtSupport::getQt(env, obj))->removeItem((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQComboBox*) 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); + ((TTQComboBox*) 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); + ((TTQComboBox*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->setCurrentText((const TTQString&)*(TTQString*) 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); + ((TTQComboBox*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQComboBox*) QtSupport::getQt(env, obj))->setEditText((const TTQString&)*(TTQString*) 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); + ((TTQComboBox*) 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); + ((TTQComboBox*) 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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setInsertionPolicy((TTQComboBox::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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TTQLineEdit*) 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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setListBox((TTQListBox*) 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); + ((TTQComboBox*) 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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQComboBox*) 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)); + ((TTQComboBox*) QtSupport::getQt(env, obj))->setValidator((const TTQValidator*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQComboBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQComboBox*) QtSupport::getQt(env, obj))->sizeLimit(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQComboBox*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QComboBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TTQValidator"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject e) { - ((QComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + ((TQComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) QtSupport::getQt(env, e)); return; } diff --git a/qtjava/javalib/qtjava/QComboBox.h b/qtjava/javalib/qtjava/QComboBox.h index 734ded7a..62472515 100644 --- a/qtjava/javalib/qtjava/QComboBox.h +++ b/qtjava/javalib/qtjava/QComboBox.h @@ -12,12 +12,12 @@ extern "C" 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_newQComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newQComboBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newQComboBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newQComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newQComboBox__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboBox_newQComboBox__Z (JNIEnv *env, jobject, jboolean); +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); diff --git a/qtjava/javalib/qtjava/QComboTableItem.cpp b/qtjava/javalib/qtjava/QComboTableItem.cpp index 45bd6a98..b998da38 100644 --- a/qtjava/javalib/qtjava/QComboTableItem.cpp +++ b/qtjava/javalib/qtjava/QComboTableItem.cpp @@ -7,43 +7,43 @@ #include #include -#include +#include -class QComboTableItemJBridge : public QComboTableItem +class TQComboTableItemJBridge : public TQComboTableItem { public: - QComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2,bool arg3) : TQComboTableItem(arg1,arg2,arg3) {}; - QComboTableItemJBridge(TQTable* arg1,const TQStringList& arg2) : TQComboTableItem(arg1,arg2) {}; - ~QComboTableItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQComboTableItemJBridge(TTQTable* arg1,const TTQStringList& arg2,bool arg3) : TTQComboTableItem(arg1,arg2,arg3) {}; + TQComboTableItemJBridge(TTQTable* arg1,const TTQStringList& arg2) : TTQComboTableItem(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(); + jint xret = (jint) ((TTQComboTableItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQComboTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QComboTableItem_currentItem(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQComboTableItem*) QtSupport::getQt(env, obj))->currentItem(); + jint xret = (jint) ((TTQComboTableItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQComboTableItem*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -56,8 +56,8 @@ Java_org_kde_qt_QComboTableItem_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQTableItem*)(TTQComboTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TTQComboTableItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -72,27 +72,27 @@ Java_org_kde_qt_QComboTableItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QComboTableItem_isEditable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQComboTableItem*) QtSupport::getQt(env, obj))->isEditable(); + jboolean xret = (jboolean) ((TTQComboTableItem*) QtSupport::getQt(env, obj))->isEditable(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_newQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jobjectArray list) +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; +static TTQStringList* _qlist_list = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list))); + QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QComboTableItem_newQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject table, jobjectArray list, jboolean editable) +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; +static TTQStringList* _qlist_list = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QComboTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (bool) editable)); + QtSupport::setQt(env, obj, new TQComboTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) editable)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -101,66 +101,66 @@ static TQStringList* _qlist_list = 0; 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); + ((TTQComboTableItem*) QtSupport::getQt(env, obj))->paint((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQRect&)*(const TTQRect*) 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(); + jint xret = (jint) ((TTQComboTableItem*) 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)); + ((TTQComboTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TTQWidget*) 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); + ((TTQComboTableItem*) 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::toQString(env, i, &_qstring_i)); +static TTQString* _qstring_i = 0; + ((TTQComboTableItem*) QtSupport::getQt(env, obj))->setCurrentItem((const TTQString&)*(TTQString*) 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); + ((TTQComboTableItem*) 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::toQStringList(env, l, &_qlist_l)); +static TTQStringList* _qlist_l = 0; + ((TTQComboTableItem*) QtSupport::getQt(env, obj))->setStringList((const TTQStringList&)*(TTQStringList*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQComboTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQComboTableItem*) 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 index be2f874c..efeaaa72 100644 --- a/qtjava/javalib/qtjava/QComboTableItem.h +++ b/qtjava/javalib/qtjava/QComboTableItem.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QComboTableItem_newQComboTableItem__Lorg_kde_qt_QTable_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); +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); diff --git a/qtjava/javalib/qtjava/QContextMenuEvent.cpp b/qtjava/javalib/qtjava/QContextMenuEvent.cpp index 24e8d109..638321c4 100644 --- a/qtjava/javalib/qtjava/QContextMenuEvent.cpp +++ b/qtjava/javalib/qtjava/QContextMenuEvent.cpp @@ -4,27 +4,27 @@ #include #include -#include +#include -class QContextMenuEventJBridge : public QContextMenuEvent +class TQContextMenuEventJBridge : public TQContextMenuEvent { public: - QContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4) : TQContextMenuEvent(arg1,arg2,arg3,arg4) {}; - QContextMenuEventJBridge(TQContextMenuEvent::Reason arg1,const TQPoint& arg2,int arg3) : TQContextMenuEvent(arg1,arg2,arg3) {}; - ~QContextMenuEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQContextMenuEventJBridge(TTQContextMenuEvent::Reason arg1,const TTQPoint& arg2,const TTQPoint& arg3,int arg4) : TTQContextMenuEvent(arg1,arg2,arg3,arg4) {}; + TQContextMenuEventJBridge(TTQContextMenuEvent::Reason arg1,const TTQPoint& arg2,int arg3) : TTQContextMenuEvent(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(); + ((TTQContextMenuEvent*) 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(); + ((TTQContextMenuEvent*) QtSupport::getQt(env, obj))->consume(); return; } @@ -39,7 +39,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQContextMenuEvent*)QtSupport::getQt(env, obj); + delete (TTQContextMenuEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -48,42 +48,42 @@ Java_org_kde_qt_QContextMenuEvent_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQContextMenuEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_globalX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->globalX(); + jint xret = (jint) ((TTQContextMenuEvent*) 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(); + jint xret = (jint) ((TTQContextMenuEvent*) 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(); + ((TTQContextMenuEvent*) 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(); + jboolean xret = (jboolean) ((TTQContextMenuEvent*) 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(); + jboolean xret = (jboolean) ((TTQContextMenuEvent*) QtSupport::getQt(env, obj))->isConsumed(); return xret; } @@ -94,20 +94,20 @@ Java_org_kde_qt_QContextMenuEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_newQContextMenuEvent__ILorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jint state) +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 QContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) state)); + QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TTQContextMenuEvent::Reason) reason, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int) state)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QContextMenuEvent_newQContextMenuEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jint reason, jobject pos, jobject globalPos, jint state) +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 QContextMenuEventJBridge((TQContextMenuEvent::Reason) reason, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) state)); + QtSupport::setQt(env, obj, new TQContextMenuEventJBridge((TTQContextMenuEvent::Reason) reason, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (int) state)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -116,35 +116,35 @@ Java_org_kde_qt_QContextMenuEvent_newQContextMenuEvent__ILorg_kde_qt_QPoint_2Lor 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQContextMenuEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QContextMenuEvent_reason(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQContextMenuEvent*) QtSupport::getQt(env, obj))->reason(); + jint xret = (jint) ((TTQContextMenuEvent*) 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(); + jint xret = (jint) ((TTQContextMenuEvent*) 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(); + jint xret = (jint) ((TTQContextMenuEvent*) 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(); + jint xret = (jint) ((TTQContextMenuEvent*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QContextMenuEvent.h b/qtjava/javalib/qtjava/QContextMenuEvent.h index e47e763a..a36d0c2f 100644 --- a/qtjava/javalib/qtjava/QContextMenuEvent.h +++ b/qtjava/javalib/qtjava/QContextMenuEvent.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QContextMenuEvent_newQContextMenuEvent__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_newQContextMenuEvent__ILorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jint, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QCursor.cpp b/qtjava/javalib/qtjava/QCursor.cpp index 984766a5..d9a1b595 100644 --- a/qtjava/javalib/qtjava/QCursor.cpp +++ b/qtjava/javalib/qtjava/QCursor.cpp @@ -5,27 +5,27 @@ #include #include -#include +#include -class QCursorJBridge : public QCursor +class TQCursorJBridge : public TQCursor { public: - QCursorJBridge() : TQCursor() {}; - QCursorJBridge(int arg1) : TQCursor(arg1) {}; - QCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3,int arg4) : TQCursor(arg1,arg2,arg3,arg4) {}; - QCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; - QCursorJBridge(const TQBitmap& arg1,const TQBitmap& arg2) : TQCursor(arg1,arg2) {}; - QCursorJBridge(const TQPixmap& arg1,int arg2,int arg3) : TQCursor(arg1,arg2,arg3) {}; - QCursorJBridge(const TQPixmap& arg1,int arg2) : TQCursor(arg1,arg2) {}; - QCursorJBridge(const TQPixmap& arg1) : TQCursor(arg1) {}; - QCursorJBridge(const TQCursor& arg1) : TQCursor(arg1) {}; - ~QCursorJBridge() {QtSupport::qtKeyDeleted(this);} + TQCursorJBridge() : TTQCursor() {}; + TQCursorJBridge(int arg1) : TTQCursor(arg1) {}; + TQCursorJBridge(const TTQBitmap& arg1,const TTQBitmap& arg2,int arg3,int arg4) : TTQCursor(arg1,arg2,arg3,arg4) {}; + TQCursorJBridge(const TTQBitmap& arg1,const TTQBitmap& arg2,int arg3) : TTQCursor(arg1,arg2,arg3) {}; + TQCursorJBridge(const TTQBitmap& arg1,const TTQBitmap& arg2) : TTQCursor(arg1,arg2) {}; + TQCursorJBridge(const TTQPixmap& arg1,int arg2,int arg3) : TTQCursor(arg1,arg2,arg3) {}; + TQCursorJBridge(const TTQPixmap& arg1,int arg2) : TTQCursor(arg1,arg2) {}; + TQCursorJBridge(const TTQPixmap& arg1) : TTQCursor(arg1) {}; + TQCursorJBridge(const TTQCursor& arg1) : TTQCursor(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCursor*) QtSupport::getQt(env, obj))->bitmap(), "org.kde.qt.TTQBitmap"); return xret; } @@ -34,7 +34,7 @@ Java_org_kde_qt_QCursor_cleanup(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QCursorJBridge::cleanup(); + TQCursorJBridge::cleanup(); return; } @@ -49,7 +49,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCursor*)QtSupport::getQt(env, obj); + delete (TTQCursor*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -58,7 +58,7 @@ Java_org_kde_qt_QCursor_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQCursor*) QtSupport::getQt(env, obj))->hotSpot()), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -67,7 +67,7 @@ Java_org_kde_qt_QCursor_initialize(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QCursorJBridge::initialize(); + TQCursorJBridge::initialize(); return; } @@ -80,95 +80,95 @@ Java_org_kde_qt_QCursor_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQCursor*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TTQBitmap"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QCursor_newTQCursor__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCursorJBridge()); + QtSupport::setQt(env, obj, new TQCursorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__I(JNIEnv* env, jobject obj, jint shape) +Java_org_kde_qt_QCursor_newTQCursor__I(JNIEnv* env, jobject obj, jint shape) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCursorJBridge((int) shape)); + 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_newQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject bitmap, jobject mask) +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 QCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask))); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, bitmap), (const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, mask))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX) +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 QCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX)); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, bitmap), (const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, mask), (int) hotX)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2II(JNIEnv* env, jobject obj, jobject bitmap, jobject mask, jint hotX, jint hotY) +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 QCursorJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, bitmap), (const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, mask), (int) hotX, (int) hotY)); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, bitmap), (const TTQBitmap&)*(const TTQBitmap*) 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_newQCursor__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +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 QCursorJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +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 QCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint hotX) +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 QCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX)); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint hotX, jint hotY) +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 QCursorJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX, (int) hotY)); + QtSupport::setQt(env, obj, new TQCursorJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) hotX, (int) hotY)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -178,7 +178,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QCursor_pos(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(QCursorJBridge::pos()), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(TQCursorJBridge::pos()), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -187,7 +187,7 @@ Java_org_kde_qt_QCursor_setPos__II(JNIEnv* env, jclass cls, jint x, jint y) { (void) cls; (void) env; - QCursorJBridge::setPos((int) x, (int) y); + TQCursorJBridge::setPos((int) x, (int) y); return; } @@ -195,21 +195,21 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_setPos__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QCursorJBridge::setPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + TQCursorJBridge::setPos((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQCursor*) 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(); + jint xret = (jint) ((TTQCursor*) QtSupport::getQt(env, obj))->shape(); return xret; } diff --git a/qtjava/javalib/qtjava/QCursor.h b/qtjava/javalib/qtjava/QCursor.h index cd7e3203..53fed8cd 100644 --- a/qtjava/javalib/qtjava/QCursor.h +++ b/qtjava/javalib/qtjava/QCursor.h @@ -10,15 +10,15 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__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_newQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCursor_newQCursor__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QCustomEvent.cpp b/qtjava/javalib/qtjava/QCustomEvent.cpp index 69a127c6..3baf07fc 100644 --- a/qtjava/javalib/qtjava/QCustomEvent.cpp +++ b/qtjava/javalib/qtjava/QCustomEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QCustomEventJBridge : public QCustomEvent +class TQCustomEventJBridge : public TQCustomEvent { public: - QCustomEventJBridge(int arg1) : TQCustomEvent(arg1) {}; - ~QCustomEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQCustomEventJBridge(int arg1) : TTQCustomEvent(arg1) {}; + ~TQCustomEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQCustomEvent*)QtSupport::getQt(env, obj); + delete (TTQCustomEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QCustomEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QCustomEvent_newQCustomEvent(JNIEnv* env, jobject obj, jint type) +Java_org_kde_qt_QCustomEvent_newTQCustomEvent(JNIEnv* env, jobject obj, jint type) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QCustomEventJBridge((int) type)); + 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 index 8031bfec..c58bb6b8 100644 --- a/qtjava/javalib/qtjava/QCustomEvent.h +++ b/qtjava/javalib/qtjava/QCustomEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QCustomEvent_newQCustomEvent (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QCustomMenuItem.cpp b/qtjava/javalib/qtjava/QCustomMenuItem.cpp index 282197a1..4852fe82 100644 --- a/qtjava/javalib/qtjava/QCustomMenuItem.cpp +++ b/qtjava/javalib/qtjava/QCustomMenuItem.cpp @@ -5,40 +5,40 @@ #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(); + jboolean xret = (jboolean) ((TTQCustomMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQCustomMenuItem*) 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); + ((TTQCustomMenuItem*) QtSupport::getQt(env, obj))->paint((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQCustomMenuItem*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQCustomMenuItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QDataBrowser.cpp b/qtjava/javalib/qtjava/QDataBrowser.cpp index dde724dd..0ff5ee55 100644 --- a/qtjava/javalib/qtjava/QDataBrowser.cpp +++ b/qtjava/javalib/qtjava/QDataBrowser.cpp @@ -9,115 +9,115 @@ #include #include -#include +#include -class QDataBrowserJBridge : public QDataBrowser +class TQDataBrowserJBridge : public TQDataBrowser { public: - QDataBrowserJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQDataBrowser(arg1,arg2,arg3) {}; - QDataBrowserJBridge(TQWidget* arg1,const char* arg2) : TQDataBrowser(arg1,arg2) {}; - QDataBrowserJBridge(TQWidget* arg1) : TQDataBrowser(arg1) {}; - QDataBrowserJBridge() : TQDataBrowser() {}; + TQDataBrowserJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQDataBrowser(arg1,arg2,arg3) {}; + TQDataBrowserJBridge(TTQWidget* arg1,const char* arg2) : TTQDataBrowser(arg1,arg2) {}; + TQDataBrowserJBridge(TTQWidget* arg1) : TTQDataBrowser(arg1) {}; + TQDataBrowserJBridge() : TTQDataBrowser() {}; void public_refresh() { - TQDataBrowser::refresh(); + TTQDataBrowser::refresh(); return; } void public_insert() { - TQDataBrowser::insert(); + TTQDataBrowser::insert(); return; } void public_update() { - TQDataBrowser::update(); + TTQDataBrowser::update(); return; } void public_del() { - TQDataBrowser::del(); + TTQDataBrowser::del(); return; } void public_first() { - TQDataBrowser::first(); + TTQDataBrowser::first(); return; } void public_last() { - TQDataBrowser::last(); + TTQDataBrowser::last(); return; } void public_next() { - TQDataBrowser::next(); + TTQDataBrowser::next(); return; } void public_prev() { - TQDataBrowser::prev(); + TTQDataBrowser::prev(); return; } void public_readFields() { - TQDataBrowser::readFields(); + TTQDataBrowser::readFields(); return; } void public_writeFields() { - TQDataBrowser::writeFields(); + TTQDataBrowser::writeFields(); return; } void public_clearValues() { - TQDataBrowser::clearValues(); + TTQDataBrowser::clearValues(); return; } bool protected_insertCurrent() { - return (bool) TQDataBrowser::insertCurrent(); + return (bool) TTQDataBrowser::insertCurrent(); } bool protected_updateCurrent() { - return (bool) TQDataBrowser::updateCurrent(); + return (bool) TTQDataBrowser::updateCurrent(); } bool protected_deleteCurrent() { - return (bool) TQDataBrowser::deleteCurrent(); + return (bool) TTQDataBrowser::deleteCurrent(); } bool protected_currentEdited() { - return (bool) TQDataBrowser::currentEdited(); + return (bool) TTQDataBrowser::currentEdited(); } - TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataBrowser::confirmEdit(arg1); + TTQSql::Confirm protected_confirmEdit(TTQSql::Op arg1) { + return (TTQSql::Confirm) TTQDataBrowser::confirmEdit(arg1); } - TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataBrowser::confirmCancel(arg1); + TTQSql::Confirm protected_confirmCancel(TTQSql::Op arg1) { + return (TTQSql::Confirm) TTQDataBrowser::confirmCancel(arg1); } - void protected_handleError(const TQSqlError& arg1) { - TQDataBrowser::handleError(arg1); + void protected_handleError(const TTQSqlError& arg1) { + TTQDataBrowser::handleError(arg1); return; } - ~QDataBrowserJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQDataBrowserJBridge() {QtSupport::qtKeyDeleted(this);} void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","writeFields")) { - TQDataBrowser::writeFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","writeFields")) { + TTQDataBrowser::writeFields(); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } @@ -125,332 +125,332 @@ public: return QtSupport::booleanDelegate(this,"currentEdited"); } void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","del")) { - TQDataBrowser::del(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","del")) { + TTQDataBrowser::del(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } void last() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","last")) { - TQDataBrowser::last(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","last")) { + TTQDataBrowser::last(); } return; } void update() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","update")) { - TQDataBrowser::update(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","update")) { + TTQDataBrowser::update(); } return; } void next() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","next")) { - TQDataBrowser::next(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","next")) { + TTQDataBrowser::next(); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","readFields")) { - TQDataBrowser::readFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","readFields")) { + TTQDataBrowser::readFields(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } void prev() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","prev")) { - TQDataBrowser::prev(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","prev")) { + TTQDataBrowser::prev(); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::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); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } void insert() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","insert")) { - TQDataBrowser::insert(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","insert")) { + TTQDataBrowser::insert(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearValues() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","clearValues")) { - TQDataBrowser::clearValues(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","clearValues")) { + TTQDataBrowser::clearValues(); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } @@ -458,44 +458,44 @@ public: return QtSupport::booleanDelegate(this,"deleteCurrent"); } void refresh() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","refresh")) { - TQDataBrowser::refresh(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","refresh")) { + TTQDataBrowser::refresh(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void handleError(const TQSqlError& arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { - TQDataBrowser::handleError(arg1); + void handleError(const TTQSqlError& arg1) { + if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TTQSqlError")) { + TTQDataBrowser::handleError(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void setForm(TQSqlForm* arg1) { - if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { - TQDataBrowser::setForm(arg1); + void setForm(TTQSqlForm* arg1) { + if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TTQSqlForm")) { + TTQDataBrowser::setForm(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDataBrowser",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDataBrowser",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -503,21 +503,21 @@ public: 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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void first() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","first")) { - TQDataBrowser::first(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","first")) { + TTQDataBrowser::first(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataBrowser","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataBrowser","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -526,21 +526,21 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_autoEdit(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->autoEdit(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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(); + jint xret = (jint) ((TTQDataBrowser*) QtSupport::getQt(env, obj))->boundary(); return xret; } @@ -548,84 +548,84 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDataBrowser*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_clearValues(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + ((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) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); + jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TTQSql::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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); + jint xret = (jint) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TTQSql::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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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(); + jboolean xret = (jboolean) ((TTQDataBrowser*) QtSupport::getQt(env, obj))->confirmUpdate(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_currentEdited(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_currentEdited(); + 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) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_del(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_del(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_deleteCurrent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); + jboolean xret = (jboolean) ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); return xret; } @@ -639,16 +639,16 @@ Java_org_kde_qt_QDataBrowser_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_filter(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQDataBrowser*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataBrowser*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDataBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDataBrowser*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -657,35 +657,35 @@ Java_org_kde_qt_QDataBrowser_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_first(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_first(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataBrowser*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TTQSqlForm"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_handleError(JNIEnv* env, jobject obj, jobject error) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, error)); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TTQSqlError&)*(const TTQSqlError*) QtSupport::getQt(env, error)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_insertCurrent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); + 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) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_insert(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_insert(); return; } @@ -698,61 +698,61 @@ Java_org_kde_qt_QDataBrowser_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_isReadOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDataBrowser*) QtSupport::getQt(env, obj))->isReadOnly(); + jboolean xret = (jboolean) ((TTQDataBrowser*) QtSupport::getQt(env, obj))->isReadOnly(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_last(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_last(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newQDataBrowser__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDataBrowser_newTQDataBrowser__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataBrowserJBridge()); + QtSupport::setQt(env, obj, new TQDataBrowserJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newQDataBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataBrowser_newQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) fl)); + QtSupport::setQt(env, obj, new TQDataBrowserJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -761,206 +761,206 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_next(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_next(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_next(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_prev(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_prev(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_prev(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_readFields(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_readFields(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_refresh(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_refresh(); + ((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); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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); + jboolean xret = (jboolean) ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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); + ((TTQDataBrowser*) 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::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setFilter((const TTQString&)*(TTQString*) 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)); + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setForm((TTQSqlForm*) 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); + ((TTQDataBrowser*) 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)); + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TTQSqlIndex&)*(const TTQSqlIndex*) 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::toQStringList(env, sort, &_qlist_sort)); +static TTQStringList* _qlist_sort = 0; + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setSort((const TTQStringList&)*(TTQStringList*) 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)); + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TTQSqlCursor*) 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); + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->setSqlCursor((TTQSqlCursor*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQDataBrowser*) QtSupport::getQt(env, obj))->sort(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataBrowser*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TTQSqlCursor"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataBrowser_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDataBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + ((TTQDataBrowser*) QtSupport::getQt(env, obj))->updateBoundary(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataBrowser_updateCurrent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); + 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) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_update(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_update(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_writeFields(JNIEnv* env, jobject obj) { - ((QDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + ((TQDataBrowserJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); return; } diff --git a/qtjava/javalib/qtjava/QDataBrowser.h b/qtjava/javalib/qtjava/QDataBrowser.h index 3aac85ac..c7bc63f9 100644 --- a/qtjava/javalib/qtjava/QDataBrowser.h +++ b/qtjava/javalib/qtjava/QDataBrowser.h @@ -12,10 +12,10 @@ extern "C" 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_newQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newQDataBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newQDataBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataBrowser_newQDataBrowser__ (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); diff --git a/qtjava/javalib/qtjava/QDataPump.cpp b/qtjava/javalib/qtjava/QDataPump.cpp index 3148fe9e..a925202e 100644 --- a/qtjava/javalib/qtjava/QDataPump.cpp +++ b/qtjava/javalib/qtjava/QDataPump.cpp @@ -3,46 +3,46 @@ #include #include -#include +#include -class QDataPumpJBridge : public QDataPump +class TQDataPumpJBridge : public TQDataPump { public: - QDataPumpJBridge(TQDataSource* arg1,TQDataSink* arg2) : TQDataPump(arg1,arg2) {}; - ~QDataPumpJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQDataPumpJBridge(TTQDataSource* arg1,TTQDataSink* arg2) : TTQDataPump(arg1,arg2) {}; + ~TQDataPumpJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDataPump",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDataPump",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -53,7 +53,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDataPump*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDataPump*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -67,8 +67,8 @@ Java_org_kde_qt_QDataPump_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQDataPump*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQDataPump*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -83,15 +83,15 @@ Java_org_kde_qt_QDataPump_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataPump*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataPump_newQDataPump(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +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 QDataPumpJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (TQDataSink*) QtSupport::getQt(env, arg2))); + QtSupport::setQt(env, obj, new TQDataPumpJBridge((TTQDataSource*) QtSupport::getQt(env, arg1), (TTQDataSink*) QtSupport::getQt(env, arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -100,21 +100,21 @@ Java_org_kde_qt_QDataPump_newQDataPump(JNIEnv* env, jobject obj, jobject arg1, j JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataPump_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDataPumpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 0013a21b..a64ba76f 100644 --- a/qtjava/javalib/qtjava/QDataPump.h +++ b/qtjava/javalib/qtjava/QDataPump.h @@ -12,7 +12,7 @@ extern "C" 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_newQDataPump (JNIEnv *env, jobject, jobject, 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); diff --git a/qtjava/javalib/qtjava/QDataSink.cpp b/qtjava/javalib/qtjava/QDataSink.cpp index d8eca7a4..47d54300 100644 --- a/qtjava/javalib/qtjava/QDataSink.cpp +++ b/qtjava/javalib/qtjava/QDataSink.cpp @@ -2,34 +2,34 @@ #include #include -#include +#include JNIEXPORT void JNICALL Java_org_kde_qt_QDataSink_eof(JNIEnv* env, jobject obj) { - ((TQDataSink*) QtSupport::getQt(env, obj))->eof(); + ((TTQDataSink*) 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(); + ((TTQDataSink*) 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(); + jint xret = (jint) ((TTQDataSink*) 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); +static TTQByteArray* _qbytearray_arg1 = 0; + ((TTQDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count); return; } diff --git a/qtjava/javalib/qtjava/QDataSource.cpp b/qtjava/javalib/qtjava/QDataSource.cpp index c223a85b..31746849 100644 --- a/qtjava/javalib/qtjava/QDataSource.cpp +++ b/qtjava/javalib/qtjava/QDataSource.cpp @@ -2,47 +2,47 @@ #include #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); + ((TTQDataSource*) 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(); + ((TTQDataSource*) 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(); + jint xret = (jint) ((TTQDataSource*) 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(); + ((TTQDataSource*) 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(); + jboolean xret = (jboolean) ((TTQDataSource*) 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); + ((TTQDataSource*) QtSupport::getQt(env, obj))->sendTo((TTQDataSink*) QtSupport::getQt(env, arg1), (int) count); return; } diff --git a/qtjava/javalib/qtjava/QDataStream.cpp b/qtjava/javalib/qtjava/QDataStream.cpp index b5907270..ae030330 100644 --- a/qtjava/javalib/qtjava/QDataStream.cpp +++ b/qtjava/javalib/qtjava/QDataStream.cpp @@ -4,35 +4,35 @@ #include #include -#include +#include -class QDataStreamJBridge : public QDataStream +class TQDataStreamJBridge : public TQDataStream { public: - QDataStreamJBridge() : TQDataStream() {}; - QDataStreamJBridge(TQIODevice* arg1) : TQDataStream(arg1) {}; - QDataStreamJBridge(TQByteArray arg1,int arg2) : TQDataStream(arg1,arg2) {}; - ~QDataStreamJBridge() {QtSupport::qtKeyDeleted(this);} + TQDataStreamJBridge() : TTQDataStream() {}; + TQDataStreamJBridge(TTQIODevice* arg1) : TTQDataStream(arg1) {}; + TQDataStreamJBridge(TTQByteArray arg1,int arg2) : TTQDataStream(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(); + jboolean xret = (jboolean) ((TTQDataStream*) 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(); + jint xret = (jint) ((TTQDataStream*) 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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); return xret; } @@ -46,7 +46,7 @@ Java_org_kde_qt_QDataStream_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_eof(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->eof(); + jboolean xret = (jboolean) ((TTQDataStream*) QtSupport::getQt(env, obj))->eof(); return xret; } @@ -54,7 +54,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDataStream*)QtSupport::getQt(env, obj); + delete (TTQDataStream*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -69,36 +69,36 @@ Java_org_kde_qt_QDataStream_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataStream_isPrintableData(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDataStream*) QtSupport::getQt(env, obj))->isPrintableData(); + jboolean xret = (jboolean) ((TTQDataStream*) QtSupport::getQt(env, obj))->isPrintableData(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newQDataStream__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDataStream_newTQDataStream__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataStreamJBridge()); + QtSupport::setQt(env, obj, new TQDataStreamJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newQDataStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +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 QDataStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQDataStreamJBridge((TTQIODevice*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataStream_newQDataStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) +Java_org_kde_qt_QDataStream_newTQDataStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) { -static TQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); + QtSupport::setQt(env, obj, new TQDataStreamJBridge((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -107,174 +107,174 @@ static TQByteArray* _qbyteArray_arg1 = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT8&) i), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((double&) f), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((float&) f), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_INT32&) i), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_LONG&) i), "org.kde.qt.TTQDataStream"); 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"); +static TTQCString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((char*&) *(char*)QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator>>((Q_UINT8&) i), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT8) i), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((double) f), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((float) f), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT32) i), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_INT64) i), "org.kde.qt.TTQDataStream"); 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"); +static TTQCString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, str, &_qstring_str)), "org.kde.qt.TTQDataStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->operator<<((Q_UINT8) i), "org.kde.qt.TTQDataStream"); 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->readBytes((char*&) *(char*)QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint&) len), "org.kde.qt.TTQDataStream"); 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TTQDataStream"); 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); + ((TTQDataStream*) 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)); + ((TTQDataStream*) QtSupport::getQt(env, obj))->setDevice((TTQIODevice*) 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); + ((TTQDataStream*) 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); + ((TTQDataStream*) 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(); + ((TTQDataStream*) 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(); + jint xret = (jint) ((TTQDataStream*) 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->writeBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TTQDataStream"); 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &((TTQDataStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TTQDataStream"); return xret; } diff --git a/qtjava/javalib/qtjava/QDataStream.h b/qtjava/javalib/qtjava/QDataStream.h index 1089b7ca..fcb96ead 100644 --- a/qtjava/javalib/qtjava/QDataStream.h +++ b/qtjava/javalib/qtjava/QDataStream.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newQDataStream__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newQDataStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataStream_newQDataStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); +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); diff --git a/qtjava/javalib/qtjava/QDataTable.cpp b/qtjava/javalib/qtjava/QDataTable.cpp index 424bb170..73295912 100644 --- a/qtjava/javalib/qtjava/QDataTable.cpp +++ b/qtjava/javalib/qtjava/QDataTable.cpp @@ -13,559 +13,559 @@ #include #include -#include +#include -class QDataTableJBridge : public QDataTable +class TQDataTableJBridge : public TQDataTable { public: - QDataTableJBridge(TQWidget* arg1,const char* arg2) : TQDataTable(arg1,arg2) {}; - QDataTableJBridge(TQWidget* arg1) : TQDataTable(arg1) {}; - QDataTableJBridge() : TQDataTable() {}; - QDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3,const char* arg4) : TQDataTable(arg1,arg2,arg3,arg4) {}; - QDataTableJBridge(TQSqlCursor* arg1,bool arg2,TQWidget* arg3) : TQDataTable(arg1,arg2,arg3) {}; - QDataTableJBridge(TQSqlCursor* arg1,bool arg2) : TQDataTable(arg1,arg2) {}; - QDataTableJBridge(TQSqlCursor* arg1) : TQDataTable(arg1) {}; + TQDataTableJBridge(TTQWidget* arg1,const char* arg2) : TTQDataTable(arg1,arg2) {}; + TQDataTableJBridge(TTQWidget* arg1) : TTQDataTable(arg1) {}; + TQDataTableJBridge() : TTQDataTable() {}; + TQDataTableJBridge(TTQSqlCursor* arg1,bool arg2,TTQWidget* arg3,const char* arg4) : TTQDataTable(arg1,arg2,arg3,arg4) {}; + TQDataTableJBridge(TTQSqlCursor* arg1,bool arg2,TTQWidget* arg3) : TTQDataTable(arg1,arg2,arg3) {}; + TQDataTableJBridge(TTQSqlCursor* arg1,bool arg2) : TTQDataTable(arg1,arg2) {}; + TQDataTableJBridge(TTQSqlCursor* arg1) : TTQDataTable(arg1) {}; void public_setSqlCursor() { - TQDataTable::setSqlCursor(); + TTQDataTable::setSqlCursor(); return; } void public_refresh() { - TQDataTable::refresh(); + TTQDataTable::refresh(); return; } bool protected_insertCurrent() { - return (bool) TQDataTable::insertCurrent(); + return (bool) TTQDataTable::insertCurrent(); } bool protected_updateCurrent() { - return (bool) TQDataTable::updateCurrent(); + return (bool) TTQDataTable::updateCurrent(); } bool protected_deleteCurrent() { - return (bool) TQDataTable::deleteCurrent(); + return (bool) TTQDataTable::deleteCurrent(); } - TQSql::Confirm protected_confirmEdit(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataTable::confirmEdit(arg1); + TTQSql::Confirm protected_confirmEdit(TTQSql::Op arg1) { + return (TTQSql::Confirm) TTQDataTable::confirmEdit(arg1); } - TQSql::Confirm protected_confirmCancel(TQSql::Op arg1) { - return (TQSql::Confirm) TQDataTable::confirmCancel(arg1); + TTQSql::Confirm protected_confirmCancel(TTQSql::Op arg1) { + return (TTQSql::Confirm) TTQDataTable::confirmCancel(arg1); } - void protected_handleError(const TQSqlError& arg1) { - TQDataTable::handleError(arg1); + void protected_handleError(const TTQSqlError& arg1) { + TTQDataTable::handleError(arg1); return; } bool protected_beginInsert() { - return (bool) TQDataTable::beginInsert(); + return (bool) TTQDataTable::beginInsert(); } - TQWidget* protected_beginUpdate(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQDataTable::beginUpdate(arg1,arg2,arg3); + TTQWidget* protected_beginUpdate(int arg1,int arg2,bool arg3) { + return (TTQWidget*) TTQDataTable::beginUpdate(arg1,arg2,arg3); } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQDataTable::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQDataTable::eventFilter(arg1,arg2); } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDataTable::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQDataTable::keyPressEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDataTable::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQDataTable::resizeEvent(arg1); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQDataTable::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQDataTable::contentsMousePressEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQDataTable::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQDataTable::contentsContextMenuEvent(arg1); return; } void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { - TQDataTable::endEdit(arg1,arg2,arg3,arg4); + TTQDataTable::endEdit(arg1,arg2,arg3,arg4); return; } - TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQDataTable::createEditor(arg1,arg2,arg3); + TTQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { + return (TTQWidget*) TTQDataTable::createEditor(arg1,arg2,arg3); } void protected_activateNextCell() { - TQDataTable::activateNextCell(); + TTQDataTable::activateNextCell(); return; } int protected_indexOf(uint arg1) { - return (int) TQDataTable::indexOf(arg1); + return (int) TTQDataTable::indexOf(arg1); } void protected_reset() { - TQDataTable::reset(); + TTQDataTable::reset(); return; } - void protected_setSize(TQSqlCursor* arg1) { - TQDataTable::setSize(arg1); + void protected_setSize(TTQSqlCursor* arg1) { + TTQDataTable::setSize(arg1); return; } void protected_repaintCell(int arg1,int arg2) { - TQDataTable::repaintCell(arg1,arg2); + TTQDataTable::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); + void protected_paintCell(TTQPainter* arg1,int arg2,int arg3,const TTQRect& arg4,bool arg5,const TTQColorGroup& arg6) { + TTQDataTable::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); + void protected_paintField(TTQPainter* arg1,const TTQSqlField* arg2,const TTQRect& arg3,bool arg4) { + TTQDataTable::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); + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQDataTable::drawContents(arg1,arg2,arg3,arg4,arg5); return; } - int protected_fieldAlignment(const TQSqlField* arg1) { - return (int) TQDataTable::fieldAlignment(arg1); + int protected_fieldAlignment(const TTQSqlField* arg1) { + return (int) TTQDataTable::fieldAlignment(arg1); } void protected_columnClicked(int arg1) { - TQDataTable::columnClicked(arg1); + TTQDataTable::columnClicked(arg1); return; } void protected_resizeData(int arg1) { - TQDataTable::resizeData(arg1); + TTQDataTable::resizeData(arg1); return; } - TQTableItem* protected_item(int arg1,int arg2) { - return (TQTableItem*) TQDataTable::item(arg1,arg2); + TTQTableItem* protected_item(int arg1,int arg2) { + return (TTQTableItem*) TTQDataTable::item(arg1,arg2); } - void protected_setItem(int arg1,int arg2,TQTableItem* arg3) { - TQDataTable::setItem(arg1,arg2,arg3); + void protected_setItem(int arg1,int arg2,TTQTableItem* arg3) { + TTQDataTable::setItem(arg1,arg2,arg3); return; } void protected_clearCell(int arg1,int arg2) { - TQDataTable::clearCell(arg1,arg2); + TTQDataTable::clearCell(arg1,arg2); return; } - void protected_setPixmap(int arg1,int arg2,const TQPixmap& arg3) { - TQDataTable::setPixmap(arg1,arg2,arg3); + void protected_setPixmap(int arg1,int arg2,const TTQPixmap& arg3) { + TTQDataTable::setPixmap(arg1,arg2,arg3); return; } - void protected_takeItem(TQTableItem* arg1) { - TQDataTable::takeItem(arg1); + void protected_takeItem(TTQTableItem* arg1) { + TTQDataTable::takeItem(arg1); return; } - ~QDataTableJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDataTableJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDataTable::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDataTable::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTable::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTable::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTable::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTable::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTable::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTable::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTable::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQTable::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTable::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTable::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQTable::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQTable::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDataTable::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDataTable::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTable::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTable::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","startDrag")) { - TQTable::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","startDrag")) { + TTQTable::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); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTable::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTable::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQDataTable::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQDataTable::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::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); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTable::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTable::focusInEvent(arg1); } return; } @@ -573,77 +573,77 @@ public: return QtSupport::booleanDelegate(this,"deleteCurrent"); } void refresh() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","refresh")) { - TQDataTable::refresh(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","refresh")) { + TTQDataTable::refresh(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void handleError(const TQSqlError& arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TQSqlError")) { - TQDataTable::handleError(arg1); + void handleError(const TTQSqlError& arg1) { + if (!QtSupport::eventDelegate(this,"handleError",(void*)&arg1,"org.kde.qt.TTQSqlError")) { + TTQDataTable::handleError(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDataTable::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDataTable::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void setSort(const TQSqlIndex& arg1) { - if (!QtSupport::eventDelegate(this,"setSort",(void*)&arg1,"org.kde.qt.TQSqlIndex")) { - TQDataTable::setSort(arg1); + void setSort(const TTQSqlIndex& arg1) { + if (!QtSupport::eventDelegate(this,"setSort",(void*)&arg1,"org.kde.qt.TTQSqlIndex")) { + TTQDataTable::setSort(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataTable","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataTable","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -652,77 +652,77 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_activateNextCell(JNIEnv* env, jobject obj) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); + ((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::toQString(env, fieldName, &_qstring_fieldName)); +static TTQString* _qstring_fieldName = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) width); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQDataTable*) 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(); + jboolean xret = (jboolean) ((TTQDataTable*) 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(); + jboolean xret = (jboolean) ((TTQDataTable*) QtSupport::getQt(env, obj))->autoEdit(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_beginInsert(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginInsert(); + 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*)((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginUpdate((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_beginUpdate((int) row, (int) col, (bool) replace), "org.kde.qt.TTQWidget"); return xret; } @@ -730,112 +730,112 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDataTable*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_clearCell((int) row, (int) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TQSql::Op) m); + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmCancel((TTQSql::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(); + jboolean xret = (jboolean) ((TTQDataTable*) 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(); + jboolean xret = (jboolean) ((TTQDataTable*) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TQSql::Op) m); + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_confirmEdit((TTQSql::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(); + jboolean xret = (jboolean) ((TTQDataTable*) 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(); + jboolean xret = (jboolean) ((TTQDataTable*) 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(); + jboolean xret = (jboolean) ((TTQDataTable*) QtSupport::getQt(env, obj))->confirmUpdate(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) 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*)((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataTable*) QtSupport::getQt(env, obj))->currentRecord(), "org.kde.qt.TTQSqlRecord"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QDataTable_dateFormat(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDataTable*) QtSupport::getQt(env, obj))->dateFormat(); + jint xret = (jint) ((TTQDataTable*) QtSupport::getQt(env, obj))->dateFormat(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDataTable_deleteCurrent(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_deleteCurrent(); return xret; } @@ -849,52 +849,52 @@ Java_org_kde_qt_QDataTable_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_endEdit(JNIEnv* env, jobject obj, jint row, jint col, jboolean accept, jboolean replace) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataTable*) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_fieldAlignment((const TQSqlField*) QtSupport::getQt(env, field)); + jint xret = (jint) ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_fieldAlignment((const TTQSqlField*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataTable*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDataTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDataTable*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -903,64 +903,64 @@ Java_org_kde_qt_QDataTable_finalize(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TTQSqlIndex&)*(const TTQSqlIndex*) 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); + jboolean xret = (jboolean) ((TTQDataTable*) QtSupport::getQt(env, obj))->findBuffer((const TTQSqlIndex&)*(const TTQSqlIndex*) 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::toQString(env, str, &_qstring_str), (bool) caseSensitive, (bool) backwards); +static TTQString* _qstring_str = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, e)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_handleError((const TTQSqlError&)*(const TTQSqlError*) 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); + ((TTQDataTable*) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((uint) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_insertCurrent(); + 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)); + ((TTQDataTable*) QtSupport::getQt(env, obj))->installEditorFactory((TTQSqlEditorFactory*) 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)); + ((TTQDataTable*) QtSupport::getQt(env, obj))->installPropertyMap((TTQSqlPropertyMap*) QtSupport::getQt(env, m)); return; } @@ -973,91 +973,91 @@ Java_org_kde_qt_QDataTable_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QDataTable_item(JNIEnv* env, jobject obj, jint row, jint col) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_item((int) row, (int) col), "org.kde.qt.TQTableItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_item((int) row, (int) col), "org.kde.qt.TTQTableItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDataTable_newTQDataTable__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataTableJBridge()); + QtSupport::setQt(env, obj, new TQDataTableJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject cursor) +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 QDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor))); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQSqlCursor*) QtSupport::getQt(env, cursor))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2Z(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate) +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 QDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate)); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent) +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 QDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject cursor, jboolean autoPopulate, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataTableJBridge((TQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQSqlCursor*) QtSupport::getQt(env, cursor), (bool) autoPopulate, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDataTableJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1066,429 +1066,429 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataTable_nullText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQDataTable*) QtSupport::getQt(env, obj))->nullText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataTable*) 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(); + jint xret = (jint) ((TTQDataTable*) 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(); + jint xret = (jint) ((TTQDataTable*) 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) { - ((QDataTableJBridge*) 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)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TTQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TTQColorGroup&)*(const TTQColorGroup*) 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) { - ((QDataTableJBridge*) 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); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_paintField((TTQPainter*) QtSupport::getQt(env, p), (const TTQSqlField*) QtSupport::getQt(env, field), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, cr), (bool) selected); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_refresh__(JNIEnv* env, jobject obj) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->public_refresh(); + ((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); + ((TTQDataTable*) QtSupport::getQt(env, obj))->refresh((TTQDataTable::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); + ((TTQDataTable*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_repaintCell((int) row, (int) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_resizeData(JNIEnv* env, jobject obj, jint len) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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::toQString(env, fieldName, &_qstring_fieldName)); +static TTQString* _qstring_fieldName = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) width); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) 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::toQString(env, fieldName, &_qstring_fieldName), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) width, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); +static TTQString* _qstring_fieldName = 0; +static TTQString* _qstring_label = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setColumn((uint) col, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width, (const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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 Qt::DateFormat) f); + ((TTQDataTable*) 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::toQString(env, falseText, &_qstring_falseText)); +static TTQString* _qstring_falseText = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setFalseText((const TTQString&)*(TTQString*) 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::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setFilter((const TTQString&)*(TTQString*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setItem((int) row, (int) col, (TQTableItem*) QtSupport::getQt(env, item)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setItem((int) row, (int) col, (TTQTableItem*) 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::toQString(env, nullText, &_qstring_nullText)); +static TTQString* _qstring_nullText = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setNullText((const TTQString&)*(TTQString*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setPixmap((int) row, (int) col, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setPixmap((int) row, (int) col, (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSize(JNIEnv* env, jobject obj, jobject sql) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setSize((TQSqlCursor*) QtSupport::getQt(env, sql)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_setSize((TTQSqlCursor*) 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)); + ((TTQDataTable*) QtSupport::getQt(env, obj))->setSort((const TTQSqlIndex&)*(const TTQSqlIndex*) 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::toQStringList(env, sort, &_qlist_sort)); +static TTQStringList* _qlist_sort = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setSort((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, sort, &_qlist_sort)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_setSqlCursor__(JNIEnv* env, jobject obj) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->public_setSqlCursor(); + ((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)); + ((TTQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TTQSqlCursor*) 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); + ((TTQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TTQSqlCursor*) 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); + ((TTQDataTable*) QtSupport::getQt(env, obj))->setSqlCursor((TTQSqlCursor*) 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::toQString(env, trueText, &_qstring_trueText)); +static TTQString* _qstring_trueText = 0; + ((TTQDataTable*) QtSupport::getQt(env, obj))->setTrueText((const TTQString&)*(TTQString*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQDataTable*) QtSupport::getQt(env, obj))->sort(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataTable*) QtSupport::getQt(env, obj))->sqlCursor(), "org.kde.qt.TTQSqlCursor"); 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); + ((TTQDataTable*) 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); + ((TTQDataTable*) 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) { - ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_takeItem((TQTableItem*) QtSupport::getQt(env, i)); + ((TQDataTableJBridge*) QtSupport::getQt(env, obj))->protected_takeItem((TTQTableItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataTable*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDataTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDataTable*) 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) ((QDataTableJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrent(); + 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQDataTable*) QtSupport::getQt(env, obj))->value((int) row, (int) col)), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QDataTable.h b/qtjava/javalib/qtjava/QDataTable.h index 02b47f03..3871bcca 100644 --- a/qtjava/javalib/qtjava/QDataTable.h +++ b/qtjava/javalib/qtjava/QDataTable.h @@ -12,13 +12,13 @@ extern "C" 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_newQDataTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newQDataTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newQDataTable__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_newQDataTable__Lorg_kde_qt_QSqlCursor_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataTable_newQDataTable__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QDataView.cpp b/qtjava/javalib/qtjava/QDataView.cpp index 16f94aff..0e8f5d2d 100644 --- a/qtjava/javalib/qtjava/QDataView.cpp +++ b/qtjava/javalib/qtjava/QDataView.cpp @@ -4,407 +4,407 @@ #include #include -#include +#include -class QDataViewJBridge : public QDataView +class TQDataViewJBridge : public TQDataView { public: - QDataViewJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQDataView(arg1,arg2,arg3) {}; - QDataViewJBridge(TQWidget* arg1,const char* arg2) : TQDataView(arg1,arg2) {}; - QDataViewJBridge(TQWidget* arg1) : TQDataView(arg1) {}; - QDataViewJBridge() : TQDataView() {}; + TQDataViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQDataView(arg1,arg2,arg3) {}; + TQDataViewJBridge(TTQWidget* arg1,const char* arg2) : TTQDataView(arg1,arg2) {}; + TQDataViewJBridge(TTQWidget* arg1) : TTQDataView(arg1) {}; + TQDataViewJBridge() : TTQDataView() {}; void public_readFields() { - TQDataView::readFields(); + TTQDataView::readFields(); return; } void public_writeFields() { - TQDataView::writeFields(); + TTQDataView::writeFields(); return; } void public_clearValues() { - TQDataView::clearValues(); + TTQDataView::clearValues(); return; } - ~QDataViewJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQDataViewJBridge() {QtSupport::qtKeyDeleted(this);} void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","writeFields")) { - TQDataView::writeFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","writeFields")) { + TTQDataView::writeFields(); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","readFields")) { - TQDataView::readFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","readFields")) { + TTQDataView::readFields(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void setRecord(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQDataView::setRecord(arg1); + void setRecord(TTQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TTQSqlRecord")) { + TTQDataView::setRecord(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearValues() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","clearValues")) { - TQDataView::clearValues(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","clearValues")) { + TTQDataView::clearValues(); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void refresh(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"refresh",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQDataView::refresh(arg1); + void refresh(TTQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"refresh",(void*)arg1,"org.kde.qt.TTQSqlRecord")) { + TTQDataView::refresh(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void setForm(TQSqlForm* arg1) { - if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TQSqlForm")) { - TQDataView::setForm(arg1); + void setForm(TTQSqlForm* arg1) { + if (!QtSupport::eventDelegate(this,"setForm",(void*)arg1,"org.kde.qt.TTQSqlForm")) { + TTQDataView::setForm(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDataView",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDataView",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDataView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDataView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -414,14 +414,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDataView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDataView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDataView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_clearValues(JNIEnv* env, jobject obj) { - ((QDataViewJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); return; } @@ -435,8 +435,8 @@ Java_org_kde_qt_QDataView_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDataView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDataView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -445,7 +445,7 @@ Java_org_kde_qt_QDataView_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataView*) QtSupport::getQt(env, obj))->form(), "org.kde.qt.TTQSqlForm"); return xret; } @@ -458,47 +458,47 @@ Java_org_kde_qt_QDataView_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newQDataView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDataView_newTQDataView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataViewJBridge()); + QtSupport::setQt(env, obj, new TQDataViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newQDataView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDataViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDataViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDataView_newQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint fl) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDataViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) fl)); + QtSupport::setQt(env, obj, new TQDataViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) fl)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -507,63 +507,63 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_readFields(JNIEnv* env, jobject obj) { - ((QDataViewJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDataView*) QtSupport::getQt(env, obj))->record(), "org.kde.qt.TTQSqlRecord"); 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)); + ((TTQDataView*) QtSupport::getQt(env, obj))->refresh((TTQSqlRecord*) 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)); + ((TTQDataView*) QtSupport::getQt(env, obj))->setForm((TTQSqlForm*) 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)); + ((TTQDataView*) QtSupport::getQt(env, obj))->setRecord((TTQSqlRecord*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDataViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QDataViewJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + ((TQDataViewJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); return; } diff --git a/qtjava/javalib/qtjava/QDataView.h b/qtjava/javalib/qtjava/QDataView.h index 8c4da948..4cfa063c 100644 --- a/qtjava/javalib/qtjava/QDataView.h +++ b/qtjava/javalib/qtjava/QDataView.h @@ -12,10 +12,10 @@ extern "C" 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_newQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newQDataView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newQDataView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDataView_newQDataView__ (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); diff --git a/qtjava/javalib/qtjava/QDateEdit.cpp b/qtjava/javalib/qtjava/QDateEdit.cpp index 30907bf2..836580ed 100644 --- a/qtjava/javalib/qtjava/QDateEdit.cpp +++ b/qtjava/javalib/qtjava/QDateEdit.cpp @@ -5,423 +5,423 @@ #include #include -#include +#include -class QDateEditJBridge : public QDateEdit +class TQDateEditJBridge : public TQDateEdit { public: - QDateEditJBridge(TQWidget* arg1,const char* arg2) : QDateEdit(arg1,arg2) {}; - QDateEditJBridge(TQWidget* arg1) : QDateEdit(arg1) {}; - QDateEditJBridge() : QDateEdit() {}; - QDateEditJBridge(const TQDate& arg1,TQWidget* arg2,const char* arg3) : QDateEdit(arg1,arg2,arg3) {}; - QDateEditJBridge(const TQDate& arg1,TQWidget* arg2) : QDateEdit(arg1,arg2) {}; - QDateEditJBridge(const TQDate& arg1) : QDateEdit(arg1) {}; - bool protected_event(TQEvent* arg1) { - return (bool) QDateEdit::event(arg1); + TQDateEditJBridge(TTQWidget* arg1,const char* arg2) : TQDateEdit(arg1,arg2) {}; + TQDateEditJBridge(TTQWidget* arg1) : TQDateEdit(arg1) {}; + TQDateEditJBridge() : TQDateEdit() {}; + TQDateEditJBridge(const TTQDate& arg1,TTQWidget* arg2,const char* arg3) : TQDateEdit(arg1,arg2,arg3) {}; + TQDateEditJBridge(const TTQDate& arg1,TTQWidget* arg2) : TQDateEdit(arg1,arg2) {}; + TQDateEditJBridge(const TTQDate& arg1) : TQDateEdit(arg1) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TQDateEdit::event(arg1); } - void protected_timerEvent(TQTimerEvent* arg1) { - QDateEdit::timerEvent(arg1); + void protected_timerEvent(TTQTimerEvent* arg1) { + TQDateEdit::timerEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - QDateEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TQDateEdit::resizeEvent(arg1); return; } void protected_stepUp() { - QDateEdit::stepUp(); + TQDateEdit::stepUp(); return; } void protected_stepDown() { - QDateEdit::stepDown(); + TQDateEdit::stepDown(); return; } - TQString protected_sectionFormattedText(int arg1) { - return (TQString) QDateEdit::sectionFormattedText(arg1); + TTQString protected_sectionFormattedText(int arg1) { + return (TTQString) TQDateEdit::sectionFormattedText(arg1); } void protected_addNumber(int arg1,int arg2) { - QDateEdit::addNumber(arg1,arg2); + TQDateEdit::addNumber(arg1,arg2); return; } void protected_removeLastNumber(int arg1) { - QDateEdit::removeLastNumber(arg1); + TQDateEdit::removeLastNumber(arg1); return; } bool protected_setFocusSection(int arg1) { - return (bool) QDateEdit::setFocusSection(arg1); + return (bool) TQDateEdit::setFocusSection(arg1); } void protected_setYear(int arg1) { - QDateEdit::setYear(arg1); + TQDateEdit::setYear(arg1); return; } void protected_setMonth(int arg1) { - QDateEdit::setMonth(arg1); + TQDateEdit::setMonth(arg1); return; } void protected_setDay(int arg1) { - QDateEdit::setDay(arg1); + TQDateEdit::setDay(arg1); return; } void protected_fix() { - QDateEdit::fix(); + TQDateEdit::fix(); return; } bool protected_outOfRange(int arg1,int arg2,int arg3) { - return (bool) QDateEdit::outOfRange(arg1,arg2,arg3); + return (bool) TQDateEdit::outOfRange(arg1,arg2,arg3); } void protected_updateButtons() { - QDateEdit::updateButtons(); + TQDateEdit::updateButtons(); return; } - ~QDateEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDateEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - QDateEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TQDateEdit::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - QDateEdit::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TQDateEdit::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } void fix() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","fix")) { - QDateEdit::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); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QDateEdit",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDateEdit",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -430,14 +430,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) 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) ((QDateEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + jboolean xret = (jboolean) ((TQDateEdit*) QtSupport::getQt(env, obj))->autoAdvance(); return xret; } @@ -445,16 +445,16 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QDateEdit*) QtSupport::getQt(env, obj))->className(); + _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 = ((QDateEdit*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->date(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT void JNICALL @@ -467,15 +467,15 @@ Java_org_kde_qt_QDateEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateEdit_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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*)(QDateEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (QDateEdit*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TQDateEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDateEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -484,7 +484,7 @@ Java_org_kde_qt_QDateEdit_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_fix(JNIEnv* env, jobject obj) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_fix(); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_fix(); return; } @@ -497,93 +497,93 @@ Java_org_kde_qt_QDateEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_maxValue(JNIEnv* env, jobject obj) { - TQDate _qdate; - _qdate = ((QDateEdit*) QtSupport::getQt(env, obj))->maxValue(); - return (jobject) QtSupport::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->maxValue(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDateEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minValue(JNIEnv* env, jobject obj) { - TQDate _qdate; - _qdate = ((QDateEdit*) QtSupport::getQt(env, obj))->minValue(); - return (jobject) QtSupport::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TQDateEdit*) QtSupport::getQt(env, obj))->minValue(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateEdit_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((QDateEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDateEdit_newTQDateEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateEditJBridge()); + QtSupport::setQt(env, obj, new TQDateEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) +Java_org_kde_qt_QDateEdit_newTQDateEdit__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) { -static TQDate* _qdate_date = 0; +static TTQDate* _qdate_date = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateEditJBridge((const TQDate&)*(TQDate*) QtSupport::toQDate(env, date, &_qdate_date))); + QtSupport::setQt(env, obj, new TQDateEditJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject date, jobject parent) +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; +static TTQDate* _qdate_date = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateEditJBridge((const TQDate&)*(TQDate*) QtSupport::toQDate(env, date, &_qdate_date), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDateEditJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject date, jobject parent, jstring name) +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; +static TTQDate* _qdate_date = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateEditJBridge((const TQDate&)*(TQDate*) QtSupport::toQDate(env, date, &_qdate_date), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDateEditJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDateEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDateEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateEdit_newQDateEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDateEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -592,190 +592,190 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QDateEdit_order(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QDateEdit*) QtSupport::getQt(env, obj))->order(); + 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) ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) y, (int) m, (int) 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) { - ((QDateEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) 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) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) 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) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) { - TQString _qstring; - _qstring = ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); - return QtSupport::fromQString(env, &_qstring); + TTQString _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 = ((QDateEdit*) QtSupport::getQt(env, obj))->separator(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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) { - ((QDateEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) 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; - ((QDateEdit*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toQDate(env, date, &_qdate_date)); +static TTQDate* _qdate_date = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setDate((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setDay(JNIEnv* env, jobject obj, jint day) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setDay((int) 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) ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) 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; - ((QDateEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQDate&)*(TQDate*) QtSupport::toQDate(env, d, &_qdate_d)); +static TTQDate* _qdate_d = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TTQDate&)*(TTQDate*) 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; - ((QDateEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQDate&)*(TQDate*) QtSupport::toQDate(env, d, &_qdate_d)); +static TTQDate* _qdate_d = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setMinValue((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, d, &_qdate_d)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setMonth(JNIEnv* env, jobject obj, jint month) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setMonth((int) 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) { - ((QDateEdit*) QtSupport::getQt(env, obj))->setOrder((QDateEdit::Order) 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; - ((QDateEdit*) QtSupport::getQt(env, obj))->setRange((const TQDate&)*(TQDate*) QtSupport::toQDate(env, min, &_qdate_min), (const TQDate&)*(TQDate*) QtSupport::toQDate(env, max, &_qdate_max)); +static TTQDate* _qdate_min = 0; +static TTQDate* _qdate_max = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setRange((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, min, &_qdate_min), (const TTQDate&)*(TTQDate*) 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; - ((QDateEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TQDateEdit*) QtSupport::getQt(env, obj))->setSeparator((const TTQString&)*(TTQString*) QtSupport::toTQString(env, s, &_qstring_s)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_setYear(JNIEnv* env, jobject obj, jint year) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_setYear((int) 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(((QDateEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQDateEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepDown(JNIEnv* env, jobject obj) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_stepUp(JNIEnv* env, jobject obj) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_timerEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDateEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QDateEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); + ((TQDateEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); return; } diff --git a/qtjava/javalib/qtjava/QDateEdit.h b/qtjava/javalib/qtjava/QDateEdit.h index 83ebc18b..f1f1d29c 100644 --- a/qtjava/javalib/qtjava/QDateEdit.h +++ b/qtjava/javalib/qtjava/QDateEdit.h @@ -12,12 +12,12 @@ extern "C" 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_newQDateEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newQDateEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newQDateEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newQDateEdit__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_newQDateEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateEdit_newQDateEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QDateTimeEdit.cpp b/qtjava/javalib/qtjava/QDateTimeEdit.cpp index c920188a..3da9c60e 100644 --- a/qtjava/javalib/qtjava/QDateTimeEdit.cpp +++ b/qtjava/javalib/qtjava/QDateTimeEdit.cpp @@ -5,377 +5,377 @@ #include #include -#include +#include -class QDateTimeEditJBridge : public QDateTimeEdit +class TQDateTimeEditJBridge : public TQDateTimeEdit { public: - QDateTimeEditJBridge(TQWidget* arg1,const char* arg2) : QDateTimeEdit(arg1,arg2) {}; - QDateTimeEditJBridge(TQWidget* arg1) : QDateTimeEdit(arg1) {}; - QDateTimeEditJBridge() : QDateTimeEdit() {}; - QDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2,const char* arg3) : QDateTimeEdit(arg1,arg2,arg3) {}; - QDateTimeEditJBridge(const TQDateTime& arg1,TQWidget* arg2) : QDateTimeEdit(arg1,arg2) {}; - QDateTimeEditJBridge(const TQDateTime& arg1) : QDateTimeEdit(arg1) {}; + TQDateTimeEditJBridge(TTQWidget* arg1,const char* arg2) : TQDateTimeEdit(arg1,arg2) {}; + TQDateTimeEditJBridge(TTQWidget* arg1) : TQDateTimeEdit(arg1) {}; + TQDateTimeEditJBridge() : TQDateTimeEdit() {}; + TQDateTimeEditJBridge(const TTQDateTime& arg1,TTQWidget* arg2,const char* arg3) : TQDateTimeEdit(arg1,arg2,arg3) {}; + TQDateTimeEditJBridge(const TTQDateTime& arg1,TTQWidget* arg2) : TQDateTimeEdit(arg1,arg2) {}; + TQDateTimeEditJBridge(const TTQDateTime& arg1) : TQDateTimeEdit(arg1) {}; void protected_init() { - QDateTimeEdit::init(); + TQDateTimeEdit::init(); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - QDateTimeEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TQDateTimeEdit::resizeEvent(arg1); return; } - void protected_newValue(const TQDate& arg1) { - QDateTimeEdit::newValue(arg1); + void protected_newValue(const TTQDate& arg1) { + TQDateTimeEdit::newValue(arg1); return; } - void protected_newValue(const TQTime& arg1) { - QDateTimeEdit::newValue(arg1); + void protected_newValue(const TTQTime& arg1) { + TQDateTimeEdit::newValue(arg1); return; } - ~QDateTimeEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDateTimeEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - QDateTimeEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TQDateTimeEdit::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QDateTimeEdit",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDateTimeEdit",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QDateTimeEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDateTimeEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -384,7 +384,7 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDateTimeEdit_autoAdvance(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDateTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + jboolean xret = (jboolean) ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); return xret; } @@ -392,23 +392,23 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QDateTimeEdit*) QtSupport::getQt(env, obj))->className(); + _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*)((QDateTimeEdit*) QtSupport::getQt(env, obj))->dateEdit(), "org.kde.qt.QDateEdit"); + 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 = ((QDateTimeEdit*) QtSupport::getQt(env, obj))->dateTime(); - return (jobject) QtSupport::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->dateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate); } JNIEXPORT void JNICALL @@ -421,8 +421,8 @@ Java_org_kde_qt_QDateTimeEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(QDateTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (QDateTimeEdit*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TQDateTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQDateTimeEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -431,7 +431,7 @@ Java_org_kde_qt_QDateTimeEdit_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_init(JNIEnv* env, jobject obj) { - ((QDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_init(); + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_init(); return; } @@ -444,77 +444,77 @@ Java_org_kde_qt_QDateTimeEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDateTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDateTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((QDateTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateTimeEditJBridge()); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject datetime) +Java_org_kde_qt_QDateTimeEdit_newTQDateTimeEdit__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject datetime) { -static TQDateTime* _qdate_datetime = 0; +static TTQDateTime* _qdate_datetime = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateTimeEditJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, datetime, &_qdate_datetime))); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((const TTQDateTime&)*(TTQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent) +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; +static TTQDateTime* _qdate_datetime = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateTimeEditJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, datetime, &_qdate_datetime), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((const TTQDateTime&)*(TTQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent, jstring name) +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; +static TTQDateTime* _qdate_datetime = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateTimeEditJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, datetime, &_qdate_datetime), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((const TTQDateTime&)*(TTQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDateTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDateTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -523,73 +523,73 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newValue__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject d) { -static TQDate* _qdate_d = 0; - ((QDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQDate&)*(TQDate*) QtSupport::toQDate(env, d, &_qdate_d)); +static TTQDate* _qdate_d = 0; + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TTQDate&)*(TTQDate*) 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; - ((QDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TQTime&)*(TQTime*) QtSupport::toQTime(env, t, &_qtime_t)); +static TTQTime* _qtime_t = 0; + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_newValue((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, t, &_qtime_t)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQDateTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_setAutoAdvance(JNIEnv* env, jobject obj, jboolean advance) { - ((QDateTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) 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; - ((QDateTimeEdit*) QtSupport::getQt(env, obj))->setDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, dt, &_qdate_dt)); +static TTQDateTime* _qdate_dt = 0; + ((TQDateTimeEdit*) QtSupport::getQt(env, obj))->setDateTime((const TTQDateTime&)*(TTQDateTime*) 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(((QDateTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQDateTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDateTimeEdit_timeEdit(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDateTimeEdit*) QtSupport::getQt(env, obj))->timeEdit(), "org.kde.qt.QTimeEdit"); + 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDateTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index d0ad0582..b314823b 100644 --- a/qtjava/javalib/qtjava/QDateTimeEdit.h +++ b/qtjava/javalib/qtjava/QDateTimeEdit.h @@ -12,12 +12,12 @@ extern "C" 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_newQDateTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__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_newQDateTimeEdit__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDateTimeEdit_newQDateTimeEdit__Ljava_util_Calendar_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QDateTimeEditBase.cpp b/qtjava/javalib/qtjava/QDateTimeEditBase.cpp index 4a5dda7b..f48bb877 100644 --- a/qtjava/javalib/qtjava/QDateTimeEditBase.cpp +++ b/qtjava/javalib/qtjava/QDateTimeEditBase.cpp @@ -3,12 +3,12 @@ #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); + ((TTQDateTimeEditBase*) QtSupport::getQt(env, obj))->addNumber((int) sec, (int) num); return; } @@ -16,71 +16,71 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDateTimeEditBase_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDateTimeEditBase*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDateTimeEditBase*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDateTimeEditBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + ((TTQDateTimeEditBase*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDateTimeEditBase*) 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); + jboolean xret = (jboolean) ((TTQDateTimeEditBase*) 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(); + ((TTQDateTimeEditBase*) 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(); + ((TTQDateTimeEditBase*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDateTimeEditBase::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQDateTimeEditBase::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQDateTimeEditBase::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.cpp b/qtjava/javalib/qtjava/QDesktopWidget.cpp index 2d605506..ced651e8 100644 --- a/qtjava/javalib/qtjava/QDesktopWidget.cpp +++ b/qtjava/javalib/qtjava/QDesktopWidget.cpp @@ -5,354 +5,354 @@ #include #include -#include +#include -class QDesktopWidgetJBridge : public QDesktopWidget +class TQDesktopWidgetJBridge : public TQDesktopWidget { public: - QDesktopWidgetJBridge() : TQDesktopWidget() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDesktopWidget::resizeEvent(arg1); + TQDesktopWidgetJBridge() : TTQDesktopWidget() {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQDesktopWidget::resizeEvent(arg1); return; } - ~QDesktopWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDesktopWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDesktopWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDesktopWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDesktopWidget",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDesktopWidget",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDesktopWidget","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDesktopWidget","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -361,28 +361,28 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry(), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((int) screen), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->availableGeometry((TTQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TTQRect"); return xret; } @@ -390,7 +390,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDesktopWidget*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDesktopWidget*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -404,8 +404,8 @@ Java_org_kde_qt_QDesktopWidget_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDesktopWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDesktopWidget*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -414,7 +414,7 @@ Java_org_kde_qt_QDesktopWidget_finalize(JNIEnv* env, jobject obj) 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)); + ((TTQDesktopWidget*) QtSupport::getQt(env, obj))->insertChild((TTQObject*) QtSupport::getQt(env, arg1)); return; } @@ -427,22 +427,22 @@ Java_org_kde_qt_QDesktopWidget_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDesktopWidget_isVirtualDesktop(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->isVirtualDesktop(); + jboolean xret = (jboolean) ((TTQDesktopWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDesktopWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDesktopWidget_newQDesktopWidget(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDesktopWidget_newTQDesktopWidget(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDesktopWidgetJBridge()); + QtSupport::setQt(env, obj, new TQDesktopWidgetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -451,105 +451,105 @@ Java_org_kde_qt_QDesktopWidget_newQDesktopWidget(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_numScreens(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->numScreens(); + jint xret = (jint) ((TTQDesktopWidget*) 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(); + jint xret = (jint) ((TTQDesktopWidget*) QtSupport::getQt(env, obj))->primaryScreen(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDesktopWidget_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDesktopWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQDesktopWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry(), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((int) screen), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, point)), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenGeometry((TTQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TTQRect"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QDesktopWidget_screenNumber__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber(); + jint xret = (jint) ((TTQDesktopWidget*) 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)); + jint xret = (jint) ((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((const TTQPoint&)*(const TTQPoint*) 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)); + jint xret = (jint) ((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screenNumber((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screen(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDesktopWidget*) QtSupport::getQt(env, obj))->screen((int) screen), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDesktopWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDesktopWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index d13fa706..ca030054 100644 --- a/qtjava/javalib/qtjava/QDesktopWidget.h +++ b/qtjava/javalib/qtjava/QDesktopWidget.h @@ -12,7 +12,7 @@ extern "C" 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_newQDesktopWidget (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); diff --git a/qtjava/javalib/qtjava/QDial.cpp b/qtjava/javalib/qtjava/QDial.cpp index 1e06bb76..9f165a14 100644 --- a/qtjava/javalib/qtjava/QDial.cpp +++ b/qtjava/javalib/qtjava/QDial.cpp @@ -6,443 +6,443 @@ #include #include -#include +#include -class QDialJBridge : public QDial +class TQDialJBridge : public TQDial { public: - QDialJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQDial(arg1,arg2,arg3) {}; - QDialJBridge(TQWidget* arg1,const char* arg2) : TQDial(arg1,arg2) {}; - QDialJBridge(TQWidget* arg1) : TQDial(arg1) {}; - QDialJBridge() : TQDial() {}; - QDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5,const char* arg6) : TQDial(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QDialJBridge(int arg1,int arg2,int arg3,int arg4,TQWidget* arg5) : TQDial(arg1,arg2,arg3,arg4,arg5) {}; - QDialJBridge(int arg1,int arg2,int arg3,int arg4) : TQDial(arg1,arg2,arg3,arg4) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDial::resizeEvent(arg1); + TQDialJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQDial(arg1,arg2,arg3) {}; + TQDialJBridge(TTQWidget* arg1,const char* arg2) : TTQDial(arg1,arg2) {}; + TQDialJBridge(TTQWidget* arg1) : TTQDial(arg1) {}; + TQDialJBridge() : TTQDial() {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TTQWidget* arg5,const char* arg6) : TTQDial(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4,TTQWidget* arg5) : TTQDial(arg1,arg2,arg3,arg4,arg5) {}; + TQDialJBridge(int arg1,int arg2,int arg3,int arg4) : TTQDial(arg1,arg2,arg3,arg4) {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQDial::resizeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQDial::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQDial::paintEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDial::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQDial::keyPressEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQDial::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQDial::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQDial::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQDial::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQDial::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQDial::mouseMoveEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQDial::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQDial::wheelEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQDial::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQDial::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQDial::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQDial::focusOutEvent(arg1); return; } void protected_valueChange() { - TQDial::valueChange(); + TTQDial::valueChange(); return; } void protected_rangeChange() { - TQDial::rangeChange(); + TTQDial::rangeChange(); return; } - void protected_repaintScreen(const TQRect* arg1) { - TQDial::repaintScreen(arg1); + void protected_repaintScreen(const TTQRect* arg1) { + TTQDial::repaintScreen(arg1); return; } void protected_repaintScreen() { - TQDial::repaintScreen(); + TTQDial::repaintScreen(); return; } - ~QDialJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQDialJBridge() {QtSupport::qtKeyDeleted(this);} int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); + return (int) TTQRangeControl::positionFromValue(arg1,arg2); } int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); + return (int) TTQRangeControl::valueFromPosition(arg1,arg2); } void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); + TTQRangeControl::directSetValue(arg1); return; } int protected_prevValue() { - return (int) TQRangeControl::prevValue(); + return (int) TTQRangeControl::prevValue(); } void protected_stepChange() { - TQRangeControl::stepChange(); + TTQRangeControl::stepChange(); return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDial::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDial::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void repaintScreen(const TQRect* arg1) { - if (!QtSupport::eventDelegate(this,"repaintScreen",(void*)arg1,"org.kde.qt.TQRect")) { - TQDial::repaintScreen(arg1); + void repaintScreen(const TTQRect* arg1) { + if (!QtSupport::eventDelegate(this,"repaintScreen",(void*)arg1,"org.kde.qt.TTQRect")) { + TTQDial::repaintScreen(arg1); } return; } void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","stepChange")) { - TQRangeControl::stepChange(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","stepChange")) { + TTQRangeControl::stepChange(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQDial::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQDial::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQDial::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQDial::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDial::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDial::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQDial::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQDial::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQDial::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQDial::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQDial::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQDial::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQDial::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQDial::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQDial::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQDial::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDial",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDial",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDial","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDial","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -451,21 +451,21 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QDial_addLine(JNIEnv* env, jobject obj) { - ((TQDial*) QtSupport::getQt(env, obj))->addLine(); + ((TTQDial*) 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(); + ((TTQDial*) 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); + jint xret = (jint) ((TTQRangeControl*)(TTQDial*) QtSupport::getQt(env, obj))->bound((int) arg1); return xret; } @@ -473,14 +473,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDial_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDial*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDial*) 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) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } @@ -494,8 +494,8 @@ Java_org_kde_qt_QDial_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDial*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDial*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -504,14 +504,14 @@ Java_org_kde_qt_QDial_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } @@ -524,134 +524,134 @@ Java_org_kde_qt_QDial_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDial_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQDial*) 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(); + jint xret = (jint) ((TTQDial*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDial*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_minValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->minValue(); + jint xret = (jint) ((TTQDial*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDial*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDial_newTQDial__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialJBridge()); + QtSupport::setQt(env, obj, new TQDialJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__IIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value) +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 QDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value)); + 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_newQDial__IIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent) +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 QDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__IIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDialJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDialJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDialJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDialJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDial_newQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQDialJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -660,245 +660,245 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QDial_notchSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDial*) QtSupport::getQt(env, obj))->notchSize(); + jint xret = (jint) ((TTQDial*) 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(); + jdouble xret = (jdouble) ((TTQDial*) 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(); + jboolean xret = (jboolean) ((TTQDial*) 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(); + jint xret = (jint) ((TTQDial*) QtSupport::getQt(env, obj))->pageStep(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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) ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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) ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + 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) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_repaintScreen__(JNIEnv* env, jobject obj) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen(); + ((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) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen((const TQRect*) QtSupport::getQt(env, cr)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_repaintScreen((const TTQRect*) QtSupport::getQt(env, cr)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQRangeControl*)(TTQDial*) 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); + ((TTQRangeControl*)(TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + ((TTQDial*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDial*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_stepChange(JNIEnv* env, jobject obj) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((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(); + ((TTQDial*) 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(); + ((TTQDial*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDialJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQDial*) QtSupport::getQt(env, obj))->tracking(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_valueChange(JNIEnv* env, jobject obj) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((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) ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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(); + jint xret = (jint) ((TTQDial*) QtSupport::getQt(env, obj))->value(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDial_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQDialJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) 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(); + jboolean xret = (jboolean) ((TTQDial*) QtSupport::getQt(env, obj))->wrapping(); return xret; } diff --git a/qtjava/javalib/qtjava/QDial.h b/qtjava/javalib/qtjava/QDial.h index 85b7a3dc..8110ad02 100644 --- a/qtjava/javalib/qtjava/QDial.h +++ b/qtjava/javalib/qtjava/QDial.h @@ -12,13 +12,13 @@ extern "C" 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_newQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newQDial__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newQDial__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newQDial__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newQDial__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_newQDial__IIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDial_newQDial__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QDialog.cpp b/qtjava/javalib/qtjava/QDialog.cpp index c238e55e..90e591fc 100644 --- a/qtjava/javalib/qtjava/QDialog.cpp +++ b/qtjava/javalib/qtjava/QDialog.cpp @@ -7,390 +7,390 @@ #include #include -#include +#include -class QDialogJBridge : public QDialog +class TQDialogJBridge : public TQDialog { public: - QDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,Qt::WFlags arg4) : TQDialog(arg1,arg2,arg3,arg4) {}; - QDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQDialog(arg1,arg2,arg3) {}; - QDialogJBridge(TQWidget* arg1,const char* arg2) : TQDialog(arg1,arg2) {}; - QDialogJBridge(TQWidget* arg1) : TQDialog(arg1) {}; - QDialogJBridge() : TQDialog() {}; + TQDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TTQDialog(arg1,arg2,arg3,arg4) {}; + TQDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQDialog(arg1,arg2,arg3) {}; + TQDialogJBridge(TTQWidget* arg1,const char* arg2) : TTQDialog(arg1,arg2) {}; + TQDialogJBridge(TTQWidget* arg1) : TTQDialog(arg1) {}; + TQDialogJBridge() : TTQDialog() {}; void protected_setResult(int arg1) { - TQDialog::setResult(arg1); + TTQDialog::setResult(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQDialog::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQDialog::keyPressEvent(arg1); return; } - void protected_closeEvent(TQCloseEvent* arg1) { - TQDialog::closeEvent(arg1); + void protected_closeEvent(TTQCloseEvent* arg1) { + TTQDialog::closeEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDialog::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQDialog::resizeEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQDialog::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQDialog::contextMenuEvent(arg1); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQDialog::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQDialog::eventFilter(arg1,arg2); } - void protected_adjustPosition(TQWidget* arg1) { - TQDialog::adjustPosition(arg1); + void protected_adjustPosition(TTQWidget* arg1) { + TTQDialog::adjustPosition(arg1); return; } void protected_done(int arg1) { - TQDialog::done(arg1); + TTQDialog::done(arg1); return; } void protected_accept() { - TQDialog::accept(); + TTQDialog::accept(); return; } void protected_reject() { - TQDialog::reject(); + TTQDialog::reject(); return; } void protected_showExtension(bool arg1) { - TQDialog::showExtension(arg1); + TTQDialog::showExtension(arg1); return; } - ~QDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDialog","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDialog","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -399,14 +399,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_accept(JNIEnv* env, jobject obj) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_adjustPosition(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_adjustPosition((TQWidget*) QtSupport::getQt(env, arg1)); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_adjustPosition((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -414,21 +414,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDialog*) 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) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } @@ -442,36 +442,36 @@ Java_org_kde_qt_QDialog_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_done(JNIEnv* env, jobject obj, jint arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_done((int) 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) ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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(); + jint xret = (jint) ((TTQDialog*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDialog*) QtSupport::getQt(env, obj))->extension(), "org.kde.qt.TTQWidget"); 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -480,7 +480,7 @@ Java_org_kde_qt_QDialog_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_hide(JNIEnv* env, jobject obj) { - ((TQDialog*) QtSupport::getQt(env, obj))->hide(); + ((TTQDialog*) QtSupport::getQt(env, obj))->hide(); return; } @@ -493,100 +493,100 @@ Java_org_kde_qt_QDialog_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDialog_isModal(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDialog*) QtSupport::getQt(env, obj))->isModal(); + jboolean xret = (jboolean) ((TTQDialog*) 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(); + jboolean xret = (jboolean) ((TTQDialog*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDialog*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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); + ((TTQDialog*) 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)); + ((TTQDialog*) QtSupport::getQt(env, obj))->move((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newQDialog__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDialog_newTQDialog__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialogJBridge()); + QtSupport::setQt(env, obj, new TQDialogJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQDialogJBridge((TTQWidget*) 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_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQDialogJBridge((TTQWidget*) 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; @@ -595,133 +595,133 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QDialog_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDialog*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQDialog*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_reject(JNIEnv* env, jobject obj) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_reject(); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_reject(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQDialog*) 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)); + ((TTQDialog*) QtSupport::getQt(env, obj))->resize((const TTQSize&)*(const TTQSize*) 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(); + jint xret = (jint) ((TTQDialog*) 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)); + ((TTQDialog*) QtSupport::getQt(env, obj))->setExtension((TTQWidget*) 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); + ((TTQDialog*) 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)); + ((TTQDialog*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + ((TTQDialog*) 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((Qt::Orientation) orientation); + ((TTQDialog*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orientation); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_setResult(JNIEnv* env, jobject obj, jint r) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_setResult((int) 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); + ((TTQDialog*) QtSupport::getQt(env, obj))->setSizeGripEnabled((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_showExtension(JNIEnv* env, jobject obj, jboolean arg1) { - ((QDialogJBridge*) QtSupport::getQt(env, obj))->protected_showExtension((bool) 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(); + ((TTQDialog*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index eef07052..abfb688e 100644 --- a/qtjava/javalib/qtjava/QDialog.h +++ b/qtjava/javalib/qtjava/QDialog.h @@ -12,11 +12,11 @@ extern "C" 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_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newQDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDialog_newQDialog__ (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); diff --git a/qtjava/javalib/qtjava/QDir.cpp b/qtjava/javalib/qtjava/QDir.cpp index afa22fee..f93ba27b 100644 --- a/qtjava/javalib/qtjava/QDir.cpp +++ b/qtjava/javalib/qtjava/QDir.cpp @@ -5,138 +5,138 @@ #include #include -#include +#include -class QDirJBridge : public QDir +class TQDirJBridge : public TQDir { public: - QDirJBridge() : TQDir() {}; - QDirJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQDir(arg1,arg2,arg3,arg4) {}; - QDirJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQDir(arg1,arg2,arg3) {}; - QDirJBridge(const TQString& arg1,const TQString& arg2) : TQDir(arg1,arg2) {}; - QDirJBridge(const TQString& arg1) : TQDir(arg1) {}; - QDirJBridge(const TQDir& arg1) : TQDir(arg1) {}; + TQDirJBridge() : TTQDir() {}; + TQDirJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,int arg4) : TTQDir(arg1,arg2,arg3,arg4) {}; + TQDirJBridge(const TTQString& arg1,const TTQString& arg2,int arg3) : TTQDir(arg1,arg2,arg3) {}; + TQDirJBridge(const TTQString& arg1,const TTQString& arg2) : TTQDir(arg1,arg2) {}; + TQDirJBridge(const TTQString& arg1) : TTQDir(arg1) {}; + TQDirJBridge(const TTQDir& arg1) : TTQDir(arg1) {}; void public_convertToAbs() { - TQDir::convertToAbs(); + TTQDir::convertToAbs(); return; } - ~QDirJBridge() {QtSupport::qtKeyDeleted(this);} + ~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::toQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_fileName = 0; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->absFilePath((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_fileName = 0; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->absFilePath((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) 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(); + jboolean xret = (jboolean) ((TTQDir*) 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::toQString(env, dirName, &_qstring_dirName)); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->cd((const TTQString&)*(TTQString*) 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::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->cd((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dirPath = 0; - _qstring = QDirJBridge::cleanDirPath((const TQString&)*(TQString*) QtSupport::toQString(env, dirPath, &_qstring_dirPath)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dirPath = 0; + _qstring = TQDirJBridge::cleanDirPath((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_pathName = 0; - _qstring = QDirJBridge::convertSeparators((const TQString&)*(TQString*) QtSupport::toQString(env, pathName, &_qstring_pathName)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_pathName = 0; + _qstring = TQDirJBridge::convertSeparators((const TTQString&)*(TTQString*) QtSupport::toTQString(env, pathName, &_qstring_pathName)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDir_convertToAbs(JNIEnv* env, jobject obj) { - ((QDirJBridge*) QtSupport::getQt(env, obj))->public_convertToAbs(); + ((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(); + jint xret = (jint) ((TTQDir*) QtSupport::getQt(env, obj))->count(); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_currentDirPath(JNIEnv* env, jclass cls) { - TQString _qstring; + TTQString _qstring; (void) cls; - _qstring = QDirJBridge::currentDirPath(); - return QtSupport::fromQString(env, &_qstring); + _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(QDirJBridge::current()), "org.kde.qt.TQDir", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(TQDirJBridge::current()), "org.kde.qt.TTQDir", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->dirName(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -149,150 +149,150 @@ Java_org_kde_qt_QDir_dispose(JNIEnv* env, jobject obj) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter)); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->encodedEntryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList((int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_nameFilter = 0; + _qlist = ((TTQDir*) QtSupport::getQt(env, obj))->entryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_exists__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->exists(); + jboolean xret = (jboolean) ((TTQDir*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->exists((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (bool) acceptAbsPath); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->exists((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_fileName = 0; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->filePath((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_fileName = 0; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->filePath((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQDir*) QtSupport::getQt(env, obj))->filter(); return xret; } @@ -300,7 +300,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDir_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDir*)QtSupport::getQt(env, obj); + delete (TTQDir*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -309,17 +309,17 @@ Java_org_kde_qt_QDir_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QDir_homeDirPath(JNIEnv* env, jclass cls) { - TQString _qstring; + TTQString _qstring; (void) cls; - _qstring = QDirJBridge::homeDirPath(); - return QtSupport::fromQString(env, &_qstring); + _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(QDirJBridge::home()), "org.kde.qt.TQDir", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(TQDirJBridge::home()), "org.kde.qt.TTQDir", TRUE); return xret; } @@ -332,7 +332,7 @@ Java_org_kde_qt_QDir_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDir_isReadable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDir*) QtSupport::getQt(env, obj))->isReadable(); + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->isReadable(); return xret; } @@ -340,29 +340,29 @@ 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) QDirJBridge::isRelativePath((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + jboolean xret = (jboolean) TQDirJBridge::isRelativePath((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQDir*) 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(); + jboolean xret = (jboolean) ((TTQDir*) 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(); + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->matchAllDirs(); return xret; } @@ -370,9 +370,9 @@ 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) QDirJBridge::match((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQDirJBridge::match((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); return xret; } @@ -380,98 +380,98 @@ 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) QDirJBridge::match((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, filters, &_qlist_filters), (const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQStringList* _qlist_filters = 0; +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQDirJBridge::match((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters), (const TTQString&)*(TTQString*) 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::toQString(env, dirName, &_qstring_dirName)); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->mkdir((const TTQString&)*(TTQString*) 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::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->mkdir((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) QtSupport::getQt(env, obj))->nameFilter(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newQDir__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDir_newTQDir__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDirJBridge()); + QtSupport::setQt(env, obj, new TQDirJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) +Java_org_kde_qt_QDir_newTQDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) { -static TQString* _qstring_path = 0; +static TTQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDirJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path))); + QtSupport::setQt(env, obj, new TQDirJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path, jstring nameFilter) +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; +static TTQString* _qstring_path = 0; +static TTQString* _qstring_nameFilter = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDirJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter))); + QtSupport::setQt(env, obj, new TQDirJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, nameFilter, &_qstring_nameFilter))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec) +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; +static TTQString* _qstring_path = 0; +static TTQString* _qstring_nameFilter = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDirJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec)); + QtSupport::setQt(env, obj, new TQDirJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TTQString&)*(TTQString*) 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_newQDir__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring path, jstring nameFilter, jint sortSpec, jint filterSpec) +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; +static TTQString* _qstring_path = 0; +static TTQString* _qstring_nameFilter = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDirJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec, (int) filterSpec)); + QtSupport::setQt(env, obj, new TQDirJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TTQString&)*(TTQString*) 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_newQDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobject arg1) +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 QDirJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQDirJBridge((const TTQDir&)*(const TTQDir*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -480,104 +480,104 @@ Java_org_kde_qt_QDir_newQDir__Lorg_kde_qt_QDir_2(JNIEnv* env, jobject obj, jobje 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) 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)); + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->operator==((const TTQDir&)*(const TTQDir*) 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)); + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->operator!=((const TTQDir&)*(const TTQDir*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDir*) 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(); + ((TTQDir*) 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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, newName, &_qstring_newName)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_newName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->rename((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, newName, &_qstring_newName), (bool) acceptAbsPaths); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_newName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->rename((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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::toQString(env, dirName, &_qstring_dirName)); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->rmdir((const TTQString&)*(TTQString*) 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::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath); +static TTQString* _qstring_dirName = 0; + jboolean xret = (jboolean) ((TTQDir*) QtSupport::getQt(env, obj))->rmdir((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; - _qstring = QDirJBridge::rootDirPath(); - return QtSupport::fromQString(env, &_qstring); + _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(QDirJBridge::root()), "org.kde.qt.TQDir", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(TQDirJBridge::root()), "org.kde.qt.TTQDir", TRUE); return xret; } @@ -586,7 +586,7 @@ Java_org_kde_qt_QDir_separator(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jchar xret = (jchar) QDirJBridge::separator(); + jchar xret = (jchar) TQDirJBridge::separator(); return xret; } @@ -594,52 +594,52 @@ 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) QDirJBridge::setCurrent((const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + jboolean xret = (jboolean) TQDirJBridge::setCurrent((const TTQString&)*(TTQString*) 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); + ((TTQDir*) 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); + ((TTQDir*) 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::toQString(env, nameFilter, &_qstring_nameFilter)); +static TTQString* _qstring_nameFilter = 0; + ((TTQDir*) QtSupport::getQt(env, obj))->setNameFilter((const TTQString&)*(TTQString*) 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + ((TTQDir*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) 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); + ((TTQDir*) 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(); + jint xret = (jint) ((TTQDir*) QtSupport::getQt(env, obj))->sorting(); return xret; } diff --git a/qtjava/javalib/qtjava/QDir.h b/qtjava/javalib/qtjava/QDir.h index e320102f..590e34e5 100644 --- a/qtjava/javalib/qtjava/QDir.h +++ b/qtjava/javalib/qtjava/QDir.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDir_newQDir__Lorg_kde_qt_QDir_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDockArea.cpp b/qtjava/javalib/qtjava/QDockArea.cpp index 345d4d5a..a6a2c136 100644 --- a/qtjava/javalib/qtjava/QDockArea.cpp +++ b/qtjava/javalib/qtjava/QDockArea.cpp @@ -6,352 +6,352 @@ #include #include -#include +#include -class QDockAreaJBridge : public QDockArea +class TQDockAreaJBridge : public TQDockArea { public: - QDockAreaJBridge(Qt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3,const char* arg4) : TQDockArea(arg1,arg2,arg3,arg4) {}; - QDockAreaJBridge(Qt::Orientation arg1,TQDockArea::HandlePosition arg2,TQWidget* arg3) : TQDockArea(arg1,arg2,arg3) {}; - QDockAreaJBridge(Qt::Orientation arg1,TQDockArea::HandlePosition arg2) : TQDockArea(arg1,arg2) {}; - QDockAreaJBridge(Qt::Orientation arg1) : TQDockArea(arg1) {}; - ~QDockAreaJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + TQDockAreaJBridge(TQt::Orientation arg1,TTQDockArea::HandlePosition arg2,TTQWidget* arg3,const char* arg4) : TTQDockArea(arg1,arg2,arg3,arg4) {}; + TQDockAreaJBridge(TQt::Orientation arg1,TTQDockArea::HandlePosition arg2,TTQWidget* arg3) : TTQDockArea(arg1,arg2,arg3) {}; + TQDockAreaJBridge(TQt::Orientation arg1,TTQDockArea::HandlePosition arg2) : TTQDockArea(arg1,arg2) {}; + TQDockAreaJBridge(TQt::Orientation arg1) : TTQDockArea(arg1) {}; + ~TQDockAreaJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockArea","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockArea","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -361,14 +361,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockArea_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDockArea*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDockArea*) 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(); + jint xret = (jint) ((TTQDockArea*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -382,15 +382,15 @@ Java_org_kde_qt_QDockArea_dispose(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQDockArea*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDockArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDockArea*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -399,14 +399,14 @@ Java_org_kde_qt_QDockArea_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_handlePosition(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->handlePosition(); + jint xret = (jint) ((TTQDockArea*) 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)); + jboolean xret = (jboolean) ((TTQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TTQDockWindow*) QtSupport::getQt(env, w)); return xret; } @@ -414,7 +414,7 @@ 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); + jboolean xret = (jboolean) ((TTQDockArea*) QtSupport::getQt(env, obj))->hasDockWindow((TTQDockWindow*) QtSupport::getQt(env, w), (int*) _int_index); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; } @@ -422,7 +422,7 @@ Java_org_kde_qt_QDockArea_hasDockWindow__Lorg_kde_qt_QDockWindow_2_3I(JNIEnv* en 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)); + ((TTQDockArea*) QtSupport::getQt(env, obj))->invalidNextOffset((TTQDockWindow*) QtSupport::getQt(env, dw)); return; } @@ -435,88 +435,88 @@ Java_org_kde_qt_QDockArea_isDisposed(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQDockArea*) QtSupport::getQt(env, obj))->isDockWindowAccepted((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockArea*) 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); + ((TTQDockArea*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDockArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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)); + ((TTQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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); + ((TTQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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); + ((TTQDockArea*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) QtSupport::getQt(env, w), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, rect), (bool) swap); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newQDockArea__I(JNIEnv* env, jobject obj, jint o) +Java_org_kde_qt_QDockArea_newTQDockArea__I(JNIEnv* env, jobject obj, jint o) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockAreaJBridge((Qt::Orientation) o)); + 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_newQDockArea__II(JNIEnv* env, jobject obj, jint o, jint h) +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 QDockAreaJBridge((Qt::Orientation) o, (TQDockArea::HandlePosition) h)); + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TTQDockArea::HandlePosition) h)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newQDockArea__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent) +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 QDockAreaJBridge((Qt::Orientation) o, (TQDockArea::HandlePosition) h, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TTQDockArea::HandlePosition) h, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockArea_newQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jint h, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockAreaJBridge((Qt::Orientation) o, (TQDockArea::HandlePosition) h, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDockAreaJBridge((TQt::Orientation) o, (TTQDockArea::HandlePosition) h, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -525,49 +525,49 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QDockArea_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDockArea*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQDockArea*) 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); + ((TTQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TTQDockWindow*) 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); + ((TTQDockArea*) QtSupport::getQt(env, obj))->removeDockWindow((TTQDockWindow*) 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); + ((TTQDockArea*) QtSupport::getQt(env, obj))->setAcceptDockWindow((TTQDockWindow*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDockAreaJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 2f31aeb0..4bea61df 100644 --- a/qtjava/javalib/qtjava/QDockArea.h +++ b/qtjava/javalib/qtjava/QDockArea.h @@ -12,10 +12,10 @@ extern "C" 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_newQDockArea__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newQDockArea__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newQDockArea__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockArea_newQDockArea__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QDockWindow.cpp b/qtjava/javalib/qtjava/QDockWindow.cpp index 368e58fd..6afc78b0 100644 --- a/qtjava/javalib/qtjava/QDockWindow.cpp +++ b/qtjava/javalib/qtjava/QDockWindow.cpp @@ -5,415 +5,415 @@ #include #include -#include +#include -class QDockWindowJBridge : public QDockWindow +class TQDockWindowJBridge : public TQDockWindow { public: - QDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQDockWindow(arg1,arg2,arg3,arg4) {}; - QDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2,const char* arg3) : TQDockWindow(arg1,arg2,arg3) {}; - QDockWindowJBridge(TQDockWindow::Place arg1,TQWidget* arg2) : TQDockWindow(arg1,arg2) {}; - QDockWindowJBridge(TQDockWindow::Place arg1) : TQDockWindow(arg1) {}; - QDockWindowJBridge() : TQDockWindow() {}; - QDockWindowJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQDockWindow(arg1,arg2,arg3) {}; - QDockWindowJBridge(TQWidget* arg1,const char* arg2) : TQDockWindow(arg1,arg2) {}; - QDockWindowJBridge(TQWidget* arg1) : TQDockWindow(arg1) {}; + TQDockWindowJBridge(TTQDockWindow::Place arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQDockWindow(arg1,arg2,arg3,arg4) {}; + TQDockWindowJBridge(TTQDockWindow::Place arg1,TTQWidget* arg2,const char* arg3) : TTQDockWindow(arg1,arg2,arg3) {}; + TQDockWindowJBridge(TTQDockWindow::Place arg1,TTQWidget* arg2) : TTQDockWindow(arg1,arg2) {}; + TQDockWindowJBridge(TTQDockWindow::Place arg1) : TTQDockWindow(arg1) {}; + TQDockWindowJBridge() : TTQDockWindow() {}; + TQDockWindowJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQDockWindow(arg1,arg2,arg3) {}; + TQDockWindowJBridge(TTQWidget* arg1,const char* arg2) : TTQDockWindow(arg1,arg2) {}; + TQDockWindowJBridge(TTQWidget* arg1) : TTQDockWindow(arg1) {}; void public_undock() { - TQDockWindow::undock(); + TTQDockWindow::undock(); return; } void public_dock() { - TQDockWindow::dock(); + TTQDockWindow::dock(); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQDockWindow::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQDockWindow::resizeEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQDockWindow::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQDockWindow::showEvent(arg1); return; } - void protected_hideEvent(TQHideEvent* arg1) { - TQDockWindow::hideEvent(arg1); + void protected_hideEvent(TTQHideEvent* arg1) { + TTQDockWindow::hideEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQDockWindow::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQDockWindow::contextMenuEvent(arg1); return; } - void protected_drawFrame(TQPainter* arg1) { - TQDockWindow::drawFrame(arg1); + void protected_drawFrame(TTQPainter* arg1) { + TTQDockWindow::drawFrame(arg1); return; } - void protected_drawContents(TQPainter* arg1) { - TQDockWindow::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQDockWindow::drawContents(arg1); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQDockWindow::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQDockWindow::event(arg1); } - ~QDockWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQDockWindowJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDockWindow::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDockWindow::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQDockWindow::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQDockWindow::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQDockWindow::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","dock")) { - TQDockWindow::dock(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","dock")) { + TTQDockWindow::dock(); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); + void setWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQDockWindow::setWidget(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","undock")) { - TQDockWindow::undock(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","undock")) { + TTQDockWindow::undock(); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDockWindow::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQDockWindow","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQDockWindow","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -422,14 +422,14 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDockWindow*) QtSupport::getQt(env, obj))->area(), "org.kde.qt.TTQDockArea"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDockWindow*) QtSupport::getQt(env, obj))->boxLayout(), "org.kde.qt.TTQBoxLayout"); return xret; } @@ -437,21 +437,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDockWindow*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDockWindow*) 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(); + jint xret = (jint) ((TTQDockWindow*) QtSupport::getQt(env, obj))->closeMode(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } @@ -465,43 +465,43 @@ Java_org_kde_qt_QDockWindow_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_dock(JNIEnv* env, jobject obj) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->public_dock(); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->public_dock(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_drawFrame(JNIEnv* env, jobject obj, jobject arg1) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TTQPainter*) 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)); + jboolean xret = (jboolean) ((TTQDockWindow*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) QtSupport::getQt(env, e)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQDockWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQDockWindow*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -510,21 +510,21 @@ Java_org_kde_qt_QDockWindow_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDockWindow*) QtSupport::getQt(env, obj))->fixedExtent()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_hideEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TTQHideEvent*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) QtSupport::getQt(env, obj))->isCloseEnabled(); return xret; } @@ -537,159 +537,159 @@ Java_org_kde_qt_QDockWindow_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDockWindow_isHorizontalStretchable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDockWindow*) QtSupport::getQt(env, obj))->isHorizontalStretchable(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDockWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDockWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDockWindow*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) QtSupport::getQt(env, obj))->newLine(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDockWindow_newTQDockWindow__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge()); + QtSupport::setQt(env, obj, new TQDockWindowJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__I(JNIEnv* env, jobject obj, jint p) +Java_org_kde_qt_QDockWindow_newTQDockWindow__I(JNIEnv* env, jobject obj, jint p) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge((TQDockWindow::Place) p)); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQDockWindow::Place) p)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint p, jobject parent) +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 QDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQDockWindow::Place) p, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQDockWindow::Place) p, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint p, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge((TQDockWindow::Place) p, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQDockWindow::Place) p, (TTQWidget*) 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_newQDockWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDockWindow_newQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDockWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQDockWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -698,197 +698,197 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QDockWindow_offset(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDockWindow*) QtSupport::getQt(env, obj))->offset(); + jint xret = (jint) ((TTQDockWindow*) 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(); + jboolean xret = (jboolean) ((TTQDockWindow*) 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(); + jint xret = (jint) ((TTQDockWindow*) 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(); + jint xret = (jint) ((TTQDockWindow*) QtSupport::getQt(env, obj))->place(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TTQDockWindow*) QtSupport::getQt(env, obj))->setCaption((const TTQString&)*(TTQString*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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((Qt::Orientation) o); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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); + ((TTQDockWindow*) 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)); + ((TTQDockWindow*) QtSupport::getQt(env, obj))->setWidget((TTQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQDockWindowJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQDockWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDockWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDockWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QDockWindowJBridge*) QtSupport::getQt(env, obj))->public_undock(); + ((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)); + ((TTQDockWindow*) QtSupport::getQt(env, obj))->undock((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDockWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QDockWindow.h b/qtjava/javalib/qtjava/QDockWindow.h index eb8f9e52..db5aaf97 100644 --- a/qtjava/javalib/qtjava/QDockWindow.h +++ b/qtjava/javalib/qtjava/QDockWindow.h @@ -12,14 +12,14 @@ extern "C" 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_newQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDockWindow_newQDockWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QDomAttr.cpp b/qtjava/javalib/qtjava/QDomAttr.cpp index 7571ec40..c1a87a25 100644 --- a/qtjava/javalib/qtjava/QDomAttr.cpp +++ b/qtjava/javalib/qtjava/QDomAttr.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QDomAttrJBridge : public QDomAttr +class TQDomAttrJBridge : public TQDomAttr { public: - QDomAttrJBridge() : TQDomAttr() {}; - QDomAttrJBridge(const TQDomAttr& arg1) : TQDomAttr(arg1) {}; - ~QDomAttrJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomAttrJBridge() : TTQDomAttr() {}; + TQDomAttrJBridge(const TTQDomAttr& arg1) : TTQDomAttr(arg1) {}; + ~TQDomAttrJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomAttr*)QtSupport::getQt(env, obj); + delete (TTQDomAttr*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,7 +33,7 @@ Java_org_kde_qt_QDomAttr_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomAttr_isAttr(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomAttr*) QtSupport::getQt(env, obj))->isAttr(); + jboolean xret = (jboolean) ((TTQDomAttr*) QtSupport::getQt(env, obj))->isAttr(); return xret; } @@ -46,26 +46,26 @@ Java_org_kde_qt_QDomAttr_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomAttr_name(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQDomAttr*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomAttr*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_newQDomAttr__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomAttr_newTQDomAttr__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomAttrJBridge()); + QtSupport::setQt(env, obj, new TQDomAttrJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomAttr_newQDomAttr__Lorg_kde_qt_QDomAttr_2(JNIEnv* env, jobject obj, jobject x) +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 QDomAttrJBridge((const TQDomAttr&)*(const TQDomAttr*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomAttrJBridge((const TTQDomAttr&)*(const TTQDomAttr*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -74,37 +74,37 @@ Java_org_kde_qt_QDomAttr_newQDomAttr__Lorg_kde_qt_QDomAttr_2(JNIEnv* env, jobjec JNIEXPORT jint JNICALL Java_org_kde_qt_QDomAttr_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomAttr*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomAttr*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomAttr*) QtSupport::getQt(env, obj))->ownerElement()), "org.kde.qt.TTQDomElement", 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQDomAttr*) QtSupport::getQt(env, obj))->setValue((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQDomAttr*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomAttr*) QtSupport::getQt(env, obj))->value(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomAttr.h b/qtjava/javalib/qtjava/QDomAttr.h index 7ec496df..d9f46a1d 100644 --- a/qtjava/javalib/qtjava/QDomAttr.h +++ b/qtjava/javalib/qtjava/QDomAttr.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newQDomAttr__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomAttr_newQDomAttr__Lorg_kde_qt_QDomAttr_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomCDATASection.cpp b/qtjava/javalib/qtjava/QDomCDATASection.cpp index 2e5ceb20..5dc35ecb 100644 --- a/qtjava/javalib/qtjava/QDomCDATASection.cpp +++ b/qtjava/javalib/qtjava/QDomCDATASection.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QDomCDATASectionJBridge : public QDomCDATASection +class TQDomCDATASectionJBridge : public TQDomCDATASection { public: - QDomCDATASectionJBridge() : TQDomCDATASection() {}; - QDomCDATASectionJBridge(const TQDomCDATASection& arg1) : TQDomCDATASection(arg1) {}; - ~QDomCDATASectionJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomCDATASectionJBridge() : TTQDomCDATASection() {}; + TQDomCDATASectionJBridge(const TTQDomCDATASection& arg1) : TTQDomCDATASection(arg1) {}; + ~TQDomCDATASectionJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomCDATASection*)QtSupport::getQt(env, obj); + delete (TTQDomCDATASection*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -32,7 +32,7 @@ Java_org_kde_qt_QDomCDATASection_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomCDATASection_isCDATASection(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->isCDATASection(); + jboolean xret = (jboolean) ((TTQDomCDATASection*) QtSupport::getQt(env, obj))->isCDATASection(); return xret; } @@ -43,20 +43,20 @@ Java_org_kde_qt_QDomCDATASection_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_newQDomCDATASection__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomCDATASection_newTQDomCDATASection__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomCDATASectionJBridge()); + QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCDATASection_newQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2(JNIEnv* env, jobject obj, jobject x) +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 QDomCDATASectionJBridge((const TQDomCDATASection&)*(const TQDomCDATASection*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomCDATASectionJBridge((const TTQDomCDATASection&)*(const TTQDomCDATASection*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,7 +65,7 @@ Java_org_kde_qt_QDomCDATASection_newQDomCDATASection__Lorg_kde_qt_QDomCDATASecti JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCDATASection_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomCDATASection*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomCDATASection*) QtSupport::getQt(env, obj))->nodeType(); return xret; } diff --git a/qtjava/javalib/qtjava/QDomCDATASection.h b/qtjava/javalib/qtjava/QDomCDATASection.h index 2570953a..e40acbe0 100644 --- a/qtjava/javalib/qtjava/QDomCDATASection.h +++ b/qtjava/javalib/qtjava/QDomCDATASection.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newQDomCDATASection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCDATASection_newQDomCDATASection__Lorg_kde_qt_QDomCDATASection_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomCharacterData.cpp b/qtjava/javalib/qtjava/QDomCharacterData.cpp index f1aba4ea..e0e739cd 100644 --- a/qtjava/javalib/qtjava/QDomCharacterData.cpp +++ b/qtjava/javalib/qtjava/QDomCharacterData.cpp @@ -3,36 +3,36 @@ #include #include -#include +#include -class QDomCharacterDataJBridge : public QDomCharacterData +class TQDomCharacterDataJBridge : public TQDomCharacterData { public: - QDomCharacterDataJBridge() : TQDomCharacterData() {}; - QDomCharacterDataJBridge(const TQDomCharacterData& arg1) : TQDomCharacterData(arg1) {}; - ~QDomCharacterDataJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomCharacterDataJBridge() : TTQDomCharacterData() {}; + TQDomCharacterDataJBridge(const TTQDomCharacterData& arg1) : TTQDomCharacterData(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::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->appendData((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomCharacterData*) 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); + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->deleteData((unsigned long) offset, (unsigned long) count); return; } @@ -47,7 +47,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomCharacterData*)QtSupport::getQt(env, obj); + delete (TTQDomCharacterData*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -56,15 +56,15 @@ Java_org_kde_qt_QDomCharacterData_finalize(JNIEnv* env, jobject obj) 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::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->insertData((unsigned long) offset, (const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->isCharacterData(); return xret; } @@ -77,25 +77,25 @@ Java_org_kde_qt_QDomCharacterData_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_length(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->length(); + jint xret = (jint) ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->length(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomCharacterData_newTQDomCharacterData__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomCharacterDataJBridge()); + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2(JNIEnv* env, jobject obj, jobject x) +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 QDomCharacterDataJBridge((const TQDomCharacterData&)*(const TQDomCharacterData*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomCharacterDataJBridge((const TTQDomCharacterData&)*(const TTQDomCharacterData*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -104,31 +104,31 @@ Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__Lorg_kde_qt_QDomCharacte JNIEXPORT jint JNICALL Java_org_kde_qt_QDomCharacterData_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomCharacterData*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomCharacterData*) 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::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->replaceData((unsigned long) offset, (unsigned long) count, (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQDomCharacterData*) QtSupport::getQt(env, obj))->setData((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomCharacterData*) 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 index c12e0e1e..3f30a37f 100644 --- a/qtjava/javalib/qtjava/QDomCharacterData.h +++ b/qtjava/javalib/qtjava/QDomCharacterData.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomCharacterData_newQDomCharacterData__Lorg_kde_qt_QDomCharacterData_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomComment.cpp b/qtjava/javalib/qtjava/QDomComment.cpp index acf2691c..b7d343e6 100644 --- a/qtjava/javalib/qtjava/QDomComment.cpp +++ b/qtjava/javalib/qtjava/QDomComment.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QDomCommentJBridge : public QDomComment +class TQDomCommentJBridge : public TQDomComment { public: - QDomCommentJBridge() : TQDomComment() {}; - QDomCommentJBridge(const TQDomComment& arg1) : TQDomComment(arg1) {}; - ~QDomCommentJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomCommentJBridge() : TTQDomComment() {}; + TQDomCommentJBridge(const TTQDomComment& arg1) : TTQDomComment(arg1) {}; + ~TQDomCommentJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomComment*)QtSupport::getQt(env, obj); + delete (TTQDomComment*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -32,7 +32,7 @@ Java_org_kde_qt_QDomComment_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomComment_isComment(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomComment*) QtSupport::getQt(env, obj))->isComment(); + jboolean xret = (jboolean) ((TTQDomComment*) QtSupport::getQt(env, obj))->isComment(); return xret; } @@ -43,20 +43,20 @@ Java_org_kde_qt_QDomComment_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_newQDomComment__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomComment_newTQDomComment__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomCommentJBridge()); + QtSupport::setQt(env, obj, new TQDomCommentJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomComment_newQDomComment__Lorg_kde_qt_QDomComment_2(JNIEnv* env, jobject obj, jobject x) +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 QDomCommentJBridge((const TQDomComment&)*(const TQDomComment*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomCommentJBridge((const TTQDomComment&)*(const TTQDomComment*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,7 +65,7 @@ Java_org_kde_qt_QDomComment_newQDomComment__Lorg_kde_qt_QDomComment_2(JNIEnv* en JNIEXPORT jint JNICALL Java_org_kde_qt_QDomComment_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomComment*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomComment*) QtSupport::getQt(env, obj))->nodeType(); return xret; } diff --git a/qtjava/javalib/qtjava/QDomComment.h b/qtjava/javalib/qtjava/QDomComment.h index d4e3e902..cb3cc6e3 100644 --- a/qtjava/javalib/qtjava/QDomComment.h +++ b/qtjava/javalib/qtjava/QDomComment.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newQDomComment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomComment_newQDomComment__Lorg_kde_qt_QDomComment_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomDocument.cpp b/qtjava/javalib/qtjava/QDomDocument.cpp index f3f93887..2e1f1b54 100644 --- a/qtjava/javalib/qtjava/QDomDocument.cpp +++ b/qtjava/javalib/qtjava/QDomDocument.cpp @@ -4,97 +4,97 @@ #include #include -#include +#include -class QDomDocumentJBridge : public QDomDocument +class TQDomDocumentJBridge : public TQDomDocument { public: - QDomDocumentJBridge() : TQDomDocument() {}; - QDomDocumentJBridge(const TQString& arg1) : TQDomDocument(arg1) {}; - QDomDocumentJBridge(const TQDomDocumentType& arg1) : TQDomDocument(arg1) {}; - QDomDocumentJBridge(const TQDomDocument& arg1) : TQDomDocument(arg1) {}; - ~QDomDocumentJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomDocumentJBridge() : TTQDomDocument() {}; + TQDomDocumentJBridge(const TTQString& arg1) : TTQDomDocument(arg1) {}; + TQDomDocumentJBridge(const TTQDomDocumentType& arg1) : TTQDomDocument(arg1) {}; + TQDomDocumentJBridge(const TTQDomDocument& arg1) : TTQDomDocument(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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomAttr", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomDocument*) QtSupport::getQt(env, obj))->createAttributeNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TTQDomAttr", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomDocument*) QtSupport::getQt(env, obj))->createAttribute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomAttr", 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::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomCDATASection", TRUE); +static TTQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomCDATASection(((TTQDomDocument*) QtSupport::getQt(env, obj))->createCDATASection((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomCDATASection", 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::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomComment", TRUE); +static TTQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomComment(((TTQDomDocument*) QtSupport::getQt(env, obj))->createComment((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomComment", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocumentFragment(((TTQDomDocument*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.qt.TTQDomDocumentFragment", 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName))), "org.kde.qt.TQDomElement", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->createElementNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName))), "org.kde.qt.TTQDomElement", 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::toQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TQDomElement", TRUE); +static TTQString* _qstring_tagName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->createElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tagName, &_qstring_tagName))), "org.kde.qt.TTQDomElement", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomEntityReference", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomEntityReference(((TTQDomDocument*) QtSupport::getQt(env, obj))->createEntityReference((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomEntityReference", 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::toQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomProcessingInstruction", TRUE); +static TTQString* _qstring_target = 0; +static TTQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomProcessingInstruction(((TTQDomDocument*) QtSupport::getQt(env, obj))->createProcessingInstruction((const TTQString&)*(TTQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomProcessingInstruction", 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::toQString(env, data, &_qstring_data))), "org.kde.qt.TQDomText", TRUE); +static TTQString* _qstring_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomText(((TTQDomDocument*) QtSupport::getQt(env, obj))->createTextNode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, data, &_qstring_data))), "org.kde.qt.TTQDomText", TRUE); return xret; } @@ -108,49 +108,49 @@ Java_org_kde_qt_QDomDocument_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocumentType(((TTQDomDocument*) QtSupport::getQt(env, obj))->doctype()), "org.kde.qt.TTQDomDocumentType", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.qt.TTQDomElement", 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::toQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TQDomElement", TRUE); +static TTQString* _qstring_elementId = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomDocument*) QtSupport::getQt(env, obj))->elementById((const TTQString&)*(TTQString*) QtSupport::toTQString(env, elementId, &_qstring_elementId))), "org.kde.qt.TTQDomElement", 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); - return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist); + TTQDomNodeList _qlist; +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + _qlist = ((TTQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_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::toQString(env, tagname, &_qstring_tagname)); - return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist); + TTQDomNodeList _qlist; +static TTQString* _qstring_tagname = 0; + _qlist = ((TTQDomDocument*) QtSupport::getQt(env, obj))->elementsByTagName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_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); + delete (TTQDomDocument*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -159,14 +159,14 @@ Java_org_kde_qt_QDomDocument_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomImplementation(((TTQDomDocument*) QtSupport::getQt(env, obj))->implementation()), "org.kde.qt.TTQDomImplementation", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomDocument*) QtSupport::getQt(env, obj))->importNode((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.qt.TTQDomNode", TRUE); return xret; } @@ -179,46 +179,46 @@ Java_org_kde_qt_QDomDocument_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocument_isDocument(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->isDocument(); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->isDocument(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newQDomDocument__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomDocument_newTQDomDocument__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomDocumentJBridge()); + QtSupport::setQt(env, obj, new TQDomDocumentJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newQDomDocument__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QDomDocument_newTQDomDocument__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomDocumentJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject doctype) +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 QDomDocumentJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))); + QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQDomDocumentType&)*(const TTQDomDocumentType*) QtSupport::getQt(env, doctype))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject x) +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 QDomDocumentJBridge((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomDocumentJBridge((const TTQDomDocument&)*(const TTQDomDocument*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -227,36 +227,36 @@ Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocument_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomDocument*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomDocument*) 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::toQCString(env, text, &_qcstring_text)); +static TTQCString* _qcstring_text = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) 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::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQCString* _qcstring_text = 0; +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) 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; +static TTQCString* _qcstring_text = 0; +static TTQString* _qstring_errorMsg = 0; int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) 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; } @@ -264,12 +264,12 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQCString* _qcstring_text = 0; +static TTQString* _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::toQCString(env, text, &_qcstring_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (TTQString*) 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; @@ -278,29 +278,29 @@ static TQString* _qstring_errorMsg = 0; 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::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing); +static TTQCString* _qcstring_text = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) 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::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQCString* _qcstring_text = 0; +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) 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; +static TTQCString* _qcstring_text = 0; +static TTQString* _qstring_errorMsg = 0; int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQCString&)*(TQCString*) QtSupport::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) 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; } @@ -308,12 +308,12 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQCString* _qcstring_text = 0; +static TTQString* _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::toQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, text, &_qcstring_text), (bool) namespaceProcessing, (TTQString*) 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; @@ -322,26 +322,26 @@ static TQString* _qstring_errorMsg = 0; 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)); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) 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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) 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; } @@ -349,11 +349,11 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (TTQString*) 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; @@ -362,26 +362,26 @@ static TQString* _qstring_errorMsg = 0; 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); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) 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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) 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; } @@ -389,11 +389,11 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQIODevice*) QtSupport::getQt(env, dev), (bool) namespaceProcessing, (TTQString*) 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; @@ -402,26 +402,26 @@ static TQString* _qstring_errorMsg = 0; 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)); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) 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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) 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; } @@ -429,11 +429,11 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQString* _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::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((TTQXmlInputSource*) QtSupport::getQt(env, source), (TTQXmlReader*) QtSupport::getQt(env, reader), (TTQString*) 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; @@ -442,29 +442,29 @@ static TQString* _qstring_errorMsg = 0; 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::toQByteArray(env, text, &_qbyteArray_text)); +static TTQByteArray* _qbyteArray_text = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) 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; +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _qstring_errorMsg = 0; int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) 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; } @@ -472,12 +472,12 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _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::toQByteArray(env, text, &_qbyteArray_text), (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (TTQString*) 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; @@ -486,29 +486,29 @@ static TQString* _qstring_errorMsg = 0; 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::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing); +static TTQByteArray* _qbyteArray_text = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg)); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _qstring_errorMsg = 0; + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) 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; +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _qstring_errorMsg = 0; int* _int_errorLine = QtSupport::toIntPtr(env, errorLine); - jboolean xret = (jboolean) ((TQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) 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; } @@ -516,12 +516,12 @@ static TQString* _qstring_errorMsg = 0; 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; +static TTQByteArray* _qbyteArray_text = 0; +static TTQString* _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::toQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TQString*) QtSupport::toQStringFromStringBuffer(env, errorMsg, &_qstring_errorMsg), (int*) _int_errorLine, (int*) _int_errorColumn); - QtSupport::fromQStringToStringBuffer(env, _qstring_errorMsg, errorMsg); + jboolean xret = (jboolean) ((TTQDomDocument*) QtSupport::getQt(env, obj))->setContent((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, text, &_qbyteArray_text), (bool) namespaceProcessing, (TTQString*) 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; @@ -530,32 +530,32 @@ static TQString* _qstring_errorMsg = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocument_toCString__(JNIEnv* env, jobject obj) { - TQCString _qstring; - _qstring = ((TQDomDocument*) QtSupport::getQt(env, obj))->toCString(); - return QtSupport::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQDomDocument*) 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::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQDomDocument*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocument*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocument*) 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 index a9e27cb2..26e2d697 100644 --- a/qtjava/javalib/qtjava/QDomDocument.h +++ b/qtjava/javalib/qtjava/QDomDocument.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newQDomDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newQDomDocument__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocument_newQDomDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomDocumentFragment.cpp b/qtjava/javalib/qtjava/QDomDocumentFragment.cpp index 82834f6a..551dc56c 100644 --- a/qtjava/javalib/qtjava/QDomDocumentFragment.cpp +++ b/qtjava/javalib/qtjava/QDomDocumentFragment.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QDomDocumentFragmentJBridge : public QDomDocumentFragment +class TQDomDocumentFragmentJBridge : public TQDomDocumentFragment { public: - QDomDocumentFragmentJBridge() : TQDomDocumentFragment() {}; - QDomDocumentFragmentJBridge(const TQDomDocumentFragment& arg1) : TQDomDocumentFragment(arg1) {}; - ~QDomDocumentFragmentJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomDocumentFragmentJBridge() : TTQDomDocumentFragment() {}; + TQDomDocumentFragmentJBridge(const TTQDomDocumentFragment& arg1) : TTQDomDocumentFragment(arg1) {}; + ~TQDomDocumentFragmentJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomDocumentFragment*)QtSupport::getQt(env, obj); + delete (TTQDomDocumentFragment*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,25 +38,25 @@ Java_org_kde_qt_QDomDocumentFragment_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentFragment_isDocumentFragment(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->isDocumentFragment(); + jboolean xret = (jboolean) ((TTQDomDocumentFragment*) QtSupport::getQt(env, obj))->isDocumentFragment(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_newQDomDocumentFragment__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomDocumentFragment_newTQDomDocumentFragment__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomDocumentFragmentJBridge()); + QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentFragment_newQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2(JNIEnv* env, jobject obj, jobject x) +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 QDomDocumentFragmentJBridge((const TQDomDocumentFragment&)*(const TQDomDocumentFragment*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomDocumentFragmentJBridge((const TTQDomDocumentFragment&)*(const TTQDomDocumentFragment*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,7 +65,7 @@ Java_org_kde_qt_QDomDocumentFragment_newQDomDocumentFragment__Lorg_kde_qt_QDomDo JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentFragment_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomDocumentFragment*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomDocumentFragment*) QtSupport::getQt(env, obj))->nodeType(); return xret; } diff --git a/qtjava/javalib/qtjava/QDomDocumentFragment.h b/qtjava/javalib/qtjava/QDomDocumentFragment.h index 4e0d4ec4..4d1e8c29 100644 --- a/qtjava/javalib/qtjava/QDomDocumentFragment.h +++ b/qtjava/javalib/qtjava/QDomDocumentFragment.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newQDomDocumentFragment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentFragment_newQDomDocumentFragment__Lorg_kde_qt_QDomDocumentFragment_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomDocumentType.cpp b/qtjava/javalib/qtjava/QDomDocumentType.cpp index 69c7769c..ea62fe57 100644 --- a/qtjava/javalib/qtjava/QDomDocumentType.cpp +++ b/qtjava/javalib/qtjava/QDomDocumentType.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QDomDocumentTypeJBridge : public QDomDocumentType +class TQDomDocumentTypeJBridge : public TQDomDocumentType { public: - QDomDocumentTypeJBridge() : TQDomDocumentType() {}; - QDomDocumentTypeJBridge(const TQDomDocumentType& arg1) : TQDomDocumentType(arg1) {}; - ~QDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomDocumentTypeJBridge() : TTQDomDocumentType() {}; + TQDomDocumentTypeJBridge(const TTQDomDocumentType& arg1) : TTQDomDocumentType(arg1) {}; + ~TQDomDocumentTypeJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ Java_org_kde_qt_QDomDocumentType_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNamedNodeMap(((TTQDomDocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.qt.TTQDomNamedNodeMap", TRUE); return xret; } @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomDocumentType*)QtSupport::getQt(env, obj); + delete (TTQDomDocumentType*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -40,9 +40,9 @@ Java_org_kde_qt_QDomDocumentType_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QDomDocumentType_internalSubset(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQDomDocumentType*) QtSupport::getQt(env, obj))->internalSubset(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocumentType*) QtSupport::getQt(env, obj))->internalSubset(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL @@ -54,33 +54,33 @@ Java_org_kde_qt_QDomDocumentType_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomDocumentType_isDocumentType(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->isDocumentType(); + jboolean xret = (jboolean) ((TTQDomDocumentType*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocumentType*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomDocumentType_newTQDomDocumentType__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomDocumentTypeJBridge()); + QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2(JNIEnv* env, jobject obj, jobject x) +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 QDomDocumentTypeJBridge((const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomDocumentTypeJBridge((const TTQDomDocumentType&)*(const TTQDomDocumentType*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -89,30 +89,30 @@ Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__Lorg_kde_qt_QDomDocumentTy JNIEXPORT jint JNICALL Java_org_kde_qt_QDomDocumentType_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomDocumentType*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomDocumentType*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNamedNodeMap(((TTQDomDocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.qt.TTQDomNamedNodeMap", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocumentType*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomDocumentType*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomDocumentType.h b/qtjava/javalib/qtjava/QDomDocumentType.h index 94735ccf..388bd5ec 100644 --- a/qtjava/javalib/qtjava/QDomDocumentType.h +++ b/qtjava/javalib/qtjava/QDomDocumentType.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomDocumentType_newQDomDocumentType__Lorg_kde_qt_QDomDocumentType_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomElement.cpp b/qtjava/javalib/qtjava/QDomElement.cpp index 0031ef6c..ce9695ea 100644 --- a/qtjava/javalib/qtjava/QDomElement.cpp +++ b/qtjava/javalib/qtjava/QDomElement.cpp @@ -3,67 +3,67 @@ #include #include -#include +#include -class QDomElementJBridge : public QDomElement +class TQDomElementJBridge : public TQDomElement { public: - QDomElementJBridge() : TQDomElement() {}; - QDomElementJBridge(const TQDomElement& arg1) : TQDomElement(arg1) {}; - ~QDomElementJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomElementJBridge() : TTQDomElement() {}; + TQDomElementJBridge(const TTQDomElement& arg1) : TTQDomElement(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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toQString(env, defValue, &_qstring_defValue)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; +static TTQString* _qstring_defValue = 0; + _qstring = ((TTQDomElement*) QtSupport::getQt(env, obj))->attributeNS((const TTQString)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TTQString&)*(TTQString*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomAttr", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomElement*) QtSupport::getQt(env, obj))->attributeNodeNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TTQDomAttr", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomAttr", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomElement*) QtSupport::getQt(env, obj))->attributeNode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomAttr", 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::toQString(env, name, &_qstring_name)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_name = 0; + _qstring = ((TTQDomElement*) QtSupport::getQt(env, obj))->attribute((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, defValue, &_qstring_defValue)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_name = 0; +static TTQString* _qstring_defValue = 0; + _qstring = ((TTQDomElement*) QtSupport::getQt(env, obj))->attribute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNamedNodeMap(((TTQDomElement*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TTQDomNamedNodeMap", TRUE); return xret; } @@ -77,27 +77,27 @@ Java_org_kde_qt_QDomElement_dispose(JNIEnv* env, jobject obj) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); - return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist); + TTQDomNodeList _qlist; +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + _qlist = ((TTQDomElement*) QtSupport::getQt(env, obj))->elementsByTagNameNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_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::toQString(env, tagname, &_qstring_tagname)); - return (jobject) QtSupport::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist); + TTQDomNodeList _qlist; +static TTQString* _qstring_tagname = 0; + _qlist = ((TTQDomElement*) QtSupport::getQt(env, obj))->elementsByTagName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tagname, &_qstring_tagname)); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_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); + delete (TTQDomElement*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -106,17 +106,17 @@ Java_org_kde_qt_QDomElement_finalize(JNIEnv* env, jobject obj) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + jboolean xret = (jboolean) ((TTQDomElement*) QtSupport::getQt(env, obj))->hasAttributeNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQDomElement*) QtSupport::getQt(env, obj))->hasAttribute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return xret; } @@ -129,25 +129,25 @@ Java_org_kde_qt_QDomElement_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomElement_isElement(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomElement*) QtSupport::getQt(env, obj))->isElement(); + jboolean xret = (jboolean) ((TTQDomElement*) QtSupport::getQt(env, obj))->isElement(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_newQDomElement__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomElement_newTQDomElement__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomElementJBridge()); + QtSupport::setQt(env, obj, new TQDomElementJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomElement_newQDomElement__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject x) +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 QDomElementJBridge((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomElementJBridge((const TTQDomElement&)*(const TTQDomElement*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -156,139 +156,139 @@ Java_org_kde_qt_QDomElement_newQDomElement__Lorg_kde_qt_QDomElement_2(JNIEnv* en JNIEXPORT jint JNICALL Java_org_kde_qt_QDomElement_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomElement*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomElement*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomElement*) QtSupport::getQt(env, obj))->removeAttributeNode((const TTQDomAttr&)*(const TTQDomAttr*) QtSupport::getQt(env, oldAttr))), "org.kde.qt.TTQDomAttr", 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->removeAttribute((const TTQString&)*(TTQString*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (double) value); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TTQString)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (int) value); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TTQString)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (long) value); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TTQString)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; +static TTQString* _qstring_value = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNS((const TTQString)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNodeNS((const TTQDomAttr&)*(const TTQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TTQDomAttr", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomElement*) QtSupport::getQt(env, obj))->setAttributeNode((const TTQDomAttr&)*(const TTQDomAttr*) QtSupport::getQt(env, newAttr))), "org.kde.qt.TTQDomAttr", 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::toQString(env, name, &_qstring_name), (double) value); +static TTQString* _qstring_name = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (int) value); +static TTQString* _qstring_name = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (long) value); +static TTQString* _qstring_name = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_value = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setAttribute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQDomElement*) QtSupport::getQt(env, obj))->setTagName((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomElement*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomElement*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomElement.h b/qtjava/javalib/qtjava/QDomElement.h index 8d485ec8..dfdd53ae 100644 --- a/qtjava/javalib/qtjava/QDomElement.h +++ b/qtjava/javalib/qtjava/QDomElement.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newQDomElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomElement_newQDomElement__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomEntity.cpp b/qtjava/javalib/qtjava/QDomEntity.cpp index 717248e8..8d08b00a 100644 --- a/qtjava/javalib/qtjava/QDomEntity.cpp +++ b/qtjava/javalib/qtjava/QDomEntity.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QDomEntityJBridge : public QDomEntity +class TQDomEntityJBridge : public TQDomEntity { public: - QDomEntityJBridge() : TQDomEntity() {}; - QDomEntityJBridge(const TQDomEntity& arg1) : TQDomEntity(arg1) {}; - ~QDomEntityJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomEntityJBridge() : TTQDomEntity() {}; + TQDomEntityJBridge(const TTQDomEntity& arg1) : TTQDomEntity(arg1) {}; + ~TQDomEntityJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomEntity*)QtSupport::getQt(env, obj); + delete (TTQDomEntity*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -39,25 +39,25 @@ Java_org_kde_qt_QDomEntity_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntity_isEntity(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomEntity*) QtSupport::getQt(env, obj))->isEntity(); + jboolean xret = (jboolean) ((TTQDomEntity*) QtSupport::getQt(env, obj))->isEntity(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_newQDomEntity__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomEntity_newTQDomEntity__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomEntityJBridge()); + QtSupport::setQt(env, obj, new TQDomEntityJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntity_newQDomEntity__Lorg_kde_qt_QDomEntity_2(JNIEnv* env, jobject obj, jobject x) +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 QDomEntityJBridge((const TQDomEntity&)*(const TQDomEntity*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomEntityJBridge((const TTQDomEntity&)*(const TTQDomEntity*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -66,31 +66,31 @@ Java_org_kde_qt_QDomEntity_newQDomEntity__Lorg_kde_qt_QDomEntity_2(JNIEnv* env, JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntity_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomEntity*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomEntity*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomEntity*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomEntity*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomEntity*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomEntity.h b/qtjava/javalib/qtjava/QDomEntity.h index 255fca1d..c652b815 100644 --- a/qtjava/javalib/qtjava/QDomEntity.h +++ b/qtjava/javalib/qtjava/QDomEntity.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newQDomEntity__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntity_newQDomEntity__Lorg_kde_qt_QDomEntity_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomEntityReference.cpp b/qtjava/javalib/qtjava/QDomEntityReference.cpp index e49cf863..d0d42058 100644 --- a/qtjava/javalib/qtjava/QDomEntityReference.cpp +++ b/qtjava/javalib/qtjava/QDomEntityReference.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QDomEntityReferenceJBridge : public QDomEntityReference +class TQDomEntityReferenceJBridge : public TQDomEntityReference { public: - QDomEntityReferenceJBridge() : TQDomEntityReference() {}; - QDomEntityReferenceJBridge(const TQDomEntityReference& arg1) : TQDomEntityReference(arg1) {}; - ~QDomEntityReferenceJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomEntityReferenceJBridge() : TTQDomEntityReference() {}; + TQDomEntityReferenceJBridge(const TTQDomEntityReference& arg1) : TTQDomEntityReference(arg1) {}; + ~TQDomEntityReferenceJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomEntityReference*)QtSupport::getQt(env, obj); + delete (TTQDomEntityReference*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,25 +38,25 @@ Java_org_kde_qt_QDomEntityReference_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomEntityReference_isEntityReference(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->isEntityReference(); + jboolean xret = (jboolean) ((TTQDomEntityReference*) QtSupport::getQt(env, obj))->isEntityReference(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_newQDomEntityReference__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomEntityReference_newTQDomEntityReference__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomEntityReferenceJBridge()); + QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomEntityReference_newQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2(JNIEnv* env, jobject obj, jobject x) +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 QDomEntityReferenceJBridge((const TQDomEntityReference&)*(const TQDomEntityReference*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomEntityReferenceJBridge((const TTQDomEntityReference&)*(const TTQDomEntityReference*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,7 +65,7 @@ Java_org_kde_qt_QDomEntityReference_newQDomEntityReference__Lorg_kde_qt_QDomEnti JNIEXPORT jint JNICALL Java_org_kde_qt_QDomEntityReference_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomEntityReference*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomEntityReference*) QtSupport::getQt(env, obj))->nodeType(); return xret; } diff --git a/qtjava/javalib/qtjava/QDomEntityReference.h b/qtjava/javalib/qtjava/QDomEntityReference.h index 7ba627f9..7d52365e 100644 --- a/qtjava/javalib/qtjava/QDomEntityReference.h +++ b/qtjava/javalib/qtjava/QDomEntityReference.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newQDomEntityReference__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomEntityReference_newQDomEntityReference__Lorg_kde_qt_QDomEntityReference_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomImplementation.cpp b/qtjava/javalib/qtjava/QDomImplementation.cpp index 5a12e49d..2461f09f 100644 --- a/qtjava/javalib/qtjava/QDomImplementation.cpp +++ b/qtjava/javalib/qtjava/QDomImplementation.cpp @@ -3,32 +3,32 @@ #include #include -#include +#include -class QDomImplementationJBridge : public QDomImplementation +class TQDomImplementationJBridge : public TQDomImplementation { public: - QDomImplementationJBridge() : TQDomImplementation() {}; - QDomImplementationJBridge(const TQDomImplementation& arg1) : TQDomImplementation(arg1) {}; - ~QDomImplementationJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomImplementationJBridge() : TTQDomImplementation() {}; + TQDomImplementationJBridge(const TTQDomImplementation& arg1) : TTQDomImplementation(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::toQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId))), "org.kde.qt.TQDomDocumentType", TRUE); +static TTQString* _qstring_qName = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocumentType(((TTQDomImplementation*) QtSupport::getQt(env, obj))->createDocumentType((const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId))), "org.kde.qt.TTQDomDocumentType", 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (const TQDomDocumentType&)*(const TQDomDocumentType*) QtSupport::getQt(env, doctype))), "org.kde.qt.TQDomDocument", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_qName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocument(((TTQDomImplementation*) QtSupport::getQt(env, obj))->createDocument((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQDomDocumentType&)*(const TTQDomDocumentType*) QtSupport::getQt(env, doctype))), "org.kde.qt.TTQDomDocument", TRUE); return xret; } @@ -43,7 +43,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomImplementation*)QtSupport::getQt(env, obj); + delete (TTQDomImplementation*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -52,9 +52,9 @@ Java_org_kde_qt_QDomImplementation_finalize(JNIEnv* env, jobject obj) 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::toQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toQString(env, version, &_qstring_version)); +static TTQString* _qstring_feature = 0; +static TTQString* _qstring_version = 0; + jboolean xret = (jboolean) ((TTQDomImplementation*) QtSupport::getQt(env, obj))->hasFeature((const TTQString&)*(TTQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, version, &_qstring_version)); return xret; } @@ -67,25 +67,25 @@ Java_org_kde_qt_QDomImplementation_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomImplementation_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomImplementation*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQDomImplementation*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_newQDomImplementation__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomImplementation_newTQDomImplementation__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomImplementationJBridge()); + QtSupport::setQt(env, obj, new TQDomImplementationJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomImplementation_newQDomImplementation__Lorg_kde_qt_QDomImplementation_2(JNIEnv* env, jobject obj, jobject arg1) +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 QDomImplementationJBridge((const TQDomImplementation&)*(const TQDomImplementation*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQDomImplementationJBridge((const TTQDomImplementation&)*(const TTQDomImplementation*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -94,14 +94,14 @@ Java_org_kde_qt_QDomImplementation_newQDomImplementation__Lorg_kde_qt_QDomImplem 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)); + jboolean xret = (jboolean) ((TTQDomImplementation*) QtSupport::getQt(env, obj))->operator==((const TTQDomImplementation&)*(const TTQDomImplementation*) 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)); + jboolean xret = (jboolean) ((TTQDomImplementation*) QtSupport::getQt(env, obj))->operator!=((const TTQDomImplementation&)*(const TTQDomImplementation*) QtSupport::getQt(env, arg1)); return xret; } diff --git a/qtjava/javalib/qtjava/QDomImplementation.h b/qtjava/javalib/qtjava/QDomImplementation.h index 3e912ddc..7e75e34c 100644 --- a/qtjava/javalib/qtjava/QDomImplementation.h +++ b/qtjava/javalib/qtjava/QDomImplementation.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newQDomImplementation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomImplementation_newQDomImplementation__Lorg_kde_qt_QDomImplementation_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp b/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp index 874852d4..5dc5cd6a 100644 --- a/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp +++ b/qtjava/javalib/qtjava/QDomNamedNodeMap.cpp @@ -3,28 +3,28 @@ #include #include -#include +#include -class QDomNamedNodeMapJBridge : public QDomNamedNodeMap +class TQDomNamedNodeMapJBridge : public TQDomNamedNodeMap { public: - QDomNamedNodeMapJBridge() : TQDomNamedNodeMap() {}; - QDomNamedNodeMapJBridge(const TQDomNamedNodeMap& arg1) : TQDomNamedNodeMap(arg1) {}; - ~QDomNamedNodeMapJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomNamedNodeMapJBridge() : TTQDomNamedNodeMap() {}; + TQDomNamedNodeMapJBridge(const TTQDomNamedNodeMap& arg1) : TTQDomNamedNodeMap(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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->contains((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -39,7 +39,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNamedNodeMap*)QtSupport::getQt(env, obj); + delete (TTQDomNamedNodeMap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -54,49 +54,49 @@ Java_org_kde_qt_QDomNamedNodeMap_isDisposed(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->item((int) index)), "org.kde.qt.TTQDomNode", 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(); + jint xret = (jint) ((TTQDomNamedNodeMap*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItemNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TTQDomNode", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->namedItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomNode", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_newQDomNamedNodeMap__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomNamedNodeMap_newTQDomNamedNodeMap__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomNamedNodeMapJBridge()); + QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNamedNodeMap_newQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QDomNamedNodeMapJBridge((const TQDomNamedNodeMap&)*(const TQDomNamedNodeMap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQDomNamedNodeMapJBridge((const TTQDomNamedNodeMap&)*(const TTQDomNamedNodeMap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -105,45 +105,45 @@ Java_org_kde_qt_QDomNamedNodeMap_newQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeM 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)); + jboolean xret = (jboolean) ((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator==((const TTQDomNamedNodeMap&)*(const TTQDomNamedNodeMap*) 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)); + jboolean xret = (jboolean) ((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->operator!=((const TTQDomNamedNodeMap&)*(const TTQDomNamedNodeMap*) 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::toQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName))), "org.kde.qt.TQDomNode", TRUE); +static TTQString* _qstring_nsURI = 0; +static TTQString* _qstring_localName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((const TTQString&)*(TTQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName))), "org.kde.qt.TTQDomNode", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newNode))), "org.kde.qt.TTQDomNode", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QDomNamedNodeMap.h b/qtjava/javalib/qtjava/QDomNamedNodeMap.h index 2798c203..4e9961fc 100644 --- a/qtjava/javalib/qtjava/QDomNamedNodeMap.h +++ b/qtjava/javalib/qtjava/QDomNamedNodeMap.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newQDomNamedNodeMap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNamedNodeMap_newQDomNamedNodeMap__Lorg_kde_qt_QDomNamedNodeMap_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomNode.cpp b/qtjava/javalib/qtjava/QDomNode.cpp index ddf17d81..1bb321e9 100644 --- a/qtjava/javalib/qtjava/QDomNode.cpp +++ b/qtjava/javalib/qtjava/QDomNode.cpp @@ -4,60 +4,60 @@ #include #include -#include +#include -class QDomNodeJBridge : public QDomNode +class TQDomNodeJBridge : public TQDomNode { public: - QDomNodeJBridge() : TQDomNode() {}; - QDomNodeJBridge(const TQDomNode& arg1) : TQDomNode(arg1) {}; + TQDomNodeJBridge() : TTQDomNode() {}; + TQDomNodeJBridge(const TTQDomNode& arg1) : TTQDomNode(arg1) {}; void public_normalize() { - TQDomNode::normalize(); + TTQDomNode::normalize(); return; } - ~QDomNodeJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->appendChild((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newChild))), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNamedNodeMap(((TTQDomNode*) QtSupport::getQt(env, obj))->attributes()), "org.kde.qt.TTQDomNamedNodeMap", 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::arrayWithQDomNodeList(env, (TQDomNodeList*) &_qlist); + TTQDomNodeList _qlist; + _qlist = ((TTQDomNode*) QtSupport::getQt(env, obj))->childNodes(); + return (jobject) QtSupport::arrayWithTQDomNodeList(env, (TTQDomNodeList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_clear(JNIEnv* env, jobject obj) { - ((TQDomNode*) QtSupport::getQt(env, obj))->clear(); + ((TTQDomNode*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->cloneNode()), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.qt.TTQDomNode", TRUE); return xret; } @@ -72,7 +72,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNode*)QtSupport::getQt(env, obj); + delete (TTQDomNode*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -81,63 +81,63 @@ Java_org_kde_qt_QDomNode_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.qt.TTQDomNode", 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->insertAfter((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newChild), (const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->insertBefore((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newChild), (const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, refChild))), "org.kde.qt.TTQDomNode", 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) QtSupport::getQt(env, obj))->isComment(); return xret; } @@ -150,128 +150,128 @@ Java_org_kde_qt_QDomNode_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNode_isDocumentFragment(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomNode*) QtSupport::getQt(env, obj))->isDocumentFragment(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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::toQString(env, feature, &_qstring_feature), (const TQString&)*(TQString*) QtSupport::toQString(env, version, &_qstring_version)); +static TTQString* _qstring_feature = 0; +static TTQString* _qstring_version = 0; + jboolean xret = (jboolean) ((TTQDomNode*) QtSupport::getQt(env, obj))->isSupported((const TTQString&)*(TTQString*) QtSupport::toTQString(env, feature, &_qstring_feature), (const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQDomNode*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.qt.TTQDomNode", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNode*) 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQDomNode", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->namedItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQDomNode", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNode*) QtSupport::getQt(env, obj))->namespaceURI(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_newQDomNode__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomNode_newTQDomNode__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomNodeJBridge()); + QtSupport::setQt(env, obj, new TQDomNodeJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNode_newQDomNode__Lorg_kde_qt_QDomNode_2(JNIEnv* env, jobject obj, jobject arg1) +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 QDomNodeJBridge((const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQDomNodeJBridge((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -280,208 +280,208 @@ Java_org_kde_qt_QDomNode_newQDomNode__Lorg_kde_qt_QDomNode_2(JNIEnv* env, jobjec 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.qt.TTQDomNode", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNode*) 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(); + jint xret = (jint) ((TTQDomNode*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNode*) QtSupport::getQt(env, obj))->nodeValue(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_normalize(JNIEnv* env, jobject obj) { - ((QDomNodeJBridge*) QtSupport::getQt(env, obj))->public_normalize(); + ((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)); + jboolean xret = (jboolean) ((TTQDomNode*) QtSupport::getQt(env, obj))->operator==((const TTQDomNode&)*(const TTQDomNode*) 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)); + jboolean xret = (jboolean) ((TTQDomNode*) QtSupport::getQt(env, obj))->operator!=((const TTQDomNode&)*(const TTQDomNode*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocument(((TTQDomNode*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.qt.TTQDomDocument", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.qt.TTQDomNode", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNode*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->removeChild((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TTQDomNode", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNode(((TTQDomNode*) QtSupport::getQt(env, obj))->replaceChild((const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, newChild), (const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, oldChild))), "org.kde.qt.TTQDomNode", 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); + ((TTQDomNode*) QtSupport::getQt(env, obj))->save((TTQTextStream&)*(TTQTextStream*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQDomNode*) QtSupport::getQt(env, obj))->setNodeValue((const TTQString&)*(TTQString*) 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::toQString(env, pre, &_qstring_pre)); +static TTQString* _qstring_pre = 0; + ((TTQDomNode*) QtSupport::getQt(env, obj))->setPrefix((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomAttr(((TTQDomNode*) QtSupport::getQt(env, obj))->toAttr()), "org.kde.qt.TTQDomAttr", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomCDATASection(((TTQDomNode*) QtSupport::getQt(env, obj))->toCDATASection()), "org.kde.qt.TTQDomCDATASection", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomCharacterData(((TTQDomNode*) QtSupport::getQt(env, obj))->toCharacterData()), "org.kde.qt.TTQDomCharacterData", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomComment(((TTQDomNode*) QtSupport::getQt(env, obj))->toComment()), "org.kde.qt.TTQDomComment", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocumentFragment(((TTQDomNode*) QtSupport::getQt(env, obj))->toDocumentFragment()), "org.kde.qt.TTQDomDocumentFragment", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocumentType(((TTQDomNode*) QtSupport::getQt(env, obj))->toDocumentType()), "org.kde.qt.TTQDomDocumentType", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocument(((TTQDomNode*) QtSupport::getQt(env, obj))->toDocument()), "org.kde.qt.TTQDomDocument", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomElement(((TTQDomNode*) QtSupport::getQt(env, obj))->toElement()), "org.kde.qt.TTQDomElement", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomEntityReference(((TTQDomNode*) QtSupport::getQt(env, obj))->toEntityReference()), "org.kde.qt.TTQDomEntityReference", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomEntity(((TTQDomNode*) QtSupport::getQt(env, obj))->toEntity()), "org.kde.qt.TTQDomEntity", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomNotation(((TTQDomNode*) QtSupport::getQt(env, obj))->toNotation()), "org.kde.qt.TTQDomNotation", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomProcessingInstruction(((TTQDomNode*) QtSupport::getQt(env, obj))->toProcessingInstruction()), "org.kde.qt.TTQDomProcessingInstruction", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomText(((TTQDomNode*) QtSupport::getQt(env, obj))->toText()), "org.kde.qt.TTQDomText", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QDomNode.h b/qtjava/javalib/qtjava/QDomNode.h index 9f07fd2a..b64ccab7 100644 --- a/qtjava/javalib/qtjava/QDomNode.h +++ b/qtjava/javalib/qtjava/QDomNode.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newQDomNode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNode_newQDomNode__Lorg_kde_qt_QDomNode_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomNotation.cpp b/qtjava/javalib/qtjava/QDomNotation.cpp index 2af4d750..acdb9f99 100644 --- a/qtjava/javalib/qtjava/QDomNotation.cpp +++ b/qtjava/javalib/qtjava/QDomNotation.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QDomNotationJBridge : public QDomNotation +class TQDomNotationJBridge : public TQDomNotation { public: - QDomNotationJBridge() : TQDomNotation() {}; - QDomNotationJBridge(const TQDomNotation& arg1) : TQDomNotation(arg1) {}; - ~QDomNotationJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomNotationJBridge() : TTQDomNotation() {}; + TQDomNotationJBridge(const TTQDomNotation& arg1) : TTQDomNotation(arg1) {}; + ~TQDomNotationJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomNotation*)QtSupport::getQt(env, obj); + delete (TTQDomNotation*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -39,25 +39,25 @@ Java_org_kde_qt_QDomNotation_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomNotation_isNotation(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomNotation*) QtSupport::getQt(env, obj))->isNotation(); + jboolean xret = (jboolean) ((TTQDomNotation*) QtSupport::getQt(env, obj))->isNotation(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_newQDomNotation__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomNotation_newTQDomNotation__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomNotationJBridge()); + QtSupport::setQt(env, obj, new TQDomNotationJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomNotation_newQDomNotation__Lorg_kde_qt_QDomNotation_2(JNIEnv* env, jobject obj, jobject x) +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 QDomNotationJBridge((const TQDomNotation&)*(const TQDomNotation*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomNotationJBridge((const TTQDomNotation&)*(const TTQDomNotation*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -66,23 +66,23 @@ Java_org_kde_qt_QDomNotation_newQDomNotation__Lorg_kde_qt_QDomNotation_2(JNIEnv* JNIEXPORT jint JNICALL Java_org_kde_qt_QDomNotation_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomNotation*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomNotation*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNotation*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomNotation*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomNotation.h b/qtjava/javalib/qtjava/QDomNotation.h index a4b036de..db826a79 100644 --- a/qtjava/javalib/qtjava/QDomNotation.h +++ b/qtjava/javalib/qtjava/QDomNotation.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newQDomNotation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomNotation_newQDomNotation__Lorg_kde_qt_QDomNotation_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp b/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp index 1e57dd7c..fdf340df 100644 --- a/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp +++ b/qtjava/javalib/qtjava/QDomProcessingInstruction.cpp @@ -3,22 +3,22 @@ #include #include -#include +#include -class QDomProcessingInstructionJBridge : public QDomProcessingInstruction +class TQDomProcessingInstructionJBridge : public TQDomProcessingInstruction { public: - QDomProcessingInstructionJBridge() : TQDomProcessingInstruction() {}; - QDomProcessingInstructionJBridge(const TQDomProcessingInstruction& arg1) : TQDomProcessingInstruction(arg1) {}; - ~QDomProcessingInstructionJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomProcessingInstructionJBridge() : TTQDomProcessingInstruction() {}; + TQDomProcessingInstructionJBridge(const TTQDomProcessingInstruction& arg1) : TTQDomProcessingInstruction(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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomProcessingInstruction*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -32,7 +32,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomProcessingInstruction*)QtSupport::getQt(env, obj); + delete (TTQDomProcessingInstruction*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -47,25 +47,25 @@ Java_org_kde_qt_QDomProcessingInstruction_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomProcessingInstruction_isProcessingInstruction(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->isProcessingInstruction(); + jboolean xret = (jboolean) ((TTQDomProcessingInstruction*) QtSupport::getQt(env, obj))->isProcessingInstruction(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_newQDomProcessingInstruction__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomProcessingInstruction_newTQDomProcessingInstruction__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomProcessingInstructionJBridge()); + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomProcessingInstruction_newQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2(JNIEnv* env, jobject obj, jobject x) +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 QDomProcessingInstructionJBridge((const TQDomProcessingInstruction&)*(const TQDomProcessingInstruction*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomProcessingInstructionJBridge((const TTQDomProcessingInstruction&)*(const TTQDomProcessingInstruction*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -74,23 +74,23 @@ Java_org_kde_qt_QDomProcessingInstruction_newQDomProcessingInstruction__Lorg_kde JNIEXPORT jint JNICALL Java_org_kde_qt_QDomProcessingInstruction_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomProcessingInstruction*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomProcessingInstruction*) 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::toQString(env, d, &_qstring_d)); +static TTQString* _qstring_d = 0; + ((TTQDomProcessingInstruction*) QtSupport::getQt(env, obj))->setData((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQDomProcessingInstruction*) QtSupport::getQt(env, obj))->target(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QDomProcessingInstruction.h b/qtjava/javalib/qtjava/QDomProcessingInstruction.h index 9883c491..3b2e475f 100644 --- a/qtjava/javalib/qtjava/QDomProcessingInstruction.h +++ b/qtjava/javalib/qtjava/QDomProcessingInstruction.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newQDomProcessingInstruction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomProcessingInstruction_newQDomProcessingInstruction__Lorg_kde_qt_QDomProcessingInstruction_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDomText.cpp b/qtjava/javalib/qtjava/QDomText.cpp index e2d989b8..154bc6e9 100644 --- a/qtjava/javalib/qtjava/QDomText.cpp +++ b/qtjava/javalib/qtjava/QDomText.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QDomTextJBridge : public QDomText +class TQDomTextJBridge : public TQDomText { public: - QDomTextJBridge() : TQDomText() {}; - QDomTextJBridge(const TQDomText& arg1) : TQDomText(arg1) {}; - ~QDomTextJBridge() {QtSupport::qtKeyDeleted(this);} + TQDomTextJBridge() : TTQDomText() {}; + TQDomTextJBridge(const TTQDomText& arg1) : TTQDomText(arg1) {}; + ~TQDomTextJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDomText*)QtSupport::getQt(env, obj); + delete (TTQDomText*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,25 +38,25 @@ Java_org_kde_qt_QDomText_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDomText_isText(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDomText*) QtSupport::getQt(env, obj))->isText(); + jboolean xret = (jboolean) ((TTQDomText*) QtSupport::getQt(env, obj))->isText(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_newQDomText__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDomText_newTQDomText__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDomTextJBridge()); + QtSupport::setQt(env, obj, new TQDomTextJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDomText_newQDomText__Lorg_kde_qt_QDomText_2(JNIEnv* env, jobject obj, jobject x) +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 QDomTextJBridge((const TQDomText&)*(const TQDomText*) QtSupport::getQt(env, x))); + QtSupport::setQt(env, obj, new TQDomTextJBridge((const TTQDomText&)*(const TTQDomText*) QtSupport::getQt(env, x))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,14 +65,14 @@ Java_org_kde_qt_QDomText_newQDomText__Lorg_kde_qt_QDomText_2(JNIEnv* env, jobjec JNIEXPORT jint JNICALL Java_org_kde_qt_QDomText_nodeType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQDomText*) QtSupport::getQt(env, obj))->nodeType(); + jint xret = (jint) ((TTQDomText*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomText(((TTQDomText*) QtSupport::getQt(env, obj))->splitText((int) offset)), "org.kde.qt.TTQDomText", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QDomText.h b/qtjava/javalib/qtjava/QDomText.h index c71c01f0..903d5d2a 100644 --- a/qtjava/javalib/qtjava/QDomText.h +++ b/qtjava/javalib/qtjava/QDomText.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newQDomText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDomText_newQDomText__Lorg_kde_qt_QDomText_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDoubleValidator.cpp b/qtjava/javalib/qtjava/QDoubleValidator.cpp index 8c69c4eb..da83151e 100644 --- a/qtjava/javalib/qtjava/QDoubleValidator.cpp +++ b/qtjava/javalib/qtjava/QDoubleValidator.cpp @@ -3,49 +3,49 @@ #include #include -#include +#include -class QDoubleValidatorJBridge : public QDoubleValidator +class TQDoubleValidatorJBridge : public TQDoubleValidator { public: - QDoubleValidatorJBridge(TQObject* arg1,const char* arg2) : TQDoubleValidator(arg1,arg2) {}; - QDoubleValidatorJBridge(TQObject* arg1) : TQDoubleValidator(arg1) {}; - QDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4,const char* arg5) : TQDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; - QDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4) : TQDoubleValidator(arg1,arg2,arg3,arg4) {}; - ~QDoubleValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQDoubleValidatorJBridge(TTQObject* arg1,const char* arg2) : TTQDoubleValidator(arg1,arg2) {}; + TQDoubleValidatorJBridge(TTQObject* arg1) : TTQDoubleValidator(arg1) {}; + TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TTQObject* arg4,const char* arg5) : TTQDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; + TQDoubleValidatorJBridge(double arg1,double arg2,int arg3,TTQObject* arg4) : TTQDoubleValidator(arg1,arg2,arg3,arg4) {}; + ~TQDoubleValidatorJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQDoubleValidator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQDoubleValidator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -55,7 +55,7 @@ public: JNIEXPORT jdouble JNICALL Java_org_kde_qt_QDoubleValidator_bottom(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->bottom(); + jdouble xret = (jdouble) ((TTQDoubleValidator*) QtSupport::getQt(env, obj))->bottom(); return xret; } @@ -63,14 +63,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDoubleValidator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDoubleValidator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQDoubleValidator*) 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(); + jint xret = (jint) ((TTQDoubleValidator*) QtSupport::getQt(env, obj))->decimals(); return xret; } @@ -84,8 +84,8 @@ Java_org_kde_qt_QDoubleValidator_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQDoubleValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQDoubleValidator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -100,47 +100,47 @@ Java_org_kde_qt_QDoubleValidator_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDoubleValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_newQDoubleValidator__DDILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent) +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 QDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_newQDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TTQObject*) QtSupport::getQt(env, 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_newQDoubleValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDoubleValidator_newQDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQDoubleValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -149,73 +149,73 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_setBottom(JNIEnv* env, jobject obj, jdouble arg1) { - ((TQDoubleValidator*) QtSupport::getQt(env, obj))->setBottom((double) arg1); + ((TTQDoubleValidator*) 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); + ((TTQDoubleValidator*) 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); + ((TTQDoubleValidator*) 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); + ((TTQDoubleValidator*) 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); + ((TTQDoubleValidator*) 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(); + jdouble xret = (jdouble) ((TTQDoubleValidator*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDoubleValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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; +static TTQString* _qstring_arg1 = 0; int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQDoubleValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); + jint xret = (jint) ((TTQDoubleValidator*) QtSupport::getQt(env, obj))->validate((TTQString&)*(TTQString*) 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 index 407136c5..bd2c370c 100644 --- a/qtjava/javalib/qtjava/QDoubleValidator.h +++ b/qtjava/javalib/qtjava/QDoubleValidator.h @@ -12,10 +12,10 @@ extern "C" 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_newQDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newQDoubleValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDoubleValidator_newQDoubleValidator__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_newQDoubleValidator__DDILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, 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); diff --git a/qtjava/javalib/qtjava/QDragEnterEvent.cpp b/qtjava/javalib/qtjava/QDragEnterEvent.cpp index cd7fc0c9..b7cbb0e4 100644 --- a/qtjava/javalib/qtjava/QDragEnterEvent.cpp +++ b/qtjava/javalib/qtjava/QDragEnterEvent.cpp @@ -3,13 +3,13 @@ #include #include -#include +#include -class QDragEnterEventJBridge : public QDragEnterEvent +class TQDragEnterEventJBridge : public TQDragEnterEvent { public: - QDragEnterEventJBridge(const TQPoint& arg1) : TQDragEnterEvent(arg1) {}; - ~QDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQDragEnterEventJBridge(const TTQPoint& arg1) : TTQDragEnterEvent(arg1) {}; + ~TQDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragEnterEvent*)QtSupport::getQt(env, obj); + delete (TTQDragEnterEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -36,10 +36,10 @@ Java_org_kde_qt_QDragEnterEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDragEnterEvent_newQDragEnterEvent(JNIEnv* env, jobject obj, jobject pos) +Java_org_kde_qt_QDragEnterEvent_newTQDragEnterEvent(JNIEnv* env, jobject obj, jobject pos) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDragEnterEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setQt(env, obj, new TQDragEnterEventJBridge((const TTQPoint&)*(const TTQPoint*) 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 index 87a08faa..379e6c0b 100644 --- a/qtjava/javalib/qtjava/QDragEnterEvent.h +++ b/qtjava/javalib/qtjava/QDragEnterEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragEnterEvent_newQDragEnterEvent (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDragLeaveEvent.cpp b/qtjava/javalib/qtjava/QDragLeaveEvent.cpp index 9f44ceb8..c209f9b5 100644 --- a/qtjava/javalib/qtjava/QDragLeaveEvent.cpp +++ b/qtjava/javalib/qtjava/QDragLeaveEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QDragLeaveEventJBridge : public QDragLeaveEvent +class TQDragLeaveEventJBridge : public TQDragLeaveEvent { public: - QDragLeaveEventJBridge() : TQDragLeaveEvent() {}; - ~QDragLeaveEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQDragLeaveEventJBridge() : TTQDragLeaveEvent() {}; + ~TQDragLeaveEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragLeaveEvent*)QtSupport::getQt(env, obj); + delete (TTQDragLeaveEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QDragLeaveEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDragLeaveEvent_newQDragLeaveEvent(JNIEnv* env, jobject obj) +Java_org_kde_qt_QDragLeaveEvent_newTQDragLeaveEvent(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDragLeaveEventJBridge()); + 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 index e1035a1b..823be5d8 100644 --- a/qtjava/javalib/qtjava/QDragLeaveEvent.h +++ b/qtjava/javalib/qtjava/QDragLeaveEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragLeaveEvent_newQDragLeaveEvent (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDragManager.cpp b/qtjava/javalib/qtjava/QDragManager.cpp index ae038fe3..f0aee840 100644 --- a/qtjava/javalib/qtjava/QDragManager.cpp +++ b/qtjava/javalib/qtjava/QDragManager.cpp @@ -3,41 +3,41 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QDragManager*) QtSupport::getQt(env, obj))->className(); + _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*)((QDragManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragManager_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QDragManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QDragMoveEvent.cpp b/qtjava/javalib/qtjava/QDragMoveEvent.cpp index 3cb17f7a..fdf2f8b5 100644 --- a/qtjava/javalib/qtjava/QDragMoveEvent.cpp +++ b/qtjava/javalib/qtjava/QDragMoveEvent.cpp @@ -4,41 +4,41 @@ #include #include -#include +#include -class QDragMoveEventJBridge : public QDragMoveEvent +class TQDragMoveEventJBridge : public TQDragMoveEvent { public: - QDragMoveEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDragMoveEvent(arg1,arg2) {}; - QDragMoveEventJBridge(const TQPoint& arg1) : TQDragMoveEvent(arg1) {}; - ~QDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQDragMoveEventJBridge(const TTQPoint& arg1,TTQEvent::Type arg2) : TTQDragMoveEvent(arg1,arg2) {}; + TQDragMoveEventJBridge(const TTQPoint& arg1) : TTQDragMoveEvent(arg1) {}; + ~TQDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_accept__(JNIEnv* env, jobject obj) { - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept(); + ((TTQDragMoveEvent*) 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)); + ((TTQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((const TTQRect&)*(const TTQRect*) 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); + ((TTQDragMoveEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQDragMoveEvent*) QtSupport::getQt(env, obj))->answerRect()), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -53,7 +53,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragMoveEvent*)QtSupport::getQt(env, obj); + delete (TTQDragMoveEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -62,14 +62,14 @@ Java_org_kde_qt_QDragMoveEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_ignore__(JNIEnv* env, jobject obj) { - ((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore(); + ((TTQDragMoveEvent*) 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)); + ((TTQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)); return; } @@ -80,20 +80,20 @@ Java_org_kde_qt_QDragMoveEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +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 QDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) +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 QDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); + QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TTQEvent::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 index 8d369cf5..676f77ae 100644 --- a/qtjava/javalib/qtjava/QDragMoveEvent.h +++ b/qtjava/javalib/qtjava/QDragMoveEvent.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDragObject.cpp b/qtjava/javalib/qtjava/QDragObject.cpp index f9e551aa..5326c5ed 100644 --- a/qtjava/javalib/qtjava/QDragObject.cpp +++ b/qtjava/javalib/qtjava/QDragObject.cpp @@ -7,58 +7,58 @@ #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(); + _qstring = ((TTQDragObject*) 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(); + ((TTQDragObject*) 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(); + ((TTQDragObject*) 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(); + jboolean xret = (jboolean) ((TTQDragObject*) 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(); + jboolean xret = (jboolean) ((TTQDragObject*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQMimeSource*)(TTQDragObject*) 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(); + _qstring = ((TTQMimeSource*)(TTQDragObject*) QtSupport::getQt(env, obj))->format(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -66,57 +66,57 @@ 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); + _qstring = ((TTQMimeSource*)(TTQDragObject*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TTQPixmap", 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQMimeSource*)(TTQDragObject*) 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(); + jint xret = (jint) ((TTQMimeSource*)(TTQDragObject*) 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)); + ((TTQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TTQPixmap)*(TTQPixmap*) 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)); + ((TTQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TTQPixmap)*(TTQPixmap*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, hotspot)); return; } @@ -124,14 +124,14 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setTarget(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - TQDragObject::setTarget((TQWidget*) QtSupport::getQt(env, arg1)); + TTQDragObject::setTarget((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TTQWidget"); return xret; } @@ -139,34 +139,34 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQDragObject::target(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQDragObject::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQDragObject::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); + return (jlong) (TTQMimeSource*) (TTQDragObject*) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QDragResponseEvent.cpp b/qtjava/javalib/qtjava/QDragResponseEvent.cpp index 37980a8d..2baa3b9e 100644 --- a/qtjava/javalib/qtjava/QDragResponseEvent.cpp +++ b/qtjava/javalib/qtjava/QDragResponseEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QDragResponseEventJBridge : public QDragResponseEvent +class TQDragResponseEventJBridge : public TQDragResponseEvent { public: - QDragResponseEventJBridge(bool arg1) : TQDragResponseEvent(arg1) {}; - ~QDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQDragResponseEventJBridge(bool arg1) : TTQDragResponseEvent(arg1) {}; + ~TQDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -21,7 +21,7 @@ Java_org_kde_qt_QDragResponseEvent_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragResponseEvent_dragAccepted(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted(); + jboolean xret = (jboolean) ((TTQDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted(); return xret; } @@ -29,7 +29,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDragResponseEvent*)QtSupport::getQt(env, obj); + delete (TTQDragResponseEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,10 +42,10 @@ Java_org_kde_qt_QDragResponseEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDragResponseEvent_newQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted) +Java_org_kde_qt_QDragResponseEvent_newTQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDragResponseEventJBridge((bool) accepted)); + 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 index b4e4cf0a..0489ce68 100644 --- a/qtjava/javalib/qtjava/QDragResponseEvent.h +++ b/qtjava/javalib/qtjava/QDragResponseEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDragResponseEvent_newQDragResponseEvent (JNIEnv *env, jobject, jboolean); +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); diff --git a/qtjava/javalib/qtjava/QDropEvent.cpp b/qtjava/javalib/qtjava/QDropEvent.cpp index 62a12ada..9b6ba5ec 100644 --- a/qtjava/javalib/qtjava/QDropEvent.cpp +++ b/qtjava/javalib/qtjava/QDropEvent.cpp @@ -5,58 +5,58 @@ #include #include -#include +#include -class QDropEventJBridge : public QDropEvent +class TQDropEventJBridge : public TQDropEvent { public: - QDropEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDropEvent(arg1,arg2) {}; - QDropEventJBridge(const TQPoint& arg1) : TQDropEvent(arg1) {}; - ~QDropEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQDropEventJBridge(const TTQPoint& arg1,TTQEvent::Type arg2) : TTQDropEvent(arg1,arg2) {}; + TQDropEventJBridge(const TTQPoint& arg1) : TTQDropEvent(arg1) {}; + ~TQDropEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_acceptAction__(JNIEnv* env, jobject obj) { - ((TQDropEvent*) QtSupport::getQt(env, obj))->acceptAction(); + ((TTQDropEvent*) 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); + ((TTQDropEvent*) 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(); + ((TTQDropEvent*) 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); + ((TTQDropEvent*) 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(); + jint xret = (jint) ((TTQDropEvent*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_f = 0; + _qbyteArray = ((TTQDropEvent*) QtSupport::getQt(env, obj))->data((const char*) QtSupport::toCharString(env, f, &_qstring_f)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT void JNICALL @@ -69,17 +69,17 @@ Java_org_kde_qt_QDropEvent_dispose(JNIEnv* env, jobject obj) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQDropEvent*) 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); + delete (TTQDropEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -89,7 +89,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDropEvent_format__(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQDropEvent*) QtSupport::getQt(env, obj))->format(); + _qstring = ((TTQDropEvent*) QtSupport::getQt(env, obj))->format(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -97,28 +97,28 @@ 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); + _qstring = ((TTQDropEvent*) 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(); + ((TTQDropEvent*) 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(); + jboolean xret = (jboolean) ((TTQDropEvent*) 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(); + jboolean xret = (jboolean) ((TTQDropEvent*) QtSupport::getQt(env, obj))->isActionAccepted(); return xret; } @@ -129,20 +129,20 @@ Java_org_kde_qt_QDropEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_newQDropEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) +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 QDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos))); + QtSupport::setQt(env, obj, new TQDropEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QDropEvent_newQDropEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ) +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 QDropEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ)); + QtSupport::setQt(env, obj, new TQDropEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TTQEvent::Type) typ)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -151,49 +151,49 @@ Java_org_kde_qt_QDropEvent_newQDropEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, job 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQDropEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQDropEvent*) 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(); + jint xret = (jint) ((TTQMimeSource*)(TTQDropEvent*) 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); + ((TTQDropEvent*) QtSupport::getQt(env, obj))->setAction((TTQDropEvent::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)); + ((TTQDropEvent*) QtSupport::getQt(env, obj))->setPoint((const TTQPoint&)*(const TTQPoint*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQDropEvent*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jlong JNICALL Java_org_kde_qt_QDropEvent_mimeSource(JNIEnv* env, jobject obj) { - return (jlong) (TQMimeSource*) (TQDropEvent*) QtSupport::getQt(env, obj); + return (jlong) (TTQMimeSource*) (TTQDropEvent*) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QDropEvent.h b/qtjava/javalib/qtjava/QDropEvent.h index 0726eee4..5a1bf3a9 100644 --- a/qtjava/javalib/qtjava/QDropEvent.h +++ b/qtjava/javalib/qtjava/QDropEvent.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newQDropEvent__Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropEvent_newQDropEvent__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QDropSite.cpp b/qtjava/javalib/qtjava/QDropSite.cpp index 40cfe525..6181dc5d 100644 --- a/qtjava/javalib/qtjava/QDropSite.cpp +++ b/qtjava/javalib/qtjava/QDropSite.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QDropSiteJBridge : public QDropSite +class TQDropSiteJBridge : public TQDropSite { public: - QDropSiteJBridge(TQWidget* arg1) : TQDropSite(arg1) {}; - ~QDropSiteJBridge() {QtSupport::qtKeyDeleted(this);} + TQDropSiteJBridge(TTQWidget* arg1) : TTQDropSite(arg1) {}; + ~TQDropSiteJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQDropSite*)QtSupport::getQt(env, obj); + delete (TTQDropSite*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QDropSite_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QDropSite_newQDropSite(JNIEnv* env, jobject obj, jobject parent) +Java_org_kde_qt_QDropSite_newTQDropSite(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QDropSiteJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQDropSiteJBridge((TTQWidget*) 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 index 80018d2d..9c97ed82 100644 --- a/qtjava/javalib/qtjava/QDropSite.h +++ b/qtjava/javalib/qtjava/QDropSite.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QDropSite_newQDropSite (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QEditorFactory.cpp b/qtjava/javalib/qtjava/QEditorFactory.cpp index 4b5f9d3e..bb3ff46c 100644 --- a/qtjava/javalib/qtjava/QEditorFactory.cpp +++ b/qtjava/javalib/qtjava/QEditorFactory.cpp @@ -3,48 +3,48 @@ #include #include -#include +#include -class QEditorFactoryJBridge : public QEditorFactory +class TQEditorFactoryJBridge : public TQEditorFactory { public: - QEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQEditorFactory(arg1,arg2) {}; - QEditorFactoryJBridge(TQObject* arg1) : TQEditorFactory(arg1) {}; - QEditorFactoryJBridge() : TQEditorFactory() {}; - ~QEditorFactoryJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQEditorFactoryJBridge(TTQObject* arg1,const char* arg2) : TTQEditorFactory(arg1,arg2) {}; + TQEditorFactoryJBridge(TTQObject* arg1) : TTQEditorFactory(arg1) {}; + TQEditorFactoryJBridge() : TTQEditorFactory() {}; + ~TQEditorFactoryJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQEditorFactory",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQEditorFactory",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -54,7 +54,7 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TTQWidget*) QtSupport::getQt(env, parent), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, v)), "org.kde.qt.TTQWidget"); return xret; } @@ -62,7 +62,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QEditorFactory_defaultFactory(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQEditorFactory"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TTQEditorFactory"); return xret; } @@ -76,8 +76,8 @@ Java_org_kde_qt_QEditorFactory_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQEditorFactory*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -87,7 +87,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) { (void) cls; - QEditorFactoryJBridge::installDefaultFactory((TQEditorFactory*) QtSupport::getQt(env, factory)); + TQEditorFactoryJBridge::installDefaultFactory((TTQEditorFactory*) QtSupport::getQt(env, factory)); return; } @@ -98,31 +98,31 @@ Java_org_kde_qt_QEditorFactory_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newQEditorFactory__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QEditorFactory_newTQEditorFactory__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEditorFactoryJBridge()); + QtSupport::setQt(env, obj, new TQEditorFactoryJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newQEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQEditorFactoryJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QEditorFactory_newQEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQEditorFactoryJBridge((TTQObject*) 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 index 7741b2f9..d33984c8 100644 --- a/qtjava/javalib/qtjava/QEditorFactory.h +++ b/qtjava/javalib/qtjava/QEditorFactory.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newQEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newQEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEditorFactory_newQEditorFactory__ (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QErrorMessage.cpp b/qtjava/javalib/qtjava/QErrorMessage.cpp index 27e81fd1..39747c80 100644 --- a/qtjava/javalib/qtjava/QErrorMessage.cpp +++ b/qtjava/javalib/qtjava/QErrorMessage.cpp @@ -3,348 +3,348 @@ #include #include -#include +#include -class QErrorMessageJBridge : public QErrorMessage +class TQErrorMessageJBridge : public TQErrorMessage { public: - QErrorMessageJBridge(TQWidget* arg1,const char* arg2) : TQErrorMessage(arg1,arg2) {}; - QErrorMessageJBridge(TQWidget* arg1) : TQErrorMessage(arg1) {}; + TQErrorMessageJBridge(TTQWidget* arg1,const char* arg2) : TTQErrorMessage(arg1,arg2) {}; + TQErrorMessageJBridge(TTQWidget* arg1) : TTQErrorMessage(arg1) {}; void protected_done(int arg1) { - TQErrorMessage::done(arg1); + TTQErrorMessage::done(arg1); return; } - ~QErrorMessageJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQErrorMessageJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQErrorMessage","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQErrorMessage","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -354,7 +354,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQErrorMessage*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQErrorMessage*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -368,15 +368,15 @@ Java_org_kde_qt_QErrorMessage_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_done(JNIEnv* env, jobject obj, jint arg1) { - ((QErrorMessageJBridge*) QtSupport::getQt(env, obj))->protected_done((int) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQErrorMessage*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQErrorMessage*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -391,34 +391,34 @@ Java_org_kde_qt_QErrorMessage_isDisposed(JNIEnv* env, jobject obj) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQErrorMessage*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQErrorMessage*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_newQErrorMessage__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQErrorMessageJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QErrorMessage_newQErrorMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QErrorMessageJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQErrorMessageJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -428,28 +428,28 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QErrorMessage_qtHandler(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QErrorMessageJBridge::qtHandler(), "org.kde.qt.TQErrorMessage"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQErrorMessageJBridge::qtHandler(), "org.kde.qt.TTQErrorMessage"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QErrorMessage_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QErrorMessageJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 27025528..de180772 100644 --- a/qtjava/javalib/qtjava/QErrorMessage.h +++ b/qtjava/javalib/qtjava/QErrorMessage.h @@ -12,8 +12,8 @@ extern "C" 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_newQErrorMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QErrorMessage_newQErrorMessage__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QEucJpCodec.cpp b/qtjava/javalib/qtjava/QEucJpCodec.cpp index bc37b72f..3f5ec710 100644 --- a/qtjava/javalib/qtjava/QEucJpCodec.cpp +++ b/qtjava/javalib/qtjava/QEucJpCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QEucJpCodecJBridge : public QEucJpCodec +class TQEucJpCodecJBridge : public TQEucJpCodec { public: - QEucJpCodecJBridge() : TQEucJpCodec() {}; - ~QEucJpCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQEucJpCodecJBridge() : TTQEucJpCodec() {}; + ~TQEucJpCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QEucJpCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEucJpCodec*)QtSupport::getQt(env, obj); + delete (TTQEucJpCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QEucJpCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQEucJpCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQEucJpCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQEucJpCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QEucJpCodec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQEucJpCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QEucJpCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQEucJpCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,7 +81,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQEucJpCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -89,15 +89,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQEucJpCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQEucJpCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QEucJpCodec_newQEucJpCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QEucJpCodec_newTQEucJpCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEucJpCodecJBridge()); + QtSupport::setQt(env, obj, new TQEucJpCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,9 +106,9 @@ Java_org_kde_qt_QEucJpCodec_newQEucJpCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQEucJpCodec*) 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 index ee22785b..0c0450b1 100644 --- a/qtjava/javalib/qtjava/QEucJpCodec.h +++ b/qtjava/javalib/qtjava/QEucJpCodec.h @@ -18,7 +18,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucJpCodec_fromUnicode (JNIEnv 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_newQEucJpCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QEucKrCodec.cpp b/qtjava/javalib/qtjava/QEucKrCodec.cpp index 0df6b4cd..74403c9f 100644 --- a/qtjava/javalib/qtjava/QEucKrCodec.cpp +++ b/qtjava/javalib/qtjava/QEucKrCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QEucKrCodecJBridge : public QEucKrCodec +class TQEucKrCodecJBridge : public TQEucKrCodec { public: - QEucKrCodecJBridge() : TQEucKrCodec() {}; - ~QEucKrCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQEucKrCodecJBridge() : TTQEucKrCodec() {}; + ~TQEucKrCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QEucKrCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEucKrCodec*)QtSupport::getQt(env, obj); + delete (TTQEucKrCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QEucKrCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQEucKrCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQEucKrCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQEucKrCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QEucKrCodec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQEucKrCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QEucKrCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQEucKrCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,7 +81,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQEucKrCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -89,15 +89,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQEucKrCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQEucKrCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QEucKrCodec_newQEucKrCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QEucKrCodec_newTQEucKrCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEucKrCodecJBridge()); + QtSupport::setQt(env, obj, new TQEucKrCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,9 +106,9 @@ Java_org_kde_qt_QEucKrCodec_newQEucKrCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQEucKrCodec*) 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 index c6a79904..5e90eefb 100644 --- a/qtjava/javalib/qtjava/QEucKrCodec.h +++ b/qtjava/javalib/qtjava/QEucKrCodec.h @@ -18,7 +18,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QEucKrCodec_fromUnicode (JNIEnv 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_newQEucKrCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QEvent.cpp b/qtjava/javalib/qtjava/QEvent.cpp index 4211c51d..85117dbd 100644 --- a/qtjava/javalib/qtjava/QEvent.cpp +++ b/qtjava/javalib/qtjava/QEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QEventJBridge : public QEvent +class TQEventJBridge : public TQEvent { public: - QEventJBridge(TQEvent::Type arg1) : TQEvent(arg1) {}; - ~QEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQEventJBridge(TTQEvent::Type arg1) : TTQEvent(arg1) {}; + ~TQEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQEvent*)QtSupport::getQt(env, obj); + delete (TTQEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QEvent_newQEvent(JNIEnv* env, jobject obj, jint type) +Java_org_kde_qt_QEvent_newTQEvent(JNIEnv* env, jobject obj, jint type) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEventJBridge((TQEvent::Type) type)); + QtSupport::setQt(env, obj, new TQEventJBridge((TTQEvent::Type) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -47,14 +47,14 @@ Java_org_kde_qt_QEvent_newQEvent(JNIEnv* env, jobject obj, jint type) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEvent_spontaneous(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQEvent*) QtSupport::getQt(env, obj))->spontaneous(); + jboolean xret = (jboolean) ((TTQEvent*) 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(); + jint xret = (jint) ((TTQEvent*) QtSupport::getQt(env, obj))->type(); return xret; } diff --git a/qtjava/javalib/qtjava/QEvent.h b/qtjava/javalib/qtjava/QEvent.h index ffae011f..59001558 100644 --- a/qtjava/javalib/qtjava/QEvent.h +++ b/qtjava/javalib/qtjava/QEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEvent_newQEvent (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QEventLoop.cpp b/qtjava/javalib/qtjava/QEventLoop.cpp index 68bd1f39..ba9655bf 100644 --- a/qtjava/javalib/qtjava/QEventLoop.cpp +++ b/qtjava/javalib/qtjava/QEventLoop.cpp @@ -3,87 +3,87 @@ #include #include -#include +#include -class QEventLoopJBridge : public QEventLoop +class TQEventLoopJBridge : public TQEventLoop { public: - QEventLoopJBridge(TQObject* arg1,const char* arg2) : TQEventLoop(arg1,arg2) {}; - QEventLoopJBridge(TQObject* arg1) : TQEventLoop(arg1) {}; - QEventLoopJBridge() : TQEventLoop() {}; + TQEventLoopJBridge(TTQObject* arg1,const char* arg2) : TTQEventLoop(arg1,arg2) {}; + TQEventLoopJBridge(TTQObject* arg1) : TTQEventLoop(arg1) {}; + TQEventLoopJBridge() : TTQEventLoop() {}; void public_exit() { - TQEventLoop::exit(); + TTQEventLoop::exit(); return; } void public_exitLoop() { - TQEventLoop::exitLoop(); + TTQEventLoop::exitLoop(); return; } void public_wakeUp() { - TQEventLoop::wakeUp(); + TTQEventLoop::wakeUp(); return; } - ~QEventLoopJBridge() {QtSupport::qtKeyDeleted(this);} - void unregisterSocketNotifier(TQSocketNotifier* arg1) { - if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { - TQEventLoop::unregisterSocketNotifier(arg1); + ~TQEventLoopJBridge() {QtSupport::qtKeyDeleted(this);} + void unregisterSocketNotifier(TTQSocketNotifier* arg1) { + if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.TTQSocketNotifier")) { + TTQEventLoop::unregisterSocketNotifier(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void exitLoop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","exitLoop")) { - TQEventLoop::exitLoop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQEventLoop","exitLoop")) { + TTQEventLoop::exitLoop(); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void wakeUp() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","wakeUp")) { - TQEventLoop::wakeUp(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQEventLoop","wakeUp")) { + TTQEventLoop::wakeUp(); } return; } - void registerSocketNotifier(TQSocketNotifier* arg1) { - if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) { - TQEventLoop::registerSocketNotifier(arg1); + void registerSocketNotifier(TTQSocketNotifier* arg1) { + if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.TTQSocketNotifier")) { + TTQEventLoop::registerSocketNotifier(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::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); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQEventLoop",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQEventLoop",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -93,14 +93,14 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_activateSocketNotifiers(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateSocketNotifiers(); + jint xret = (jint) ((TTQEventLoop*) 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(); + jint xret = (jint) ((TTQEventLoop*) QtSupport::getQt(env, obj))->activateTimers(); return xret; } @@ -108,7 +108,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QEventLoop_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQEventLoop*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQEventLoop*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -122,43 +122,43 @@ Java_org_kde_qt_QEventLoop_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_enterLoop(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->enterLoop(); + jint xret = (jint) ((TTQEventLoop*) 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(); + jint xret = (jint) ((TTQEventLoop*) QtSupport::getQt(env, obj))->exec(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exitLoop(JNIEnv* env, jobject obj) { - ((QEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exitLoop(); + ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exitLoop(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_exit__(JNIEnv* env, jobject obj) { - ((QEventLoopJBridge*) QtSupport::getQt(env, obj))->public_exit(); + ((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); + ((TTQEventLoop*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQEventLoop*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQEventLoop*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -167,7 +167,7 @@ Java_org_kde_qt_QEventLoop_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QEventLoop_hasPendingEvents(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents(); + jboolean xret = (jboolean) ((TTQEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents(); return xret; } @@ -180,43 +180,43 @@ Java_org_kde_qt_QEventLoop_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QEventLoop_loopLevel(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->loopLevel(); + jint xret = (jint) ((TTQEventLoop*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQEventLoop*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newQEventLoop__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QEventLoop_newTQEventLoop__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEventLoopJBridge()); + QtSupport::setQt(env, obj, new TQEventLoopJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQEventLoopJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQEventLoopJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -225,70 +225,70 @@ static TQCString* _qstring_name = 0; 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); + jboolean xret = (jboolean) ((TTQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TTQEventLoop::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); + ((TTQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TTQEventLoop::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)); + ((TTQEventLoop*) QtSupport::getQt(env, obj))->registerSocketNotifier((TTQSocketNotifier*) 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)); + ((TTQEventLoop*) QtSupport::getQt(env, obj))->setSocketNotifierPending((TTQSocketNotifier*) 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(); + jint xret = (jint) ((TTQEventLoop*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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)); + ((TTQEventLoop*) QtSupport::getQt(env, obj))->unregisterSocketNotifier((TTQSocketNotifier*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_wakeUp(JNIEnv* env, jobject obj) { - ((QEventLoopJBridge*) QtSupport::getQt(env, obj))->public_wakeUp(); + ((TQEventLoopJBridge*) QtSupport::getQt(env, obj))->public_wakeUp(); return; } diff --git a/qtjava/javalib/qtjava/QEventLoop.h b/qtjava/javalib/qtjava/QEventLoop.h index 554e0ec6..70f1a640 100644 --- a/qtjava/javalib/qtjava/QEventLoop.h +++ b/qtjava/javalib/qtjava/QEventLoop.h @@ -12,9 +12,9 @@ extern "C" 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_newQEventLoop__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QEventLoop_newQEventLoop__ (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); diff --git a/qtjava/javalib/qtjava/QFile.cpp b/qtjava/javalib/qtjava/QFile.cpp index 18585d68..53c811f8 100644 --- a/qtjava/javalib/qtjava/QFile.cpp +++ b/qtjava/javalib/qtjava/QFile.cpp @@ -6,56 +6,56 @@ #include #include -#include +#include -class QFileJBridge : public QFile +class TQFileJBridge : public TQFile { public: - QFileJBridge() : TQFile() {}; - QFileJBridge(const TQString& arg1) : TQFile(arg1) {}; - void protected_setErrorString(const TQString& arg1) { - TQFile::setErrorString(arg1); + TQFileJBridge() : TTQFile() {}; + TQFileJBridge(const TTQString& arg1) : TTQFile(arg1) {}; + void protected_setErrorString(const TTQString& arg1) { + TTQFile::setErrorString(arg1); return; } - ~QFileJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jboolean xret = (jboolean) ((TTQFile*) 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(); + jlong xret = (jlong) ((TTQFile*) 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); + jboolean xret = (jboolean) ((TTQFile*) QtSupport::getQt(env, obj))->at((TTQIODevice::Offset) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFile_close(JNIEnv* env, jobject obj) { - ((TQFile*) QtSupport::getQt(env, obj))->close(); + ((TTQFile*) QtSupport::getQt(env, obj))->close(); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_decodeName(JNIEnv* env, jclass cls, jstring localFileName) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qcstring_localFileName = 0; - _qstring = QFileJBridge::decodeName((const TQCString&)*(TQCString*) QtSupport::toQCString(env, localFileName, &_qcstring_localFileName)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qcstring_localFileName = 0; + _qstring = TQFileJBridge::decodeName((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, localFileName, &_qcstring_localFileName)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -68,25 +68,25 @@ Java_org_kde_qt_QFile_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_encodeName(JNIEnv* env, jclass cls, jstring fileName) { - TQCString _qstring; + TTQCString _qstring; (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = QFileJBridge::encodeName((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); - return QtSupport::fromQCString(env, &_qstring); +static TTQString* _qstring_fileName = 0; + _qstring = TQFileJBridge::encodeName((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFile*) 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(); + jboolean xret = (jboolean) ((TTQFile*) QtSupport::getQt(env, obj))->exists(); return xret; } @@ -94,8 +94,8 @@ 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) QFileJBridge::exists((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQFileJBridge::exists((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); return xret; } @@ -103,7 +103,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QFile_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFile*)QtSupport::getQt(env, obj); + delete (TTQFile*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -112,21 +112,21 @@ Java_org_kde_qt_QFile_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QFile_flush(JNIEnv* env, jobject obj) { - ((TQFile*) QtSupport::getQt(env, obj))->flush(); + ((TTQFile*) 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(); + jint xret = (jint) ((TTQFile*) 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(); + jint xret = (jint) ((TTQFile*) QtSupport::getQt(env, obj))->handle(); return xret; } @@ -139,27 +139,27 @@ Java_org_kde_qt_QFile_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QFile_name(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFile*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_newQFile__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFile_newTQFile__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileJBridge()); + QtSupport::setQt(env, obj, new TQFileJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFile_newQFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QFile_newTQFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFileJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -168,56 +168,56 @@ static TQString* _qstring_name = 0; 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); + jboolean xret = (jboolean) ((TTQFile*) 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); + jboolean xret = (jboolean) ((TTQFile*) 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); + jint xret = (jint) ((TTQFile*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) len); - jlong xret = (jlong) ((TQFile*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) len); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQFile*) 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::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (Q_ULONG) maxlen); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); +static TTQString* _qstring_arg1 = 0; + jlong xret = (jlong) ((TTQFile*) QtSupport::getQt(env, obj))->readLine((TTQString&)*(TTQString*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQFile*) 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(); + jboolean xret = (jboolean) ((TTQFile*) QtSupport::getQt(env, obj))->remove(); return xret; } @@ -225,54 +225,54 @@ 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) QFileJBridge::remove((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) TQFileJBridge::remove((const TTQString&)*(TTQString*) 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; - ((QFileJBridge*) QtSupport::getQt(env, obj))->protected_setErrorString((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TQFileJBridge*) QtSupport::getQt(env, obj))->protected_setErrorString((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQFile*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) 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(); + jlong xret = (jlong) ((TTQFile*) 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); + jint xret = (jint) ((TTQFile*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQFile*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TTQFile*) QtSupport::getQt(env, obj))->writeBlock((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); return xret; } diff --git a/qtjava/javalib/qtjava/QFile.h b/qtjava/javalib/qtjava/QFile.h index 91d8731e..cdc67db6 100644 --- a/qtjava/javalib/qtjava/QFile.h +++ b/qtjava/javalib/qtjava/QFile.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newQFile__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFile_newQFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QFileDialog.cpp b/qtjava/javalib/qtjava/QFileDialog.cpp index 31164167..a1f2fb52 100644 --- a/qtjava/javalib/qtjava/QFileDialog.cpp +++ b/qtjava/javalib/qtjava/QFileDialog.cpp @@ -7,379 +7,379 @@ #include #include -#include +#include -class QFileDialogJBridge : public QFileDialog +class TQFileDialogJBridge : public TQFileDialog { public: - QFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : TQFileDialog(arg1,arg2,arg3,arg4,arg5) {}; - QFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQFileDialog(arg1,arg2,arg3,arg4) {}; - QFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQFileDialog(arg1,arg2,arg3) {}; - QFileDialogJBridge(const TQString& arg1,const TQString& arg2) : TQFileDialog(arg1,arg2) {}; - QFileDialogJBridge(const TQString& arg1) : TQFileDialog(arg1) {}; - QFileDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQFileDialog(arg1,arg2,arg3) {}; - QFileDialogJBridge(TQWidget* arg1,const char* arg2) : TQFileDialog(arg1,arg2) {}; - QFileDialogJBridge(TQWidget* arg1) : TQFileDialog(arg1) {}; - QFileDialogJBridge() : TQFileDialog() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQFileDialog::resizeEvent(arg1); + TQFileDialogJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4,bool arg5) : TTQFileDialog(arg1,arg2,arg3,arg4,arg5) {}; + TQFileDialogJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQFileDialog(arg1,arg2,arg3,arg4) {}; + TQFileDialogJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQFileDialog(arg1,arg2,arg3) {}; + TQFileDialogJBridge(const TTQString& arg1,const TTQString& arg2) : TTQFileDialog(arg1,arg2) {}; + TQFileDialogJBridge(const TTQString& arg1) : TTQFileDialog(arg1) {}; + TQFileDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQFileDialog(arg1,arg2,arg3) {}; + TQFileDialogJBridge(TTQWidget* arg1,const char* arg2) : TTQFileDialog(arg1,arg2) {}; + TQFileDialogJBridge(TTQWidget* arg1) : TTQFileDialog(arg1) {}; + TQFileDialogJBridge() : TTQFileDialog() {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQFileDialog::resizeEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQFileDialog::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQFileDialog::keyPressEvent(arg1); return; } - void protected_addWidgets(TQLabel* arg1,TQWidget* arg2,TQPushButton* arg3) { - TQFileDialog::addWidgets(arg1,arg2,arg3); + void protected_addWidgets(TTQLabel* arg1,TTQWidget* arg2,TTQPushButton* arg3) { + TTQFileDialog::addWidgets(arg1,arg2,arg3); return; } - void protected_addToolButton(TQButton* arg1,bool arg2) { - TQFileDialog::addToolButton(arg1,arg2); + void protected_addToolButton(TTQButton* arg1,bool arg2) { + TTQFileDialog::addToolButton(arg1,arg2); return; } - void protected_addToolButton(TQButton* arg1) { - TQFileDialog::addToolButton(arg1); + void protected_addToolButton(TTQButton* arg1) { + TTQFileDialog::addToolButton(arg1); return; } - void protected_addLeftWidget(TQWidget* arg1) { - TQFileDialog::addLeftWidget(arg1); + void protected_addLeftWidget(TTQWidget* arg1) { + TTQFileDialog::addLeftWidget(arg1); return; } - void protected_addRightWidget(TQWidget* arg1) { - TQFileDialog::addRightWidget(arg1); + void protected_addRightWidget(TTQWidget* arg1) { + TTQFileDialog::addRightWidget(arg1); return; } - ~QFileDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQFileDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFileDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFileDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQFileDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQFileDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFileDialog","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFileDialog","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -388,43 +388,43 @@ public: 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::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->addFilter((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addLeftWidget(JNIEnv* env, jobject obj, jobject w) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((TQWidget*) QtSupport::getQt(env, w)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addLeftWidget((TTQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_addRightWidget(JNIEnv* env, jobject obj, jobject w) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((TQWidget*) QtSupport::getQt(env, w)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addRightWidget((TTQWidget*) 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) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TTQButton*) 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) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TQButton*) QtSupport::getQt(env, b), (bool) separator); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToolButton((TTQButton*) 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) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((TQLabel*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2), (TQPushButton*) QtSupport::getQt(env, arg3)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addWidgets((TTQLabel*) QtSupport::getQt(env, arg1), (TTQWidget*) QtSupport::getQt(env, arg2), (TTQPushButton*) QtSupport::getQt(env, arg3)); return; } @@ -432,22 +432,22 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQFileDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQFileDialog*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileDialog*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFileDialog*) QtSupport::getQt(env, obj))->dir(), "org.kde.qt.TTQDir"); return xret; } @@ -461,22 +461,22 @@ Java_org_kde_qt_QFileDialog_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_done(JNIEnv* env, jobject obj, jint arg1) { - ((TQFileDialog*) QtSupport::getQt(env, obj))->done((int) arg1); + ((TTQFileDialog*) 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)); + jboolean xret = (jboolean) ((TTQFileDialog*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQFileDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQFileDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -485,379 +485,379 @@ Java_org_kde_qt_QFileDialog_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls) { - TQString _qstring; + TTQString _qstring; (void) cls; - _qstring = QFileDialogJBridge::getExistingDirectory(); - return QtSupport::fromQString(env, &_qstring); + _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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (bool) dirOnly); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = QFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (bool) dirOnly, (bool) resolveSymlinks); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getExistingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; - _qstring = QFileDialogJBridge::getOpenFileName(); - return QtSupport::fromQString(env, &_qstring); + _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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; - _qstring = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - _qstring = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; + TTQString _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 = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) 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; + TTQString _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 = QFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getOpenFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) 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; + TTQStringList _qlist; (void) cls; - _qlist = QFileDialogJBridge::getOpenFileNames(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQFileDialogJBridge::getOpenFileNames(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filter) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_filter = 0; - _qlist = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; - _qlist = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; - _qlist = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; - _qlist = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_filter = 0; -static TQString* _qstring_dir = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qlist = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _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 = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _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 = QFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_filter = 0; +static TTQString* _qstring_dir = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qlist = TQFileDialogJBridge::getOpenFileNames((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) QtSupport::toTQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); + QtSupport::fromTQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileDialog_getSaveFileName__(JNIEnv* env, jclass cls) { - TQString _qstring; + TTQString _qstring; (void) cls; - _qstring = QFileDialogJBridge::getSaveFileName(); - return QtSupport::fromQString(env, &_qstring); + _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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; - _qstring = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; - _qstring = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - _qstring = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_initially = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - _qstring = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; + TTQString _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 = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter)); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) 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; + TTQString _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 = QFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toQString(env, initially, &_qstring_initially), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQString*) QtSupport::toQStringFromStringBuffer(env, selectedFilter, &_qstring_selectedFilter), (bool) resolveSymlinks); - QtSupport::fromQStringToStringBuffer(env, _qstring_selectedFilter, selectedFilter); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_initially = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_selectedFilter = 0; + _qstring = TQFileDialogJBridge::getSaveFileName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, initially, &_qstring_initially), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TTQString*) 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*)QFileDialogJBridge::iconProvider(), "org.kde.qt.TQFileIconProvider"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQFileDialogJBridge::iconProvider(), "org.kde.qt.TTQFileIconProvider"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isContentsPreviewEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isContentsPreviewEnabled(); + jboolean xret = (jboolean) ((TTQFileDialog*) QtSupport::getQt(env, obj))->isContentsPreviewEnabled(); return xret; } @@ -870,129 +870,129 @@ Java_org_kde_qt_QFileDialog_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileDialog_isInfoPreviewEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFileDialog*) QtSupport::getQt(env, obj))->isInfoPreviewEnabled(); + jboolean xret = (jboolean) ((TTQFileDialog*) QtSupport::getQt(env, obj))->isInfoPreviewEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_mode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->mode(); + jint xret = (jint) ((TTQFileDialog*) QtSupport::getQt(env, obj))->mode(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFileDialog_newTQFileDialog__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge()); + QtSupport::setQt(env, obj, new TQFileDialogJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) +Java_org_kde_qt_QFileDialog_newTQFileDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName) { -static TQString* _qstring_dirName = 0; +static TTQString* _qstring_dirName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, dirName, &_qstring_dirName))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter) +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; +static TTQString* _qstring_dirName = 0; +static TTQString* _qstring_filter = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring dirName, jstring filter, jobject parent) +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; +static TTQString* _qstring_dirName = 0; +static TTQString* _qstring_filter = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__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) +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; +static TTQString* _qstring_dirName = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__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) +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; +static TTQString* _qstring_dirName = 0; +static TTQString* _qstring_filter = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, dirName, &_qstring_dirName), (const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirName, &_qstring_dirName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TTQWidget*) 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_newQFileDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQFileDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1001,111 +1001,111 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QFileDialog_previewMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFileDialog*) QtSupport::getQt(env, obj))->previewMode(); + jint xret = (jint) ((TTQFileDialog*) 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(); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->rereadDir(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_resortDir(JNIEnv* env, jobject obj) { - ((TQFileDialog*) QtSupport::getQt(env, obj))->resortDir(); + ((TTQFileDialog*) 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); + ((TTQFileDialog*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileDialog*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQFileDialog*) QtSupport::getQt(env, obj))->selectedFiles(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileDialog*) 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); + ((TTQFileDialog*) 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)); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setContentsPreview((TTQWidget*) QtSupport::getQt(env, w), (TTQFilePreview*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TTQString&)*(TTQString*) 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)); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setDir((const TTQDir&)*(const TTQDir*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const TTQString&)*(TTQString*) 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)); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setFilters((const char**) QtSupport::toStringArray(env, arg1)); return; } @@ -1113,121 +1113,121 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_setIconProvider(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QFileDialogJBridge::setIconProvider((TQFileIconProvider*) QtSupport::getQt(env, arg1)); + TQFileDialogJBridge::setIconProvider((TTQFileIconProvider*) 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); + ((TTQFileDialog*) 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)); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setInfoPreview((TTQWidget*) QtSupport::getQt(env, w), (TTQFilePreview*) 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); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setMode((TTQFileDialog::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); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setPreviewMode((TTQFileDialog::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); + ((TTQFileDialog*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setSelectedFilter((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TTQString&)*(TTQString*) 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); + ((TTQFileDialog*) 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)); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setUrl((const TTQUrlOperator&)*(const TTQUrlOperator*) 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); + ((TTQFileDialog*) QtSupport::getQt(env, obj))->setViewMode((TTQFileDialog::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(); + jboolean xret = (jboolean) ((TTQFileDialog*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QFileDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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.QUrlInterface", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQUrl(((TTQFileDialog*) 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(); + jint xret = (jint) ((TTQFileDialog*) QtSupport::getQt(env, obj))->viewMode(); return xret; } diff --git a/qtjava/javalib/qtjava/QFileDialog.h b/qtjava/javalib/qtjava/QFileDialog.h index e11ef5a1..f70a4c00 100644 --- a/qtjava/javalib/qtjava/QFileDialog.h +++ b/qtjava/javalib/qtjava/QFileDialog.h @@ -12,15 +12,15 @@ extern "C" 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_newQFileDialog__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_newQFileDialog__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_newQFileDialog__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_newQFileDialog__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newQFileDialog__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newQFileDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileDialog_newQFileDialog__ (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); diff --git a/qtjava/javalib/qtjava/QFileIconProvider.cpp b/qtjava/javalib/qtjava/QFileIconProvider.cpp index 78d3e868..4723eb38 100644 --- a/qtjava/javalib/qtjava/QFileIconProvider.cpp +++ b/qtjava/javalib/qtjava/QFileIconProvider.cpp @@ -4,48 +4,48 @@ #include #include -#include +#include -class QFileIconProviderJBridge : public QFileIconProvider +class TQFileIconProviderJBridge : public TQFileIconProvider { public: - QFileIconProviderJBridge(TQObject* arg1,const char* arg2) : TQFileIconProvider(arg1,arg2) {}; - QFileIconProviderJBridge(TQObject* arg1) : TQFileIconProvider(arg1) {}; - QFileIconProviderJBridge() : TQFileIconProvider() {}; - ~QFileIconProviderJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQFileIconProviderJBridge(TTQObject* arg1,const char* arg2) : TTQFileIconProvider(arg1,arg2) {}; + TQFileIconProviderJBridge(TTQObject* arg1) : TTQFileIconProvider(arg1) {}; + TQFileIconProviderJBridge() : TTQFileIconProvider() {}; + ~TQFileIconProviderJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQFileIconProvider",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQFileIconProvider",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -56,7 +56,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQFileIconProvider*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQFileIconProvider*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -70,8 +70,8 @@ Java_org_kde_qt_QFileIconProvider_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQFileIconProvider*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQFileIconProvider*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -86,36 +86,36 @@ Java_org_kde_qt_QFileIconProvider_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFileIconProvider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newQFileIconProvider__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFileIconProvider_newTQFileIconProvider__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileIconProviderJBridge()); + QtSupport::setQt(env, obj, new TQFileIconProviderJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newQFileIconProvider__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QFileIconProviderJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQFileIconProviderJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileIconProvider_newQFileIconProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileIconProviderJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFileIconProviderJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -124,28 +124,28 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFileIconProvider*) QtSupport::getQt(env, obj))->pixmap((const TTQFileInfo&)*(const TTQFileInfo*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFileIconProvider_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QFileIconProviderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 63ccfc28..dd5e9c80 100644 --- a/qtjava/javalib/qtjava/QFileIconProvider.h +++ b/qtjava/javalib/qtjava/QFileIconProvider.h @@ -12,9 +12,9 @@ extern "C" 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_newQFileIconProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newQFileIconProvider__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileIconProvider_newQFileIconProvider__ (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); diff --git a/qtjava/javalib/qtjava/QFileInfo.cpp b/qtjava/javalib/qtjava/QFileInfo.cpp index 55764ca3..8a26b47b 100644 --- a/qtjava/javalib/qtjava/QFileInfo.cpp +++ b/qtjava/javalib/qtjava/QFileInfo.cpp @@ -7,92 +7,92 @@ #include #include -#include +#include -class QFileInfoJBridge : public QFileInfo +class TQFileInfoJBridge : public TQFileInfo { public: - QFileInfoJBridge() : TQFileInfo() {}; - QFileInfoJBridge(const TQString& arg1) : TQFileInfo(arg1) {}; - QFileInfoJBridge(const TQFile& arg1) : TQFileInfo(arg1) {}; - QFileInfoJBridge(const TQDir& arg1,const TQString& arg2) : TQFileInfo(arg1,arg2) {}; - QFileInfoJBridge(const TQFileInfo& arg1) : TQFileInfo(arg1) {}; - ~QFileInfoJBridge() {QtSupport::qtKeyDeleted(this);} + TQFileInfoJBridge() : TTQFileInfo() {}; + TQFileInfoJBridge(const TTQString& arg1) : TTQFileInfo(arg1) {}; + TQFileInfoJBridge(const TTQFile& arg1) : TTQFileInfo(arg1) {}; + TQFileInfoJBridge(const TTQDir& arg1,const TTQString& arg2) : TTQFileInfo(arg1,arg2) {}; + TQFileInfoJBridge(const TTQFileInfo& arg1) : TTQFileInfo(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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQFileInfo*) QtSupport::getQt(env, obj))->created(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(((TTQFileInfo*) QtSupport::getQt(env, obj))->dir()), "org.kde.qt.TTQDir", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(((TTQFileInfo*) QtSupport::getQt(env, obj))->dir((bool) absPath)), "org.kde.qt.TTQDir", TRUE); return xret; } @@ -106,47 +106,47 @@ Java_org_kde_qt_QFileInfo_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_exists(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->exists(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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); + delete (TTQFileInfo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -155,22 +155,22 @@ Java_org_kde_qt_QFileInfo_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_groupId(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->groupId(); + jint xret = (jint) ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) QtSupport::getQt(env, obj))->isDir(); return xret; } @@ -183,115 +183,115 @@ Java_org_kde_qt_QFileInfo_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFileInfo_isExecutable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFileInfo*) QtSupport::getQt(env, obj))->isExecutable(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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(); + jboolean xret = (jboolean) ((TTQFileInfo*) 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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQFileInfo*) QtSupport::getQt(env, obj))->lastModified(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQFileInfo*) QtSupport::getQt(env, obj))->lastRead(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate); } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newQFileInfo__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFileInfo_newTQFileInfo__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileInfoJBridge()); + QtSupport::setQt(env, obj, new TQFileInfoJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newQFileInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) +Java_org_kde_qt_QFileInfo_newTQFileInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) { -static TQString* _qstring_file = 0; +static TTQString* _qstring_file = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file))); + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring fileName) +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; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFileInfoJBridge((const TQDir&)*(const TQDir*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName))); + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TTQDir&)*(const TTQDir*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QFileInfo_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFileInfoJBridge((const TQFileInfo&)*(const TQFileInfo*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TTQFileInfo&)*(const TTQFileInfo*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFileInfoJBridge((const TQFile&)*(const TQFile*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFileInfoJBridge((const TTQFile&)*(const TTQFile*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -300,74 +300,74 @@ Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject JNIEXPORT jint JNICALL Java_org_kde_qt_QFileInfo_ownerId(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFileInfo*) QtSupport::getQt(env, obj))->ownerId(); + jint xret = (jint) ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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); + jboolean xret = (jboolean) ((TTQFileInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFileInfo*) 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(); + ((TTQFileInfo*) 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); + ((TTQFileInfo*) 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::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + ((TTQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + ((TTQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TTQDir&)*(const TTQDir*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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)); + ((TTQFileInfo*) QtSupport::getQt(env, obj))->setFile((const TTQFile&)*(const TTQFile*) 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(); + jlong xret = (jlong) ((TTQFileInfo*) QtSupport::getQt(env, obj))->size(); return xret; } diff --git a/qtjava/javalib/qtjava/QFileInfo.h b/qtjava/javalib/qtjava/QFileInfo.h index d284650e..8c6c5538 100644 --- a/qtjava/javalib/qtjava/QFileInfo.h +++ b/qtjava/javalib/qtjava/QFileInfo.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newQFileInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newQFileInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QDir_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFileInfo_newQFileInfo__Lorg_kde_qt_QFileInfo_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QFilePreview.cpp b/qtjava/javalib/qtjava/QFilePreview.cpp index c0a9cc00..1bff6546 100644 --- a/qtjava/javalib/qtjava/QFilePreview.cpp +++ b/qtjava/javalib/qtjava/QFilePreview.cpp @@ -3,12 +3,12 @@ #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)); + ((TTQFilePreview*) QtSupport::getQt(env, obj))->previewUrl((const TTQUrl&)*(const TTQUrl*) QtSupport::getQt(env, url)); return; } diff --git a/qtjava/javalib/qtjava/QFocusData.cpp b/qtjava/javalib/qtjava/QFocusData.cpp index 61822bc3..7ff6360c 100644 --- a/qtjava/javalib/qtjava/QFocusData.cpp +++ b/qtjava/javalib/qtjava/QFocusData.cpp @@ -2,54 +2,54 @@ #include #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(); + jint xret = (jint) ((TTQFocusData*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->first(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->home(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->last(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFocusData*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QFocusEvent.cpp b/qtjava/javalib/qtjava/QFocusEvent.cpp index 3e7a5028..c97e0a3b 100644 --- a/qtjava/javalib/qtjava/QFocusEvent.cpp +++ b/qtjava/javalib/qtjava/QFocusEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QFocusEventJBridge : public QFocusEvent +class TQFocusEventJBridge : public TQFocusEvent { public: - QFocusEventJBridge(TQEvent::Type arg1) : TQFocusEvent(arg1) {}; - ~QFocusEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQFocusEventJBridge(TTQEvent::Type arg1) : TTQFocusEvent(arg1) {}; + ~TQFocusEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFocusEvent*)QtSupport::getQt(env, obj); + delete (TTQFocusEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -31,7 +31,7 @@ Java_org_kde_qt_QFocusEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_gotFocus(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->gotFocus(); + jboolean xret = (jboolean) ((TTQFocusEvent*) QtSupport::getQt(env, obj))->gotFocus(); return xret; } @@ -44,15 +44,15 @@ Java_org_kde_qt_QFocusEvent_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFocusEvent_lostFocus(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFocusEvent*) QtSupport::getQt(env, obj))->lostFocus(); + jboolean xret = (jboolean) ((TTQFocusEvent*) QtSupport::getQt(env, obj))->lostFocus(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFocusEvent_newQFocusEvent(JNIEnv* env, jobject obj, jint type) +Java_org_kde_qt_QFocusEvent_newTQFocusEvent(JNIEnv* env, jobject obj, jint type) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFocusEventJBridge((TQEvent::Type) type)); + QtSupport::setQt(env, obj, new TQFocusEventJBridge((TTQEvent::Type) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -63,7 +63,7 @@ Java_org_kde_qt_QFocusEvent_reason(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QFocusEventJBridge::reason(); + jint xret = (jint) TQFocusEventJBridge::reason(); return xret; } @@ -72,7 +72,7 @@ Java_org_kde_qt_QFocusEvent_resetReason(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QFocusEventJBridge::resetReason(); + TQFocusEventJBridge::resetReason(); return; } @@ -81,7 +81,7 @@ Java_org_kde_qt_QFocusEvent_setReason(JNIEnv* env, jclass cls, jint reason) { (void) cls; (void) env; - QFocusEventJBridge::setReason((TQFocusEvent::Reason) reason); + TQFocusEventJBridge::setReason((TTQFocusEvent::Reason) reason); return; } diff --git a/qtjava/javalib/qtjava/QFocusEvent.h b/qtjava/javalib/qtjava/QFocusEvent.h index e93b07ed..821aba71 100644 --- a/qtjava/javalib/qtjava/QFocusEvent.h +++ b/qtjava/javalib/qtjava/QFocusEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFocusEvent_newQFocusEvent (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QFont.cpp b/qtjava/javalib/qtjava/QFont.cpp index f16bb8ef..a4fe8d9c 100644 --- a/qtjava/javalib/qtjava/QFont.cpp +++ b/qtjava/javalib/qtjava/QFont.cpp @@ -4,30 +4,30 @@ #include #include -#include +#include -class QFontJBridge : public QFont +class TQFontJBridge : public TQFont { public: - QFontJBridge() : TQFont() {}; - QFontJBridge(const TQString& arg1,int arg2,int arg3,bool arg4) : TQFont(arg1,arg2,arg3,arg4) {}; - QFontJBridge(const TQString& arg1,int arg2,int arg3) : TQFont(arg1,arg2,arg3) {}; - QFontJBridge(const TQString& arg1,int arg2) : TQFont(arg1,arg2) {}; - QFontJBridge(const TQString& arg1) : TQFont(arg1) {}; - QFontJBridge(const TQFont& arg1) : TQFont(arg1) {}; + TQFontJBridge() : TTQFont() {}; + TQFontJBridge(const TTQString& arg1,int arg2,int arg3,bool arg4) : TTQFont(arg1,arg2,arg3,arg4) {}; + TQFontJBridge(const TTQString& arg1,int arg2,int arg3) : TTQFont(arg1,arg2,arg3) {}; + TQFontJBridge(const TTQString& arg1,int arg2) : TTQFont(arg1,arg2) {}; + TQFontJBridge(const TTQString& arg1) : TTQFont(arg1) {}; + TQFontJBridge(const TTQFont& arg1) : TTQFont(arg1) {}; bool protected_dirty() { - return (bool) TQFont::dirty(); + return (bool) TTQFont::dirty(); } int protected_deciPointSize() { - return (int) TQFont::deciPointSize(); + return (int) TTQFont::deciPointSize(); } - ~QFontJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jboolean xret = (jboolean) ((TTQFont*) QtSupport::getQt(env, obj))->bold(); return xret; } @@ -36,7 +36,7 @@ Java_org_kde_qt_QFont_cacheStatistics(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QFontJBridge::cacheStatistics(); + TQFontJBridge::cacheStatistics(); return; } @@ -45,37 +45,37 @@ Java_org_kde_qt_QFont_cleanup(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QFontJBridge::cleanup(); + TQFontJBridge::cleanup(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QFont_deciPointSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QFontJBridge*) QtSupport::getQt(env, obj))->protected_deciPointSize(); + 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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(QFontJBridge::defaultFont()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontJBridge::defaultFont()), "org.kde.qt.TTQFont", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_dirty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QFontJBridge*) QtSupport::getQt(env, obj))->protected_dirty(); + jboolean xret = (jboolean) ((TQFontJBridge*) QtSupport::getQt(env, obj))->protected_dirty(); return xret; } @@ -89,23 +89,23 @@ Java_org_kde_qt_QFont_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_exactMatch(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->exactMatch(); + jboolean xret = (jboolean) ((TTQFont*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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); + delete (TTQFont*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -114,22 +114,22 @@ Java_org_kde_qt_QFont_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_fixedPitch(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->fixedPitch(); + jboolean xret = (jboolean) ((TTQFont*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQFont*) QtSupport::getQt(env, obj))->fromString((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQFont*) QtSupport::getQt(env, obj))->handle(); return xret; } @@ -138,7 +138,7 @@ Java_org_kde_qt_QFont_initialize(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QFontJBridge::initialize(); + TQFontJBridge::initialize(); return; } @@ -146,9 +146,9 @@ 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; - QFontJBridge::insertSubstitution((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + TQFontJBridge::insertSubstitution((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } @@ -156,16 +156,16 @@ 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; - QFontJBridge::insertSubstitutions((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQStringList* _qlist_arg2 = 0; + TQFontJBridge::insertSubstitutions((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQStringList&)*(TTQStringList*) 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)); + jboolean xret = (jboolean) ((TTQFont*) QtSupport::getQt(env, obj))->isCopyOf((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); return xret; } @@ -178,93 +178,93 @@ Java_org_kde_qt_QFont_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFont_italic(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFont*) QtSupport::getQt(env, obj))->italic(); + jboolean xret = (jboolean) ((TTQFont*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) QtSupport::getQt(env, obj))->lastResortFont(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newQFont__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFont_newTQFont__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontJBridge()); + QtSupport::setQt(env, obj, new TQFontJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring family) +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring family) { -static TQString* _qstring_family = 0; +static TTQString* _qstring_family = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, family, &_qstring_family))); + QtSupport::setQt(env, obj, new TQFontJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, family, &_qstring_family))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring family, jint pointSize) +Java_org_kde_qt_QFont_newTQFont__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring family, jint pointSize) { -static TQString* _qstring_family = 0; +static TTQString* _qstring_family = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, family, &_qstring_family), (int) pointSize)); + QtSupport::setQt(env, obj, new TQFontJBridge((const TTQString&)*(TTQString*) 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_newQFont__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight) +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; +static TTQString* _qstring_family = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, family, &_qstring_family), (int) pointSize, (int) weight)); + QtSupport::setQt(env, obj, new TQFontJBridge((const TTQString&)*(TTQString*) 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_newQFont__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring family, jint pointSize, jint weight, jboolean italic) +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; +static TTQString* _qstring_family = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, family, &_qstring_family), (int) pointSize, (int) weight, (bool) italic)); + QtSupport::setQt(env, obj, new TQFontJBridge((const TTQString&)*(TTQString*) 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_newQFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFontJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFontJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -273,80 +273,80 @@ Java_org_kde_qt_QFont_newQFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jo 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)); + jboolean xret = (jboolean) ((TTQFont*) QtSupport::getQt(env, obj))->operator==((const TTQFont&)*(const TTQFont*) 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)); + jboolean xret = (jboolean) ((TTQFont*) QtSupport::getQt(env, obj))->operator!=((const TTQFont&)*(const TTQFont*) 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(); + jboolean xret = (jboolean) ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) 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(); + jfloat xret = (jfloat) ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) 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(); + jboolean xret = (jboolean) ((TTQFont*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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; - QFontJBridge::removeSubstitution((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + TQFontJBridge::removeSubstitution((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQFont*) QtSupport::getQt(env, obj))->resolve((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQFont", 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); + ((TTQFont*) QtSupport::getQt(env, obj))->setBold((bool) arg1); return; } @@ -354,207 +354,207 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QFont_setDefaultFont(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QFontJBridge::setDefaultFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + TQFontJBridge::setDefaultFont((const TTQFont&)*(const TTQFont*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFont*) QtSupport::getQt(env, obj))->setFamily((const TTQString&)*(TTQString*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQFont*) QtSupport::getQt(env, obj))->setRawName((const TTQString&)*(TTQString*) 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); + ((TTQFont*) 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); + ((TTQFont*) 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); + ((TTQFont*) QtSupport::getQt(env, obj))->setStyleHint((TTQFont::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); + ((TTQFont*) QtSupport::getQt(env, obj))->setStyleHint((TTQFont::StyleHint) arg1, (TTQFont::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); + ((TTQFont*) QtSupport::getQt(env, obj))->setStyleStrategy((TTQFont::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); + ((TTQFont*) 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); + ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) 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(); + jboolean xret = (jboolean) ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) QtSupport::getQt(env, obj))->styleStrategy(); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFont_substitute(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QFontJBridge::substitute((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQFontJBridge::substitute((const TTQString&)*(TTQString*) 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; + TTQStringList _qlist; (void) cls; -static TQString* _qstring_arg1 = 0; - _qlist = QFontJBridge::substitutes((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); +static TTQString* _qstring_arg1 = 0; + _qlist = TQFontJBridge::substitutes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QFont_substitutions(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QFontJBridge::substitutions(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQFontJBridge::substitutions(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFont*) 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(); + jboolean xret = (jboolean) ((TTQFont*) 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(); + jint xret = (jint) ((TTQFont*) QtSupport::getQt(env, obj))->weight(); return xret; } diff --git a/qtjava/javalib/qtjava/QFont.h b/qtjava/javalib/qtjava/QFont.h index bd3f76dd..688f995f 100644 --- a/qtjava/javalib/qtjava/QFont.h +++ b/qtjava/javalib/qtjava/QFont.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFont_newQFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QFontDatabase.cpp b/qtjava/javalib/qtjava/QFontDatabase.cpp index 7a131fde..5fb67bfc 100644 --- a/qtjava/javalib/qtjava/QFontDatabase.cpp +++ b/qtjava/javalib/qtjava/QFontDatabase.cpp @@ -5,31 +5,31 @@ #include #include -#include +#include -class QFontDatabaseJBridge : public QFontDatabase +class TQFontDatabaseJBridge : public TQFontDatabase { public: - QFontDatabaseJBridge() : TQFontDatabase() {}; - ~QFontDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} + TQFontDatabaseJBridge() : TTQFontDatabase() {}; + ~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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->bold((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); return xret; } @@ -43,32 +43,32 @@ Java_org_kde_qt_QFontDatabase_dispose(JNIEnv* env, jobject obj) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->families(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->families((TTQFont::Script) arg1); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->families((bool) arg1); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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); + delete (TTQFontDatabase*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -77,46 +77,46 @@ Java_org_kde_qt_QFontDatabase_finalize(JNIEnv* env, jobject obj) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (int) arg3)), "org.kde.qt.TQFont", TRUE); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQFontDatabase*) QtSupport::getQt(env, obj))->font((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3)), "org.kde.qt.TTQFont", 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (int) arg3, (const TQString&)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4))), "org.kde.qt.TQFont", TRUE); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg4 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQFontDatabase*) QtSupport::getQt(env, obj))->font((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))), "org.kde.qt.TTQFont", 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isBitmapScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); return xret; } @@ -129,108 +129,108 @@ Java_org_kde_qt_QFontDatabase_isDisposed(JNIEnv* env, jobject obj) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isFixedPitch((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->isSmoothlyScalable((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jboolean xret = (jboolean) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->italic((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontDatabase_newQFontDatabase(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFontDatabase_newTQFontDatabase(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFontDatabaseJBridge()); + QtSupport::setQt(env, obj, new TQFontDatabaseJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -239,124 +239,124 @@ Java_org_kde_qt_QFontDatabase_newQFontDatabase(JNIEnv* env, jobject obj) 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::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; +static TTQString* _qstring_arg1 = 0; + _qintArray = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + _qintArray = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); - return QtSupport::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + _qintArray = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->pointSizes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; - _qstring = QFontDatabaseJBridge::scriptName((TQFont::Script) arg1); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQFontDatabaseJBridge::scriptName((TTQFont::Script) arg1); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDatabase_scriptSample(JNIEnv* env, jclass cls, jint arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; - _qstring = QFontDatabaseJBridge::scriptSample((TQFont::Script) arg1); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQFontDatabaseJBridge::scriptSample((TTQFont::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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + _qintArray = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); - return QtSupport::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + _qintArray = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->smoothSizes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) 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; + TTQValueList _qintArray; (void) cls; - _qintArray = QFontDatabaseJBridge::standardSizes(); - return QtSupport::fromQIntValueList(env, &_qintArray); + _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->styleString((const TTQFont&)*(const TTQFont*) 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::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + _qlist = ((TTQFontDatabase*) QtSupport::getQt(env, obj))->styles((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + jint xret = (jint) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + jint xret = (jint) ((TTQFontDatabase*) QtSupport::getQt(env, obj))->weight((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); return xret; } diff --git a/qtjava/javalib/qtjava/QFontDatabase.h b/qtjava/javalib/qtjava/QFontDatabase.h index 483d0265..ff5a87f9 100644 --- a/qtjava/javalib/qtjava/QFontDatabase.h +++ b/qtjava/javalib/qtjava/QFontDatabase.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontDatabase_newQFontDatabase (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QFontDialog.cpp b/qtjava/javalib/qtjava/QFontDialog.cpp index ce382009..3548c384 100644 --- a/qtjava/javalib/qtjava/QFontDialog.cpp +++ b/qtjava/javalib/qtjava/QFontDialog.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QFontDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQFontDialog*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -19,7 +19,7 @@ Java_org_kde_qt_QFontDialog_getFont___3Z(JNIEnv* env, jclass cls, jbooleanArray { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok)), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -29,7 +29,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2(JNIEnv* env, jclass { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def))), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -39,7 +39,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2 { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::getFont( (bool*) _bool_ok, (const TQFont&)*(const TQFont*) QtSupport::getQt(env, def), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def), (TTQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -49,8 +49,8 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QFont_2Lorg_kde_qt_QWidget_2 { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::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); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, def), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -60,7 +60,7 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclas { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent))), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -70,8 +70,8 @@ Java_org_kde_qt_QFontDialog_getFont___3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 { (void) cls; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(QFontDialog::getFont( (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TQFont", TRUE); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TQFontDialog::getFont( (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQFont", TRUE); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -79,28 +79,28 @@ static TQCString* _qstring_name = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QFontDialog_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QFontDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QFontDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QFontInfo.cpp b/qtjava/javalib/qtjava/QFontInfo.cpp index 0d4cd337..3663efce 100644 --- a/qtjava/javalib/qtjava/QFontInfo.cpp +++ b/qtjava/javalib/qtjava/QFontInfo.cpp @@ -4,21 +4,21 @@ #include #include -#include +#include -class QFontInfoJBridge : public QFontInfo +class TQFontInfoJBridge : public TQFontInfo { public: - QFontInfoJBridge(const TQFont& arg1) : TQFontInfo(arg1) {}; - QFontInfoJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontInfo(arg1,arg2) {}; - QFontInfoJBridge(const TQFontInfo& arg1) : TQFontInfo(arg1) {}; - ~QFontInfoJBridge() {QtSupport::qtKeyDeleted(this);} + TQFontInfoJBridge(const TTQFont& arg1) : TTQFontInfo(arg1) {}; + TQFontInfoJBridge(const TTQFont& arg1,TTQFont::Script arg2) : TTQFontInfo(arg1,arg2) {}; + TQFontInfoJBridge(const TTQFontInfo& arg1) : TTQFontInfo(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(); + jboolean xret = (jboolean) ((TTQFontInfo*) QtSupport::getQt(env, obj))->bold(); return xret; } @@ -32,23 +32,23 @@ Java_org_kde_qt_QFontInfo_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_exactMatch(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->exactMatch(); + jboolean xret = (jboolean) ((TTQFontInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFontInfo*) 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); + delete (TTQFontInfo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,7 +57,7 @@ Java_org_kde_qt_QFontInfo_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_fixedPitch(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->fixedPitch(); + jboolean xret = (jboolean) ((TTQFontInfo*) QtSupport::getQt(env, obj))->fixedPitch(); return xret; } @@ -70,35 +70,35 @@ Java_org_kde_qt_QFontInfo_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_italic(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->italic(); + jboolean xret = (jboolean) ((TTQFontInfo*) QtSupport::getQt(env, obj))->italic(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFontInfo_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFontInfoJBridge((const TQFontInfo&)*(const TQFontInfo*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TTQFontInfo&)*(const TTQFontInfo*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +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 QFontInfoJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); + QtSupport::setQt(env, obj, new TQFontInfoJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1), (TTQFont::Script) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -107,56 +107,56 @@ Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobjec JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFontInfo_overline(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFontInfo*) QtSupport::getQt(env, obj))->overline(); + jboolean xret = (jboolean) ((TTQFontInfo*) 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(); + jint xret = (jint) ((TTQFontInfo*) 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(); + jint xret = (jint) ((TTQFontInfo*) 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(); + jboolean xret = (jboolean) ((TTQFontInfo*) 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(); + jboolean xret = (jboolean) ((TTQFontInfo*) 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(); + jint xret = (jint) ((TTQFontInfo*) 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(); + jboolean xret = (jboolean) ((TTQFontInfo*) 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(); + jint xret = (jint) ((TTQFontInfo*) QtSupport::getQt(env, obj))->weight(); return xret; } diff --git a/qtjava/javalib/qtjava/QFontInfo.h b/qtjava/javalib/qtjava/QFontInfo.h index f34991bc..393ea5da 100644 --- a/qtjava/javalib/qtjava/QFontInfo.h +++ b/qtjava/javalib/qtjava/QFontInfo.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontInfo_newQFontInfo__Lorg_kde_qt_QFontInfo_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QFontMetrics.cpp b/qtjava/javalib/qtjava/QFontMetrics.cpp index 2063e73d..e8e4dfed 100644 --- a/qtjava/javalib/qtjava/QFontMetrics.cpp +++ b/qtjava/javalib/qtjava/QFontMetrics.cpp @@ -6,62 +6,62 @@ #include #include -#include +#include -class QFontMetricsJBridge : public QFontMetrics +class TQFontMetricsJBridge : public TQFontMetrics { public: - QFontMetricsJBridge(const TQFont& arg1) : TQFontMetrics(arg1) {}; - QFontMetricsJBridge(const TQFont& arg1,TQFont::Script arg2) : TQFontMetrics(arg1,arg2) {}; - QFontMetricsJBridge(const TQFontMetrics& arg1) : TQFontMetrics(arg1) {}; - ~QFontMetricsJBridge() {QtSupport::qtKeyDeleted(this);} + TQFontMetricsJBridge(const TTQFont& arg1) : TTQFontMetrics(arg1) {}; + TQFontMetricsJBridge(const TTQFont& arg1,TTQFont::Script arg2) : TTQFontMetrics(arg1,arg2) {}; + TQFontMetricsJBridge(const TTQFontMetrics& arg1) : TTQFontMetrics(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(); + jint xret = (jint) ((TTQFontMetrics*) 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::toQChar(env, arg1, &_qchar_arg1))), "org.kde.qt.TQRect", TRUE); +static TTQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((TTQChar)*(TTQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1))), "org.kde.qt.TTQRect", 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::toQString(env, str, &_qstring_str))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TTQRect", 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::toQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TTQRect", 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::toQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TTQRect", 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; +static TTQString* _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::toQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TTQRect", TRUE); env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); return xret; } @@ -69,31 +69,31 @@ static TQString* _qstring_str = 0; 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::toQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.qt.TTQRect", 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::toQString(env, arg1, &_qstring_arg1), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFontMetrics*) QtSupport::getQt(env, obj))->boundingRect((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len)), "org.kde.qt.TTQRect", 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::toQString(env, str, &_qstring_str), (int) pos); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->charWidth((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->descent(); return xret; } @@ -108,7 +108,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQFontMetrics*)QtSupport::getQt(env, obj); + delete (TTQFontMetrics*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -117,15 +117,15 @@ Java_org_kde_qt_QFontMetrics_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQFontMetrics*) 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::toQChar(env, arg1, &_qchar_arg1)); +static TTQChar* _qchar_arg1 = 0; + jboolean xret = (jboolean) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->inFont((TTQChar)*(TTQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)); return xret; } @@ -138,78 +138,78 @@ Java_org_kde_qt_QFontMetrics_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_leading(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->leading(); + jint xret = (jint) ((TTQFontMetrics*) 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::toQChar(env, arg1, &_qchar_arg1)); +static TTQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->leftBearing((TTQChar)*(TTQChar*) 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(); + jint xret = (jint) ((TTQFontMetrics*) 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(); + jint xret = (jint) ((TTQFontMetrics*) 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(); + jint xret = (jint) ((TTQFontMetrics*) 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(); + jint xret = (jint) ((TTQFontMetrics*) 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(); + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->minRightBearing(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFontMetricsJBridge((const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TTQFontMetrics&)*(const TTQFontMetrics*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +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 QFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +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 QFontMetricsJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1), (TQFont::Script) arg2)); + QtSupport::setQt(env, obj, new TQFontMetricsJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1), (TTQFont::Script) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -218,48 +218,48 @@ Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFont_2I(JNIEnv* env, JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_overlinePos(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->overlinePos(); + jint xret = (jint) ((TTQFontMetrics*) 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::toQChar(env, arg1, &_qchar_arg1)); +static TTQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->rightBearing((TTQChar)*(TTQChar*) 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::toQString(env, str, &_qstring_str))), "org.kde.qt.TQSize", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str))), "org.kde.qt.TTQSize", 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::toQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TQSize", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len)), "org.kde.qt.TTQSize", 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::toQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TQSize", TRUE); +static TTQString* _qstring_str = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops)), "org.kde.qt.TTQSize", 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; +static TTQString* _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::toQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQFontMetrics*) QtSupport::getQt(env, obj))->size((int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len, (int) tabstops, (int*) _int_tabarray)), "org.kde.qt.TTQSize", TRUE); env->SetIntArrayRegion(tabarray, 0, 1, (jint *) _int_tabarray); return xret; } @@ -267,38 +267,38 @@ static TQString* _qstring_str = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QFontMetrics_strikeOutPos(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFontMetrics*) QtSupport::getQt(env, obj))->strikeOutPos(); + jint xret = (jint) ((TTQFontMetrics*) 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(); + jint xret = (jint) ((TTQFontMetrics*) 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::toQChar(env, arg1, &_qchar_arg1)); +static TTQChar* _qchar_arg1 = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->width((TTQChar)*(TTQChar*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->width((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (int) len); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQFontMetrics*) QtSupport::getQt(env, obj))->width((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) len); return xret; } diff --git a/qtjava/javalib/qtjava/QFontMetrics.h b/qtjava/javalib/qtjava/QFontMetrics.h index 4b980eea..4cc76b89 100644 --- a/qtjava/javalib/qtjava/QFontMetrics.h +++ b/qtjava/javalib/qtjava/QFontMetrics.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFont_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFontMetrics_newQFontMetrics__Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QFrame.cpp b/qtjava/javalib/qtjava/QFrame.cpp index e71754b1..1fc629a1 100644 --- a/qtjava/javalib/qtjava/QFrame.cpp +++ b/qtjava/javalib/qtjava/QFrame.cpp @@ -7,401 +7,401 @@ #include #include -#include +#include -class QFrameJBridge : public QFrame +class TQFrameJBridge : public TQFrame { public: - QFrameJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQFrame(arg1,arg2,arg3) {}; - QFrameJBridge(TQWidget* arg1,const char* arg2) : TQFrame(arg1,arg2) {}; - QFrameJBridge(TQWidget* arg1) : TQFrame(arg1) {}; - QFrameJBridge() : TQFrame() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQFrame::paintEvent(arg1); + TQFrameJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQFrame(arg1,arg2,arg3) {}; + TQFrameJBridge(TTQWidget* arg1,const char* arg2) : TTQFrame(arg1,arg2) {}; + TQFrameJBridge(TTQWidget* arg1) : TTQFrame(arg1) {}; + TQFrameJBridge() : TTQFrame() {}; + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQFrame::paintEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQFrame::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQFrame::resizeEvent(arg1); return; } - void protected_drawFrame(TQPainter* arg1) { - TQFrame::drawFrame(arg1); + void protected_drawFrame(TTQPainter* arg1) { + TTQFrame::drawFrame(arg1); return; } - void protected_drawContents(TQPainter* arg1) { - TQFrame::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQFrame::drawContents(arg1); return; } void protected_frameChanged() { - TQFrame::frameChanged(); + TTQFrame::frameChanged(); return; } - void protected_styleChange(TQStyle& arg1) { - TQFrame::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQFrame::styleChange(arg1); return; } - ~QFrameJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQFrameJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQFrame",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQFrame",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFrame","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFrame","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -411,14 +411,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QFrame_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQFrame*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQFrame*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFrame*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -432,22 +432,22 @@ Java_org_kde_qt_QFrame_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_drawFrame(JNIEnv* env, jobject obj, jobject arg1) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQFrame*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -456,42 +456,42 @@ Java_org_kde_qt_QFrame_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_frameChanged(JNIEnv* env, jobject obj) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQFrame*) QtSupport::getQt(env, obj))->frameRect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQFrame*) 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(); + jint xret = (jint) ((TTQFrame*) 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(); + jint xret = (jint) ((TTQFrame*) 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(); + jint xret = (jint) ((TTQFrame*) QtSupport::getQt(env, obj))->frameWidth(); return xret; } @@ -504,75 +504,75 @@ Java_org_kde_qt_QFrame_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QFrame_lineShapesOk(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQFrame*) QtSupport::getQt(env, obj))->lineShapesOk(); + jboolean xret = (jboolean) ((TTQFrame*) 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(); + jint xret = (jint) ((TTQFrame*) 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(); + jint xret = (jint) ((TTQFrame*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QFrame_midLineWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFrame*) QtSupport::getQt(env, obj))->midLineWidth(); + jint xret = (jint) ((TTQFrame*) QtSupport::getQt(env, obj))->midLineWidth(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newQFrame__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFrame_newTQFrame__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFrameJBridge()); + QtSupport::setQt(env, obj, new TQFrameJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newQFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQFrameJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFrameJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFrame_newQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFrameJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQFrameJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -581,98 +581,98 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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)); + ((TTQFrame*) QtSupport::getQt(env, obj))->setFrameRect((const TTQRect&)*(const TTQRect*) 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); + ((TTQFrame*) QtSupport::getQt(env, obj))->setFrameShadow((TTQFrame::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); + ((TTQFrame*) QtSupport::getQt(env, obj))->setFrameShape((TTQFrame::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); + ((TTQFrame*) 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); + ((TTQFrame*) 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); + ((TTQFrame*) 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); + ((TTQFrame*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQFrame*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QFrameJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQFrameJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QFrameJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index f7ad5ab9..3c23f764 100644 --- a/qtjava/javalib/qtjava/QFrame.h +++ b/qtjava/javalib/qtjava/QFrame.h @@ -12,10 +12,10 @@ extern "C" 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_newQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newQFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newQFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFrame_newQFrame__ (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); diff --git a/qtjava/javalib/qtjava/QFtp.cpp b/qtjava/javalib/qtjava/QFtp.cpp index 8cb845ee..8de92c55 100644 --- a/qtjava/javalib/qtjava/QFtp.cpp +++ b/qtjava/javalib/qtjava/QFtp.cpp @@ -6,149 +6,149 @@ #include #include -#include +#include -class QFtpJBridge : public QFtp +class TQFtpJBridge : public TQFtp { public: - QFtpJBridge() : TQFtp() {}; - QFtpJBridge(TQObject* arg1,const char* arg2) : TQFtp(arg1,arg2) {}; - QFtpJBridge(TQObject* arg1) : TQFtp(arg1) {}; - void protected_parseDir(const TQString& arg1,TQUrlInfo& arg2) { - TQFtp::parseDir(arg1,arg2); + TQFtpJBridge() : TTQFtp() {}; + TQFtpJBridge(TTQObject* arg1,const char* arg2) : TTQFtp(arg1,arg2) {}; + TQFtpJBridge(TTQObject* arg1) : TTQFtp(arg1) {}; + void protected_parseDir(const TTQString& arg1,TTQUrlInfo& arg2) { + TTQFtp::parseDir(arg1,arg2); return; } - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQFtp::operationListChildren(arg1); + void protected_operationListChildren(TTQNetworkOperation* arg1) { + TTQFtp::operationListChildren(arg1); return; } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQFtp::operationMkDir(arg1); + void protected_operationMkDir(TTQNetworkOperation* arg1) { + TTQFtp::operationMkDir(arg1); return; } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQFtp::operationRemove(arg1); + void protected_operationRemove(TTQNetworkOperation* arg1) { + TTQFtp::operationRemove(arg1); return; } - void protected_operationRename(TQNetworkOperation* arg1) { - TQFtp::operationRename(arg1); + void protected_operationRename(TTQNetworkOperation* arg1) { + TTQFtp::operationRename(arg1); return; } - void protected_operationGet(TQNetworkOperation* arg1) { - TQFtp::operationGet(arg1); + void protected_operationGet(TTQNetworkOperation* arg1) { + TTQFtp::operationGet(arg1); return; } - void protected_operationPut(TQNetworkOperation* arg1) { - TQFtp::operationPut(arg1); + void protected_operationPut(TTQNetworkOperation* arg1) { + TTQFtp::operationPut(arg1); return; } void protected_hostFound() { - TQFtp::hostFound(); + TTQFtp::hostFound(); return; } void protected_connected() { - TQFtp::connected(); + TTQFtp::connected(); return; } void protected_closed() { - TQFtp::closed(); + TTQFtp::closed(); return; } void protected_dataHostFound() { - TQFtp::dataHostFound(); + TTQFtp::dataHostFound(); return; } void protected_dataConnected() { - TQFtp::dataConnected(); + TTQFtp::dataConnected(); return; } void protected_dataClosed() { - TQFtp::dataClosed(); + TTQFtp::dataClosed(); return; } void protected_dataReadyRead() { - TQFtp::dataReadyRead(); + TTQFtp::dataReadyRead(); return; } void protected_dataBytesWritten(int arg1) { - TQFtp::dataBytesWritten(arg1); + TTQFtp::dataBytesWritten(arg1); return; } void protected_error(int arg1) { - TQFtp::error(arg1); + TTQFtp::error(arg1); return; } - ~QFtpJBridge() {QtSupport::qtKeyDeleted(this);} - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); + ~TQFtpJBridge() {QtSupport::qtKeyDeleted(this);} + void operationPutChunk(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationPutChunk(arg1); } return; } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); + void processOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::processOperation(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); + void addOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::addOperation(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFtp","clearOperationQueue")) { + TTQNetworkProtocol::clearOperationQueue(); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQFtp",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQFtp",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQFtp","stop")) { - TQNetworkProtocol::stop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQFtp","stop")) { + TTQNetworkProtocol::stop(); } return; } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); + void setUrl(TTQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TTQUrlOperator")) { + TTQNetworkProtocol::setUrl(arg1); } return; } @@ -157,22 +157,22 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_abort(JNIEnv* env, jobject obj) { - ((TQFtp*) QtSupport::getQt(env, obj))->abort(); + ((TTQFtp*) 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(); + jlong xret = (jlong) ((TTQFtp*) 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::toQString(env, dir, &_qstring_dir)); +static TTQString* _qstring_dir = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->cd((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); return xret; } @@ -180,107 +180,107 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQFtp*) 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(); + ((TTQFtp*) 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(); + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->close(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_closed(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_closed(); + ((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::toQString(env, host, &_qstring_host)); +static TTQString* _qstring_host = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TTQString&)*(TTQString*) 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::toQString(env, host, &_qstring_host), (Q_UINT16) port); +static TTQString* _qstring_host = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->connectToHost((const TTQString&)*(TTQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_connected(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_connected(); + ((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(); + jint xret = (jint) ((TTQFtp*) 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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFtp*) 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(); + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->currentId(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataBytesWritten(JNIEnv* env, jobject obj, jint nbytes) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataBytesWritten((int) nbytes); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataBytesWritten((int) nbytes); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataClosed(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataClosed(); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataClosed(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataConnected(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataConnected(); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataConnected(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataHostFound(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataHostFound(); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataHostFound(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_dataReadyRead(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataReadyRead(); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_dataReadyRead(); return; } @@ -294,30 +294,30 @@ Java_org_kde_qt_QFtp_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QFtp_errorString(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQFtp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQFtp*) 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(); + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->error(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_error__I(JNIEnv* env, jobject obj, jint arg1) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_error((int) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQFtp*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQFtp*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -326,30 +326,30 @@ Java_org_kde_qt_QFtp_finalize(JNIEnv* env, jobject obj) 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::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->get((const TTQString&)*(TTQString*) 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::toQString(env, file, &_qstring_file), (TQIODevice*) QtSupport::getQt(env, dev)); +static TTQString* _qstring_file = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->get((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file), (TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQFtp*) QtSupport::getQt(env, obj))->hasPendingCommands(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_hostFound(JNIEnv* env, jobject obj) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_hostFound(); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_hostFound(); return; } @@ -362,83 +362,83 @@ Java_org_kde_qt_QFtp_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QFtp_list__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQFtp*) QtSupport::getQt(env, obj))->list(); + jint xret = (jint) ((TTQFtp*) 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::toQString(env, dir, &_qstring_dir)); +static TTQString* _qstring_dir = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->list((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQFtp*) 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::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_user = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->login((const TTQString&)*(TTQString*) 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::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password)); +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->login((const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQFtp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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::toQString(env, dir, &_qstring_dir)); +static TTQString* _qstring_dir = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->mkdir((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newQFtp__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QFtp_newTQFtp__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFtpJBridge()); + QtSupport::setQt(env, obj, new TQFtpJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newQFtp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QFtpJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQFtpJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QFtp_newQFtp__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QFtpJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQFtpJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -447,154 +447,154 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationGet(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationListChildren(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationMkDir(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationPut(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRemove(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_operationRename(JNIEnv* env, jobject obj, jobject op) { - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TTQNetworkOperation*) 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; - ((QFtpJBridge*) QtSupport::getQt(env, obj))->protected_parseDir((const TQString&)*(TQString*) QtSupport::toQString(env, buffer, &_qstring_buffer), (TQUrlInfo&)*(TQUrlInfo*) QtSupport::getQt(env, info)); +static TTQString* _qstring_buffer = 0; + ((TQFtpJBridge*) QtSupport::getQt(env, obj))->protected_parseDir((const TTQString&)*(TTQString*) QtSupport::toTQString(env, buffer, &_qstring_buffer), (TTQUrlInfo&)*(TTQUrlInfo*) 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::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->put((TTQIODevice*) QtSupport::getQt(env, dev), (const TTQString&)*(TTQString*) 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::toQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file)); +static TTQByteArray* _qbyteArray_data = 0; +static TTQString* _qstring_file = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->put((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TTQString&)*(TTQString*) 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::toQString(env, command, &_qstring_command)); +static TTQString* _qstring_command = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->rawCommand((const TTQString&)*(TTQString*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQFtp*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQFtp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQFtp*) 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::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) 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::toQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toQString(env, newname, &_qstring_newname)); +static TTQString* _qstring_oldname = 0; +static TTQString* _qstring_newname = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->rename((const TTQString&)*(TTQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TTQString&)*(TTQString*) 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::toQString(env, dir, &_qstring_dir)); +static TTQString* _qstring_dir = 0; + jint xret = (jint) ((TTQFtp*) QtSupport::getQt(env, obj))->rmdir((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQFtp*) 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(); + jint xret = (jint) ((TTQFtp*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QFtpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 34c277af..50459e07 100644 --- a/qtjava/javalib/qtjava/QFtp.h +++ b/qtjava/javalib/qtjava/QFtp.h @@ -12,9 +12,9 @@ extern "C" 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_newQFtp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newQFtp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QFtp_newQFtp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QGL.cpp b/qtjava/javalib/qtjava/QGL.cpp index e931942c..a0453245 100644 --- a/qtjava/javalib/qtjava/QGL.cpp +++ b/qtjava/javalib/qtjava/QGL.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QGLJBridge : public QGL +class TQGLJBridge : public TQGL { public: - QGLJBridge() : TQGL() {}; - ~QGLJBridge() {QtSupport::qtKeyDeleted(this);} + TQGLJBridge() : TTQGL() {}; + ~TQGLJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGL_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGL*)QtSupport::getQt(env, obj); + delete (TTQGL*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QGL_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QGL_newQGL(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGL_newTQGL(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLJBridge()); + 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 index 35f9d5ef..e707487a 100644 --- a/qtjava/javalib/qtjava/QGL.h +++ b/qtjava/javalib/qtjava/QGL.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGL_newQGL (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QGLColormap.cpp b/qtjava/javalib/qtjava/QGLColormap.cpp index c37a09d6..8b4708b1 100644 --- a/qtjava/javalib/qtjava/QGLColormap.cpp +++ b/qtjava/javalib/qtjava/QGLColormap.cpp @@ -4,20 +4,20 @@ #include #include -#include +#include -class QGLColormapJBridge : public QGLColormap +class TQGLColormapJBridge : public TQGLColormap { public: - QGLColormapJBridge() : TQGLColormap() {}; - QGLColormapJBridge(const TQGLColormap& arg1) : TQGLColormap(arg1) {}; - ~QGLColormapJBridge() {QtSupport::qtKeyDeleted(this);} + TQGLColormapJBridge() : TTQGLColormap() {}; + TQGLColormapJBridge(const TTQGLColormap& arg1) : TTQGLColormap(arg1) {}; + ~TQGLColormapJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_detach(JNIEnv* env, jobject obj) { - ((TQGLColormap*) QtSupport::getQt(env, obj))->detach(); + ((TTQGLColormap*) QtSupport::getQt(env, obj))->detach(); return; } @@ -31,14 +31,14 @@ Java_org_kde_qt_QGLColormap_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQGLColormap*) QtSupport::getQt(env, obj))->entryColor((int) idx)), "org.kde.qt.TTQColor", 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); + jint xret = (jint) ((TTQGLColormap*) QtSupport::getQt(env, obj))->entryRgb((int) idx); return xret; } @@ -46,7 +46,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLColormap*)QtSupport::getQt(env, obj); + delete (TTQGLColormap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -55,14 +55,14 @@ Java_org_kde_qt_QGLColormap_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QGLColormap_findNearest(JNIEnv* env, jobject obj, jint color) { - jint xret = (jint) ((TQGLColormap*) QtSupport::getQt(env, obj))->findNearest((QRgb) color); + jint xret = (jint) ((TTQGLColormap*) 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((QRgb) color); + jint xret = (jint) ((TTQGLColormap*) QtSupport::getQt(env, obj))->find((TQRgb) color); return xret; } @@ -75,25 +75,25 @@ Java_org_kde_qt_QGLColormap_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLColormap_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGLColormap*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQGLColormap*) QtSupport::getQt(env, obj))->isEmpty(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_newQGLColormap__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGLColormap_newTQGLColormap__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLColormapJBridge()); + QtSupport::setQt(env, obj, new TQGLColormapJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLColormap_newQGLColormap__Lorg_kde_qt_QGLColormap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QGLColormapJBridge((const TQGLColormap&)*(const TQGLColormap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQGLColormapJBridge((const TTQGLColormap&)*(const TTQGLColormap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -103,7 +103,7 @@ 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 QRgb*) _int_colors); + ((TTQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors); env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); return; } @@ -112,7 +112,7 @@ 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 QRgb*) _int_colors, (int) base); + ((TTQGLColormap*) QtSupport::getQt(env, obj))->setEntries((int) count, (const TQRgb*) _int_colors, (int) base); env->SetIntArrayRegion(colors, 0, 1, (jint *) _int_colors); return; } @@ -120,21 +120,21 @@ Java_org_kde_qt_QGLColormap_setEntries__I_3II(JNIEnv* env, jobject obj, jint cou 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, (QRgb) color); + ((TTQGLColormap*) 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)); + ((TTQGLColormap*) QtSupport::getQt(env, obj))->setEntry((int) idx, (const TTQColor&)*(const TTQColor*) 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(); + jint xret = (jint) ((TTQGLColormap*) QtSupport::getQt(env, obj))->size(); return xret; } diff --git a/qtjava/javalib/qtjava/QGLColormap.h b/qtjava/javalib/qtjava/QGLColormap.h index fe3962ff..8cb40a57 100644 --- a/qtjava/javalib/qtjava/QGLColormap.h +++ b/qtjava/javalib/qtjava/QGLColormap.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newQGLColormap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLColormap_newQGLColormap__Lorg_kde_qt_QGLColormap_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QGLContext.cpp b/qtjava/javalib/qtjava/QGLContext.cpp index 0a9b8075..2cfd0bf1 100644 --- a/qtjava/javalib/qtjava/QGLContext.cpp +++ b/qtjava/javalib/qtjava/QGLContext.cpp @@ -4,102 +4,102 @@ #include #include -#include +#include -class QGLContextJBridge : public QGLContext +class TQGLContextJBridge : public TQGLContext { public: - QGLContextJBridge(const TQGLFormat& arg1,TQPaintDevice* arg2) : TQGLContext(arg1,arg2) {}; - QGLContextJBridge(const TQGLFormat& arg1) : TQGLContext(arg1) {}; + TQGLContextJBridge(const TTQGLFormat& arg1,TTQPaintDevice* arg2) : TTQGLContext(arg1,arg2) {}; + TQGLContextJBridge(const TTQGLFormat& arg1) : TTQGLContext(arg1) {}; void public_reset() { - TQGLContext::reset(); + TTQGLContext::reset(); return; } void public_makeCurrent() { - TQGLContext::makeCurrent(); + TTQGLContext::makeCurrent(); return; } void public_swapBuffers() { - TQGLContext::swapBuffers(); + TTQGLContext::swapBuffers(); return; } - bool protected_chooseContext(const TQGLContext* arg1) { - return (bool) TQGLContext::chooseContext(arg1); + bool protected_chooseContext(const TTQGLContext* arg1) { + return (bool) TTQGLContext::chooseContext(arg1); } bool protected_chooseContext() { - return (bool) TQGLContext::chooseContext(); + return (bool) TTQGLContext::chooseContext(); } void protected_doneCurrent() { - TQGLContext::doneCurrent(); + TTQGLContext::doneCurrent(); return; } bool protected_deviceIsPixmap() { - return (bool) TQGLContext::deviceIsPixmap(); + return (bool) TTQGLContext::deviceIsPixmap(); } bool protected_windowCreated() { - return (bool) TQGLContext::windowCreated(); + return (bool) TTQGLContext::windowCreated(); } void protected_setWindowCreated(bool arg1) { - TQGLContext::setWindowCreated(arg1); + TTQGLContext::setWindowCreated(arg1); return; } bool protected_initialized() { - return (bool) TQGLContext::initialized(); + return (bool) TTQGLContext::initialized(); } void protected_setInitialized(bool arg1) { - TQGLContext::setInitialized(arg1); + TTQGLContext::setInitialized(arg1); return; } - void protected_generateFontDisplayLists(const TQFont& arg1,int arg2) { - TQGLContext::generateFontDisplayLists(arg1,arg2); + void protected_generateFontDisplayLists(const TTQFont& arg1,int arg2) { + TTQGLContext::generateFontDisplayLists(arg1,arg2); return; } - uint protected_colorIndex(const TQColor& arg1) { - return (uint) TQGLContext::colorIndex(arg1); + uint protected_colorIndex(const TTQColor& arg1) { + return (uint) TTQGLContext::colorIndex(arg1); } void protected_setValid(bool arg1) { - TQGLContext::setValid(arg1); + TTQGLContext::setValid(arg1); return; } - void protected_setDevice(TQPaintDevice* arg1) { - TQGLContext::setDevice(arg1); + void protected_setDevice(TTQPaintDevice* arg1) { + TTQGLContext::setDevice(arg1); return; } - ~QGLContextJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQGLContextJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_chooseContext__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext(); + 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) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext((const TQGLContext*) QtSupport::getQt(env, shareContext)); + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_chooseContext((const TTQGLContext*) QtSupport::getQt(env, shareContext)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QGLContext_colorIndex(JNIEnv* env, jobject obj, jobject c) { - jint xret = (jint) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_colorIndex((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + jint xret = (jint) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_colorIndex((const TTQColor&)*(const TTQColor*) 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(); + jboolean xret = (jboolean) ((TTQGLContext*) 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)); + jboolean xret = (jboolean) ((TTQGLContext*) QtSupport::getQt(env, obj))->create((const TTQGLContext*) QtSupport::getQt(env, shareContext)); return xret; } @@ -107,21 +107,21 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLContext_currentContext(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QGLContextJBridge::currentContext(), "org.kde.qt.TQGLContext"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQGLContextJBridge::currentContext(), "org.kde.qt.TTQGLContext"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_deviceIsPixmap(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_deviceIsPixmap(); + 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.QPaintDeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGLContext*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); return xret; } @@ -135,7 +135,7 @@ Java_org_kde_qt_QGLContext_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_doneCurrent(JNIEnv* env, jobject obj) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_doneCurrent(); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_doneCurrent(); return; } @@ -143,7 +143,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLContext*)QtSupport::getQt(env, obj); + delete (TTQGLContext*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -152,21 +152,21 @@ Java_org_kde_qt_QGLContext_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQGLFormat(((TTQGLContext*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TTQGLFormat", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_generateFontDisplayLists(JNIEnv* env, jobject obj, jobject fnt, jint listBase) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_generateFontDisplayLists((const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_generateFontDisplayLists((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (int) listBase); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_initialized(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_initialized(); + jboolean xret = (jboolean) ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_initialized(); return xret; } @@ -179,39 +179,39 @@ Java_org_kde_qt_QGLContext_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_isSharing(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGLContext*) QtSupport::getQt(env, obj))->isSharing(); + jboolean xret = (jboolean) ((TTQGLContext*) 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(); + jboolean xret = (jboolean) ((TTQGLContext*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_makeCurrent(JNIEnv* env, jobject obj) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_newQGLContext__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) +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 QGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); + QtSupport::setQt(env, obj, new TQGLContextJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLContext_newQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject format, jobject device) +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 QGLContextJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQPaintDevice*) QtSupport::paintDevice(env, device))); + QtSupport::setQt(env, obj, new TQGLContextJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format), (TTQPaintDevice*) QtSupport::paintDevice(env, device))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -220,70 +220,70 @@ Java_org_kde_qt_QGLContext_newQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPa 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQGLContext*) QtSupport::getQt(env, obj))->overlayTransparentColor()), "org.kde.qt.TTQColor", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQGLFormat(((TTQGLContext*) QtSupport::getQt(env, obj))->requestedFormat()), "org.kde.qt.TTQGLFormat", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_reset(JNIEnv* env, jobject obj) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->public_reset(); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setDevice(JNIEnv* env, jobject obj, jobject pDev) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setDevice((TQPaintDevice*) QtSupport::paintDevice(env, pDev)); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setDevice((TTQPaintDevice*) 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)); + ((TTQGLContext*) QtSupport::getQt(env, obj))->setFormat((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_setInitialized(JNIEnv* env, jobject obj, jboolean on) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setInitialized((bool) 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) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setValid((bool) 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) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setWindowCreated((bool) on); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->protected_setWindowCreated((bool) on); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_swapBuffers(JNIEnv* env, jobject obj) { - ((QGLContextJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); + ((TQGLContextJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLContext_windowCreated(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLContextJBridge*) QtSupport::getQt(env, obj))->protected_windowCreated(); + 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 index 3be206ca..7923d775 100644 --- a/qtjava/javalib/qtjava/QGLContext.h +++ b/qtjava/javalib/qtjava/QGLContext.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newQGLContext__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLContext_newQGLContext__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QGLFormat.cpp b/qtjava/javalib/qtjava/QGLFormat.cpp index eb83dc56..032c4c5d 100644 --- a/qtjava/javalib/qtjava/QGLFormat.cpp +++ b/qtjava/javalib/qtjava/QGLFormat.cpp @@ -2,28 +2,28 @@ #include #include -#include +#include -class QGLFormatJBridge : public QGLFormat +class TQGLFormatJBridge : public TQGLFormat { public: - QGLFormatJBridge() : TQGLFormat() {}; - QGLFormatJBridge(int arg1,int arg2) : TQGLFormat(arg1,arg2) {}; - QGLFormatJBridge(int arg1) : TQGLFormat(arg1) {}; - ~QGLFormatJBridge() {QtSupport::qtKeyDeleted(this);} + TQGLFormatJBridge() : TTQGLFormat() {}; + TQGLFormatJBridge(int arg1,int arg2) : TTQGLFormat(arg1,arg2) {}; + TQGLFormatJBridge(int arg1) : TTQGLFormat(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(); + jboolean xret = (jboolean) ((TTQGLFormat*) 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) QtSupport::getQt(env, obj))->alpha(); return xret; } @@ -31,7 +31,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultFormat(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(QGLFormatJBridge::defaultFormat()), "org.kde.qt.TQGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQGLFormat(TQGLFormatJBridge::defaultFormat()), "org.kde.qt.TTQGLFormat", TRUE); return xret; } @@ -39,21 +39,21 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QGLFormat_defaultOverlayFormat(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQGLFormat(QGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TQGLFormat", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQGLFormat(TQGLFormatJBridge::defaultOverlayFormat()), "org.kde.qt.TTQGLFormat", 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) QtSupport::getQt(env, obj))->directRendering(); return xret; } @@ -67,7 +67,7 @@ Java_org_kde_qt_QGLFormat_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLFormat_doubleBuffer(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); + jboolean xret = (jboolean) ((TTQGLFormat*) QtSupport::getQt(env, obj))->doubleBuffer(); return xret; } @@ -75,7 +75,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGLFormat*)QtSupport::getQt(env, obj); + delete (TTQGLFormat*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -86,7 +86,7 @@ Java_org_kde_qt_QGLFormat_hasOpenGLOverlays(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QGLFormatJBridge::hasOpenGLOverlays(); + jboolean xret = (jboolean) TQGLFormatJBridge::hasOpenGLOverlays(); return xret; } @@ -95,14 +95,14 @@ Java_org_kde_qt_QGLFormat_hasOpenGL(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QGLFormatJBridge::hasOpenGL(); + 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) QtSupport::getQt(env, obj))->hasOverlay(); return xret; } @@ -113,30 +113,30 @@ Java_org_kde_qt_QGLFormat_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_newQGLFormat__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGLFormat_newTQGLFormat__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLFormatJBridge()); + QtSupport::setQt(env, obj, new TQGLFormatJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLFormat_newQGLFormat__I(JNIEnv* env, jobject obj, jint options) +Java_org_kde_qt_QGLFormat_newTQGLFormat__I(JNIEnv* env, jobject obj, jint options) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLFormatJBridge((int) options)); + 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_newQGLFormat__II(JNIEnv* env, jobject obj, jint options, jint plane) +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 QGLFormatJBridge((int) options, (int) plane)); + QtSupport::setQt(env, obj, new TQGLFormatJBridge((int) options, (int) plane)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -145,28 +145,28 @@ Java_org_kde_qt_QGLFormat_newQGLFormat__II(JNIEnv* env, jobject obj, jint option JNIEXPORT jint JNICALL Java_org_kde_qt_QGLFormat_plane(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQGLFormat*) QtSupport::getQt(env, obj))->plane(); + jint xret = (jint) ((TTQGLFormat*) 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) QtSupport::getQt(env, obj))->setAlpha((bool) enable); return; } @@ -174,7 +174,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultFormat(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QGLFormatJBridge::setDefaultFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); + TQGLFormatJBridge::setDefaultFormat((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, f)); return; } @@ -182,91 +182,91 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_setDefaultOverlayFormat(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QGLFormatJBridge::setDefaultOverlayFormat((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, f)); + TQGLFormatJBridge::setDefaultOverlayFormat((const TTQGLFormat&)*(const TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) QtSupport::getQt(env, obj))->setOption((TTQGL::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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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); + ((TTQGLFormat*) 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) 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(); + jboolean xret = (jboolean) ((TTQGLFormat*) 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); + jboolean xret = (jboolean) ((TTQGLFormat*) QtSupport::getQt(env, obj))->testOption((TTQGL::FormatOption) opt); return xret; } diff --git a/qtjava/javalib/qtjava/QGLFormat.h b/qtjava/javalib/qtjava/QGLFormat.h index d8cb8717..f580d9a9 100644 --- a/qtjava/javalib/qtjava/QGLFormat.h +++ b/qtjava/javalib/qtjava/QGLFormat.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newQGLFormat__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newQGLFormat__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLFormat_newQGLFormat__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QGLWidget.cpp b/qtjava/javalib/qtjava/QGLWidget.cpp index 98289ed0..d61be141 100644 --- a/qtjava/javalib/qtjava/QGLWidget.cpp +++ b/qtjava/javalib/qtjava/QGLWidget.cpp @@ -10,282 +10,282 @@ #include #include -#include +#include -class QGLWidgetJBridge : public QGLWidget +class TQGLWidgetJBridge : public TQGLWidget { public: - QGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3,Qt::WFlags arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - QGLWidgetJBridge(TQWidget* arg1,const char* arg2,const TQGLWidget* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - QGLWidgetJBridge(TQWidget* arg1,const char* arg2) : TQGLWidget(arg1,arg2) {}; - QGLWidgetJBridge(TQWidget* arg1) : TQGLWidget(arg1) {}; - QGLWidgetJBridge() : TQGLWidget() {}; - QGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,Qt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; - QGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - QGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - QGLWidgetJBridge(TQGLContext* arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; - QGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4,Qt::WFlags arg5) : TQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; - QGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3,const TQGLWidget* arg4) : TQGLWidget(arg1,arg2,arg3,arg4) {}; - QGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2,const char* arg3) : TQGLWidget(arg1,arg2,arg3) {}; - QGLWidgetJBridge(const TQGLFormat& arg1,TQWidget* arg2) : TQGLWidget(arg1,arg2) {}; - QGLWidgetJBridge(const TQGLFormat& arg1) : TQGLWidget(arg1) {}; + TQGLWidgetJBridge(TTQWidget* arg1,const char* arg2,const TTQGLWidget* arg3,TQt::WFlags arg4) : TTQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(TTQWidget* arg1,const char* arg2,const TTQGLWidget* arg3) : TTQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(TTQWidget* arg1,const char* arg2) : TTQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(TTQWidget* arg1) : TTQGLWidget(arg1) {}; + TQGLWidgetJBridge() : TTQGLWidget() {}; + TQGLWidgetJBridge(TTQGLContext* arg1,TTQWidget* arg2,const char* arg3,const TTQGLWidget* arg4,TQt::WFlags arg5) : TTQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; + TQGLWidgetJBridge(TTQGLContext* arg1,TTQWidget* arg2,const char* arg3,const TTQGLWidget* arg4) : TTQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(TTQGLContext* arg1,TTQWidget* arg2,const char* arg3) : TTQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(TTQGLContext* arg1,TTQWidget* arg2) : TTQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(const TTQGLFormat& arg1,TTQWidget* arg2,const char* arg3,const TTQGLWidget* arg4,TQt::WFlags arg5) : TTQGLWidget(arg1,arg2,arg3,arg4,arg5) {}; + TQGLWidgetJBridge(const TTQGLFormat& arg1,TTQWidget* arg2,const char* arg3,const TTQGLWidget* arg4) : TTQGLWidget(arg1,arg2,arg3,arg4) {}; + TQGLWidgetJBridge(const TTQGLFormat& arg1,TTQWidget* arg2,const char* arg3) : TTQGLWidget(arg1,arg2,arg3) {}; + TQGLWidgetJBridge(const TTQGLFormat& arg1,TTQWidget* arg2) : TTQGLWidget(arg1,arg2) {}; + TQGLWidgetJBridge(const TTQGLFormat& arg1) : TTQGLWidget(arg1) {}; void public_makeCurrent() { - TQGLWidget::makeCurrent(); + TTQGLWidget::makeCurrent(); return; } void public_swapBuffers() { - TQGLWidget::swapBuffers(); + TTQGLWidget::swapBuffers(); return; } void public_makeOverlayCurrent() { - TQGLWidget::makeOverlayCurrent(); + TTQGLWidget::makeOverlayCurrent(); return; } void public_updateGL() { - TQGLWidget::updateGL(); + TTQGLWidget::updateGL(); return; } void public_updateOverlayGL() { - TQGLWidget::updateOverlayGL(); + TTQGLWidget::updateOverlayGL(); return; } void protected_initializeGL() { - TQGLWidget::initializeGL(); + TTQGLWidget::initializeGL(); return; } void protected_resizeGL(int arg1,int arg2) { - TQGLWidget::resizeGL(arg1,arg2); + TTQGLWidget::resizeGL(arg1,arg2); return; } void protected_paintGL() { - TQGLWidget::paintGL(); + TTQGLWidget::paintGL(); return; } void protected_initializeOverlayGL() { - TQGLWidget::initializeOverlayGL(); + TTQGLWidget::initializeOverlayGL(); return; } void protected_resizeOverlayGL(int arg1,int arg2) { - TQGLWidget::resizeOverlayGL(arg1,arg2); + TTQGLWidget::resizeOverlayGL(arg1,arg2); return; } void protected_paintOverlayGL() { - TQGLWidget::paintOverlayGL(); + TTQGLWidget::paintOverlayGL(); return; } void protected_setAutoBufferSwap(bool arg1) { - TQGLWidget::setAutoBufferSwap(arg1); + TTQGLWidget::setAutoBufferSwap(arg1); return; } bool protected_autoBufferSwap() { - return (bool) TQGLWidget::autoBufferSwap(); + return (bool) TTQGLWidget::autoBufferSwap(); } - void protected_paintEvent(TQPaintEvent* arg1) { - TQGLWidget::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQGLWidget::paintEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQGLWidget::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQGLWidget::resizeEvent(arg1); return; } void protected_glInit() { - TQGLWidget::glInit(); + TTQGLWidget::glInit(); return; } void protected_glDraw() { - TQGLWidget::glDraw(); + TTQGLWidget::glDraw(); return; } - ~QGLWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQGLWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGLWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGLWidget::resizeEvent(arg1); } return; } - void setFormat(const TQGLFormat& arg1) { - if (!QtSupport::eventDelegate(this,"setFormat",(void*)&arg1,"org.kde.qt.TQGLFormat")) { - TQGLWidget::setFormat(arg1); + void setFormat(const TTQGLFormat& arg1) { + if (!QtSupport::eventDelegate(this,"setFormat",(void*)&arg1,"org.kde.qt.TTQGLFormat")) { + TTQGLWidget::setFormat(arg1); } return; } void glDraw() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glDraw")) { - TQGLWidget::glDraw(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","glDraw")) { + TTQGLWidget::glDraw(); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } void updateGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateGL")) { - TQGLWidget::updateGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","updateGL")) { + TTQGLWidget::updateGL(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void initializeGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeGL")) { - TQGLWidget::initializeGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","initializeGL")) { + TTQGLWidget::initializeGL(); } return; } void paintOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintOverlayGL")) { - TQGLWidget::paintOverlayGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","paintOverlayGL")) { + TTQGLWidget::paintOverlayGL(); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGLWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGLWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } void makeOverlayCurrent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeOverlayCurrent")) { - TQGLWidget::makeOverlayCurrent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","makeOverlayCurrent")) { + TTQGLWidget::makeOverlayCurrent(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyPressEvent(arg1); } return; } @@ -293,225 +293,225 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void swapBuffers() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","swapBuffers")) { - TQGLWidget::swapBuffers(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","swapBuffers")) { + TTQGLWidget::swapBuffers(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } void glInit() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","glInit")) { - TQGLWidget::glInit(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","glInit")) { + TTQGLWidget::glInit(); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void initializeOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","initializeOverlayGL")) { - TQGLWidget::initializeOverlayGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","initializeOverlayGL")) { + TTQGLWidget::initializeOverlayGL(); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void makeCurrent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","makeCurrent")) { - TQGLWidget::makeCurrent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","makeCurrent")) { + TTQGLWidget::makeCurrent(); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } void updateOverlayGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","updateOverlayGL")) { - TQGLWidget::updateOverlayGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","updateOverlayGL")) { + TTQGLWidget::updateOverlayGL(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void paintGL() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","paintGL")) { - TQGLWidget::paintGL(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","paintGL")) { + TTQGLWidget::paintGL(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQGLWidget",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQGLWidget",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGLWidget","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGLWidget","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -520,7 +520,7 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_autoBufferSwap(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_autoBufferSwap(); + jboolean xret = (jboolean) ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_autoBufferSwap(); return xret; } @@ -528,21 +528,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGLWidget_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGLWidget*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQGLWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQGLColormap *) &((TTQGLWidget*) QtSupport::getQt(env, obj))->colormap(), "org.kde.qt.TTQGLColormap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGLWidget*) QtSupport::getQt(env, obj))->context(), "org.kde.qt.TTQGLContext"); return xret; } @@ -550,7 +550,7 @@ 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(QGLWidgetJBridge::convertToGLFormat((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img))), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(TQGLWidgetJBridge::convertToGLFormat((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, img))), "org.kde.qt.TTQImage", TRUE); return xret; } @@ -564,22 +564,22 @@ Java_org_kde_qt_QGLWidget_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_doneCurrent(JNIEnv* env, jobject obj) { - ((TQGLWidget*) QtSupport::getQt(env, obj))->doneCurrent(); + ((TTQGLWidget*) 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(); + jboolean xret = (jboolean) ((TTQGLWidget*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQGLWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQGLWidget*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -588,49 +588,49 @@ Java_org_kde_qt_QGLWidget_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQGLFormat(((TTQGLWidget*) QtSupport::getQt(env, obj))->format()), "org.kde.qt.TTQGLFormat", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glDraw(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glDraw(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glDraw(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_glInit(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_glInit(); + ((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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQGLWidget*) QtSupport::getQt(env, obj))->grabFrameBuffer((bool) withAlpha)), "org.kde.qt.TTQImage", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeGL(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeGL(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeGL(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_initializeOverlayGL(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeOverlayGL(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initializeOverlayGL(); return; } @@ -643,182 +643,182 @@ Java_org_kde_qt_QGLWidget_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGLWidget_isSharing(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGLWidget*) QtSupport::getQt(env, obj))->isSharing(); + jboolean xret = (jboolean) ((TTQGLWidget*) 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(); + jboolean xret = (jboolean) ((TTQGLWidget*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeCurrent(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeCurrent(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_makeOverlayCurrent(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_makeOverlayCurrent(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGLWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGLWidget_newTQGLWidget__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge()); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject context, jobject parent) +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 QGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQGLContext*) QtSupport::getQt(env, context), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject context, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQGLContext*) QtSupport::getQt(env, context), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((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::setQt(env, obj, new TQGLWidgetJBridge((TTQGLContext*) QtSupport::getQt(env, context), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((TQGLContext*) QtSupport::getQt(env, context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQGLContext*) QtSupport::getQt(env, context), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jobject obj, jobject format) +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 QGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject format, jobject parent) +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 QGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject format, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, format), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((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::setQt(env, obj, new TQGLWidgetJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((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), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, format), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget))); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QGLWidget_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject shareWidget, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGLWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQGLWidget*) QtSupport::getQt(env, shareWidget), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQGLWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQGLWidget*) QtSupport::getQt(env, shareWidget), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -827,244 +827,244 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGLWidget*) QtSupport::getQt(env, obj))->overlayContext(), "org.kde.qt.TTQGLContext"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintGL(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintGL(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintGL(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_paintOverlayGL(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintOverlayGL(); + ((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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->qglClearColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->qglColor((const TTQColor&)*(const TTQColor*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap()), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQGLWidget*) QtSupport::getQt(env, obj))->renderPixmap((int) w, (int) h, (bool) useContext)), "org.kde.qt.TTQPixmap", 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TTQFont&)*(const TTQFont*) 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::toQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((double) x, (double) y, (double) z, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TTQFont&)*(const TTQFont*) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TTQFont&)*(const TTQFont*) 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::toQString(env, str, &_qstring_str), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (int) listBase); +static TTQString* _qstring_str = 0; + ((TTQGLWidget*) QtSupport::getQt(env, obj))->renderText((int) x, (int) y, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (const TTQFont&)*(const TTQFont*) 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), (Qt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TTQPoint&)*(const TTQPoint*) 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), (Qt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (bool) showIt); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_resizeGL(JNIEnv* env, jobject obj, jint w, jint h) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeGL((int) w, (int) 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) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeOverlayGL((int) w, (int) 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) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setAutoBufferSwap((bool) 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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setColormap((const TTQGLColormap&)*(const TTQGLColormap*) 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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setContext((TTQGLContext*) 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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setContext((TTQGLContext*) QtSupport::getQt(env, context), (const TTQGLContext*) 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); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setContext((TTQGLContext*) QtSupport::getQt(env, context), (const TTQGLContext*) 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)); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setFormat((const TTQGLFormat&)*(const TTQGLFormat*) 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); + ((TTQGLWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_swapBuffers(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_swapBuffers(); + ((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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QGLWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateGL(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateGL(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_updateOverlayGL(JNIEnv* env, jobject obj) { - ((QGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateOverlayGL(); + ((TQGLWidgetJBridge*) QtSupport::getQt(env, obj))->public_updateOverlayGL(); return; } diff --git a/qtjava/javalib/qtjava/QGLWidget.h b/qtjava/javalib/qtjava/QGLWidget.h index ecab3520..76f5f2e3 100644 --- a/qtjava/javalib/qtjava/QGLWidget.h +++ b/qtjava/javalib/qtjava/QGLWidget.h @@ -12,20 +12,20 @@ extern "C" 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_newQGLWidget__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_newQGLWidget__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_newQGLWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newQGLWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newQGLWidget__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_newQGLWidget__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_newQGLWidget__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_newQGLWidget__Lorg_kde_qt_QGLContext_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newQGLWidget__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_newQGLWidget__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_newQGLWidget__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_newQGLWidget__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGLWidget_newQGLWidget__Lorg_kde_qt_QGLFormat_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QGb18030Codec.cpp b/qtjava/javalib/qtjava/QGb18030Codec.cpp index 974ade66..e310ccdc 100644 --- a/qtjava/javalib/qtjava/QGb18030Codec.cpp +++ b/qtjava/javalib/qtjava/QGb18030Codec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QGb18030CodecJBridge : public QGb18030Codec +class TQGb18030CodecJBridge : public TQGb18030Codec { public: - QGb18030CodecJBridge() : TQGb18030Codec() {}; - ~QGb18030CodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQGb18030CodecJBridge() : TTQGb18030Codec() {}; + ~TQGb18030CodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQGb18030Codec*)QtSupport::getQt(env, obj); + delete (TTQGb18030Codec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QGb18030Codec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQGb18030Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQGb18030Codec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQGb18030Codec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QGb18030Codec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGb18030Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QGb18030Codec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQGb18030Codec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQGb18030Codec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,15 +81,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGb18030Codec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGb18030Codec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQGb18030Codec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QGb18030Codec_newQGb18030Codec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGb18030Codec_newTQGb18030Codec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGb18030CodecJBridge()); + QtSupport::setQt(env, obj, new TQGb18030CodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -98,9 +98,9 @@ Java_org_kde_qt_QGb18030Codec_newQGb18030Codec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQGb18030Codec*) 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 index dce7bd2b..acda2716 100644 --- a/qtjava/javalib/qtjava/QGb18030Codec.h +++ b/qtjava/javalib/qtjava/QGb18030Codec.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGb18030Codec_newQGb18030Codec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QGrid.cpp b/qtjava/javalib/qtjava/QGrid.cpp index e8896d73..61fe70bd 100644 --- a/qtjava/javalib/qtjava/QGrid.cpp +++ b/qtjava/javalib/qtjava/QGrid.cpp @@ -5,379 +5,379 @@ #include #include -#include +#include -class QGridJBridge : public QGrid +class TQGridJBridge : public TQGrid { public: - QGridJBridge(int arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; - QGridJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQGrid(arg1,arg2,arg3) {}; - QGridJBridge(int arg1,TQWidget* arg2) : TQGrid(arg1,arg2) {}; - QGridJBridge(int arg1) : TQGrid(arg1) {}; - QGridJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3,const char* arg4,Qt::WFlags arg5) : TQGrid(arg1,arg2,arg3,arg4,arg5) {}; - QGridJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGrid(arg1,arg2,arg3,arg4) {}; - QGridJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3) : TQGrid(arg1,arg2,arg3) {}; - QGridJBridge(int arg1,Qt::Orientation arg2) : TQGrid(arg1,arg2) {}; + TQGridJBridge(int arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQGrid(arg1,arg2,arg3,arg4) {}; + TQGridJBridge(int arg1,TTQWidget* arg2,const char* arg3) : TTQGrid(arg1,arg2,arg3) {}; + TQGridJBridge(int arg1,TTQWidget* arg2) : TTQGrid(arg1,arg2) {}; + TQGridJBridge(int arg1) : TTQGrid(arg1) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TTQGrid(arg1,arg2,arg3,arg4,arg5) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3,const char* arg4) : TTQGrid(arg1,arg2,arg3,arg4) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3) : TTQGrid(arg1,arg2,arg3) {}; + TQGridJBridge(int arg1,TQt::Orientation arg2) : TTQGrid(arg1,arg2) {}; void protected_frameChanged() { - TQGrid::frameChanged(); + TTQGrid::frameChanged(); return; } - ~QGridJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQGridJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQGrid",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQGrid",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGrid","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGrid","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -387,7 +387,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGrid*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQGrid*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -401,8 +401,8 @@ Java_org_kde_qt_QGrid_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQGrid*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQGrid*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -411,7 +411,7 @@ Java_org_kde_qt_QGrid_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_frameChanged(JNIEnv* env, jobject obj) { - ((QGridJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((TQGridJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); return; } @@ -424,89 +424,89 @@ Java_org_kde_qt_QGrid_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGrid*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newQGrid__I(JNIEnv* env, jobject obj, jint n) +Java_org_kde_qt_QGrid_newTQGrid__I(JNIEnv* env, jobject obj, jint n) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridJBridge((int) n)); + 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_newQGrid__II(JNIEnv* env, jobject obj, jint n, jint orient) +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 QGridJBridge((int) n, (Qt::Orientation) orient)); + 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_newQGrid__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent) +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 QGridJBridge((int) n, (Qt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridJBridge((int) n, (Qt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jint orient, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridJBridge((int) n, (Qt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TQt::Orientation) orient, (TTQWidget*) 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_newQGrid__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint n, jobject parent) +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 QGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGrid_newQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint n, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridJBridge((int) n, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQGridJBridge((int) n, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -515,35 +515,35 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_setSpacing(JNIEnv* env, jobject obj, jint arg1) { - ((TQGrid*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); + ((TTQGrid*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGrid*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QGrid_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QGridJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 1164ae78..949fb9fe 100644 --- a/qtjava/javalib/qtjava/QGrid.h +++ b/qtjava/javalib/qtjava/QGrid.h @@ -12,14 +12,14 @@ extern "C" 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_newQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__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_newQGrid__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGrid_newQGrid__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QGridLayout.cpp b/qtjava/javalib/qtjava/QGridLayout.cpp index 87265a20..1e2f27fd 100644 --- a/qtjava/javalib/qtjava/QGridLayout.cpp +++ b/qtjava/javalib/qtjava/QGridLayout.cpp @@ -6,68 +6,68 @@ #include #include -#include +#include -class QGridLayoutJBridge : public QGridLayout +class TQGridLayoutJBridge : public TQGridLayout { public: - QGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5,const char* arg6) : TQGridLayout(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4,int arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; - QGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - QGridLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - QGridLayoutJBridge(TQWidget* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - QGridLayoutJBridge(TQWidget* arg1) : TQGridLayout(arg1) {}; - QGridLayoutJBridge(int arg1,int arg2,int arg3,const char* arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - QGridLayoutJBridge(int arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - QGridLayoutJBridge(int arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - QGridLayoutJBridge(int arg1) : TQGridLayout(arg1) {}; - QGridLayoutJBridge() : TQGridLayout() {}; - QGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4,const char* arg5) : TQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; - QGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3,int arg4) : TQGridLayout(arg1,arg2,arg3,arg4) {}; - QGridLayoutJBridge(TQLayout* arg1,int arg2,int arg3) : TQGridLayout(arg1,arg2,arg3) {}; - QGridLayoutJBridge(TQLayout* arg1,int arg2) : TQGridLayout(arg1,arg2) {}; - QGridLayoutJBridge(TQLayout* arg1) : TQGridLayout(arg1) {}; - bool protected_findWidget(TQWidget* arg1,int* arg2,int* arg3) { - return (bool) TQGridLayout::findWidget(arg1,arg2,arg3); + TQGridLayoutJBridge(TTQWidget* arg1,int arg2,int arg3,int arg4,int arg5,const char* arg6) : TTQGridLayout(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQGridLayoutJBridge(TTQWidget* arg1,int arg2,int arg3,int arg4,int arg5) : TTQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQGridLayoutJBridge(TTQWidget* arg1,int arg2,int arg3,int arg4) : TTQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(TTQWidget* arg1,int arg2,int arg3) : TTQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(TTQWidget* arg1,int arg2) : TTQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(TTQWidget* arg1) : TTQGridLayout(arg1) {}; + TQGridLayoutJBridge(int arg1,int arg2,int arg3,const char* arg4) : TTQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(int arg1,int arg2,int arg3) : TTQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(int arg1,int arg2) : TTQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(int arg1) : TTQGridLayout(arg1) {}; + TQGridLayoutJBridge() : TTQGridLayout() {}; + TQGridLayoutJBridge(TTQLayout* arg1,int arg2,int arg3,int arg4,const char* arg5) : TTQGridLayout(arg1,arg2,arg3,arg4,arg5) {}; + TQGridLayoutJBridge(TTQLayout* arg1,int arg2,int arg3,int arg4) : TTQGridLayout(arg1,arg2,arg3,arg4) {}; + TQGridLayoutJBridge(TTQLayout* arg1,int arg2,int arg3) : TTQGridLayout(arg1,arg2,arg3) {}; + TQGridLayoutJBridge(TTQLayout* arg1,int arg2) : TTQGridLayout(arg1,arg2) {}; + TQGridLayoutJBridge(TTQLayout* arg1) : TTQGridLayout(arg1) {}; + bool protected_findWidget(TTQWidget* arg1,int* arg2,int* arg3) { + return (bool) TTQGridLayout::findWidget(arg1,arg2,arg3); } - void protected_add(TQLayoutItem* arg1,int arg2,int arg3) { - TQGridLayout::add(arg1,arg2,arg3); + void protected_add(TTQLayoutItem* arg1,int arg2,int arg3) { + TTQGridLayout::add(arg1,arg2,arg3); return; } - ~QGridLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQGridLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(arg1); + void setMenuBar(TTQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TTQMenuBar")) { + TTQLayout::setMenuBar(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQLayout::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQLayout::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -76,105 +76,105 @@ public: 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); + ((TTQGridLayout*) 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)); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addItem((TTQLayoutItem*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addItem((TTQLayoutItem*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addLayout((TTQLayout*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TTQLayout*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((TTQLayout*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TTQWidget*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((TTQWidget*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TTQLayoutItem*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((TTQLayoutItem*) 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); + ((TTQGridLayout*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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) { - ((QGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_add((TQLayoutItem*) QtSupport::getQt(env, arg1), (int) row, (int) col); + ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_add((TTQLayoutItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQGridLayout*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -182,21 +182,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGridLayout*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQGridLayout*) 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); + jint xret = (jint) ((TTQGridLayout*) 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); + jint xret = (jint) ((TTQGridLayout*) QtSupport::getQt(env, obj))->colStretch((int) col); return xret; } @@ -210,22 +210,22 @@ Java_org_kde_qt_QGridLayout_dispose(JNIEnv* env, jobject obj) 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); + ((TTQGridLayout*) 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(); + jint xret = (jint) ((TTQGridLayout*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQGridLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQGridLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQGridLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQGridLayout*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -236,7 +236,7 @@ Java_org_kde_qt_QGridLayout_findWidget(JNIEnv* env, jobject obj, jobject w, jint { int* _int_r = QtSupport::toIntPtr(env, r); int* _int_c = QtSupport::toIntPtr(env, c); - jboolean xret = (jboolean) ((QGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_findWidget((TQWidget*) QtSupport::getQt(env, w), (int*) _int_r, (int*) _int_c); + jboolean xret = (jboolean) ((TQGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_findWidget((TTQWidget*) 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; @@ -245,21 +245,21 @@ Java_org_kde_qt_QGridLayout_findWidget(JNIEnv* env, jobject obj, jobject w, jint JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGridLayout_hasHeightForWidth(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGridLayout*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + jboolean xret = (jboolean) ((TTQGridLayout*) 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); + jint xret = (jint) ((TTQGridLayout*) 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(); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->invalidate(); return; } @@ -272,189 +272,189 @@ Java_org_kde_qt_QGridLayout_isDisposed(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGridLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGridLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jint xret = (jint) ((TTQGridLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGridLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGridLayout_newTQGridLayout__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridLayoutJBridge()); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__I(JNIEnv* env, jobject obj, jint nRows) +Java_org_kde_qt_QGridLayout_newTQGridLayout__I(JNIEnv* env, jobject obj, jint nRows) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows)); + 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_newQGridLayout__II(JNIEnv* env, jobject obj, jint nRows, jint nCols) +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 QGridLayoutJBridge((int) nRows, (int) nCols)); + 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_newQGridLayout__III(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing) +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 QGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing)); + 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_newQGridLayout__IIILjava_lang_String_2(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + 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_newQGridLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +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 QGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows) +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 QGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols) +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 QGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQLayout*) 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_newQGridLayout__Lorg_kde_qt_QLayout_2III(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing) +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 QGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQLayout*) 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_newQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQLayout*) 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_newQGridLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint nRows) +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 QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (int) nRows)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols) +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 QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) 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_newQGridLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border) +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 QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) 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_newQGridLayout__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing) +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 QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing)); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) 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_newQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGridLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGridLayoutJBridge((TTQWidget*) 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; @@ -463,105 +463,105 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QGridLayout_numCols(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQGridLayout*) QtSupport::getQt(env, obj))->numCols(); + jint xret = (jint) ((TTQGridLayout*) 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(); + jint xret = (jint) ((TTQGridLayout*) 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(); + jint xret = (jint) ((TTQGridLayout*) 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); + jint xret = (jint) ((TTQGridLayout*) 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); + jint xret = (jint) ((TTQGridLayout*) 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); + ((TTQGridLayout*) 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); + ((TTQGridLayout*) 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)); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + ((TTQGridLayout*) QtSupport::getQt(env, obj))->setOrigin((TTQGridLayout::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); + ((TTQGridLayout*) 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); + ((TTQGridLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGridLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 4d569b37..d0b4d387 100644 --- a/qtjava/javalib/qtjava/QGridLayout.h +++ b/qtjava/javalib/qtjava/QGridLayout.h @@ -12,22 +12,22 @@ extern "C" 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_newQGridLayout__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_newQGridLayout__Lorg_kde_qt_QWidget_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__IIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__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_newQGridLayout__Lorg_kde_qt_QLayout_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QGridView.cpp b/qtjava/javalib/qtjava/QGridView.cpp index 5a515bee..d41ddd18 100644 --- a/qtjava/javalib/qtjava/QGridView.cpp +++ b/qtjava/javalib/qtjava/QGridView.cpp @@ -6,33 +6,33 @@ #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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQGridView*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) column)), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQGridView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQGridView*) QtSupport::getQt(env, obj))->cellRect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQGridView*) QtSupport::getQt(env, obj))->cellWidth(); return xret; } @@ -40,126 +40,126 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGridView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGridView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQGridView*) 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); + jint xret = (jint) ((TTQGridView*) 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); + ((TTQGridView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGridView*) QtSupport::getQt(env, obj))->gridSize()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGridView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QGridView_numCols(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQGridView*) QtSupport::getQt(env, obj))->numCols(); + jint xret = (jint) ((TTQGridView*) 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(); + jint xret = (jint) ((TTQGridView*) 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); + ((TTQGridView*) 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); + ((TTQGridView*) 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); + jint xret = (jint) ((TTQGridView*) 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); + ((TTQGridView*) 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); + ((TTQGridView*) 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); + ((TTQGridView*) 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); + ((TTQGridView*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQGridView::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQGridView::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQGridView::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); + ((TTQGridView*) QtSupport::getQt(env, obj))->updateCell((int) row, (int) column); return; } diff --git a/qtjava/javalib/qtjava/QGroupBox.cpp b/qtjava/javalib/qtjava/QGroupBox.cpp index 1bcb0936..cb980ce2 100644 --- a/qtjava/javalib/qtjava/QGroupBox.cpp +++ b/qtjava/javalib/qtjava/QGroupBox.cpp @@ -6,402 +6,402 @@ #include #include -#include +#include -class QGroupBoxJBridge : public QGroupBox +class TQGroupBoxJBridge : public TQGroupBox { public: - QGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQGroupBox(arg1,arg2) {}; - QGroupBoxJBridge(TQWidget* arg1) : TQGroupBox(arg1) {}; - QGroupBoxJBridge() : TQGroupBox() {}; - QGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQGroupBox(arg1,arg2,arg3) {}; - QGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQGroupBox(arg1,arg2) {}; - QGroupBoxJBridge(const TQString& arg1) : TQGroupBox(arg1) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3,const char* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2,TQWidget* arg3) : TQGroupBox(arg1,arg2,arg3) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2) : TQGroupBox(arg1,arg2) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3,TQWidget* arg4,const char* arg5) : TQGroupBox(arg1,arg2,arg3,arg4,arg5) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3,TQWidget* arg4) : TQGroupBox(arg1,arg2,arg3,arg4) {}; - QGroupBoxJBridge(int arg1,Qt::Orientation arg2,const TQString& arg3) : TQGroupBox(arg1,arg2,arg3) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQGroupBox::event(arg1); + TQGroupBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(TTQWidget* arg1) : TTQGroupBox(arg1) {}; + TQGroupBoxJBridge() : TTQGroupBox() {}; + TQGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQGroupBox(arg1,arg2,arg3) {}; + TQGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(const TTQString& arg1) : TTQGroupBox(arg1) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3,const char* arg4) : TTQGroupBox(arg1,arg2,arg3,arg4) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,TTQWidget* arg3) : TTQGroupBox(arg1,arg2,arg3) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2) : TTQGroupBox(arg1,arg2) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3,TTQWidget* arg4,const char* arg5) : TTQGroupBox(arg1,arg2,arg3,arg4,arg5) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3,TTQWidget* arg4) : TTQGroupBox(arg1,arg2,arg3,arg4) {}; + TQGroupBoxJBridge(int arg1,TQt::Orientation arg2,const TTQString& arg3) : TTQGroupBox(arg1,arg2,arg3) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TTQGroupBox::event(arg1); } - void protected_childEvent(TQChildEvent* arg1) { - TQGroupBox::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQGroupBox::childEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQGroupBox::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQGroupBox::resizeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQGroupBox::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQGroupBox::paintEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQGroupBox::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQGroupBox::focusInEvent(arg1); return; } - void protected_fontChange(const TQFont& arg1) { - TQGroupBox::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQGroupBox::fontChange(arg1); return; } - ~QGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQGroupBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQGroupBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQGroupBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQGroupBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -410,21 +410,21 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_addSpace(JNIEnv* env, jobject obj, jint arg1) { - ((TQGroupBox*) QtSupport::getQt(env, obj))->addSpace((int) arg1); + ((TTQGroupBox*) 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(); + jint xret = (jint) ((TTQGroupBox*) QtSupport::getQt(env, obj))->alignment(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) QtSupport::getQt(env, arg1)); return; } @@ -432,14 +432,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QGroupBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQGroupBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQGroupBox*) 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(); + jint xret = (jint) ((TTQGroupBox*) QtSupport::getQt(env, obj))->columns(); return xret; } @@ -453,15 +453,15 @@ Java_org_kde_qt_QGroupBox_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQGroupBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -470,42 +470,42 @@ Java_org_kde_qt_QGroupBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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(); + jint xret = (jint) ((TTQGroupBox*) 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(); + jint xret = (jint) ((TTQGroupBox*) 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(); + jboolean xret = (jboolean) ((TTQGroupBox*) 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(); + jboolean xret = (jboolean) ((TTQGroupBox*) QtSupport::getQt(env, obj))->isChecked(); return xret; } @@ -518,142 +518,142 @@ Java_org_kde_qt_QGroupBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QGroupBox_isFlat(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQGroupBox*) QtSupport::getQt(env, obj))->isFlat(); + jboolean xret = (jboolean) ((TTQGroupBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QGroupBox_newTQGroupBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge()); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__II(JNIEnv* env, jobject obj, jint strips, jint o) +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 QGroupBoxJBridge((int) strips, (Qt::Orientation) o)); + 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_newQGroupBox__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((int) strips, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((int) strips, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__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) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((int) strips, (Qt::Orientation) o, (const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent) +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 QGroupBoxJBridge((int) strips, (Qt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint strips, jint o, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((int) strips, (Qt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((int) strips, (TQt::Orientation) o, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QGroupBox_newTQGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QGroupBox_newQGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -662,135 +662,135 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QGroupBox_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQGroupBox*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQGroupBox*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQGroupBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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, (Qt::Orientation) o); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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); + ((TTQGroupBox*) 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((Qt::Orientation) arg1); + ((TTQGroupBox*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQGroupBox*) QtSupport::getQt(env, obj))->setTitle((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQGroupBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQGroupBox*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index e8dd28a1..657b741d 100644 --- a/qtjava/javalib/qtjava/QGroupBox.h +++ b/qtjava/javalib/qtjava/QGroupBox.h @@ -12,18 +12,18 @@ extern "C" 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_newQGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__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_newQGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__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_newQGroupBox__IILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QGroupBox_newQGroupBox__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); +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); diff --git a/qtjava/javalib/qtjava/QHBox.cpp b/qtjava/javalib/qtjava/QHBox.cpp index 8809c3e1..ea88e381 100644 --- a/qtjava/javalib/qtjava/QHBox.cpp +++ b/qtjava/javalib/qtjava/QHBox.cpp @@ -5,377 +5,377 @@ #include #include -#include +#include -class QHBoxJBridge : public QHBox +class TQHBoxJBridge : public TQHBox { public: - QHBoxJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQHBox(arg1,arg2,arg3) {}; - QHBoxJBridge(TQWidget* arg1,const char* arg2) : TQHBox(arg1,arg2) {}; - QHBoxJBridge(TQWidget* arg1) : TQHBox(arg1) {}; - QHBoxJBridge() : TQHBox() {}; - QHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQHBox(arg1,arg2,arg3,arg4) {}; - QHBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : TQHBox(arg1,arg2,arg3) {}; + TQHBoxJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQHBox(arg1,arg2,arg3) {}; + TQHBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQHBox(arg1,arg2) {}; + TQHBoxJBridge(TTQWidget* arg1) : TTQHBox(arg1) {}; + TQHBoxJBridge() : TTQHBox() {}; + TQHBoxJBridge(bool arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQHBox(arg1,arg2,arg3,arg4) {}; + TQHBoxJBridge(bool arg1,TTQWidget* arg2,const char* arg3) : TTQHBox(arg1,arg2,arg3) {}; void protected_frameChanged() { - TQHBox::frameChanged(); + TTQHBox::frameChanged(); return; } - ~QHBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQHBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQHBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -385,7 +385,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -399,8 +399,8 @@ Java_org_kde_qt_QHBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQHBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQHBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,7 +409,7 @@ Java_org_kde_qt_QHBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_frameChanged(JNIEnv* env, jobject obj) { - ((QHBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((TQHBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); return; } @@ -422,69 +422,69 @@ Java_org_kde_qt_QHBox_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newQHBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHBox_newTQHBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxJBridge()); + QtSupport::setQt(env, obj, new TQHBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newQHBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQHBoxJBridge((TTQWidget*) 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_newQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxJBridge((bool) horizontal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBox_newQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jboolean horizontal, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxJBridge((bool) horizontal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQHBoxJBridge((bool) horizontal, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -493,42 +493,42 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_setSpacing(JNIEnv* env, jobject obj, jint arg1) { - ((TQHBox*) QtSupport::getQt(env, obj))->setSpacing((int) arg1); + ((TTQHBox*) 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); + jboolean xret = (jboolean) ((TTQHBox*) QtSupport::getQt(env, obj))->setStretchFactor((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQHBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index c0276752..b9baf4b6 100644 --- a/qtjava/javalib/qtjava/QHBox.h +++ b/qtjava/javalib/qtjava/QHBox.h @@ -12,17 +12,17 @@ extern "C" 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_newQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newQHBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newQHBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newQHBox__ (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_newQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jboolean, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBox_newQHBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, 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); diff --git a/qtjava/javalib/qtjava/QHBoxLayout.cpp b/qtjava/javalib/qtjava/QHBoxLayout.cpp index c6e12093..47b4fd79 100644 --- a/qtjava/javalib/qtjava/QHBoxLayout.cpp +++ b/qtjava/javalib/qtjava/QHBoxLayout.cpp @@ -3,55 +3,55 @@ #include #include -#include +#include -class QHBoxLayoutJBridge : public QHBoxLayout +class TQHBoxLayoutJBridge : public TQHBoxLayout { public: - QHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQHBoxLayout(arg1,arg2,arg3,arg4) {}; - QHBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; - QHBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; - QHBoxLayoutJBridge(TQWidget* arg1) : TQHBoxLayout(arg1) {}; - QHBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQHBoxLayout(arg1,arg2,arg3) {}; - QHBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQHBoxLayout(arg1,arg2) {}; - QHBoxLayoutJBridge(TQLayout* arg1) : TQHBoxLayout(arg1) {}; - QHBoxLayoutJBridge(int arg1,const char* arg2) : TQHBoxLayout(arg1,arg2) {}; - QHBoxLayoutJBridge(int arg1) : TQHBoxLayout(arg1) {}; - QHBoxLayoutJBridge() : TQHBoxLayout() {}; - ~QHBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQHBoxLayoutJBridge(TTQWidget* arg1,int arg2,int arg3,const char* arg4) : TTQHBoxLayout(arg1,arg2,arg3,arg4) {}; + TQHBoxLayoutJBridge(TTQWidget* arg1,int arg2,int arg3) : TTQHBoxLayout(arg1,arg2,arg3) {}; + TQHBoxLayoutJBridge(TTQWidget* arg1,int arg2) : TTQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(TTQWidget* arg1) : TTQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge(TTQLayout* arg1,int arg2,const char* arg3) : TTQHBoxLayout(arg1,arg2,arg3) {}; + TQHBoxLayoutJBridge(TTQLayout* arg1,int arg2) : TTQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(TTQLayout* arg1) : TTQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge(int arg1,const char* arg2) : TTQHBoxLayout(arg1,arg2) {}; + TQHBoxLayoutJBridge(int arg1) : TTQHBoxLayout(arg1) {}; + TQHBoxLayoutJBridge() : TTQHBoxLayout() {}; + ~TQHBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(arg1); + void setMenuBar(TTQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TTQMenuBar")) { + TTQLayout::setMenuBar(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQLayout::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQLayout::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -61,7 +61,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHBoxLayout*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHBoxLayout*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -75,8 +75,8 @@ Java_org_kde_qt_QHBoxLayout_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQHBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQHBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQHBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQHBoxLayout*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -91,108 +91,108 @@ Java_org_kde_qt_QHBoxLayout_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxLayoutJBridge()); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxLayoutJBridge((int) spacing)); + 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_newQHBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) +Java_org_kde_qt_QHBoxLayout_newTQHBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) { -static TQCString* _qstring_name = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + 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_newQHBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +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 QHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) +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 QHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQLayout*) 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_newQHBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) +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 QHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (int) border)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) +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 QHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQWidget*) 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_newQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHBoxLayoutJBridge((TTQWidget*) 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; @@ -201,21 +201,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QHBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 2f7f91b3..14b11710 100644 --- a/qtjava/javalib/qtjava/QHBoxLayout.h +++ b/qtjava/javalib/qtjava/QHBoxLayout.h @@ -12,16 +12,16 @@ extern "C" 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_newQHBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHBoxLayout_newQHBoxLayout__ (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); diff --git a/qtjava/javalib/qtjava/QHButtonGroup.cpp b/qtjava/javalib/qtjava/QHButtonGroup.cpp index 19ffa429..f76ed6b0 100644 --- a/qtjava/javalib/qtjava/QHButtonGroup.cpp +++ b/qtjava/javalib/qtjava/QHButtonGroup.cpp @@ -3,373 +3,373 @@ #include #include -#include +#include -class QHButtonGroupJBridge : public QHButtonGroup +class TQHButtonGroupJBridge : public TQHButtonGroup { public: - QHButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQHButtonGroup(arg1,arg2) {}; - QHButtonGroupJBridge(TQWidget* arg1) : TQHButtonGroup(arg1) {}; - QHButtonGroupJBridge() : TQHButtonGroup() {}; - QHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHButtonGroup(arg1,arg2,arg3) {}; - QHButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQHButtonGroup(arg1,arg2) {}; - QHButtonGroupJBridge(const TQString& arg1) : TQHButtonGroup(arg1) {}; - ~QHButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + TQHButtonGroupJBridge(TTQWidget* arg1,const char* arg2) : TTQHButtonGroup(arg1,arg2) {}; + TQHButtonGroupJBridge(TTQWidget* arg1) : TTQHButtonGroup(arg1) {}; + TQHButtonGroupJBridge() : TTQHButtonGroup() {}; + TQHButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQHButtonGroup(arg1,arg2,arg3) {}; + TQHButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQHButtonGroup(arg1,arg2) {}; + TQHButtonGroupJBridge(const TTQString& arg1) : TTQHButtonGroup(arg1) {}; + ~TQHButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHButtonGroup",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQHButtonGroup",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHButtonGroup","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHButtonGroup","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -379,7 +379,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHButtonGroup*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHButtonGroup*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -393,8 +393,8 @@ Java_org_kde_qt_QHButtonGroup_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQHButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQHButtonGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,70 +409,70 @@ Java_org_kde_qt_QHButtonGroup_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHButtonGroupJBridge()); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QHButtonGroup_newTQHButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QHButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -481,21 +481,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QHButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index e2385054..c255883c 100644 --- a/qtjava/javalib/qtjava/QHButtonGroup.h +++ b/qtjava/javalib/qtjava/QHButtonGroup.h @@ -12,12 +12,12 @@ extern "C" 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_newQHButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__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_newQHButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHButtonGroup_newQHButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QHGroupBox.cpp b/qtjava/javalib/qtjava/QHGroupBox.cpp index 340d07cb..fddb6960 100644 --- a/qtjava/javalib/qtjava/QHGroupBox.cpp +++ b/qtjava/javalib/qtjava/QHGroupBox.cpp @@ -3,373 +3,373 @@ #include #include -#include +#include -class QHGroupBoxJBridge : public QHGroupBox +class TQHGroupBoxJBridge : public TQHGroupBox { public: - QHGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQHGroupBox(arg1,arg2) {}; - QHGroupBoxJBridge(TQWidget* arg1) : TQHGroupBox(arg1) {}; - QHGroupBoxJBridge() : TQHGroupBox() {}; - QHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQHGroupBox(arg1,arg2,arg3) {}; - QHGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQHGroupBox(arg1,arg2) {}; - QHGroupBoxJBridge(const TQString& arg1) : TQHGroupBox(arg1) {}; - ~QHGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + TQHGroupBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQHGroupBox(arg1,arg2) {}; + TQHGroupBoxJBridge(TTQWidget* arg1) : TTQHGroupBox(arg1) {}; + TQHGroupBoxJBridge() : TTQHGroupBox() {}; + TQHGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQHGroupBox(arg1,arg2,arg3) {}; + TQHGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQHGroupBox(arg1,arg2) {}; + TQHGroupBoxJBridge(const TTQString& arg1) : TTQHGroupBox(arg1) {}; + ~TQHGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHGroupBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQHGroupBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHGroupBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHGroupBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -379,7 +379,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHGroupBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHGroupBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -393,8 +393,8 @@ Java_org_kde_qt_QHGroupBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQHGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQHGroupBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,70 +409,70 @@ Java_org_kde_qt_QHGroupBox_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHGroupBoxJBridge()); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QHGroupBox_newTQHGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QHGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHGroupBox_newQHGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -481,21 +481,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QHGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 92ab6243..90176eb4 100644 --- a/qtjava/javalib/qtjava/QHGroupBox.h +++ b/qtjava/javalib/qtjava/QHGroupBox.h @@ -12,12 +12,12 @@ extern "C" 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_newQHGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newQHGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newQHGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newQHGroupBox__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_newQHGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHGroupBox_newQHGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QHeader.cpp b/qtjava/javalib/qtjava/QHeader.cpp index 7f7e9872..e7812243 100644 --- a/qtjava/javalib/qtjava/QHeader.cpp +++ b/qtjava/javalib/qtjava/QHeader.cpp @@ -8,406 +8,406 @@ #include #include -#include +#include -class QHeaderJBridge : public QHeader +class TQHeaderJBridge : public TQHeader { public: - QHeaderJBridge(TQWidget* arg1,const char* arg2) : TQHeader(arg1,arg2) {}; - QHeaderJBridge(TQWidget* arg1) : TQHeader(arg1) {}; - QHeaderJBridge() : TQHeader() {}; - QHeaderJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQHeader(arg1,arg2,arg3) {}; - QHeaderJBridge(int arg1,TQWidget* arg2) : TQHeader(arg1,arg2) {}; - QHeaderJBridge(int arg1) : TQHeader(arg1) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQHeader::paintEvent(arg1); + TQHeaderJBridge(TTQWidget* arg1,const char* arg2) : TTQHeader(arg1,arg2) {}; + TQHeaderJBridge(TTQWidget* arg1) : TTQHeader(arg1) {}; + TQHeaderJBridge() : TTQHeader() {}; + TQHeaderJBridge(int arg1,TTQWidget* arg2,const char* arg3) : TTQHeader(arg1,arg2,arg3) {}; + TQHeaderJBridge(int arg1,TTQWidget* arg2) : TTQHeader(arg1,arg2) {}; + TQHeaderJBridge(int arg1) : TTQHeader(arg1) {}; + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQHeader::paintEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQHeader::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQHeader::showEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQHeader::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQHeader::resizeEvent(arg1); return; } - TQRect protected_sRect(int arg1) { - return (TQRect) TQHeader::sRect(arg1); + TTQRect protected_sRect(int arg1) { + return (TTQRect) TTQHeader::sRect(arg1); } - void protected_paintSection(TQPainter* arg1,int arg2,const TQRect& arg3) { - TQHeader::paintSection(arg1,arg2,arg3); + void protected_paintSection(TTQPainter* arg1,int arg2,const TTQRect& arg3) { + TTQHeader::paintSection(arg1,arg2,arg3); return; } - void protected_paintSectionLabel(TQPainter* arg1,int arg2,const TQRect& arg3) { - TQHeader::paintSectionLabel(arg1,arg2,arg3); + void protected_paintSectionLabel(TTQPainter* arg1,int arg2,const TTQRect& arg3) { + TTQHeader::paintSectionLabel(arg1,arg2,arg3); return; } - void protected_fontChange(const TQFont& arg1) { - TQHeader::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQHeader::fontChange(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQHeader::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQHeader::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQHeader::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQHeader::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQHeader::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQHeader::mouseMoveEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQHeader::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQHeader::mouseDoubleClickEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQHeader::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQHeader::keyPressEvent(arg1); return; } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQHeader::keyReleaseEvent(arg1); + void protected_keyReleaseEvent(TTQKeyEvent* arg1) { + TTQHeader::keyReleaseEvent(arg1); return; } - ~QHeaderJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQHeaderJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQHeader::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQHeader::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQHeader::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQHeader::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQHeader::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQHeader::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQHeader::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQHeader::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQHeader::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQHeader::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQHeader::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQHeader::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQHeader::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQHeader::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQHeader::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHeader",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQHeader",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHeader","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHeader","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -416,60 +416,60 @@ public: 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->addLabel((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (int) size); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->addLabel((const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->addLabel((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) size); +static TTQString* _qstring_arg2 = 0; + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->addLabel((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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(); + ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->cellSize((int) i); return xret; } @@ -477,14 +477,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHeader_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHeader*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHeader*) 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(); + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -498,8 +498,8 @@ Java_org_kde_qt_QHeader_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQHeader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -508,35 +508,35 @@ Java_org_kde_qt_QHeader_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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(); + jint xret = (jint) ((TTQHeader*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHeader*) QtSupport::getQt(env, obj))->iconSet((int) section), "org.kde.qt.TTQIconSet"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isClickEnabled__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isClickEnabled(); + jboolean xret = (jboolean) ((TTQHeader*) 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); + jboolean xret = (jboolean) ((TTQHeader*) QtSupport::getQt(env, obj))->isClickEnabled((int) section); return xret; } @@ -549,194 +549,194 @@ Java_org_kde_qt_QHeader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHeader_isMovingEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQHeader*) QtSupport::getQt(env, obj))->isMovingEnabled(); + jboolean xret = (jboolean) ((TTQHeader*) 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(); + jboolean xret = (jboolean) ((TTQHeader*) 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); + jboolean xret = (jboolean) ((TTQHeader*) 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(); + jboolean xret = (jboolean) ((TTQHeader*) 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); + jboolean xret = (jboolean) ((TTQHeader*) QtSupport::getQt(env, obj))->isStretchEnabled((int) section); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TTQKeyEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) QtSupport::getQt(env, obj))->moveSection((int) section, (int) toIndex); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newQHeader__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHeader_newTQHeader__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHeaderJBridge()); + QtSupport::setQt(env, obj, new TQHeaderJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newQHeader__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QHeader_newTQHeader__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHeaderJBridge((int) arg1)); + 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_newQHeader__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +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 QHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHeaderJBridge((int) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHeaderJBridge((int) arg1, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newQHeader__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QHeaderJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHeaderJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHeader_newQHeader__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHeaderJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHeaderJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -745,284 +745,284 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QHeader_offset(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHeader*) QtSupport::getQt(env, obj))->offset(); + jint xret = (jint) ((TTQHeader*) 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(); + jint xret = (jint) ((TTQHeader*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSectionLabel(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSectionLabel((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSectionLabel((TTQPainter*) QtSupport::getQt(env, p), (int) index, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, fr)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_paintSection(JNIEnv* env, jobject obj, jobject p, jint index, jobject fr) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSection((TQPainter*) QtSupport::getQt(env, p), (int) index, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, fr)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_paintSection((TTQPainter*) QtSupport::getQt(env, p), (int) index, (const TTQRect&)*(const TTQRect*) 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); + ((TTQHeader*) QtSupport::getQt(env, obj))->removeLabel((int) section); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQHeader*) 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(((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_sRect((int) index)), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_sRect((int) index)), "org.kde.qt.TTQRect", 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); + jint xret = (jint) ((TTQHeader*) 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); + jint xret = (jint) ((TTQHeader*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQHeader*) QtSupport::getQt(env, obj))->sectionRect((int) section)), "org.kde.qt.TTQRect", 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); + jint xret = (jint) ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) size); +static TTQString* _qstring_arg2 = 0; + ((TTQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg3 = 0; + ((TTQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg2), (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3), (int) size); +static TTQString* _qstring_arg3 = 0; + ((TTQHeader*) QtSupport::getQt(env, obj))->setLabel((int) arg1, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg2), (const TTQString&)*(TTQString*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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((Qt::Orientation) arg1); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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, (Qt::SortOrder) order); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) 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); + ((TTQHeader*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QHeaderJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQHeaderJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQHeader*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQHeader*) 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(); + jint xret = (jint) ((TTQHeader*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHeaderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQHeader*) QtSupport::getQt(env, obj))->tracking(); return xret; } diff --git a/qtjava/javalib/qtjava/QHeader.h b/qtjava/javalib/qtjava/QHeader.h index a3f4bb9f..383cce7d 100644 --- a/qtjava/javalib/qtjava/QHeader.h +++ b/qtjava/javalib/qtjava/QHeader.h @@ -12,12 +12,12 @@ extern "C" 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_newQHeader__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newQHeader__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newQHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newQHeader__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newQHeader__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHeader_newQHeader__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QHebrewCodec.cpp b/qtjava/javalib/qtjava/QHebrewCodec.cpp index 4d02809f..b6853d98 100644 --- a/qtjava/javalib/qtjava/QHebrewCodec.cpp +++ b/qtjava/javalib/qtjava/QHebrewCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QHebrewCodecJBridge : public QHebrewCodec +class TQHebrewCodecJBridge : public TQHebrewCodec { public: - QHebrewCodecJBridge() : TQHebrewCodec() {}; - ~QHebrewCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQHebrewCodecJBridge() : TTQHebrewCodec() {}; + ~TQHebrewCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHebrewCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHebrewCodec*)QtSupport::getQt(env, obj); + delete (TTQHebrewCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,19 +33,19 @@ Java_org_kde_qt_QHebrewCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQHebrewCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQHebrewCodec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); return xret; } @@ -58,7 +58,7 @@ Java_org_kde_qt_QHebrewCodec_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QHebrewCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQHebrewCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -66,7 +66,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQHebrewCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -74,15 +74,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHebrewCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQHebrewCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QHebrewCodec_newQHebrewCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHebrewCodec_newTQHebrewCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHebrewCodecJBridge()); + QtSupport::setQt(env, obj, new TQHebrewCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -91,9 +91,9 @@ Java_org_kde_qt_QHebrewCodec_newQHebrewCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQHebrewCodec*) 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 index c831275e..22e56f0d 100644 --- a/qtjava/javalib/qtjava/QHebrewCodec.h +++ b/qtjava/javalib/qtjava/QHebrewCodec.h @@ -16,7 +16,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QHebrewCodec_mimeName (JNIEnv * 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_newQHebrewCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QHideEvent.cpp b/qtjava/javalib/qtjava/QHideEvent.cpp index 03f4737e..b22b0a17 100644 --- a/qtjava/javalib/qtjava/QHideEvent.cpp +++ b/qtjava/javalib/qtjava/QHideEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QHideEventJBridge : public QHideEvent +class TQHideEventJBridge : public TQHideEvent { public: - QHideEventJBridge() : TQHideEvent() {}; - ~QHideEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQHideEventJBridge() : TTQHideEvent() {}; + ~TQHideEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHideEvent*)QtSupport::getQt(env, obj); + delete (TTQHideEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QHideEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QHideEvent_newQHideEvent(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHideEvent_newTQHideEvent(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHideEventJBridge()); + 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 index 198e67eb..ccfeb444 100644 --- a/qtjava/javalib/qtjava/QHideEvent.h +++ b/qtjava/javalib/qtjava/QHideEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHideEvent_newQHideEvent (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QHostAddress.cpp b/qtjava/javalib/qtjava/QHostAddress.cpp index 8a9f66a1..33d4ea89 100644 --- a/qtjava/javalib/qtjava/QHostAddress.cpp +++ b/qtjava/javalib/qtjava/QHostAddress.cpp @@ -4,17 +4,17 @@ #include #include -#include +#include -class QHostAddressJBridge : public QHostAddress +class TQHostAddressJBridge : public TQHostAddress { public: - QHostAddressJBridge() : TQHostAddress() {}; - QHostAddressJBridge(Q_UINT32 arg1) : TQHostAddress(arg1) {}; - QHostAddressJBridge(Q_UINT8* arg1) : TQHostAddress(arg1) {}; - QHostAddressJBridge(const TQString& arg1) : TQHostAddress(arg1) {}; - QHostAddressJBridge(const TQHostAddress& arg1) : TQHostAddress(arg1) {}; - ~QHostAddressJBridge() {QtSupport::qtKeyDeleted(this);} + TQHostAddressJBridge() : TTQHostAddress() {}; + TQHostAddressJBridge(Q_UINT32 arg1) : TTQHostAddress(arg1) {}; + TQHostAddressJBridge(Q_UINT8* arg1) : TTQHostAddress(arg1) {}; + TQHostAddressJBridge(const TTQString& arg1) : TTQHostAddress(arg1) {}; + TQHostAddressJBridge(const TTQHostAddress& arg1) : TTQHostAddress(arg1) {}; + ~TQHostAddressJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -28,7 +28,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHostAddress*)QtSupport::getQt(env, obj); + delete (TTQHostAddress*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,7 +37,7 @@ Java_org_kde_qt_QHostAddress_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QHostAddress_ip4Addr(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHostAddress*) QtSupport::getQt(env, obj))->ip4Addr(); + jint xret = (jint) ((TTQHostAddress*) QtSupport::getQt(env, obj))->ip4Addr(); return xret; } @@ -50,77 +50,77 @@ Java_org_kde_qt_QHostAddress_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QHostAddress_isIPv4Address(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQHostAddress*) QtSupport::getQt(env, obj))->isIPv4Address(); + jboolean xret = (jboolean) ((TTQHostAddress*) 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(); + jboolean xret = (jboolean) ((TTQHostAddress*) 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(); + jboolean xret = (jboolean) ((TTQHostAddress*) 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(); + jboolean xret = (jboolean) ((TTQHostAddress*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newQHostAddress__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHostAddress_newTQHostAddress__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHostAddressJBridge()); + QtSupport::setQt(env, obj, new TQHostAddressJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newQHostAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) +Java_org_kde_qt_QHostAddress_newTQHostAddress__I(JNIEnv* env, jobject obj, jint ip4Addr) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHostAddressJBridge((Q_UINT32) ip4Addr)); + 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_newQHostAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) +Java_org_kde_qt_QHostAddress_newTQHostAddress__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address) { -static TQString* _qstring_address = 0; +static TTQString* _qstring_address = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHostAddressJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, address, &_qstring_address))); + QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, address, &_qstring_address))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newQHostAddress__Lorg_kde_qt_QHostAddress_2(JNIEnv* env, jobject obj, jobject arg1) +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 QHostAddressJBridge((const TQHostAddress&)*(const TQHostAddress*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQHostAddressJBridge((const TTQHostAddress&)*(const TTQHostAddress*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHostAddress_newQHostAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) +Java_org_kde_qt_QHostAddress_newTQHostAddress__S(JNIEnv* env, jobject obj, jshort ip6Addr) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHostAddressJBridge((Q_UINT8*) ip6Addr)); + QtSupport::setQt(env, obj, new TQHostAddressJBridge((Q_UINT8*) ip6Addr)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -129,44 +129,44 @@ Java_org_kde_qt_QHostAddress_newQHostAddress__S(JNIEnv* env, jobject obj, jshort 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)); + jboolean xret = (jboolean) ((TTQHostAddress*) QtSupport::getQt(env, obj))->operator==((const TTQHostAddress&)*(const TTQHostAddress*) 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); + ((TTQHostAddress*) 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::toQString(env, address, &_qstring_address)); +static TTQString* _qstring_address = 0; + jboolean xret = (jboolean) ((TTQHostAddress*) QtSupport::getQt(env, obj))->setAddress((const TTQString&)*(TTQString*) 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); + ((TTQHostAddress*) 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(); + jint xret = (jint) ((TTQHostAddress*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHostAddress*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QHostAddress.h b/qtjava/javalib/qtjava/QHostAddress.h index 6c8aaf9a..3752497c 100644 --- a/qtjava/javalib/qtjava/QHostAddress.h +++ b/qtjava/javalib/qtjava/QHostAddress.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newQHostAddress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newQHostAddress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newQHostAddress__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newQHostAddress__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHostAddress_newQHostAddress__Lorg_kde_qt_QHostAddress_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QHttp.cpp b/qtjava/javalib/qtjava/QHttp.cpp index b6a7212c..03d6c50e 100644 --- a/qtjava/javalib/qtjava/QHttp.cpp +++ b/qtjava/javalib/qtjava/QHttp.cpp @@ -5,125 +5,125 @@ #include #include -#include +#include -class QHttpJBridge : public QHttp +class TQHttpJBridge : public TQHttp { public: - QHttpJBridge() : TQHttp() {}; - QHttpJBridge(TQObject* arg1,const char* arg2) : TQHttp(arg1,arg2) {}; - QHttpJBridge(TQObject* arg1) : TQHttp(arg1) {}; - QHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3,const char* arg4) : TQHttp(arg1,arg2,arg3,arg4) {}; - QHttpJBridge(const TQString& arg1,Q_UINT16 arg2,TQObject* arg3) : TQHttp(arg1,arg2,arg3) {}; - QHttpJBridge(const TQString& arg1,Q_UINT16 arg2) : TQHttp(arg1,arg2) {}; - QHttpJBridge(const TQString& arg1) : TQHttp(arg1) {}; - void protected_operationGet(TQNetworkOperation* arg1) { - TQHttp::operationGet(arg1); + TQHttpJBridge() : TTQHttp() {}; + TQHttpJBridge(TTQObject* arg1,const char* arg2) : TTQHttp(arg1,arg2) {}; + TQHttpJBridge(TTQObject* arg1) : TTQHttp(arg1) {}; + TQHttpJBridge(const TTQString& arg1,Q_UINT16 arg2,TTQObject* arg3,const char* arg4) : TTQHttp(arg1,arg2,arg3,arg4) {}; + TQHttpJBridge(const TTQString& arg1,Q_UINT16 arg2,TTQObject* arg3) : TTQHttp(arg1,arg2,arg3) {}; + TQHttpJBridge(const TTQString& arg1,Q_UINT16 arg2) : TTQHttp(arg1,arg2) {}; + TQHttpJBridge(const TTQString& arg1) : TTQHttp(arg1) {}; + void protected_operationGet(TTQNetworkOperation* arg1) { + TTQHttp::operationGet(arg1); return; } - void protected_operationPut(TQNetworkOperation* arg1) { - TQHttp::operationPut(arg1); + void protected_operationPut(TTQNetworkOperation* arg1) { + TTQHttp::operationPut(arg1); return; } - void protected_timerEvent(TQTimerEvent* arg1) { - TQHttp::timerEvent(arg1); + void protected_timerEvent(TTQTimerEvent* arg1) { + TTQHttp::timerEvent(arg1); return; } - ~QHttpJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRename(arg1); + ~TQHttpJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationRename(arg1); } return; } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); + void operationPutChunk(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationPutChunk(arg1); } return; } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); + void processOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::processOperation(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationListChildren(arg1); + void operationListChildren(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationListChildren(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRemove(arg1); + void operationRemove(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationRemove(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQHttp::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQHttp::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); + void addOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::addOperation(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHttp","clearOperationQueue")) { + TTQNetworkProtocol::clearOperationQueue(); } return; } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationMkDir(arg1); + void operationMkDir(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationMkDir(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQHttp",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQHttp",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQHttp","stop")) { - TQNetworkProtocol::stop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQHttp","stop")) { + TTQNetworkProtocol::stop(); } return; } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); + void setUrl(TTQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TTQUrlOperator")) { + TTQNetworkProtocol::setUrl(arg1); } return; } @@ -132,14 +132,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_abort(JNIEnv* env, jobject obj) { - ((TQHttp*) QtSupport::getQt(env, obj))->abort(); + ((TTQHttp*) 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(); + jlong xret = (jlong) ((TTQHttp*) QtSupport::getQt(env, obj))->bytesAvailable(); return xret; } @@ -147,49 +147,49 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQHttp*) 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(); + ((TTQHttp*) 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(); + jint xret = (jint) ((TTQHttp*) 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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHttp*) 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(); + jint xret = (jint) ((TTQHttp*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHttpRequestHeader(((TTQHttp*) QtSupport::getQt(env, obj))->currentRequest()), "org.kde.qt.TTQHttpRequestHeader", 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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHttp*) QtSupport::getQt(env, obj))->currentSourceDevice(), "org.kde.qt.TQIODeviceInterface"); return xret; } @@ -203,23 +203,23 @@ Java_org_kde_qt_QHttp_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QHttp_errorString(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQHttp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttp*) 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(); + jint xret = (jint) ((TTQHttp*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQHttp*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQHttp*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -228,31 +228,31 @@ Java_org_kde_qt_QHttp_finalize(JNIEnv* env, jobject obj) 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->get((const TTQString&)*(TTQString*) 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::toQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, to)); +static TTQString* _qstring_path = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->get((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQHttp*) 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->head((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path)); return xret; } @@ -265,81 +265,81 @@ Java_org_kde_qt_QHttp_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQHttp*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newQHttp__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHttp_newTQHttp__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge()); + QtSupport::setQt(env, obj, new TQHttpJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) { -static TQString* _qstring_hostname = 0; +static TTQString* _qstring_hostname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, hostname, &_qstring_hostname))); + QtSupport::setQt(env, obj, new TQHttpJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) +Java_org_kde_qt_QHttp_newTQHttp__Ljava_lang_String_2S(JNIEnv* env, jobject obj, jstring hostname, jshort port) { -static TQString* _qstring_hostname = 0; +static TTQString* _qstring_hostname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port)); + QtSupport::setQt(env, obj, new TQHttpJBridge((const TTQString&)*(TTQString*) 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_newQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent) +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; +static TTQString* _qstring_hostname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHttpJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname, jshort port, jobject parent, jstring name) +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; +static TTQString* _qstring_hostname = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHttpJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname), (Q_UINT16) port, (TTQObject*) QtSupport::getQt(env, 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_newQHttp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QHttpJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQHttpJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttp_newQHttp__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQHttpJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -348,162 +348,162 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationGet(JNIEnv* env, jobject obj, jobject op) { - ((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_operationPut(JNIEnv* env, jobject obj, jobject op) { - ((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TTQNetworkOperation*) 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::toQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data)); +static TTQString* _qstring_path = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->post((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (TTQIODevice*) 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::toQString(env, path, &_qstring_path), (TQIODevice*) QtSupport::getQt(env, data), (TQIODevice*) QtSupport::getQt(env, to)); +static TTQString* _qstring_path = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->post((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (TTQIODevice*) QtSupport::getQt(env, data), (TTQIODevice*) 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::toQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); +static TTQString* _qstring_path = 0; +static TTQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->post((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TTQByteArray&)*(TTQByteArray*) 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::toQString(env, path, &_qstring_path), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); +static TTQString* _qstring_path = 0; +static TTQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->post((const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TTQIODevice*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQHttp*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQHttp*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQHttp*) 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)); + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->request((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) 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)); + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->request((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header), (TTQIODevice*) 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)); + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->request((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header), (TTQIODevice*) QtSupport::getQt(env, device), (TTQIODevice*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->request((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header), (const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, data, &_qbyteArray_data), (TQIODevice*) QtSupport::getQt(env, to)); +static TTQByteArray* _qbyteArray_data = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->request((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TTQIODevice*) 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::toQString(env, hostname, &_qstring_hostname)); +static TTQString* _qstring_hostname = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->setHost((const TTQString&)*(TTQString*) 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::toQString(env, hostname, &_qstring_hostname), (Q_UINT16) port); +static TTQString* _qstring_hostname = 0; + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->setHost((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQHttp*) 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(); + jint xret = (jint) ((TTQHttp*) QtSupport::getQt(env, obj))->supportedOperations(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_timerEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QHttpJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + ((TQHttpJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QHttpJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 939a28b0..ab475917 100644 --- a/qtjava/javalib/qtjava/QHttp.h +++ b/qtjava/javalib/qtjava/QHttp.h @@ -12,13 +12,13 @@ extern "C" 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_newQHttp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newQHttp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newQHttp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newQHttp__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_newQHttp__Ljava_lang_String_2SLorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jshort, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2S (JNIEnv *env, jobject, jstring, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttp_newQHttp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QHttpHeader.cpp b/qtjava/javalib/qtjava/QHttpHeader.cpp index f422d93d..b9db0a7d 100644 --- a/qtjava/javalib/qtjava/QHttpHeader.cpp +++ b/qtjava/javalib/qtjava/QHttpHeader.cpp @@ -4,120 +4,120 @@ #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(); + jint xret = (jint) ((TTQHttpHeader*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpHeader*) 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(); + jboolean xret = (jboolean) ((TTQHttpHeader*) 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(); + jboolean xret = (jboolean) ((TTQHttpHeader*) 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::toQString(env, key, &_qstring_key)); +static TTQString* _qstring_key = 0; + jboolean xret = (jboolean) ((TTQHttpHeader*) QtSupport::getQt(env, obj))->hasKey((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQHttpHeader*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQHttpHeader*) QtSupport::getQt(env, obj))->keys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpHeader_majorVersion(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHttpHeader*) QtSupport::getQt(env, obj))->majorVersion(); + jint xret = (jint) ((TTQHttpHeader*) 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(); + jint xret = (jint) ((TTQHttpHeader*) 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::toQString(env, key, &_qstring_key)); +static TTQString* _qstring_key = 0; + ((TTQHttpHeader*) QtSupport::getQt(env, obj))->removeValue((const TTQString&)*(TTQString*) 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); + ((TTQHttpHeader*) 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::toQString(env, type, &_qstring_type)); +static TTQString* _qstring_type = 0; + ((TTQHttpHeader*) QtSupport::getQt(env, obj))->setContentType((const TTQString&)*(TTQString*) 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::toQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_key = 0; +static TTQString* _qstring_value = 0; + ((TTQHttpHeader*) QtSupport::getQt(env, obj))->setValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpHeader*) 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::toQString(env, key, &_qstring_key)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_key = 0; + _qstring = ((TTQHttpHeader*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key)); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp index b25ef1a4..c9c870be 100644 --- a/qtjava/javalib/qtjava/QHttpRequestHeader.cpp +++ b/qtjava/javalib/qtjava/QHttpRequestHeader.cpp @@ -3,21 +3,21 @@ #include #include -#include +#include -class QHttpRequestHeaderJBridge : public QHttpRequestHeader +class TQHttpRequestHeaderJBridge : public TQHttpRequestHeader { public: - QHttpRequestHeaderJBridge() : TQHttpRequestHeader() {}; - QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; - QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQHttpRequestHeader(arg1,arg2,arg3) {}; - QHttpRequestHeaderJBridge(const TQString& arg1,const TQString& arg2) : TQHttpRequestHeader(arg1,arg2) {}; - QHttpRequestHeaderJBridge(const TQHttpRequestHeader& arg1) : TQHttpRequestHeader(arg1) {}; - QHttpRequestHeaderJBridge(const TQString& arg1) : TQHttpRequestHeader(arg1) {}; - bool protected_parseLine(const TQString& arg1,int arg2) { - return (bool) TQHttpRequestHeader::parseLine(arg1,arg2); + TQHttpRequestHeaderJBridge() : TTQHttpRequestHeader() {}; + TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,int arg4) : TTQHttpRequestHeader(arg1,arg2,arg3,arg4) {}; + TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2,int arg3) : TTQHttpRequestHeader(arg1,arg2,arg3) {}; + TQHttpRequestHeaderJBridge(const TTQString& arg1,const TTQString& arg2) : TTQHttpRequestHeader(arg1,arg2) {}; + TQHttpRequestHeaderJBridge(const TTQHttpRequestHeader& arg1) : TTQHttpRequestHeader(arg1) {}; + TQHttpRequestHeaderJBridge(const TTQString& arg1) : TTQHttpRequestHeader(arg1) {}; + bool protected_parseLine(const TTQString& arg1,int arg2) { + return (bool) TTQHttpRequestHeader::parseLine(arg1,arg2); } - ~QHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQHttpRequestHeaderJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHttpRequestHeader*)QtSupport::getQt(env, obj); + delete (TTQHttpRequestHeader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -46,87 +46,87 @@ Java_org_kde_qt_QHttpRequestHeader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpRequestHeader_majorVersion(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHttpRequestHeader*) QtSupport::getQt(env, obj))->majorVersion(); + jint xret = (jint) ((TTQHttpRequestHeader*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpRequestHeader*) 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(); + jint xret = (jint) ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->minorVersion(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge()); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) +Java_org_kde_qt_QHttpRequestHeader_newTQHttpRequestHeader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) { -static TQString* _qstring_str = 0; +static TTQString* _qstring_str = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring method, jstring path) +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; +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, path, &_qstring_path))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer) +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; +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer)); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) 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_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring method, jstring path, jint majorVer, jint minorVer) +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; +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpRequestHeaderJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer)); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) 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_newQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2(JNIEnv* env, jobject obj, jobject header) +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 QHttpRequestHeaderJBridge((const TQHttpRequestHeader&)*(const TQHttpRequestHeader*) QtSupport::getQt(env, header))); + QtSupport::setQt(env, obj, new TQHttpRequestHeaderJBridge((const TTQHttpRequestHeader&)*(const TTQHttpRequestHeader*) QtSupport::getQt(env, header))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -135,51 +135,51 @@ Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Lorg_kde_qt_QHttpReque 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) ((QHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toQString(env, line, &_qstring_line), (int) number); +static TTQString* _qstring_line = 0; + jboolean xret = (jboolean) ((TQHttpRequestHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpRequestHeader*) 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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; + ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) 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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer); +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; + ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) 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::toQString(env, method, &_qstring_method), (const TQString&)*(TQString*) QtSupport::toQString(env, path, &_qstring_path), (int) majorVer, (int) minorVer); +static TTQString* _qstring_method = 0; +static TTQString* _qstring_path = 0; + ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->setRequest((const TTQString&)*(TTQString*) QtSupport::toTQString(env, method, &_qstring_method), (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpRequestHeader*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QHttpRequestHeader.h b/qtjava/javalib/qtjava/QHttpRequestHeader.h index b0199853..dafdbd76 100644 --- a/qtjava/javalib/qtjava/QHttpRequestHeader.h +++ b/qtjava/javalib/qtjava/QHttpRequestHeader.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Lorg_kde_qt_QHttpRequestHeader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpRequestHeader_newQHttpRequestHeader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QHttpResponseHeader.cpp b/qtjava/javalib/qtjava/QHttpResponseHeader.cpp index 6ea0853f..a0c226fd 100644 --- a/qtjava/javalib/qtjava/QHttpResponseHeader.cpp +++ b/qtjava/javalib/qtjava/QHttpResponseHeader.cpp @@ -3,17 +3,17 @@ #include #include -#include +#include -class QHttpResponseHeaderJBridge : public QHttpResponseHeader +class TQHttpResponseHeaderJBridge : public TQHttpResponseHeader { public: - QHttpResponseHeaderJBridge() : TQHttpResponseHeader() {}; - QHttpResponseHeaderJBridge(const TQHttpResponseHeader& arg1) : TQHttpResponseHeader(arg1) {}; - bool protected_parseLine(const TQString& arg1,int arg2) { - return (bool) TQHttpResponseHeader::parseLine(arg1,arg2); + TQHttpResponseHeaderJBridge() : TTQHttpResponseHeader() {}; + TQHttpResponseHeaderJBridge(const TTQHttpResponseHeader& arg1) : TTQHttpResponseHeader(arg1) {}; + bool protected_parseLine(const TTQString& arg1,int arg2) { + return (bool) TTQHttpResponseHeader::parseLine(arg1,arg2); } - ~QHttpResponseHeaderJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQHttpResponseHeaderJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -27,7 +27,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQHttpResponseHeader*)QtSupport::getQt(env, obj); + delete (TTQHttpResponseHeader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,32 +42,32 @@ Java_org_kde_qt_QHttpResponseHeader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QHttpResponseHeader_majorVersion(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQHttpResponseHeader*) QtSupport::getQt(env, obj))->majorVersion(); + jint xret = (jint) ((TTQHttpResponseHeader*) 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(); + jint xret = (jint) ((TTQHttpResponseHeader*) QtSupport::getQt(env, obj))->minorVersion(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_newQHttpResponseHeader__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QHttpResponseHeader_newTQHttpResponseHeader__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QHttpResponseHeaderJBridge()); + QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QHttpResponseHeader_newQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2(JNIEnv* env, jobject obj, jobject header) +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 QHttpResponseHeaderJBridge((const TQHttpResponseHeader&)*(const TQHttpResponseHeader*) QtSupport::getQt(env, header))); + QtSupport::setQt(env, obj, new TQHttpResponseHeaderJBridge((const TTQHttpResponseHeader&)*(const TTQHttpResponseHeader*) QtSupport::getQt(env, header))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -76,31 +76,31 @@ Java_org_kde_qt_QHttpResponseHeader_newQHttpResponseHeader__Lorg_kde_qt_QHttpRes 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) ((QHttpResponseHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TQString&)*(TQString*) QtSupport::toQString(env, line, &_qstring_line), (int) number); +static TTQString* _qstring_line = 0; + jboolean xret = (jboolean) ((TQHttpResponseHeaderJBridge*) QtSupport::getQt(env, obj))->protected_parseLine((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpResponseHeader*) 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(); + jint xret = (jint) ((TTQHttpResponseHeader*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQHttpResponseHeader*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QHttpResponseHeader.h b/qtjava/javalib/qtjava/QHttpResponseHeader.h index 251d7d13..a0e3e874 100644 --- a/qtjava/javalib/qtjava/QHttpResponseHeader.h +++ b/qtjava/javalib/qtjava/QHttpResponseHeader.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newQHttpResponseHeader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QHttpResponseHeader_newQHttpResponseHeader__Lorg_kde_qt_QHttpResponseHeader_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QIMEvent.cpp b/qtjava/javalib/qtjava/QIMEvent.cpp index 9d4f2e82..6cd08522 100644 --- a/qtjava/javalib/qtjava/QIMEvent.cpp +++ b/qtjava/javalib/qtjava/QIMEvent.cpp @@ -3,26 +3,26 @@ #include #include -#include +#include -class QIMEventJBridge : public QIMEvent +class TQIMEventJBridge : public TQIMEvent { public: - QIMEventJBridge(TQEvent::Type arg1,const TQString& arg2,int arg3) : TQIMEvent(arg1,arg2,arg3) {}; - ~QIMEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQIMEventJBridge(TTQEvent::Type arg1,const TTQString& arg2,int arg3) : TTQIMEvent(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(); + ((TTQIMEvent*) 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(); + jint xret = (jint) ((TTQIMEvent*) QtSupport::getQt(env, obj))->cursorPos(); return xret; } @@ -37,7 +37,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIMEvent*)QtSupport::getQt(env, obj); + delete (TTQIMEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -46,14 +46,14 @@ Java_org_kde_qt_QIMEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_ignore(JNIEnv* env, jobject obj) { - ((TQIMEvent*) QtSupport::getQt(env, obj))->ignore(); + ((TTQIMEvent*) 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(); + jboolean xret = (jboolean) ((TTQIMEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -64,11 +64,11 @@ Java_org_kde_qt_QIMEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QIMEvent_newQIMEvent(JNIEnv* env, jobject obj, jint type, jstring text, jint cursorPosition) +Java_org_kde_qt_QIMEvent_newTQIMEvent(JNIEnv* env, jobject obj, jint type, jstring text, jint cursorPosition) { -static TQString* _qstring_text = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIMEventJBridge((TQEvent::Type) type, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) cursorPosition)); + QtSupport::setQt(env, obj, new TQIMEventJBridge((TTQEvent::Type) type, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) cursorPosition)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -77,15 +77,15 @@ static TQString* _qstring_text = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QIMEvent_selectionLength(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIMEvent*) QtSupport::getQt(env, obj))->selectionLength(); + jint xret = (jint) ((TTQIMEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQIMEvent*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QIMEvent.h b/qtjava/javalib/qtjava/QIMEvent.h index 870c1832..17971a80 100644 --- a/qtjava/javalib/qtjava/QIMEvent.h +++ b/qtjava/javalib/qtjava/QIMEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIMEvent_newQIMEvent (JNIEnv *env, jobject, jint, jstring, jint); +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); diff --git a/qtjava/javalib/qtjava/QIODevice.cpp b/qtjava/javalib/qtjava/QIODevice.cpp index e88e477b..d7d337ca 100644 --- a/qtjava/javalib/qtjava/QIODevice.cpp +++ b/qtjava/javalib/qtjava/QIODevice.cpp @@ -4,251 +4,251 @@ #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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jlong xret = (jlong) ((TTQIODevice*) 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); + jboolean xret = (jboolean) ((TTQIODevice*) QtSupport::getQt(env, obj))->at((TTQIODevice::Offset) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIODevice_close(JNIEnv* env, jobject obj) { - ((TQIODevice*) QtSupport::getQt(env, obj))->close(); + ((TTQIODevice*) 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(); + jint xret = (jint) ((TTQIODevice*) 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(); + ((TTQIODevice*) 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(); + jint xret = (jint) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jint xret = (jint) ((TTQIODevice*) 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); + jboolean xret = (jboolean) ((TTQIODevice*) 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); + jint xret = (jint) ((TTQIODevice*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQIODevice*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQIODevice*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQIODevice*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQIODevice*) 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(); + ((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*) 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(); + jlong xret = (jlong) ((TTQIODevice*) 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(); + jint xret = (jint) ((TTQIODevice*) 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(); + jint xret = (jint) ((TTQIODevice*) 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); + jint xret = (jint) ((TTQIODevice*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQIODevice*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TTQIODevice*) QtSupport::getQt(env, obj))->writeBlock((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); return xret; } diff --git a/qtjava/javalib/qtjava/QIODeviceSource.cpp b/qtjava/javalib/qtjava/QIODeviceSource.cpp index 68415916..f93b6779 100644 --- a/qtjava/javalib/qtjava/QIODeviceSource.cpp +++ b/qtjava/javalib/qtjava/QIODeviceSource.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QIODeviceSourceJBridge : public QIODeviceSource +class TQIODeviceSourceJBridge : public TQIODeviceSource { public: - QIODeviceSourceJBridge(TQIODevice* arg1,int arg2) : TQIODeviceSource(arg1,arg2) {}; - QIODeviceSourceJBridge(TQIODevice* arg1) : TQIODeviceSource(arg1) {}; - ~QIODeviceSourceJBridge() {QtSupport::qtKeyDeleted(this);} + TQIODeviceSourceJBridge(TTQIODevice* arg1,int arg2) : TTQIODeviceSource(arg1,arg2) {}; + TQIODeviceSourceJBridge(TTQIODevice* arg1) : TTQIODeviceSource(arg1) {}; + ~TQIODeviceSourceJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ Java_org_kde_qt_QIODeviceSource_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_enableRewind(JNIEnv* env, jobject obj, jboolean on) { - ((TQIODeviceSource*) QtSupport::getQt(env, obj))->enableRewind((bool) on); + ((TTQIODeviceSource*) QtSupport::getQt(env, obj))->enableRewind((bool) on); return; } @@ -30,7 +30,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIODeviceSource*)QtSupport::getQt(env, obj); + delete (TTQIODeviceSource*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -43,20 +43,20 @@ Java_org_kde_qt_QIODeviceSource_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_newQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +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 QIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TTQIODevice*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIODeviceSource_newQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) +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 QIODeviceSourceJBridge((TQIODevice*) QtSupport::getQt(env, arg1), (int) bufsize)); + QtSupport::setQt(env, obj, new TQIODeviceSourceJBridge((TTQIODevice*) QtSupport::getQt(env, arg1), (int) bufsize)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -65,28 +65,28 @@ Java_org_kde_qt_QIODeviceSource_newQIODeviceSource__Lorg_kde_qt_QIODeviceInterfa JNIEXPORT jint JNICALL Java_org_kde_qt_QIODeviceSource_readyToSend(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIODeviceSource*) QtSupport::getQt(env, obj))->readyToSend(); + jint xret = (jint) ((TTQIODeviceSource*) 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(); + ((TTQIODeviceSource*) 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(); + jboolean xret = (jboolean) ((TTQIODeviceSource*) 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); + ((TTQIODeviceSource*) QtSupport::getQt(env, obj))->sendTo((TTQDataSink*) QtSupport::getQt(env, sink), (int) n); return; } diff --git a/qtjava/javalib/qtjava/QIODeviceSource.h b/qtjava/javalib/qtjava/QIODeviceSource.h index 0088f90c..4b895d39 100644 --- a/qtjava/javalib/qtjava/QIODeviceSource.h +++ b/qtjava/javalib/qtjava/QIODeviceSource.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIODeviceSource_newQIODeviceSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QIconDrag.cpp b/qtjava/javalib/qtjava/QIconDrag.cpp index e704e640..efddc870 100644 --- a/qtjava/javalib/qtjava/QIconDrag.cpp +++ b/qtjava/javalib/qtjava/QIconDrag.cpp @@ -5,47 +5,47 @@ #include #include -#include +#include -class QIconDragJBridge : public QIconDrag +class TQIconDragJBridge : public TQIconDrag { public: - QIconDragJBridge(TQWidget* arg1,const char* arg2) : TQIconDrag(arg1,arg2) {}; - QIconDragJBridge(TQWidget* arg1) : TQIconDrag(arg1) {}; - ~QIconDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQIconDragJBridge(TTQWidget* arg1,const char* arg2) : TTQIconDrag(arg1,arg2) {}; + TQIconDragJBridge(TTQWidget* arg1) : TTQIconDrag(arg1) {}; + ~TQIconDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQIconDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQIconDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -55,7 +55,7 @@ public: 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)); + ((TTQIconDrag*) QtSupport::getQt(env, obj))->append((const TTQIconDragItem&)*(const TTQIconDragItem*) QtSupport::getQt(env, item), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, pr), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, tr)); return; } @@ -63,7 +63,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconDrag_canDecode(JNIEnv* env, jclass cls, jobject e) { (void) cls; - jboolean xret = (jboolean) QIconDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, e)); + jboolean xret = (jboolean) TQIconDragJBridge::canDecode((TTQMimeSource*) QtSupport::mimeSource(env, e)); return xret; } @@ -71,7 +71,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQIconDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQIconDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -85,17 +85,17 @@ Java_org_kde_qt_QIconDrag_dispose(JNIEnv* env, jobject obj) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_mime = 0; + _qbyteArray = ((TTQIconDrag*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQIconDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQIconDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -105,7 +105,7 @@ 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); + _qstring = ((TTQIconDrag*) QtSupport::getQt(env, obj))->format((int) i); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -118,26 +118,26 @@ Java_org_kde_qt_QIconDrag_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_newQIconDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +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 QIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQIconDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDrag_newQIconDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQIconDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -146,21 +146,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconDrag_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QIconDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 0ad7128e..bb54c434 100644 --- a/qtjava/javalib/qtjava/QIconDrag.h +++ b/qtjava/javalib/qtjava/QIconDrag.h @@ -12,8 +12,8 @@ extern "C" 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_newQIconDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDrag_newQIconDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QIconDragItem.cpp b/qtjava/javalib/qtjava/QIconDragItem.cpp index 2cc3f081..93238e66 100644 --- a/qtjava/javalib/qtjava/QIconDragItem.cpp +++ b/qtjava/javalib/qtjava/QIconDragItem.cpp @@ -3,21 +3,21 @@ #include #include -#include +#include -class QIconDragItemJBridge : public QIconDragItem +class TQIconDragItemJBridge : public TQIconDragItem { public: - QIconDragItemJBridge() : TQIconDragItem() {}; - ~QIconDragItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQIconDragItemJBridge() : TTQIconDragItem() {}; + ~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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQIconDragItem*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT void JNICALL @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIconDragItem*)QtSupport::getQt(env, obj); + delete (TTQIconDragItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -44,10 +44,10 @@ Java_org_kde_qt_QIconDragItem_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconDragItem_newQIconDragItem(JNIEnv* env, jobject obj) +Java_org_kde_qt_QIconDragItem_newTQIconDragItem(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconDragItemJBridge()); + QtSupport::setQt(env, obj, new TQIconDragItemJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -56,15 +56,15 @@ Java_org_kde_qt_QIconDragItem_newQIconDragItem(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQIconDragItem*) QtSupport::getQt(env, obj))->operator==((const TTQIconDragItem&)*(const TTQIconDragItem*) 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::toQByteArray(env, d, &_qbyteArray_d)); +static TTQByteArray* _qbyteArray_d = 0; + ((TTQIconDragItem*) QtSupport::getQt(env, obj))->setData((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, d, &_qbyteArray_d)); return; } diff --git a/qtjava/javalib/qtjava/QIconDragItem.h b/qtjava/javalib/qtjava/QIconDragItem.h index 34687417..3b36034a 100644 --- a/qtjava/javalib/qtjava/QIconDragItem.h +++ b/qtjava/javalib/qtjava/QIconDragItem.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconDragItem_newQIconDragItem (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QIconSet.cpp b/qtjava/javalib/qtjava/QIconSet.cpp index bafa89c3..ec60588c 100644 --- a/qtjava/javalib/qtjava/QIconSet.cpp +++ b/qtjava/javalib/qtjava/QIconSet.cpp @@ -5,30 +5,30 @@ #include #include -#include +#include -class QIconSetJBridge : public QIconSet +class TQIconSetJBridge : public TQIconSet { public: - QIconSetJBridge() : TQIconSet() {}; - QIconSetJBridge(const TQPixmap& arg1,TQIconSet::Size arg2) : TQIconSet(arg1,arg2) {}; - QIconSetJBridge(const TQPixmap& arg1) : TQIconSet(arg1) {}; - QIconSetJBridge(const TQPixmap& arg1,const TQPixmap& arg2) : TQIconSet(arg1,arg2) {}; - QIconSetJBridge(const TQIconSet& arg1) : TQIconSet(arg1) {}; - ~QIconSetJBridge() {QtSupport::qtKeyDeleted(this);} + TQIconSetJBridge() : TTQIconSet() {}; + TQIconSetJBridge(const TTQPixmap& arg1,TTQIconSet::Size arg2) : TTQIconSet(arg1,arg2) {}; + TQIconSetJBridge(const TTQPixmap& arg1) : TTQIconSet(arg1) {}; + TQIconSetJBridge(const TTQPixmap& arg1,const TTQPixmap& arg2) : TTQIconSet(arg1,arg2) {}; + TQIconSetJBridge(const TTQIconSet& arg1) : TTQIconSet(arg1) {}; + ~TQIconSetJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_clearGenerated(JNIEnv* env, jobject obj) { - ((TQIconSet*) QtSupport::getQt(env, obj))->clearGenerated(); + ((TTQIconSet*) 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(); + ((TTQIconSet*) QtSupport::getQt(env, obj))->detach(); return; } @@ -43,7 +43,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQIconSet*)QtSupport::getQt(env, obj); + delete (TTQIconSet*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -53,7 +53,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QIconSet_iconSize(JNIEnv* env, jclass cls, jint which) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &QIconSetJBridge::iconSize((TQIconSet::Size) which), "org.kde.qt.TQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &TQIconSetJBridge::iconSize((TTQIconSet::Size) which), "org.kde.qt.TTQSize"); return xret; } @@ -66,69 +66,69 @@ Java_org_kde_qt_QIconSet_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TTQIconSet::Size) size, (TTQIconSet::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); + jboolean xret = (jboolean) ((TTQIconSet*) QtSupport::getQt(env, obj))->isGenerated((TTQIconSet::Size) size, (TTQIconSet::Mode) mode, (TTQIconSet::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(); + jboolean xret = (jboolean) ((TTQIconSet*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newQIconSet__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QIconSet_newTQIconSet__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconSetJBridge()); + QtSupport::setQt(env, obj, new TQIconSetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject other) +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 QIconSetJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +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 QIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint size) +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 QIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQIconSet::Size) size)); + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQIconSet::Size) size)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject smallPix, jobject largePix) +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 QIconSetJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, smallPix), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, largePix))); + QtSupport::setQt(env, obj, new TQIconSetJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, smallPix), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, largePix))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -137,42 +137,42 @@ Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQIconSet*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQIconSet*) QtSupport::getQt(env, obj))->pixmap((TTQIconSet::Size) size, (TTQIconSet::Mode) mode)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQIconSet*) QtSupport::getQt(env, obj))->pixmap((TTQIconSet::Size) size, (TTQIconSet::Mode) mode, (TTQIconSet::State) state)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQIconSet*) QtSupport::getQt(env, obj))->pixmap((TTQIconSet::Size) size, (bool) enabled)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQIconSet*) QtSupport::getQt(env, obj))->pixmap((TTQIconSet::Size) size, (bool) enabled, (TTQIconSet::State) state)), "org.kde.qt.TTQPixmap", 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); + ((TTQIconSet*) QtSupport::getQt(env, obj))->reset((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQIconSet::Size) size); return; } @@ -180,52 +180,52 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_setIconSize(JNIEnv* env, jclass cls, jint which, jobject size) { (void) cls; - QIconSetJBridge::setIconSize((TQIconSet::Size) which, (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); + TQIconSetJBridge::setIconSize((TTQIconSet::Size) which, (const TTQSize&)*(const TTQSize*) 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::toQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size); +static TTQString* _qstring_fileName = 0; + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TTQIconSet::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::toQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode); +static TTQString* _qstring_fileName = 0; + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TTQIconSet::Size) size, (TTQIconSet::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::toQString(env, fileName, &_qstring_fileName), (TQIconSet::Size) size, (TQIconSet::Mode) mode, (TQIconSet::State) state); +static TTQString* _qstring_fileName = 0; + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TTQIconSet::Size) size, (TTQIconSet::Mode) mode, (TTQIconSet::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); + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQIconSet::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); + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQIconSet::Size) size, (TTQIconSet::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); + ((TTQIconSet*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQIconSet::Size) size, (TTQIconSet::Mode) mode, (TTQIconSet::State) state); return; } diff --git a/qtjava/javalib/qtjava/QIconSet.h b/qtjava/javalib/qtjava/QIconSet.h index 5d80ee55..9773ceab 100644 --- a/qtjava/javalib/qtjava/QIconSet.h +++ b/qtjava/javalib/qtjava/QIconSet.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newQIconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconSet_newQIconSet__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QIconView.cpp b/qtjava/javalib/qtjava/QIconView.cpp index fd9fdd1a..c3d354ae 100644 --- a/qtjava/javalib/qtjava/QIconView.cpp +++ b/qtjava/javalib/qtjava/QIconView.cpp @@ -11,712 +11,712 @@ #include #include -#include +#include -class QIconViewJBridge : public QIconView +class TQIconViewJBridge : public TQIconView { public: - QIconViewJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQIconView(arg1,arg2,arg3) {}; - QIconViewJBridge(TQWidget* arg1,const char* arg2) : TQIconView(arg1,arg2) {}; - QIconViewJBridge(TQWidget* arg1) : TQIconView(arg1) {}; - QIconViewJBridge() : TQIconView() {}; + TQIconViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQIconView(arg1,arg2,arg3) {}; + TQIconViewJBridge(TTQWidget* arg1,const char* arg2) : TTQIconView(arg1,arg2) {}; + TQIconViewJBridge(TTQWidget* arg1) : TTQIconView(arg1) {}; + TQIconViewJBridge() : TTQIconView() {}; void public_clearSelection() { - TQIconView::clearSelection(); + TTQIconView::clearSelection(); return; } void public_invertSelection() { - TQIconView::invertSelection(); + TTQIconView::invertSelection(); return; } void public_clear() { - TQIconView::clear(); + TTQIconView::clear(); return; } void public_sort() { - TQIconView::sort(); + TTQIconView::sort(); return; } void public_arrangeItemsInGrid() { - TQIconView::arrangeItemsInGrid(); + TTQIconView::arrangeItemsInGrid(); return; } void public_updateContents() { - TQIconView::updateContents(); + TTQIconView::updateContents(); return; } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQIconView::drawContents(arg1,arg2,arg3,arg4,arg5); + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQIconView::drawContents(arg1,arg2,arg3,arg4,arg5); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQIconView::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQIconView::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQIconView::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { + TTQIconView::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQIconView::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQIconView::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQIconView::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQIconView::contentsContextMenuEvent(arg1); return; } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQIconView::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQIconView::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQIconView::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQIconView::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQIconView::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQIconView::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQIconView::contentsDropEvent(arg1); + void protected_contentsDropEvent(TTQDropEvent* arg1) { + TTQIconView::contentsDropEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQIconView::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQIconView::resizeEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQIconView::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQIconView::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQIconView::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQIconView::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQIconView::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQIconView::focusOutEvent(arg1); return; } - void protected_enterEvent(TQEvent* arg1) { - TQIconView::enterEvent(arg1); + void protected_enterEvent(TTQEvent* arg1) { + TTQIconView::enterEvent(arg1); return; } - void protected_drawRubber(TQPainter* arg1) { - TQIconView::drawRubber(arg1); + void protected_drawRubber(TTQPainter* arg1) { + TTQIconView::drawRubber(arg1); return; } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQIconView::dragObject(); + TTQDragObject* protected_dragObject() { + return (TTQDragObject*) TTQIconView::dragObject(); } void protected_startDrag() { - TQIconView::startDrag(); + TTQIconView::startDrag(); return; } - void protected_insertInGrid(TQIconViewItem* arg1) { - TQIconView::insertInGrid(arg1); + void protected_insertInGrid(TTQIconViewItem* arg1) { + TTQIconView::insertInGrid(arg1); return; } - void protected_drawBackground(TQPainter* arg1,const TQRect& arg2) { - TQIconView::drawBackground(arg1,arg2); + void protected_drawBackground(TTQPainter* arg1,const TTQRect& arg2) { + TTQIconView::drawBackground(arg1,arg2); return; } - void protected_emitSelectionChanged(TQIconViewItem* arg1) { - TQIconView::emitSelectionChanged(arg1); + void protected_emitSelectionChanged(TTQIconViewItem* arg1) { + TTQIconView::emitSelectionChanged(arg1); return; } void protected_emitSelectionChanged() { - TQIconView::emitSelectionChanged(); + TTQIconView::emitSelectionChanged(); return; } - void protected_emitRenamed(TQIconViewItem* arg1) { - TQIconView::emitRenamed(arg1); + void protected_emitRenamed(TTQIconViewItem* arg1) { + TTQIconView::emitRenamed(arg1); return; } - TQIconViewItem* protected_makeRowLayout(TQIconViewItem* arg1,int& arg2,bool& arg3) { - return (TQIconViewItem*) TQIconView::makeRowLayout(arg1,arg2,arg3); + TTQIconViewItem* protected_makeRowLayout(TTQIconViewItem* arg1,int& arg2,bool& arg3) { + return (TTQIconViewItem*) TTQIconView::makeRowLayout(arg1,arg2,arg3); } - void protected_styleChange(TQStyle& arg1) { - TQIconView::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQIconView::styleChange(arg1); return; } void protected_windowActivationChange(bool arg1) { - TQIconView::windowActivationChange(arg1); + TTQIconView::windowActivationChange(arg1); return; } void protected_doAutoScroll() { - TQIconView::doAutoScroll(); + TTQIconView::doAutoScroll(); return; } void protected_adjustItems() { - TQIconView::adjustItems(); + TTQIconView::adjustItems(); return; } void protected_slotUpdate() { - TQIconView::slotUpdate(); + TTQIconView::slotUpdate(); return; } - ~QIconViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQIconViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","doAutoScroll")) { + TTQIconView::doAutoScroll(); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQIconView::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQIconView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); + void setItemTextBackground(const TTQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TTQBrush")) { + TTQIconView::setItemTextBackground(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQIconView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQIconView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQIconView::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","slotUpdate")) { - TQIconView::slotUpdate(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","slotUpdate")) { + TTQIconView::slotUpdate(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateContents")) { - TQIconView::updateContents(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","updateContents")) { + TTQIconView::updateContents(); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::viewportResizeEvent(arg1); } return; } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQIconView::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","clear")) { - TQIconView::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","clear")) { + TTQIconView::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQIconView::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQIconView::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQIconView::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQIconView::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::takeItem(arg1); + void takeItem(TTQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TTQIconViewItem")) { + TTQIconView::takeItem(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQIconView::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); + void repaintItem(TTQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TTQIconViewItem")) { + TTQIconView::repaintItem(arg1); } return; } void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","clearSelection")) { - TQIconView::clearSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","clearSelection")) { + TTQIconView::clearSelection(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQIconView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQIconView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(arg1); + void insertInGrid(TTQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TTQIconViewItem")) { + TTQIconView::insertInGrid(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","startDrag")) { - TQIconView::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","startDrag")) { + TTQIconView::startDrag(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQIconView::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQIconView::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQIconView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQIconView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQIconView::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQIconView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","invertSelection")) { - TQIconView::invertSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","invertSelection")) { + TTQIconView::invertSelection(); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); + void drawRubber(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQIconView::drawRubber(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQIconView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); + void setCurrentItem(TTQIconViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TTQIconViewItem")) { + TTQIconView::setCurrentItem(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQIconView::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQIconView::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } void adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","adjustItems")) { - TQIconView::adjustItems(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","adjustItems")) { + TTQIconView::adjustItems(); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQIconView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQIconView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQIconView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQIconView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQIconView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQIconView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -725,49 +725,49 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_adjustItems(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_adjustItems(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_adjustItems(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); + ((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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TTQSize&)*(const TTQSize*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((const TTQSize&)*(const TTQSize*) 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); + ((TTQIconView*) 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(); + jint xret = (jint) ((TTQIconView*) 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(); + jboolean xret = (jboolean) ((TTQIconView*) QtSupport::getQt(env, obj))->autoArrange(); return xret; } @@ -775,98 +775,98 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQIconView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQIconView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clearSelection(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_clear(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQIconView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TTQIconViewItem"); return xret; } @@ -880,85 +880,85 @@ Java_org_kde_qt_QIconView_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_doAutoScroll(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); + ((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*)((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TTQDragObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawBackground(JNIEnv* env, jobject obj, jobject p, jobject r) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawBackground((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) 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) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_drawRubber(JNIEnv* env, jobject obj, jobject p) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawRubber((TQPainter*) QtSupport::getQt(env, p)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_drawRubber((TTQPainter*) QtSupport::getQt(env, p)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitRenamed(JNIEnv* env, jobject obj, jobject item) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitRenamed((TQIconViewItem*) QtSupport::getQt(env, item)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitRenamed((TTQIconViewItem*) QtSupport::getQt(env, item)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_emitSelectionChanged__(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged(); + ((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) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged((TQIconViewItem*) QtSupport::getQt(env, i)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitSelectionChanged((TTQIconViewItem*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((TTQIconViewItem*) QtSupport::getQt(env, item)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_enterEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TTQEvent*) 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)); + jboolean xret = (jboolean) ((TTQIconView*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQIconView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -967,107 +967,107 @@ Java_org_kde_qt_QIconView_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->findFirstVisibleItem((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TTQIconViewItem"); 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::toQString(env, text, &_qstring_text)), "org.kde.qt.TQIconViewItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TTQIconViewItem"); 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::toQString(env, text, &_qstring_text), (Qt::ComparisonFlags) compare), "org.kde.qt.TQIconViewItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TTQIconViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->findItem((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TTQIconViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->findLastVisibleItem((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TTQIconViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TTQIconViewItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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(); + jint xret = (jint) ((TTQIconView*) 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(); + jint xret = (jint) ((TTQIconView*) 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)); + jint xret = (jint) ((TTQIconView*) QtSupport::getQt(env, obj))->index((const TTQIconViewItem*) QtSupport::getQt(env, item)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_insertInGrid(JNIEnv* env, jobject obj, jobject item) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_insertInGrid((TQIconViewItem*) QtSupport::getQt(env, item)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_insertInGrid((TTQIconViewItem*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->insertItem((TTQIconViewItem*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->insertItem((TTQIconViewItem*) QtSupport::getQt(env, item), (TTQIconViewItem*) QtSupport::getQt(env, after)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_invertSelection(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); return; } @@ -1080,42 +1080,42 @@ Java_org_kde_qt_QIconView_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconView_isRenaming(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQIconView*) QtSupport::getQt(env, obj))->isRenaming(); + jboolean xret = (jboolean) ((TTQIconView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQIconView*) QtSupport::getQt(env, obj))->itemTextBackground()), "org.kde.qt.TTQBrush", 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(); + jint xret = (jint) ((TTQIconView*) 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(); + jboolean xret = (jboolean) ((TTQIconView*) QtSupport::getQt(env, obj))->itemsMovable(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TTQIconViewItem"); return xret; } @@ -1123,7 +1123,7 @@ 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*)((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_makeRowLayout((TQIconViewItem*) QtSupport::getQt(env, begin), (int&) *_int_y, (bool&) changed), "org.kde.qt.TQIconViewItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_makeRowLayout((TTQIconViewItem*) QtSupport::getQt(env, begin), (int&) *_int_y, (bool&) changed), "org.kde.qt.TTQIconViewItem"); env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); return xret; } @@ -1131,68 +1131,68 @@ Java_org_kde_qt_QIconView_makeRowLayout(JNIEnv* env, jobject obj, jobject begin, JNIEXPORT jint JNICALL Java_org_kde_qt_QIconView_maxItemTextLength(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIconView*) QtSupport::getQt(env, obj))->maxItemTextLength(); + jint xret = (jint) ((TTQIconView*) 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(); + jint xret = (jint) ((TTQIconView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQIconView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newQIconView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QIconView_newTQIconView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewJBridge()); + QtSupport::setQt(env, obj, new TQIconViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newQIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQIconViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQIconViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconView_newQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQIconViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1201,322 +1201,322 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->repaintItem((TTQIconViewItem*) QtSupport::getQt(env, item)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_repaintSelectedItems(JNIEnv* env, jobject obj) { - ((TQIconView*) QtSupport::getQt(env, obj))->repaintSelectedItems(); + ((TTQIconView*) QtSupport::getQt(env, obj))->repaintSelectedItems(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jint xret = (jint) ((TTQIconView*) 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); + ((TTQIconView*) 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(); + jint xret = (jint) ((TTQIconView*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setArrangement((TTQIconView::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); + ((TTQIconView*) 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); + ((TTQIconView*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->setCurrentItem((TTQIconViewItem*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQIconView*) 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); + ((TTQIconView*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->setItemTextBackground((const TTQBrush&)*(const TTQBrush*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setItemTextPos((TTQIconView::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); + ((TTQIconView*) 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); + ((TTQIconView*) 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); + ((TTQIconView*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setResizeMode((TTQIconView::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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setSelected((TTQIconViewItem*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setSelected((TTQIconViewItem*) 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); + ((TTQIconView*) QtSupport::getQt(env, obj))->setSelectionMode((TTQIconView::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); + ((TTQIconView*) 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); + ((TTQIconView*) 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); + ((TTQIconView*) 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); + ((TTQIconView*) 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); + ((TTQIconView*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->showEvent((TTQShowEvent*) 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(); + jboolean xret = (jboolean) ((TTQIconView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQIconView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_slotUpdate(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdate(); + ((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(); + jboolean xret = (jboolean) ((TTQIconView*) 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(); + jboolean xret = (jboolean) ((TTQIconView*) QtSupport::getQt(env, obj))->sorting(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_sort__(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); + ((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); + ((TTQIconView*) 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(); + jint xret = (jint) ((TTQIconView*) QtSupport::getQt(env, obj))->spacing(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_startDrag(JNIEnv* env, jobject obj) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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)); + ((TTQIconView*) QtSupport::getQt(env, obj))->takeItem((TTQIconViewItem*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QIconViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateContents(); + ((TQIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateContents(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QIconViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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(); + jboolean xret = (jboolean) ((TTQIconView*) QtSupport::getQt(env, obj))->wordWrapIconText(); return xret; } diff --git a/qtjava/javalib/qtjava/QIconView.h b/qtjava/javalib/qtjava/QIconView.h index ff4512dc..fd0457ef 100644 --- a/qtjava/javalib/qtjava/QIconView.h +++ b/qtjava/javalib/qtjava/QIconView.h @@ -12,10 +12,10 @@ extern "C" 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_newQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newQIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newQIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconView_newQIconView__ (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); diff --git a/qtjava/javalib/qtjava/QIconViewItem.cpp b/qtjava/javalib/qtjava/QIconViewItem.cpp index 58fd8b6b..117500a4 100644 --- a/qtjava/javalib/qtjava/QIconViewItem.cpp +++ b/qtjava/javalib/qtjava/QIconViewItem.cpp @@ -9,113 +9,113 @@ #include #include -#include +#include -class QIconViewItemJBridge : public QIconViewItem +class TQIconViewItemJBridge : public TQIconViewItem { public: - QIconViewItemJBridge(TQIconView* arg1) : TQIconViewItem(arg1) {}; - QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TQIconViewItem(arg1,arg2) {}; - QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TQIconViewItem(arg1,arg2) {}; - QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; - QIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TQIconViewItem(arg1,arg2,arg3) {}; - QIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TQIconViewItem(arg1,arg2,arg3,arg4) {}; + TQIconViewItemJBridge(TTQIconView* arg1) : TTQIconViewItem(arg1) {}; + TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2) : TTQIconViewItem(arg1,arg2) {}; + TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2) : TTQIconViewItem(arg1,arg2) {}; + TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3) : TTQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2,const TTQPixmap& arg3) : TTQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3,const TTQPixmap& arg4) : TTQIconViewItem(arg1,arg2,arg3,arg4) {}; + TQIconViewItemJBridge(TTQIconView* arg1,const TTQString& arg2,const TTQPicture& arg3) : TTQIconViewItem(arg1,arg2,arg3) {}; + TQIconViewItemJBridge(TTQIconView* arg1,TTQIconViewItem* arg2,const TTQString& arg3,const TTQPicture& arg4) : TTQIconViewItem(arg1,arg2,arg3,arg4) {}; void public_repaint() { - TQIconViewItem::repaint(); + TTQIconViewItem::repaint(); return; } void protected_removeRenameBox() { - TQIconViewItem::removeRenameBox(); + TTQIconViewItem::removeRenameBox(); return; } - void protected_calcRect(const TQString& arg1) { - TQIconViewItem::calcRect(arg1); + void protected_calcRect(const TTQString& arg1) { + TTQIconViewItem::calcRect(arg1); return; } void protected_calcRect() { - TQIconViewItem::calcRect(); + TTQIconViewItem::calcRect(); return; } - void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { - TQIconViewItem::paintItem(arg1,arg2); + void protected_paintItem(TTQPainter* arg1,const TTQColorGroup& arg2) { + TTQIconViewItem::paintItem(arg1,arg2); return; } - void protected_paintFocus(TQPainter* arg1,const TQColorGroup& arg2) { - TQIconViewItem::paintFocus(arg1,arg2); + void protected_paintFocus(TTQPainter* arg1,const TTQColorGroup& arg2) { + TTQIconViewItem::paintFocus(arg1,arg2); return; } void protected_dragEntered() { - TQIconViewItem::dragEntered(); + TTQIconViewItem::dragEntered(); return; } void protected_dragLeft() { - TQIconViewItem::dragLeft(); + TTQIconViewItem::dragLeft(); return; } - void protected_setItemRect(const TQRect& arg1) { - TQIconViewItem::setItemRect(arg1); + void protected_setItemRect(const TTQRect& arg1) { + TTQIconViewItem::setItemRect(arg1); return; } - void protected_setTextRect(const TQRect& arg1) { - TQIconViewItem::setTextRect(arg1); + void protected_setTextRect(const TTQRect& arg1) { + TTQIconViewItem::setTextRect(arg1); return; } - void protected_setPixmapRect(const TQRect& arg1) { - TQIconViewItem::setPixmapRect(arg1); + void protected_setPixmapRect(const TTQRect& arg1) { + TTQIconViewItem::setPixmapRect(arg1); return; } void protected_calcTmpText() { - TQIconViewItem::calcTmpText(); + TTQIconViewItem::calcTmpText(); return; } - TQString protected_tempText() { - return (TQString) TQIconViewItem::tempText(); + TTQString protected_tempText() { + return (TTQString) TTQIconViewItem::tempText(); } - ~QIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} + ~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)); + jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TTQMimeSource*) QtSupport::mimeSource(env, mime)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcRect__(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); + ((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; - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toQString(env, text_, &_qstring_text_)); +static TTQString* _qstring_text_ = 0; + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_calcTmpText(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcTmpText(); + ((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)); + jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->compare((TTQIconViewItem*) 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)); + jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->contains((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pnt)); return xret; } @@ -129,36 +129,36 @@ Java_org_kde_qt_QIconViewItem_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_dragEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); + jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragEntered(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_dragLeft(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); + ((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(); + jboolean xret = (jboolean) ((TTQIconViewItem*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQIconViewItem*)(TTQIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { + delete (TTQIconViewItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -167,28 +167,28 @@ Java_org_kde_qt_QIconViewItem_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQIconViewItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->iconView(), "org.kde.qt.TTQIconView"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QIconViewItem_index(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIconViewItem*) QtSupport::getQt(env, obj))->index(); + jint xret = (jint) ((TTQIconViewItem*) 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)); + jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->intersects((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)); return xret; } @@ -201,134 +201,134 @@ Java_org_kde_qt_QIconViewItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QIconViewItem_isSelectable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQIconViewItem*) QtSupport::getQt(env, obj))->isSelectable(); + jboolean xret = (jboolean) ((TTQIconViewItem*) 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(); + jboolean xret = (jboolean) ((TTQIconViewItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) 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)); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->moveBy((const TTQPoint&)*(const TTQPoint*) 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); + jboolean xret = (jboolean) ((TTQIconViewItem*) 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)); + jboolean xret = (jboolean) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->move((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pnt)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) +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 QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, picture))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +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 QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__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) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, picture))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIconViewItem_newQIconViewItem__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) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); + QtSupport::setQt(env, obj, new TQIconViewItemJBridge((TTQIconView*) QtSupport::getQt(env, parent), (TTQIconViewItem*) QtSupport::getQt(env, after), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, icon))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -337,286 +337,286 @@ static TQString* _qstring_text = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->nextItem(), "org.kde.qt.TTQIconViewItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintFocus(JNIEnv* env, jobject obj, jobject p, jobject cg) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintFocus((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject cg) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg)); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TTQPicture"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmapRect((bool) relative)), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQIconViewItem*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TTQPoint", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIconViewItem*) QtSupport::getQt(env, obj))->prevItem(), "org.kde.qt.TTQIconViewItem"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_removeRenameBox(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_removeRenameBox(); + ((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(); + jboolean xret = (jboolean) ((TTQIconViewItem*) 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(); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->rename(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_repaint(JNIEnv* env, jobject obj) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->public_repaint(); + ((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(); + jint xret = (jint) ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setDropEnabled((bool) allow); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setItemRect(JNIEnv* env, jobject obj, jobject r) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setItemRect((const TTQRect&)*(const TTQRect*) 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::toQString(env, k, &_qstring_k)); +static TTQString* _qstring_k = 0; + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setKey((const TTQString&)*(TTQString*) 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)); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPicture((const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, icon)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_setPixmapRect(JNIEnv* env, jobject obj, jobject r) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setPixmapRect((const TTQRect&)*(const TTQRect*) 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)); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) 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); + ((TTQIconViewItem*) 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) { - ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); + ((TQIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setTextRect((const TTQRect&)*(const TTQRect*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (bool) recalc); +static TTQString* _qstring_text = 0; + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (bool) recalc, (bool) redraw); +static TTQString* _qstring_text = 0; + ((TTQIconViewItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQIconViewItem*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QIconViewItem_tempText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((QIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_tempText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->textRect()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQIconViewItem*) QtSupport::getQt(env, obj))->textRect((bool) relative)), "org.kde.qt.TTQRect", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQIconViewItem*) 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(); + jint xret = (jint) ((TTQIconViewItem*) 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(); + jint xret = (jint) ((TTQIconViewItem*) 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(); + jint xret = (jint) ((TTQIconViewItem*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QIconViewItem.h b/qtjava/javalib/qtjava/QIconViewItem.h index db6d2813..29f428d0 100644 --- a/qtjava/javalib/qtjava/QIconViewItem.h +++ b/qtjava/javalib/qtjava/QIconViewItem.h @@ -10,14 +10,14 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newQIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIconViewItem_newQIconViewItem__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_newQIconViewItem__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_newQIconViewItem__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_newQIconViewItem__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_newQIconViewItem__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_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); diff --git a/qtjava/javalib/qtjava/QImage.cpp b/qtjava/javalib/qtjava/QImage.cpp index 47702de4..b2534356 100644 --- a/qtjava/javalib/qtjava/QImage.cpp +++ b/qtjava/javalib/qtjava/QImage.cpp @@ -11,58 +11,58 @@ #include #include -#include +#include -class QImageJBridge : public QImage +class TQImageJBridge : public TQImage { public: - QImageJBridge() : TQImage() {}; - QImageJBridge(int arg1,int arg2,int arg3,int arg4,TQImage::Endian arg5) : TQImage(arg1,arg2,arg3,arg4,arg5) {}; - QImageJBridge(int arg1,int arg2,int arg3,int arg4) : TQImage(arg1,arg2,arg3,arg4) {}; - QImageJBridge(int arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; - QImageJBridge(const TQSize& arg1,int arg2,int arg3,TQImage::Endian arg4) : TQImage(arg1,arg2,arg3,arg4) {}; - QImageJBridge(const TQSize& arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {}; - QImageJBridge(const TQSize& arg1,int arg2) : TQImage(arg1,arg2) {}; - QImageJBridge(const TQString& arg1,const char* arg2) : TQImage(arg1,arg2) {}; - QImageJBridge(const TQString& arg1) : TQImage(arg1) {}; - QImageJBridge(const TQByteArray& arg1) : TQImage(arg1) {}; - QImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,QRgb* arg5,int arg6,TQImage::Endian arg7) : TQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QImageJBridge(const TQImage& arg1) : TQImage(arg1) {}; - ~QImageJBridge() {QtSupport::qtKeyDeleted(this);} + TQImageJBridge() : TTQImage() {}; + TQImageJBridge(int arg1,int arg2,int arg3,int arg4,TTQImage::Endian arg5) : TTQImage(arg1,arg2,arg3,arg4,arg5) {}; + TQImageJBridge(int arg1,int arg2,int arg3,int arg4) : TTQImage(arg1,arg2,arg3,arg4) {}; + TQImageJBridge(int arg1,int arg2,int arg3) : TTQImage(arg1,arg2,arg3) {}; + TQImageJBridge(const TTQSize& arg1,int arg2,int arg3,TTQImage::Endian arg4) : TTQImage(arg1,arg2,arg3,arg4) {}; + TQImageJBridge(const TTQSize& arg1,int arg2,int arg3) : TTQImage(arg1,arg2,arg3) {}; + TQImageJBridge(const TTQSize& arg1,int arg2) : TTQImage(arg1,arg2) {}; + TQImageJBridge(const TTQString& arg1,const char* arg2) : TTQImage(arg1,arg2) {}; + TQImageJBridge(const TTQString& arg1) : TTQImage(arg1) {}; + TQImageJBridge(const TTQByteArray& arg1) : TTQImage(arg1) {}; + TQImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,TQRgb* arg5,int arg6,TTQImage::Endian arg7) : TTQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQImageJBridge(const TTQImage& arg1) : TTQImage(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(); + jboolean xret = (jboolean) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) 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); + jint xret = (jint) ((TTQImage*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertBitOrder((TTQImage::Endian) arg1)), "org.kde.qt.TTQImage", TRUE); return xret; } @@ -70,7 +70,7 @@ 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, (QRgb*) _int_p, (int) pc)), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc)), "org.kde.qt.TTQImage", TRUE); env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); return xret; } @@ -79,7 +79,7 @@ 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, (QRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TTQImage", TRUE); env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p); return xret; } @@ -87,126 +87,126 @@ Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III(JNIEnv* env, jobject obj, 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TTQImage", 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); + jboolean xret = (jboolean) ((TTQImage*) 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); + jboolean xret = (jboolean) ((TTQImage*) 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); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (TTQImage::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); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) 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); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) 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); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TTQImage::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(); + jint xret = (jint) ((TTQImage*) 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(); + ((TTQImage*) QtSupport::getQt(env, obj))->detach(); return; } @@ -220,21 +220,21 @@ Java_org_kde_qt_QImage_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_dotsPerMeterX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterX(); + jint xret = (jint) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) 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); + ((TTQImage*) QtSupport::getQt(env, obj))->fill((uint) pixel); return; } @@ -242,7 +242,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QImage_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImage*)QtSupport::getQt(env, obj); + delete (TTQImage*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -252,22 +252,22 @@ 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(QImageJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQImage", TRUE); +static TTQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(TQImageJBridge::fromMimeSource((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TTQImage", 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(); + jboolean xret = (jboolean) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -276,40 +276,40 @@ Java_org_kde_qt_QImage_imageFormat(JNIEnv* env, jclass cls, jstring fileName) { const char* _qstring; (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = QImageJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + _qstring = TQImageJBridge::imageFormat((const TTQString&)*(TTQString*) 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; + TTQStringList _qlist; (void) cls; - _qlist = QImageJBridge::inputFormatList(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQImageJBridge::inputFormatList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_inputFormats(JNIEnv* env, jclass cls) { - TQStrList _qlist; + TTQStrList _qlist; (void) cls; - _qlist = QImageJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + _qlist = TQImageJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_qt_QImage_invertPixels__(JNIEnv* env, jobject obj) { - ((TQImage*) QtSupport::getQt(env, obj))->invertPixels(); + ((TTQImage*) 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); + ((TTQImage*) QtSupport::getQt(env, obj))->invertPixels((bool) invertAlpha); return; } @@ -322,14 +322,14 @@ Java_org_kde_qt_QImage_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImage_isGrayscale(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isGrayscale(); + jboolean xret = (jboolean) ((TTQImage*) 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(); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->isNull(); return xret; } @@ -337,196 +337,196 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_jumpTable(JNIEnv* env, jobject obj) { uchar** _qlist; - _qlist = ((TQImage*) QtSupport::getQt(env, obj))->jumpTable(); + _qlist = ((TTQImage*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->loadFromData((TTQByteArray)*(TTQByteArray*) 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::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQByteArray* _qbyteArray_data = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->loadFromData((TTQByteArray)*(TTQByteArray*) 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); +static TTQByteArray* _qbytearray_buf = 0; + jboolean xret = (jboolean) ((TTQImage*) 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)); +static TTQByteArray* _qbytearray_buf = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) 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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.TTQImage", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QImage_newTQImage__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageJBridge()); + QtSupport::setQt(env, obj, new TQImageJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth) +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 QImageJBridge((int) width, (int) height, (int) depth)); + 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_newQImage__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors) +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 QImageJBridge((int) width, (int) height, (int) depth, (int) numColors)); + 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_newQImage__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder) +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 QImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setQt(env, obj, new TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TTQImage::Endian) bitOrder)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) { -static TQString* _qstring_fileName = 0; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName))); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) +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; +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQString&)*(TTQString*) 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_newQImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +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 QImageJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) +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 QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors) +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 QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors)); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQSize&)*(const TTQSize*) 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_newQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder) +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 QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TTQImage::Endian) bitOrder)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage___3B(JNIEnv* env, jobject obj, jbyteArray data) +Java_org_kde_qt_QImage_newTQImage___3B(JNIEnv* env, jobject obj, jbyteArray data) { -static TQByteArray* _qbyteArray_data = 0; +static TTQByteArray* _qbyteArray_data = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setQt(env, obj, new TQImageJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImage_newQImage___3CIII_3III(JNIEnv* env, jobject obj, jcharArray data, jint w, jint h, jint depth, jintArray colortable, jint numColors, jint bitOrder) +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; +static TTQByteArray* _qbytearray_data = 0; int* _int_colortable = QtSupport::toIntPtr(env, colortable); if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (QRgb*) _int_colortable, (int) numColors, (TQImage::Endian) bitOrder)); + QtSupport::setQt(env, obj, new TQImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (TQRgb*) _int_colortable, (int) numColors, (TTQImage::Endian) bitOrder)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); env->SetIntArrayRegion(colortable, 0, 1, (jint *) _int_colortable); } @@ -536,258 +536,258 @@ static TQByteArray* _qbytearray_data = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QImage_numBytes(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numBytes(); + jint xret = (jint) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.TTQPoint", 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)); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->operator==((const TTQImage&)*(const TTQImage*) 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)); + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->operator!=((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormatList(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QImageJBridge::outputFormatList(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQImageJBridge::outputFormatList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QImage_outputFormats(JNIEnv* env, jclass cls) { - TQStrList _qlist; + TTQStrList _qlist; (void) cls; - _qlist = QImageJBridge::outputFormats(); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + _qlist = TQImageJBridge::outputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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); + jint xret = (jint) ((TTQImage*) 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); + jint xret = (jint) ((TTQImage*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QImage_reset(JNIEnv* env, jobject obj) { - ((TQImage*) QtSupport::getQt(env, obj))->reset(); + ((TTQImage*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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)); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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); + ((TTQImage*) 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, (QRgb) c); + ((TTQImage*) 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); + ((TTQImage*) 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); + ((TTQImage*) 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); + ((TTQImage*) 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)); + ((TTQImage*) QtSupport::getQt(env, obj))->setOffset((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQImage*) 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::toQString(env, arg3, &_qstring_arg3)); +static TTQCString* _qstring_key = 0; +static TTQCString* _qstring_lang = 0; +static TTQString* _qstring_arg3 = 0; + ((TTQImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.TTQImage", TRUE); return xret; } @@ -796,7 +796,7 @@ Java_org_kde_qt_QImage_systemBitOrder(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QImageJBridge::systemBitOrder(); + jint xret = (jint) TQImageJBridge::systemBitOrder(); return xret; } @@ -805,71 +805,71 @@ Java_org_kde_qt_QImage_systemByteOrder(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QImageJBridge::systemByteOrder(); + 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQImage*) QtSupport::getQt(env, obj))->textKeys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQImage*) QtSupport::getQt(env, obj))->textLanguages(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_key = 0; + _qstring = ((TTQImage*) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_key = 0; +static TTQCString* _qstring_lang = 0; + _qstring = ((TTQImage*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQImage*) QtSupport::getQt(env, obj))->text((const TTQImageTextKeyLang&)*(const TTQImageTextKeyLang*) 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); + jboolean xret = (jboolean) ((TTQImage*) 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(); + jint xret = (jint) ((TTQImage*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->xForm((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.TTQImage", TRUE); return xret; } @@ -877,8 +877,8 @@ JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_bits(JNIEnv *env, jobject obj) { static uchar * ptr = 0; - ptr = ((QImageJBridge*) QtSupport::getQt(env, obj))->bits(); - int len = ((QImageJBridge*) QtSupport::getQt(env, obj))->numBytes(); + 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; @@ -888,8 +888,8 @@ JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QImage_scanLine(JNIEnv *env, jobject obj, jint arg1) { static uchar * ptr = 0; - ptr = ((QImageJBridge*) QtSupport::getQt(env, obj))->scanLine(arg1); - int len = ((QImageJBridge*) QtSupport::getQt(env, obj))->numBytes() / ((QImageJBridge*) QtSupport::getQt(env, obj))->height(); + 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; @@ -898,9 +898,9 @@ static uchar * ptr = 0; JNIEXPORT jintArray JNICALL Java_org_kde_qt_QImage_colorTable(JNIEnv *env, jobject obj) { -static QRgb * ptr = 0; - ptr = ((QImageJBridge*) QtSupport::getQt(env, obj))->colorTable(); - int len = ((QImageJBridge*) QtSupport::getQt(env, obj))->numColors(); +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 index 44bc2a8f..47b73253 100644 --- a/qtjava/javalib/qtjava/QImage.h +++ b/qtjava/javalib/qtjava/QImage.h @@ -10,18 +10,18 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage___3CIII_3III (JNIEnv *env, jobject, jcharArray, jint, jint, jint, jintArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QImageConsumer.cpp b/qtjava/javalib/qtjava/QImageConsumer.cpp index 495c99ab..4bf1b466 100644 --- a/qtjava/javalib/qtjava/QImageConsumer.cpp +++ b/qtjava/javalib/qtjava/QImageConsumer.cpp @@ -4,54 +4,54 @@ #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)); + ((TTQImageConsumer*) QtSupport::getQt(env, obj))->changed((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QImageConsumer_end(JNIEnv* env, jobject obj) { - ((TQImageConsumer*) QtSupport::getQt(env, obj))->end(); + ((TTQImageConsumer*) 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(); + ((TTQImageConsumer*) 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)); + ((TTQImageConsumer*) QtSupport::getQt(env, obj))->frameDone((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) 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); + ((TTQImageConsumer*) 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); + ((TTQImageConsumer*) 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); + ((TTQImageConsumer*) QtSupport::getQt(env, obj))->setSize((int) arg1, (int) arg2); return; } diff --git a/qtjava/javalib/qtjava/QImageDecoder.cpp b/qtjava/javalib/qtjava/QImageDecoder.cpp index 6bf772cc..2cbeed49 100644 --- a/qtjava/javalib/qtjava/QImageDecoder.cpp +++ b/qtjava/javalib/qtjava/QImageDecoder.cpp @@ -4,20 +4,20 @@ #include #include -#include +#include -class QImageDecoderJBridge : public QImageDecoder +class TQImageDecoderJBridge : public TQImageDecoder { public: - QImageDecoderJBridge(TQImageConsumer* arg1) : TQImageDecoder(arg1) {}; - ~QImageDecoderJBridge() {QtSupport::qtKeyDeleted(this);} + TQImageDecoderJBridge(TTQImageConsumer* arg1) : TTQImageDecoder(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); +static TTQByteArray* _qbytearray_buffer = 0; + jint xret = (jint) ((TTQImageDecoder*) QtSupport::getQt(env, obj))->decode((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); return xret; } @@ -32,7 +32,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImageDecoder*)QtSupport::getQt(env, obj); + delete (TTQImageDecoder*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -43,8 +43,8 @@ Java_org_kde_qt_QImageDecoder_formatName(JNIEnv* env, jclass cls, jcharArray buf { const char* _qstring; (void) cls; -static TQByteArray* _qbytearray_buffer = 0; - _qstring = QImageDecoderJBridge::formatName((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); +static TTQByteArray* _qbytearray_buffer = 0; + _qstring = TQImageDecoderJBridge::formatName((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -52,25 +52,25 @@ 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*)QImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQImageFormatType"); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TTQImageFormatType"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQImageDecoder*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TTQImage"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) { - TQStrList _qlist; + TTQStrList _qlist; (void) cls; - _qlist = QImageDecoderJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + _qlist = TQImageDecoderJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -80,10 +80,10 @@ Java_org_kde_qt_QImageDecoder_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_newQImageDecoder(JNIEnv* env, jobject obj, jobject c) +Java_org_kde_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobject c) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageDecoderJBridge((TQImageConsumer*) QtSupport::getQt(env, c))); + QtSupport::setQt(env, obj, new TQImageDecoderJBridge((TTQImageConsumer*) QtSupport::getQt(env, c))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -93,7 +93,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QImageDecoderJBridge::registerDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); + TQImageDecoderJBridge::registerDecoderFactory((TTQImageFormatType*) QtSupport::getQt(env, arg1)); return; } @@ -101,7 +101,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QImageDecoderJBridge::unregisterDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); + TQImageDecoderJBridge::unregisterDecoderFactory((TTQImageFormatType*) QtSupport::getQt(env, arg1)); return; } diff --git a/qtjava/javalib/qtjava/QImageDecoder.h b/qtjava/javalib/qtjava/QImageDecoder.h index e0256d14..f7921501 100644 --- a/qtjava/javalib/qtjava/QImageDecoder.h +++ b/qtjava/javalib/qtjava/QImageDecoder.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDecoder_newQImageDecoder (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QImageDrag.cpp b/qtjava/javalib/qtjava/QImageDrag.cpp index 9ed58381..1d56f0b2 100644 --- a/qtjava/javalib/qtjava/QImageDrag.cpp +++ b/qtjava/javalib/qtjava/QImageDrag.cpp @@ -6,57 +6,57 @@ #include #include -#include +#include -class QImageDragJBridge : public QImageDrag +class TQImageDragJBridge : public TQImageDrag { public: - QImageDragJBridge(TQImage arg1,TQWidget* arg2,const char* arg3) : TQImageDrag(arg1,arg2,arg3) {}; - QImageDragJBridge(TQImage arg1,TQWidget* arg2) : TQImageDrag(arg1,arg2) {}; - QImageDragJBridge(TQImage arg1) : TQImageDrag(arg1) {}; - QImageDragJBridge(TQWidget* arg1,const char* arg2) : TQImageDrag(arg1,arg2) {}; - QImageDragJBridge(TQWidget* arg1) : TQImageDrag(arg1) {}; - QImageDragJBridge() : TQImageDrag() {}; - ~QImageDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQImageDragJBridge(TTQImage arg1,TTQWidget* arg2,const char* arg3) : TTQImageDrag(arg1,arg2,arg3) {}; + TQImageDragJBridge(TTQImage arg1,TTQWidget* arg2) : TTQImageDrag(arg1,arg2) {}; + TQImageDragJBridge(TTQImage arg1) : TTQImageDrag(arg1) {}; + TQImageDragJBridge(TTQWidget* arg1,const char* arg2) : TTQImageDrag(arg1,arg2) {}; + TQImageDragJBridge(TTQWidget* arg1) : TTQImageDrag(arg1) {}; + TQImageDragJBridge() : TTQImageDrag() {}; + ~TQImageDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void setImage(TQImage arg1) { - if (!QtSupport::eventDelegate(this,"setImage",(void*)&arg1,"org.kde.qt.TQImage")) { - TQImageDrag::setImage(arg1); + void setImage(TTQImage arg1) { + if (!QtSupport::eventDelegate(this,"setImage",(void*)&arg1,"org.kde.qt.TTQImage")) { + TTQImageDrag::setImage(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQImageDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQImageDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -67,7 +67,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QImageDrag_canDecode(JNIEnv* env, jclass cls, jobject e) { (void) cls; - jboolean xret = (jboolean) QImageDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + jboolean xret = (jboolean) TQImageDragJBridge::canDecode((const TTQMimeSource*) QtSupport::mimeSource(env, e)); return xret; } @@ -75,7 +75,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQImageDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQImageDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -83,7 +83,7 @@ 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) QImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQImage&)*(TQImage*) QtSupport::getQt(env, i)); + jboolean xret = (jboolean) TQImageDragJBridge::decode((const TTQMimeSource*) QtSupport::mimeSource(env, e), (TTQImage&)*(TTQImage*) QtSupport::getQt(env, i)); return xret; } @@ -91,7 +91,7 @@ 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) QImageDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, i)); + jboolean xret = (jboolean) TQImageDragJBridge::decode((const TTQMimeSource*) QtSupport::mimeSource(env, e), (TTQPixmap&)*(TTQPixmap*) QtSupport::getQt(env, i)); return xret; } @@ -105,17 +105,17 @@ Java_org_kde_qt_QImageDrag_dispose(JNIEnv* env, jobject obj) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQImageDrag*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQImageDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQImageDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -125,7 +125,7 @@ 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); + _qstring = ((TTQImageDrag*) QtSupport::getQt(env, obj))->format((int) i); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -138,67 +138,67 @@ Java_org_kde_qt_QImageDrag_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQImageDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newQImageDrag__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QImageDrag_newTQImageDrag__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageDragJBridge()); + QtSupport::setQt(env, obj, new TQImageDragJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +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 QImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image))); + QtSupport::setQt(env, obj, new TQImageDragJBridge((TTQImage)*(TTQImage*) QtSupport::getQt(env, image))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource) +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 QImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQImageDragJBridge((TTQImage)*(TTQImage*) QtSupport::getQt(env, image), (TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject image, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageDragJBridge((TQImage)*(TQImage*) QtSupport::getQt(env, image), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQImageDragJBridge((TTQImage)*(TTQImage*) QtSupport::getQt(env, image), (TTQWidget*) 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_newQImageDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +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 QImageDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQImageDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQImageDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -207,28 +207,28 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQImageDrag*) QtSupport::getQt(env, obj))->setImage((TTQImage)*(TTQImage*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QImageDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index dc71b2f5..5fd18d6f 100644 --- a/qtjava/javalib/qtjava/QImageDrag.h +++ b/qtjava/javalib/qtjava/QImageDrag.h @@ -12,12 +12,12 @@ extern "C" 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_newQImageDrag__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_newQImageDrag__Lorg_kde_qt_QImage_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newQImageDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageDrag_newQImageDrag__ (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); diff --git a/qtjava/javalib/qtjava/QImageFormat.cpp b/qtjava/javalib/qtjava/QImageFormat.cpp index e26a7523..1206a10f 100644 --- a/qtjava/javalib/qtjava/QImageFormat.cpp +++ b/qtjava/javalib/qtjava/QImageFormat.cpp @@ -3,13 +3,13 @@ #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); +static TTQByteArray* _qbytearray_buffer = 0; + jint xret = (jint) ((TTQImageFormat*) QtSupport::getQt(env, obj))->decode((TTQImage&)*(TTQImage*) QtSupport::getQt(env, img), (TTQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); return xret; } diff --git a/qtjava/javalib/qtjava/QImageFormatType.cpp b/qtjava/javalib/qtjava/QImageFormatType.cpp index e41d4f6d..30e52698 100644 --- a/qtjava/javalib/qtjava/QImageFormatType.cpp +++ b/qtjava/javalib/qtjava/QImageFormatType.cpp @@ -2,13 +2,13 @@ #include #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"); +static TTQByteArray* _qbytearray_buffer = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQImageFormatType*) QtSupport::getQt(env, obj))->decoderFor((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length), "org.kde.qt.TTQImageFormat"); return xret; } @@ -16,7 +16,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageFormatType_formatName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQImageFormatType*) QtSupport::getQt(env, obj))->formatName(); + _qstring = ((TTQImageFormatType*) QtSupport::getQt(env, obj))->formatName(); return QtSupport::fromCharString(env, (char *) _qstring); } diff --git a/qtjava/javalib/qtjava/QImageIO.cpp b/qtjava/javalib/qtjava/QImageIO.cpp index e3f51aa4..df4d2319 100644 --- a/qtjava/javalib/qtjava/QImageIO.cpp +++ b/qtjava/javalib/qtjava/QImageIO.cpp @@ -4,23 +4,23 @@ #include #include -#include +#include -class QImageIOJBridge : public QImageIO +class TQImageIOJBridge : public TQImageIO { public: - QImageIOJBridge() : TQImageIO() {}; - QImageIOJBridge(TQIODevice* arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; - QImageIOJBridge(const TQString& arg1,const char* arg2) : TQImageIO(arg1,arg2) {}; - ~QImageIOJBridge() {QtSupport::qtKeyDeleted(this);} + TQImageIOJBridge() : TTQImageIO() {}; + TQImageIOJBridge(TTQIODevice* arg1,const char* arg2) : TTQImageIO(arg1,arg2) {}; + TQImageIOJBridge(const TTQString& arg1,const char* arg2) : TTQImageIO(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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQImageIO*) QtSupport::getQt(env, obj))->description(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -33,16 +33,16 @@ Java_org_kde_qt_QImageIO_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_fileName(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQImageIO*) 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); + delete (TTQImageIO*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -52,14 +52,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_format(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->format(); + _qstring = ((TTQImageIO*) 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(); + jfloat xret = (jfloat) ((TTQImageIO*) QtSupport::getQt(env, obj))->gamma(); return xret; } @@ -68,8 +68,8 @@ Java_org_kde_qt_QImageIO_imageFormat__Ljava_lang_String_2(JNIEnv* env, jclass cl { const char* _qstring; (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = QImageIOJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + _qstring = TQImageIOJBridge::imageFormat((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -78,30 +78,30 @@ Java_org_kde_qt_QImageIO_imageFormat__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* e { const char* _qstring; (void) cls; - _qstring = QImageIOJBridge::imageFormat((TQIODevice*) QtSupport::getQt(env, arg1)); + _qstring = TQImageIOJBridge::imageFormat((TTQIODevice*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQImageIO*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TTQImage"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_inputFormats(JNIEnv* env, jclass cls) { - TQStrList _qlist; + TTQStrList _qlist; (void) cls; - _qlist = QImageIOJBridge::inputFormats(); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + _qlist = TQImageIOJBridge::inputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQImageIO*) QtSupport::getQt(env, obj))->ioDevice(), "org.kde.qt.TQIODeviceInterface"); return xret; } @@ -112,33 +112,33 @@ Java_org_kde_qt_QImageIO_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_newQImageIO__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QImageIO_newTQImageIO__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageIOJBridge()); + QtSupport::setQt(env, obj, new TQImageIOJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageIO_newQImageIO__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) +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; +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageIOJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setQt(env, obj, new TQImageIOJBridge((const TTQString&)*(TTQString*) 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_newQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ioDevice, jstring format) +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; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageIOJBridge((TQIODevice*) QtSupport::getQt(env, ioDevice), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setQt(env, obj, new TQImageIOJBridge((TTQIODevice*) QtSupport::getQt(env, ioDevice), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -147,112 +147,112 @@ static TQCString* _qstring_format = 0; JNIEXPORT jobject JNICALL Java_org_kde_qt_QImageIO_outputFormats(JNIEnv* env, jclass cls) { - TQStrList _qlist; + TTQStrList _qlist; (void) cls; - _qlist = QImageIOJBridge::outputFormats(); - return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist); + _qlist = TQImageIOJBridge::outputFormats(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QImageIO_parameters(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQImageIO*) QtSupport::getQt(env, obj))->parameters(); + _qstring = ((TTQImageIO*) 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(); + jint xret = (jint) ((TTQImageIO*) 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(); + jboolean xret = (jboolean) ((TTQImageIO*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQImageIO*) QtSupport::getQt(env, obj))->setDescription((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQImageIO*) QtSupport::getQt(env, obj))->setFileName((const TTQString&)*(TTQString*) 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)); +static TTQCString* _qstring_arg1 = 0; + ((TTQImageIO*) 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); + ((TTQImageIO*) 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)); + ((TTQImageIO*) QtSupport::getQt(env, obj))->setIODevice((TTQIODevice*) 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)); + ((TTQImageIO*) QtSupport::getQt(env, obj))->setImage((const TTQImage&)*(const TTQImage*) 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)); +static TTQCString* _qstring_arg1 = 0; + ((TTQImageIO*) 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); + ((TTQImageIO*) 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); + ((TTQImageIO*) 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(); + jint xret = (jint) ((TTQImageIO*) 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(); + jboolean xret = (jboolean) ((TTQImageIO*) QtSupport::getQt(env, obj))->write(); return xret; } diff --git a/qtjava/javalib/qtjava/QImageIO.h b/qtjava/javalib/qtjava/QImageIO.h index 2c1fa90c..2fc79d2e 100644 --- a/qtjava/javalib/qtjava/QImageIO.h +++ b/qtjava/javalib/qtjava/QImageIO.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newQImageIO__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newQImageIO__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageIO_newQImageIO__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); +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); diff --git a/qtjava/javalib/qtjava/QImageTextKeyLang.cpp b/qtjava/javalib/qtjava/QImageTextKeyLang.cpp index 01496ee0..6369909c 100644 --- a/qtjava/javalib/qtjava/QImageTextKeyLang.cpp +++ b/qtjava/javalib/qtjava/QImageTextKeyLang.cpp @@ -2,14 +2,14 @@ #include #include -#include +#include -class QImageTextKeyLangJBridge : public QImageTextKeyLang +class TQImageTextKeyLangJBridge : public TQImageTextKeyLang { public: - QImageTextKeyLangJBridge(const char* arg1,const char* arg2) : TQImageTextKeyLang(arg1,arg2) {}; - QImageTextKeyLangJBridge() : TQImageTextKeyLang() {}; - ~QImageTextKeyLangJBridge() {QtSupport::qtKeyDeleted(this);} + TQImageTextKeyLangJBridge(const char* arg1,const char* arg2) : TTQImageTextKeyLang(arg1,arg2) {}; + TQImageTextKeyLangJBridge() : TTQImageTextKeyLang() {}; + ~TQImageTextKeyLangJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQImageTextKeyLang*)QtSupport::getQt(env, obj); + delete (TTQImageTextKeyLang*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -36,22 +36,22 @@ Java_org_kde_qt_QImageTextKeyLang_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_newQImageTextKeyLang__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QImageTextKeyLang_newTQImageTextKeyLang__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageTextKeyLangJBridge()); + QtSupport::setQt(env, obj, new TQImageTextKeyLangJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageTextKeyLang_newQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring k, jstring l) +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; +static TTQCString* _qstring_k = 0; +static TTQCString* _qstring_l = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QImageTextKeyLangJBridge((const char*) QtSupport::toCharString(env, k, &_qstring_k), (const char*) QtSupport::toCharString(env, l, &_qstring_l))); + 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; @@ -60,14 +60,14 @@ static TQCString* _qstring_l = 0; 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)); + jboolean xret = (jboolean) ((TTQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator==((const TTQImageTextKeyLang&)*(const TTQImageTextKeyLang*) 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)); + jboolean xret = (jboolean) ((TTQImageTextKeyLang*) QtSupport::getQt(env, obj))->operator<((const TTQImageTextKeyLang&)*(const TTQImageTextKeyLang*) QtSupport::getQt(env, other)); return xret; } diff --git a/qtjava/javalib/qtjava/QImageTextKeyLang.h b/qtjava/javalib/qtjava/QImageTextKeyLang.h index 274c7a93..b0f0b9be 100644 --- a/qtjava/javalib/qtjava/QImageTextKeyLang.h +++ b/qtjava/javalib/qtjava/QImageTextKeyLang.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newQImageTextKeyLang__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QImageTextKeyLang_newQImageTextKeyLang__ (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QInputDialog.cpp b/qtjava/javalib/qtjava/QInputDialog.cpp index 4290870a..53ca5bfd 100644 --- a/qtjava/javalib/qtjava/QInputDialog.cpp +++ b/qtjava/javalib/qtjava/QInputDialog.cpp @@ -5,13 +5,13 @@ #include #include -#include +#include JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QInputDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQInputDialog*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -19,9 +19,9 @@ 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) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } @@ -29,9 +29,9 @@ 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) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value); return xret; } @@ -39,9 +39,9 @@ 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) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value, (double) minValue); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue); return xret; } @@ -49,9 +49,9 @@ 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) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue); return xret; } @@ -59,9 +59,9 @@ 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) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals); return xret; } @@ -69,10 +69,10 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok); + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) 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; } @@ -81,10 +81,10 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -93,11 +93,11 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jdouble xret = (jdouble) QInputDialog::getDouble((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(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)); +static TTQCString* _qstring_name = 0; + jdouble xret = (jdouble) TQInputDialog::getDouble((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (double) value, (double) minValue, (double) maxValue, (int) decimals, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -106,9 +106,9 @@ 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) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } @@ -116,9 +116,9 @@ 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) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value); return xret; } @@ -126,9 +126,9 @@ 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) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value, (int) minValue); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue); return xret; } @@ -136,9 +136,9 @@ 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) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue); return xret; } @@ -146,9 +146,9 @@ 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) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step); return xret; } @@ -156,10 +156,10 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok); + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) 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; } @@ -168,10 +168,10 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -180,11 +180,11 @@ 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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - jint xret = (jint) QInputDialog::getInteger((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(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)); +static TTQCString* _qstring_name = 0; + jint xret = (jint) TQInputDialog::getInteger((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) value, (int) minValue, (int) maxValue, (int) step, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -192,184 +192,184 @@ static TQCString* _qstring_name = 0; 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (int) current); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (int) current, (bool) editable); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok); + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQStringList* _qlist_list = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = QInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TTQCString* _qstring_name = 0; + _qstring = TQInputDialog::getItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQLineEdit::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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQString* _qstring_text = 0; + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQLineEdit::EchoMode) echo, (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQString* _qstring_text = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool*) _bool_ok); + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQLineEdit::EchoMode) echo, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQString* _qstring_text = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQLineEdit::EchoMode) echo, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_text = 0; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_label = 0; +static TTQString* _qstring_text = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = QInputDialog::getText((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQLineEdit::EchoMode) echo, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TTQCString* _qstring_name = 0; + _qstring = TQInputDialog::getText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQLineEdit::EchoMode) echo, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool*) _bool_ok, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QInputDialog_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QInputDialog_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QInputDialog::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QIntValidator.cpp b/qtjava/javalib/qtjava/QIntValidator.cpp index 52cbb84c..b7a14841 100644 --- a/qtjava/javalib/qtjava/QIntValidator.cpp +++ b/qtjava/javalib/qtjava/QIntValidator.cpp @@ -3,49 +3,49 @@ #include #include -#include +#include -class QIntValidatorJBridge : public QIntValidator +class TQIntValidatorJBridge : public TQIntValidator { public: - QIntValidatorJBridge(TQObject* arg1,const char* arg2) : TQIntValidator(arg1,arg2) {}; - QIntValidatorJBridge(TQObject* arg1) : TQIntValidator(arg1) {}; - QIntValidatorJBridge(int arg1,int arg2,TQObject* arg3,const char* arg4) : TQIntValidator(arg1,arg2,arg3,arg4) {}; - QIntValidatorJBridge(int arg1,int arg2,TQObject* arg3) : TQIntValidator(arg1,arg2,arg3) {}; - ~QIntValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQIntValidatorJBridge(TTQObject* arg1,const char* arg2) : TTQIntValidator(arg1,arg2) {}; + TQIntValidatorJBridge(TTQObject* arg1) : TTQIntValidator(arg1) {}; + TQIntValidatorJBridge(int arg1,int arg2,TTQObject* arg3,const char* arg4) : TTQIntValidator(arg1,arg2,arg3,arg4) {}; + TQIntValidatorJBridge(int arg1,int arg2,TTQObject* arg3) : TTQIntValidator(arg1,arg2,arg3) {}; + ~TQIntValidatorJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQIntValidator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQIntValidator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -55,7 +55,7 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QIntValidator_bottom(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->bottom(); + jint xret = (jint) ((TTQIntValidator*) QtSupport::getQt(env, obj))->bottom(); return xret; } @@ -63,7 +63,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QIntValidator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQIntValidator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQIntValidator*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -77,8 +77,8 @@ Java_org_kde_qt_QIntValidator_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQIntValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQIntValidator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -93,47 +93,47 @@ Java_org_kde_qt_QIntValidator_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQIntValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newQIntValidator__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent) +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 QIntValidatorJBridge((int) bottom, (int) top, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIntValidatorJBridge((int) bottom, (int) top, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((int) bottom, (int) top, (TTQObject*) QtSupport::getQt(env, 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_newQIntValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QIntValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QIntValidator_newQIntValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QIntValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQIntValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -142,59 +142,59 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_setBottom(JNIEnv* env, jobject obj, jint arg1) { - ((TQIntValidator*) QtSupport::getQt(env, obj))->setBottom((int) arg1); + ((TTQIntValidator*) 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); + ((TTQIntValidator*) 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); + ((TTQIntValidator*) 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(); + jint xret = (jint) ((TTQIntValidator*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QIntValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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; +static TTQString* _qstring_arg1 = 0; int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQIntValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); + jint xret = (jint) ((TTQIntValidator*) QtSupport::getQt(env, obj))->validate((TTQString&)*(TTQString*) 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 index 0c729d51..c0c7d630 100644 --- a/qtjava/javalib/qtjava/QIntValidator.h +++ b/qtjava/javalib/qtjava/QIntValidator.h @@ -12,10 +12,10 @@ extern "C" 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_newQIntValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newQIntValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newQIntValidator__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QIntValidator_newQIntValidator__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, 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); diff --git a/qtjava/javalib/qtjava/QJisCodec.cpp b/qtjava/javalib/qtjava/QJisCodec.cpp index b4cb7c84..a57e0914 100644 --- a/qtjava/javalib/qtjava/QJisCodec.cpp +++ b/qtjava/javalib/qtjava/QJisCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QJisCodecJBridge : public QJisCodec +class TQJisCodecJBridge : public TQJisCodec { public: - QJisCodecJBridge() : TQJisCodec() {}; - ~QJisCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQJisCodecJBridge() : TTQJisCodec() {}; + ~TQJisCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QJisCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQJisCodec*)QtSupport::getQt(env, obj); + delete (TTQJisCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QJisCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQJisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQJisCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQJisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QJisCodec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQJisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QJisCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQJisCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQJisCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,7 +81,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQJisCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -89,15 +89,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQJisCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQJisCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QJisCodec_newQJisCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QJisCodec_newTQJisCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QJisCodecJBridge()); + QtSupport::setQt(env, obj, new TQJisCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,9 +106,9 @@ Java_org_kde_qt_QJisCodec_newQJisCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQJisCodec*) 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 index 21a93b28..36d29fd2 100644 --- a/qtjava/javalib/qtjava/QJisCodec.h +++ b/qtjava/javalib/qtjava/QJisCodec.h @@ -18,7 +18,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QJisCodec_fromUnicode (JNIEnv * 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_newQJisCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QJpUnicodeConv.cpp b/qtjava/javalib/qtjava/QJpUnicodeConv.cpp index e297cada..56b9e7f2 100644 --- a/qtjava/javalib/qtjava/QJpUnicodeConv.cpp +++ b/qtjava/javalib/qtjava/QJpUnicodeConv.cpp @@ -2,26 +2,26 @@ #include #include -#include +#include -class QJpUnicodeConvJBridge : public QJpUnicodeConv +class TQJpUnicodeConvJBridge : public TQJpUnicodeConv { public: - QJpUnicodeConvJBridge(int arg1) : TQJpUnicodeConv(arg1) {}; - ~QJpUnicodeConvJBridge() {QtSupport::qtKeyDeleted(this);} + TQJpUnicodeConvJBridge(int arg1) : TTQJpUnicodeConv(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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) QtSupport::getQt(env, obj))->asciiToUnicode((uint) h, (uint) l); return xret; } @@ -36,7 +36,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QJpUnicodeConv_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQJpUnicodeConv*)QtSupport::getQt(env, obj); + delete (TTQJpUnicodeConv*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -51,70 +51,70 @@ Java_org_kde_qt_QJpUnicodeConv_isDisposed(JNIEnv* env, jobject obj) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) QtSupport::getQt(env, obj))->jisx0212ToUnicode((uint) h, (uint) l); return xret; } @@ -122,15 +122,15 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QJpUnicodeConv_newConverter(JNIEnv* env, jclass cls, jint rule) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QJpUnicodeConvJBridge::newConverter((int) rule), "org.kde.qt.TQJpUnicodeConv"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQJpUnicodeConvJBridge::newConverter((int) rule), "org.kde.qt.TTQJpUnicodeConv"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QJpUnicodeConv_newQJpUnicodeConv(JNIEnv* env, jobject obj, jint r) +Java_org_kde_qt_QJpUnicodeConv_newTQJpUnicodeConv(JNIEnv* env, jobject obj, jint r) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QJpUnicodeConvJBridge((int) r)); + QtSupport::setQt(env, obj, new TQJpUnicodeConvJBridge((int) r)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -139,112 +139,112 @@ Java_org_kde_qt_QJpUnicodeConv_newQJpUnicodeConv(JNIEnv* env, jobject obj, jint 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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); + jint xret = (jint) ((TTQJpUnicodeConv*) 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 index 10df65be..77c6cb94 100644 --- a/qtjava/javalib/qtjava/QJpUnicodeConv.h +++ b/qtjava/javalib/qtjava/QJpUnicodeConv.h @@ -39,7 +39,7 @@ extern JNIEXPORT jint JNICALL Java_org_kde_qt_QJpUnicodeConv_unicodeToSjis__II ( 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_newQJpUnicodeConv (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QKeyEvent.cpp b/qtjava/javalib/qtjava/QKeyEvent.cpp index a7c6cdcc..8245ee6a 100644 --- a/qtjava/javalib/qtjava/QKeyEvent.cpp +++ b/qtjava/javalib/qtjava/QKeyEvent.cpp @@ -4,36 +4,36 @@ #include #include -#include +#include -class QKeyEventJBridge : public QKeyEvent +class TQKeyEventJBridge : public TQKeyEvent { public: - QKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6,ushort arg7) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5,bool arg6) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4,const TQString& arg5) : TQKeyEvent(arg1,arg2,arg3,arg4,arg5) {}; - QKeyEventJBridge(TQEvent::Type arg1,int arg2,int arg3,int arg4) : TQKeyEvent(arg1,arg2,arg3,arg4) {}; - ~QKeyEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQKeyEventJBridge(TTQEvent::Type arg1,int arg2,int arg3,int arg4,const TTQString& arg5,bool arg6,ushort arg7) : TTQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQKeyEventJBridge(TTQEvent::Type arg1,int arg2,int arg3,int arg4,const TTQString& arg5,bool arg6) : TTQKeyEvent(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQKeyEventJBridge(TTQEvent::Type arg1,int arg2,int arg3,int arg4,const TTQString& arg5) : TTQKeyEvent(arg1,arg2,arg3,arg4,arg5) {}; + TQKeyEventJBridge(TTQEvent::Type arg1,int arg2,int arg3,int arg4) : TTQKeyEvent(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(); + ((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQKeyEvent*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -48,7 +48,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQKeyEvent*)QtSupport::getQt(env, obj); + delete (TTQKeyEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,21 +57,21 @@ Java_org_kde_qt_QKeyEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_ignore(JNIEnv* env, jobject obj) { - ((TQKeyEvent*) QtSupport::getQt(env, obj))->ignore(); + ((TTQKeyEvent*) 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(); + jboolean xret = (jboolean) ((TTQKeyEvent*) 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(); + jboolean xret = (jboolean) ((TTQKeyEvent*) QtSupport::getQt(env, obj))->isAutoRepeat(); return xret; } @@ -84,48 +84,48 @@ Java_org_kde_qt_QKeyEvent_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_key(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->key(); + jint xret = (jint) ((TTQKeyEvent*) QtSupport::getQt(env, obj))->key(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIII(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state) +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 QKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state)); + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TTQEvent::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_newQKeyEvent__IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TTQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIIILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) autorep)); + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TTQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TTQString&)*(TTQString*) 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_newQKeyEvent__IIIILjava_lang_String_2ZS(JNIEnv* env, jobject obj, jint type, jint key, jint ascii, jint state, jstring text, jboolean autorep, jshort count) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeyEventJBridge((TQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) autorep, (ushort) count)); + QtSupport::setQt(env, obj, new TQKeyEventJBridge((TTQEvent::Type) type, (int) key, (int) ascii, (int) state, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) autorep, (ushort) count)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -134,22 +134,22 @@ static TQString* _qstring_text = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QKeyEvent_stateAfter(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQKeyEvent*) QtSupport::getQt(env, obj))->stateAfter(); + jint xret = (jint) ((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQKeyEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQKeyEvent*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QKeyEvent.h b/qtjava/javalib/qtjava/QKeyEvent.h index 9953bf39..e0f25e7f 100644 --- a/qtjava/javalib/qtjava/QKeyEvent.h +++ b/qtjava/javalib/qtjava/QKeyEvent.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIIILjava_lang_String_2ZS (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIIILjava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jint, jint, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIIILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeyEvent_newQKeyEvent__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QKeySequence.cpp b/qtjava/javalib/qtjava/QKeySequence.cpp index 6fccdc6c..659cd4a5 100644 --- a/qtjava/javalib/qtjava/QKeySequence.cpp +++ b/qtjava/javalib/qtjava/QKeySequence.cpp @@ -4,25 +4,25 @@ #include #include -#include +#include -class QKeySequenceJBridge : public QKeySequence +class TQKeySequenceJBridge : public TQKeySequence { public: - QKeySequenceJBridge() : TQKeySequence() {}; - QKeySequenceJBridge(const TQString& arg1) : TQKeySequence(arg1) {}; - QKeySequenceJBridge(int arg1) : TQKeySequence(arg1) {}; - QKeySequenceJBridge(int arg1,int arg2,int arg3,int arg4) : TQKeySequence(arg1,arg2,arg3,arg4) {}; - QKeySequenceJBridge(int arg1,int arg2,int arg3) : TQKeySequence(arg1,arg2,arg3) {}; - QKeySequenceJBridge(int arg1,int arg2) : TQKeySequence(arg1,arg2) {}; - QKeySequenceJBridge(const TQKeySequence& arg1) : TQKeySequence(arg1) {}; - ~QKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);} + TQKeySequenceJBridge() : TTQKeySequence() {}; + TQKeySequenceJBridge(const TTQString& arg1) : TTQKeySequence(arg1) {}; + TQKeySequenceJBridge(int arg1) : TTQKeySequence(arg1) {}; + TQKeySequenceJBridge(int arg1,int arg2,int arg3,int arg4) : TTQKeySequence(arg1,arg2,arg3,arg4) {}; + TQKeySequenceJBridge(int arg1,int arg2,int arg3) : TTQKeySequence(arg1,arg2,arg3) {}; + TQKeySequenceJBridge(int arg1,int arg2) : TTQKeySequence(arg1,arg2) {}; + TQKeySequenceJBridge(const TTQKeySequence& arg1) : TTQKeySequence(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(); + jint xret = (jint) ((TTQKeySequence*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -37,7 +37,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQKeySequence*)QtSupport::getQt(env, obj); + delete (TTQKeySequence*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -52,83 +52,83 @@ Java_org_kde_qt_QKeySequence_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QKeySequence_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQKeySequence*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQKeySequence*) 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)); + jint xret = (jint) ((TTQKeySequence*) QtSupport::getQt(env, obj))->matches((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newQKeySequence__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QKeySequence_newTQKeySequence__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeySequenceJBridge()); + QtSupport::setQt(env, obj, new TQKeySequenceJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newQKeySequence__I(JNIEnv* env, jobject obj, jint key) +Java_org_kde_qt_QKeySequence_newTQKeySequence__I(JNIEnv* env, jobject obj, jint key) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeySequenceJBridge((int) key)); + 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_newQKeySequence__II(JNIEnv* env, jobject obj, jint k1, jint k2) +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 QKeySequenceJBridge((int) k1, (int) k2)); + 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_newQKeySequence__III(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3) +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 QKeySequenceJBridge((int) k1, (int) k2, (int) k3)); + 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_newQKeySequence__IIII(JNIEnv* env, jobject obj, jint k1, jint k2, jint k3, jint k4) +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 QKeySequenceJBridge((int) k1, (int) k2, (int) k3, (int) k4)); + 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_newQKeySequence__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) +Java_org_kde_qt_QKeySequence_newTQKeySequence__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) { -static TQString* _qstring_key = 0; +static TTQString* _qstring_key = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QKeySequenceJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, key, &_qstring_key))); + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, key, &_qstring_key))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QKeySequence_newQKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) +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 QKeySequenceJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQKeySequenceJBridge((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -137,21 +137,21 @@ Java_org_kde_qt_QKeySequence_newQKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* 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); + jint xret = (jint) ((TTQKeySequence*) 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)); + jboolean xret = (jboolean) ((TTQKeySequence*) QtSupport::getQt(env, obj))->operator==((const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jboolean xret = (jboolean) ((TTQKeySequence*) QtSupport::getQt(env, obj))->operator!=((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1)); return xret; } diff --git a/qtjava/javalib/qtjava/QKeySequence.h b/qtjava/javalib/qtjava/QKeySequence.h index 6a468ff4..ec48c817 100644 --- a/qtjava/javalib/qtjava/QKeySequence.h +++ b/qtjava/javalib/qtjava/QKeySequence.h @@ -10,13 +10,13 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QKeySequence_newQKeySequence__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QLCDNumber.cpp b/qtjava/javalib/qtjava/QLCDNumber.cpp index 44d1cb07..e5554967 100644 --- a/qtjava/javalib/qtjava/QLCDNumber.cpp +++ b/qtjava/javalib/qtjava/QLCDNumber.cpp @@ -4,417 +4,417 @@ #include #include -#include +#include -class QLCDNumberJBridge : public QLCDNumber +class TQLCDNumberJBridge : public TQLCDNumber { public: - QLCDNumberJBridge(TQWidget* arg1,const char* arg2) : TQLCDNumber(arg1,arg2) {}; - QLCDNumberJBridge(TQWidget* arg1) : TQLCDNumber(arg1) {}; - QLCDNumberJBridge() : TQLCDNumber() {}; - QLCDNumberJBridge(uint arg1,TQWidget* arg2,const char* arg3) : TQLCDNumber(arg1,arg2,arg3) {}; - QLCDNumberJBridge(uint arg1,TQWidget* arg2) : TQLCDNumber(arg1,arg2) {}; - QLCDNumberJBridge(uint arg1) : TQLCDNumber(arg1) {}; + TQLCDNumberJBridge(TTQWidget* arg1,const char* arg2) : TTQLCDNumber(arg1,arg2) {}; + TQLCDNumberJBridge(TTQWidget* arg1) : TTQLCDNumber(arg1) {}; + TQLCDNumberJBridge() : TTQLCDNumber() {}; + TQLCDNumberJBridge(uint arg1,TTQWidget* arg2,const char* arg3) : TTQLCDNumber(arg1,arg2,arg3) {}; + TQLCDNumberJBridge(uint arg1,TTQWidget* arg2) : TTQLCDNumber(arg1,arg2) {}; + TQLCDNumberJBridge(uint arg1) : TTQLCDNumber(arg1) {}; void public_setHexMode() { - TQLCDNumber::setHexMode(); + TTQLCDNumber::setHexMode(); return; } void public_setDecMode() { - TQLCDNumber::setDecMode(); + TTQLCDNumber::setDecMode(); return; } void public_setOctMode() { - TQLCDNumber::setOctMode(); + TTQLCDNumber::setOctMode(); return; } void public_setBinMode() { - TQLCDNumber::setBinMode(); + TTQLCDNumber::setBinMode(); return; } - void protected_drawContents(TQPainter* arg1) { - TQLCDNumber::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQLCDNumber::drawContents(arg1); return; } - ~QLCDNumberJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQLCDNumberJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setHexMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setHexMode")) { - TQLCDNumber::setHexMode(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setHexMode")) { + TTQLCDNumber::setHexMode(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void setDecMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setDecMode")) { - TQLCDNumber::setDecMode(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setDecMode")) { + TTQLCDNumber::setDecMode(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","showMaximized")) { + TTQWidget::showMaximized(); } return; } void setOctMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setOctMode")) { - TQLCDNumber::setOctMode(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setOctMode")) { + TTQLCDNumber::setOctMode(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLCDNumber",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQLCDNumber",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void setBinMode() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","setBinMode")) { - TQLCDNumber::setBinMode(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","setBinMode")) { + TTQLCDNumber::setBinMode(); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLCDNumber","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLCDNumber","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -423,14 +423,14 @@ public: 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); + jboolean xret = (jboolean) ((TTQLCDNumber*) 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); + jboolean xret = (jboolean) ((TTQLCDNumber*) QtSupport::getQt(env, obj))->checkOverflow((int) num); return xret; } @@ -438,29 +438,29 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLCDNumber_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLCDNumber*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLCDNumber*) 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); + ((TTQLCDNumber*) 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); + ((TTQLCDNumber*) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + ((TTQLCDNumber*) QtSupport::getQt(env, obj))->display((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str)); return; } @@ -474,15 +474,15 @@ Java_org_kde_qt_QLCDNumber_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QLCDNumberJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQLCDNumber*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQLCDNumber*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -491,7 +491,7 @@ Java_org_kde_qt_QLCDNumber_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_intValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->intValue(); + jint xret = (jint) ((TTQLCDNumber*) QtSupport::getQt(env, obj))->intValue(); return xret; } @@ -504,74 +504,74 @@ Java_org_kde_qt_QLCDNumber_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLCDNumber*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_mode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->mode(); + jint xret = (jint) ((TTQLCDNumber*) QtSupport::getQt(env, obj))->mode(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newQLCDNumber__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLCDNumberJBridge()); + QtSupport::setQt(env, obj, new TQLCDNumberJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newQLCDNumber__I(JNIEnv* env, jobject obj, jint numDigits) +Java_org_kde_qt_QLCDNumber_newTQLCDNumber__I(JNIEnv* env, jobject obj, jint numDigits) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLCDNumberJBridge((uint) numDigits)); + 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_newQLCDNumber__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent) +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 QLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numDigits, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLCDNumberJBridge((uint) numDigits, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((uint) numDigits, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newQLCDNumber__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QLCDNumberJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLCDNumber_newQLCDNumber__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLCDNumberJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLCDNumberJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -580,112 +580,112 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QLCDNumber_numDigits(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLCDNumber*) QtSupport::getQt(env, obj))->numDigits(); + jint xret = (jint) ((TTQLCDNumber*) 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(); + jint xret = (jint) ((TTQLCDNumber*) QtSupport::getQt(env, obj))->segmentStyle(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setBinMode(JNIEnv* env, jobject obj) { - ((QLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setBinMode(); + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setBinMode(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setDecMode(JNIEnv* env, jobject obj) { - ((QLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setDecMode(); + ((TQLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setDecMode(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setHexMode(JNIEnv* env, jobject obj) { - ((QLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setHexMode(); + ((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); + ((TTQLCDNumber*) QtSupport::getQt(env, obj))->setMode((TTQLCDNumber::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); + ((TTQLCDNumber*) QtSupport::getQt(env, obj))->setNumDigits((int) nDigits); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_setOctMode(JNIEnv* env, jobject obj) { - ((QLCDNumberJBridge*) QtSupport::getQt(env, obj))->public_setOctMode(); + ((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); + ((TTQLCDNumber*) QtSupport::getQt(env, obj))->setSegmentStyle((TTQLCDNumber::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); + ((TTQLCDNumber*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLCDNumber*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jboolean xret = (jboolean) ((TTQLCDNumber*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QLCDNumberJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jdouble xret = (jdouble) ((TTQLCDNumber*) QtSupport::getQt(env, obj))->value(); return xret; } diff --git a/qtjava/javalib/qtjava/QLCDNumber.h b/qtjava/javalib/qtjava/QLCDNumber.h index 208cdcc5..7b46b78f 100644 --- a/qtjava/javalib/qtjava/QLCDNumber.h +++ b/qtjava/javalib/qtjava/QLCDNumber.h @@ -12,12 +12,12 @@ extern "C" 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_newQLCDNumber__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newQLCDNumber__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newQLCDNumber__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newQLCDNumber__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newQLCDNumber__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLCDNumber_newQLCDNumber__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QLabel.cpp b/qtjava/javalib/qtjava/QLabel.cpp index 375fe683..7a5fbc28 100644 --- a/qtjava/javalib/qtjava/QLabel.cpp +++ b/qtjava/javalib/qtjava/QLabel.cpp @@ -9,406 +9,406 @@ #include #include -#include +#include -class QLabelJBridge : public QLabel +class TQLabelJBridge : public TQLabel { public: - QLabelJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQLabel(arg1,arg2,arg3) {}; - QLabelJBridge(TQWidget* arg1,const char* arg2) : TQLabel(arg1,arg2) {}; - QLabelJBridge(TQWidget* arg1) : TQLabel(arg1) {}; - QLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; - QLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLabel(arg1,arg2,arg3) {}; - QLabelJBridge(const TQString& arg1,TQWidget* arg2) : TQLabel(arg1,arg2) {}; - QLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,Qt::WFlags arg5) : TQLabel(arg1,arg2,arg3,arg4,arg5) {}; - QLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLabel(arg1,arg2,arg3,arg4) {}; - QLabelJBridge(TQWidget* arg1,const TQString& arg2,TQWidget* arg3) : TQLabel(arg1,arg2,arg3) {}; - void protected_drawContents(TQPainter* arg1) { - TQLabel::drawContents(arg1); + TQLabelJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQLabel(arg1,arg2,arg3) {}; + TQLabelJBridge(TTQWidget* arg1,const char* arg2) : TTQLabel(arg1,arg2) {}; + TQLabelJBridge(TTQWidget* arg1) : TTQLabel(arg1) {}; + TQLabelJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQLabel(arg1,arg2,arg3,arg4) {}; + TQLabelJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQLabel(arg1,arg2,arg3) {}; + TQLabelJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQLabel(arg1,arg2) {}; + TQLabelJBridge(TTQWidget* arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4,TQt::WFlags arg5) : TTQLabel(arg1,arg2,arg3,arg4,arg5) {}; + TQLabelJBridge(TTQWidget* arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQLabel(arg1,arg2,arg3,arg4) {}; + TQLabelJBridge(TTQWidget* arg1,const TTQString& arg2,TTQWidget* arg3) : TTQLabel(arg1,arg2,arg3) {}; + void protected_drawContents(TTQPainter* arg1) { + TTQLabel::drawContents(arg1); return; } - void protected_fontChange(const TQFont& arg1) { - TQLabel::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQLabel::fontChange(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLabel::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQLabel::resizeEvent(arg1); return; } - ~QLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); + ~TQLabelJBridge() {QtSupport::qtKeyDeleted(this);} + void setMovie(const TTQMovie& arg1) { + if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TTQMovie")) { + TTQLabel::setMovie(arg1); } return; } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); + void setPicture(const TTQPicture& arg1) { + if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TTQPicture")) { + TTQLabel::setPicture(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLabel::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQLabel::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQLabel::setPixmap(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLabel",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQLabel",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); + void setBuddy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQLabel::setBuddy(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLabel","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLabel","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -417,21 +417,21 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QLabel_alignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLabel*) QtSupport::getQt(env, obj))->alignment(); + jint xret = (jint) ((TTQLabel*) 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(); + jboolean xret = (jboolean) ((TTQLabel*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLabel*) QtSupport::getQt(env, obj))->buddy(), "org.kde.qt.TTQWidget"); return xret; } @@ -439,14 +439,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLabel_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLabel*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLabel*) 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(); + ((TTQLabel*) QtSupport::getQt(env, obj))->clear(); return; } @@ -460,15 +460,15 @@ Java_org_kde_qt_QLabel_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QLabelJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQLabel*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -477,28 +477,28 @@ Java_org_kde_qt_QLabel_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QLabelJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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(); + jboolean xret = (jboolean) ((TTQLabel*) 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); + jint xret = (jint) ((TTQLabel*) 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(); + jint xret = (jint) ((TTQLabel*) QtSupport::getQt(env, obj))->indent(); return xret; } @@ -511,121 +511,121 @@ Java_org_kde_qt_QLabel_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLabel*) QtSupport::getQt(env, obj))->movie(), "org.kde.qt.TTQMovie"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLabelJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLabelJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name, jint f) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQLabelJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) 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_newQLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) 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_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject buddy, jstring arg2, jobject parent) +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; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) QtSupport::getQt(env, buddy), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) QtSupport::getQt(env, buddy), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLabel_newQLabel__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLabelJBridge((TQWidget*) QtSupport::getQt(env, buddy), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQLabelJBridge((TTQWidget*) QtSupport::getQt(env, buddy), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -634,156 +634,156 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLabel*) QtSupport::getQt(env, obj))->picture(), "org.kde.qt.TTQPicture"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLabel*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQLabel*) 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); + ((TTQLabel*) 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)); + ((TTQLabel*) QtSupport::getQt(env, obj))->setBuddy((TTQWidget*) 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)); + ((TTQLabel*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQLabel*) 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)); + ((TTQLabel*) QtSupport::getQt(env, obj))->setMovie((const TTQMovie&)*(const TTQMovie*) 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); + ((TTQLabel*) 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); + ((TTQLabel*) 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)); + ((TTQLabel*) QtSupport::getQt(env, obj))->setPicture((const TTQPicture&)*(const TTQPicture*) 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)); + ((TTQLabel*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQLabel*) 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((Qt::TextFormat) arg1); + ((TTQLabel*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQLabel*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQLabel*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLabel*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QLabelJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 911378d1..c14cb429 100644 --- a/qtjava/javalib/qtjava/QLabel.h +++ b/qtjava/javalib/qtjava/QLabel.h @@ -12,15 +12,15 @@ extern "C" 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_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newQLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newQLabel__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_newQLabel__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_newQLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLabel_newQLabel__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_newQLabel__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_newQLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_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); diff --git a/qtjava/javalib/qtjava/QLayout.cpp b/qtjava/javalib/qtjava/QLayout.cpp index fbda940c..a071aacc 100644 --- a/qtjava/javalib/qtjava/QLayout.cpp +++ b/qtjava/javalib/qtjava/QLayout.cpp @@ -6,40 +6,40 @@ #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(); + jboolean xret = (jboolean) ((TTQLayout*) 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->addItem((TTQLayoutItem*) 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->add((TTQWidget*) 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(); + jint xret = (jint) ((TTQLayoutItem*)(TTQLayout*) 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(); + jboolean xret = (jboolean) ((TTQLayout*) QtSupport::getQt(env, obj))->autoAdd(); return xret; } @@ -47,294 +47,294 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLayout*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLayout*) 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(); + jint xret = (jint) ((TTQLayout*) 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(); + jint xret = (jint) ((TTQLayout*) 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(); + ((TTQLayout*) 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); + ((TTQLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQLayout*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TTQRect", 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(); + jboolean xret = (jboolean) ((TTQLayoutItem*)(TTQLayout*) 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); + jint xret = (jint) ((TTQLayoutItem*)(TTQLayout*) 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(); + ((TTQLayout*) 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(); + jboolean xret = (jboolean) ((TTQLayout*) 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(); + jboolean xret = (jboolean) ((TTQLayout*) 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(); + jboolean xret = (jboolean) ((TTQLayout*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayout*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TTQLayout"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayout*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_margin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->margin(); + jint xret = (jint) ((TTQLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayout*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TTQMenuBar"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->removeItem((TTQLayoutItem*) 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->remove((TTQWidget*) 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(); + jint xret = (jint) ((TTQLayout*) 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); + ((TTQLayoutItem*)(TTQLayout*) 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); + ((TTQLayout*) 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); + ((TTQLayout*) 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + ((TTQLayout*) 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)); + ((TTQLayout*) QtSupport::getQt(env, obj))->setMenuBar((TTQMenuBar*) 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); + ((TTQLayout*) QtSupport::getQt(env, obj))->setResizeMode((TTQLayout::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); + ((TTQLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayoutItem*)(TTQLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayoutItem*)(TTQLayout*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TTQSpacerItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QLayout_spacing(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLayout*) QtSupport::getQt(env, obj))->spacing(); + jint xret = (jint) ((TTQLayout*) 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(); + jboolean xret = (jboolean) ((TTQLayout*) 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); + jint xret = (jint) ((TTQLayout*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayout*) QtSupport::getQt(env, obj))->totalMaximumSize()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayout*) QtSupport::getQt(env, obj))->totalMinimumSize()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayout*) QtSupport::getQt(env, obj))->totalSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQLayout::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQLayout::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQLayout::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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayoutItem*)(TTQLayout*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QLayoutItem.cpp b/qtjava/javalib/qtjava/QLayoutItem.cpp index d5e61b0e..cbd2ac35 100644 --- a/qtjava/javalib/qtjava/QLayoutItem.cpp +++ b/qtjava/javalib/qtjava/QLayoutItem.cpp @@ -5,110 +5,110 @@ #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(); + jint xret = (jint) ((TTQLayoutItem*) 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(); + jint xret = (jint) ((TTQLayoutItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TTQRect", 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(); + jboolean xret = (jboolean) ((TTQLayoutItem*) 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); + jint xret = (jint) ((TTQLayoutItem*) 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(); + ((TTQLayoutItem*) 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(); + jboolean xret = (jboolean) ((TTQLayoutItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TTQLayout"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", 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); + ((TTQLayoutItem*) 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)); + ((TTQLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TTQSpacerItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLayoutItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QLibrary.cpp b/qtjava/javalib/qtjava/QLibrary.cpp index cb060bc7..5101263c 100644 --- a/qtjava/javalib/qtjava/QLibrary.cpp +++ b/qtjava/javalib/qtjava/QLibrary.cpp @@ -3,19 +3,19 @@ #include #include -#include +#include -class QLibraryJBridge : public QLibrary +class TQLibraryJBridge : public TQLibrary { public: - QLibraryJBridge(const TQString& arg1) : TQLibrary(arg1) {}; - ~QLibraryJBridge() {QtSupport::qtKeyDeleted(this);} + TQLibraryJBridge(const TTQString& arg1) : TTQLibrary(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(); + jboolean xret = (jboolean) ((TTQLibrary*) QtSupport::getQt(env, obj))->autoUnload(); return xret; } @@ -30,7 +30,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQLibrary*)QtSupport::getQt(env, obj); + delete (TTQLibrary*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -45,31 +45,31 @@ Java_org_kde_qt_QLibrary_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLibrary_isLoaded(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLibrary*) QtSupport::getQt(env, obj))->isLoaded(); + jboolean xret = (jboolean) ((TTQLibrary*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLibrary*) 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(); + jboolean xret = (jboolean) ((TTQLibrary*) QtSupport::getQt(env, obj))->load(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLibrary_newQLibrary(JNIEnv* env, jobject obj, jstring filename) +Java_org_kde_qt_QLibrary_newTQLibrary(JNIEnv* env, jobject obj, jstring filename) { -static TQString* _qstring_filename = 0; +static TTQString* _qstring_filename = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLibraryJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename))); + QtSupport::setQt(env, obj, new TQLibraryJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -78,14 +78,14 @@ static TQString* _qstring_filename = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_setAutoUnload(JNIEnv* env, jobject obj, jboolean enable) { - ((TQLibrary*) QtSupport::getQt(env, obj))->setAutoUnload((bool) enable); + ((TTQLibrary*) 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(); + jboolean xret = (jboolean) ((TTQLibrary*) QtSupport::getQt(env, obj))->unload(); return xret; } diff --git a/qtjava/javalib/qtjava/QLibrary.h b/qtjava/javalib/qtjava/QLibrary.h index aa7df3dd..9c53f676 100644 --- a/qtjava/javalib/qtjava/QLibrary.h +++ b/qtjava/javalib/qtjava/QLibrary.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLibrary_newQLibrary (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QLineEdit.cpp b/qtjava/javalib/qtjava/QLineEdit.cpp index d5fd5505..48c0639a 100644 --- a/qtjava/javalib/qtjava/QLineEdit.cpp +++ b/qtjava/javalib/qtjava/QLineEdit.cpp @@ -6,563 +6,563 @@ #include #include -#include +#include -class QLineEditJBridge : public QLineEdit +class TQLineEditJBridge : public TQLineEdit { public: - QLineEditJBridge(TQWidget* arg1,const char* arg2) : TQLineEdit(arg1,arg2) {}; - QLineEditJBridge(TQWidget* arg1) : TQLineEdit(arg1) {}; - QLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQLineEdit(arg1,arg2,arg3) {}; - QLineEditJBridge(const TQString& arg1,TQWidget* arg2) : TQLineEdit(arg1,arg2) {}; - QLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQLineEdit(arg1,arg2,arg3,arg4) {}; - QLineEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQLineEdit(arg1,arg2,arg3) {}; + TQLineEditJBridge(TTQWidget* arg1,const char* arg2) : TTQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(TTQWidget* arg1) : TTQLineEdit(arg1) {}; + TQLineEditJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQLineEdit(arg1,arg2,arg3) {}; + TQLineEditJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQLineEdit(arg1,arg2) {}; + TQLineEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQLineEdit(arg1,arg2,arg3,arg4) {}; + TQLineEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQLineEdit(arg1,arg2,arg3) {}; void public_selectAll() { - TQLineEdit::selectAll(); + TTQLineEdit::selectAll(); return; } void public_deselect() { - TQLineEdit::deselect(); + TTQLineEdit::deselect(); return; } void public_clearValidator() { - TQLineEdit::clearValidator(); + TTQLineEdit::clearValidator(); return; } void public_clear() { - TQLineEdit::clear(); + TTQLineEdit::clear(); return; } void public_undo() { - TQLineEdit::undo(); + TTQLineEdit::undo(); return; } void public_redo() { - TQLineEdit::redo(); + TTQLineEdit::redo(); return; } void public_cut() { - TQLineEdit::cut(); + TTQLineEdit::cut(); return; } void public_copy() { - TQLineEdit::copy(); + TTQLineEdit::copy(); return; } void public_paste() { - TQLineEdit::paste(); + TTQLineEdit::paste(); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQLineEdit::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQLineEdit::event(arg1); } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQLineEdit::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mousePressEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseMoveEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQLineEdit::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQLineEdit::mouseDoubleClickEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQLineEdit::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQLineEdit::keyPressEvent(arg1); return; } - void protected_imStartEvent(TQIMEvent* arg1) { - TQLineEdit::imStartEvent(arg1); + void protected_imStartEvent(TTQIMEvent* arg1) { + TTQLineEdit::imStartEvent(arg1); return; } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQLineEdit::imComposeEvent(arg1); + void protected_imComposeEvent(TTQIMEvent* arg1) { + TTQLineEdit::imComposeEvent(arg1); return; } - void protected_imEndEvent(TQIMEvent* arg1) { - TQLineEdit::imEndEvent(arg1); + void protected_imEndEvent(TTQIMEvent* arg1) { + TTQLineEdit::imEndEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQLineEdit::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQLineEdit::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQLineEdit::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQLineEdit::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQLineEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQLineEdit::resizeEvent(arg1); return; } - void protected_drawContents(TQPainter* arg1) { - TQLineEdit::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQLineEdit::drawContents(arg1); return; } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQLineEdit::dragEnterEvent(arg1); + void protected_dragEnterEvent(TTQDragEnterEvent* arg1) { + TTQLineEdit::dragEnterEvent(arg1); return; } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQLineEdit::dragMoveEvent(arg1); + void protected_dragMoveEvent(TTQDragMoveEvent* arg1) { + TTQLineEdit::dragMoveEvent(arg1); return; } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQLineEdit::dragLeaveEvent(arg1); + void protected_dragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQLineEdit::dragLeaveEvent(arg1); return; } - void protected_dropEvent(TQDropEvent* arg1) { - TQLineEdit::dropEvent(arg1); + void protected_dropEvent(TTQDropEvent* arg1) { + TTQLineEdit::dropEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQLineEdit::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQLineEdit::contextMenuEvent(arg1); return; } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQLineEdit::createPopupMenu(); + TTQPopupMenu* protected_createPopupMenu() { + return (TTQPopupMenu*) TTQLineEdit::createPopupMenu(); } void protected_windowActivationChange(bool arg1) { - TQLineEdit::windowActivationChange(arg1); + TTQLineEdit::windowActivationChange(arg1); return; } void protected_repaintArea(int arg1,int arg2) { - TQLineEdit::repaintArea(arg1,arg2); + TTQLineEdit::repaintArea(arg1,arg2); return; } - ~QLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); + ~TQLineEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQLineEdit::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); + void setValidator(const TTQValidator* arg1) { + if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TTQValidator")) { + TTQLineEdit::setValidator(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLineEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQLineEdit::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","selectAll")) { - TQLineEdit::selectAll(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","selectAll")) { + TTQLineEdit::selectAll(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQLineEdit::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","undo")) { - TQLineEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","undo")) { + TTQLineEdit::undo(); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQLineEdit::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQLineEdit::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQLineEdit::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","deselect")) { - TQLineEdit::deselect(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","deselect")) { + TTQLineEdit::deselect(); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","cut")) { - TQLineEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","cut")) { + TTQLineEdit::cut(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clear")) { - TQLineEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","clear")) { + TTQLineEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQLineEdit::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQLineEdit::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","copy")) { - TQLineEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","copy")) { + TTQLineEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQLineEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","clearValidator")) { - TQLineEdit::clearValidator(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","clearValidator")) { + TTQLineEdit::clearValidator(); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQLineEdit::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQLineEdit::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQLineEdit::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQLineEdit::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQLineEdit::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQLineEdit::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQLineEdit::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLineEdit",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQLineEdit",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","paste")) { - TQLineEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","paste")) { + TTQLineEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","redo")) { - TQLineEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","redo")) { + TTQLineEdit::redo(); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLineEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLineEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -571,22 +571,22 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QLineEdit_alignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQLineEdit*) QtSupport::getQt(env, obj))->alignment(); + jint xret = (jint) ((TTQLineEdit*) 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(); + ((TTQLineEdit*) 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::toQChar(env, arg2, &_qchar_arg2)); +static TTQChar* _qchar_arg2 = 0; + jint xret = (jint) ((TTQLineEdit*) QtSupport::getQt(env, obj))->characterAt((int) arg1, (TTQChar*) QtSupport::toTQChar(env, arg2, &_qchar_arg2)); return xret; } @@ -594,156 +594,156 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLineEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLineEdit*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLineEdit*) 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(); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->clearModified(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clearValidator(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_clear(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_copy(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); + ((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*)((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TTQPopupMenu"); 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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(); + jint xret = (jint) ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_cut(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); + ((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(); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->del(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_deselect(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_deselect(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) QtSupport::getQt(env, obj))->displayText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -756,78 +756,78 @@ Java_org_kde_qt_QLineEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->dragEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TTQDropEvent*) 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(); + jint xret = (jint) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQLineEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -836,21 +836,21 @@ Java_org_kde_qt_QLineEdit_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->frame(); return xret; } @@ -859,7 +859,7 @@ Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, { 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); + jboolean xret = (jboolean) ((TTQLineEdit*) 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; @@ -868,65 +868,65 @@ Java_org_kde_qt_QLineEdit_getSelection(JNIEnv* env, jobject obj, jintArray arg1, JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_hasAcceptableInput(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->hasAcceptableInput(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->home((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TTQIMEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } @@ -939,159 +939,159 @@ Java_org_kde_qt_QLineEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QLineEdit_isModified(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQLineEdit*) QtSupport::getQt(env, obj))->isModified(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) 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(); + jint xret = (jint) ((TTQLineEdit*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLineEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jobject parent) +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; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__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) +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; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent) +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; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject parent, jstring name) +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; +static TTQString* _qstring_arg1 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLineEdit_newQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1100,215 +1100,215 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_paste(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_redo(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); + ((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) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) 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) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_selectAll(JNIEnv* env, jobject obj) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) 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(); + jint xret = (jint) ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setEchoMode((TTQLineEdit::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); + ((TTQLineEdit*) 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)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQLineEdit*) 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::toQString(env, inputMask, &_qstring_inputMask)); +static TTQString* _qstring_inputMask = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setInputMask((const TTQString&)*(TTQString*) 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); + ((TTQLineEdit*) 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)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQLineEdit*) 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); + ((TTQLineEdit*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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)); + ((TTQLineEdit*) QtSupport::getQt(env, obj))->setValidator((const TTQValidator*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQLineEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQLineEdit*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); + ((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::toQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQLineEdit*) QtSupport::getQt(env, obj))->validateAndSet((const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLineEdit*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TTQValidator"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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 index fc0aaac5..63aad0e7 100644 --- a/qtjava/javalib/qtjava/QLineEdit.h +++ b/qtjava/javalib/qtjava/QLineEdit.h @@ -12,12 +12,12 @@ extern "C" 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_newQLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newQLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newQLineEdit__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_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QLineEdit_newQLineEdit__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_newQLineEdit__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_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); diff --git a/qtjava/javalib/qtjava/QListBox.cpp b/qtjava/javalib/qtjava/QListBox.cpp index 3455bb32..2787de49 100644 --- a/qtjava/javalib/qtjava/QListBox.cpp +++ b/qtjava/javalib/qtjava/QListBox.cpp @@ -11,325 +11,325 @@ #include #include -#include +#include -class QListBoxJBridge : public QListBox +class TQListBoxJBridge : public TQListBox { public: - QListBoxJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQListBox(arg1,arg2,arg3) {}; - QListBoxJBridge(TQWidget* arg1,const char* arg2) : TQListBox(arg1,arg2) {}; - QListBoxJBridge(TQWidget* arg1) : TQListBox(arg1) {}; - QListBoxJBridge() : TQListBox() {}; + TQListBoxJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQListBox(arg1,arg2,arg3) {}; + TQListBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQListBox(arg1,arg2) {}; + TQListBoxJBridge(TTQWidget* arg1) : TTQListBox(arg1) {}; + TQListBoxJBridge() : TTQListBox() {}; void public_ensureCurrentVisible() { - TQListBox::ensureCurrentVisible(); + TTQListBox::ensureCurrentVisible(); return; } void public_clearSelection() { - TQListBox::clearSelection(); + TTQListBox::clearSelection(); return; } void public_invertSelection() { - TQListBox::invertSelection(); + TTQListBox::invertSelection(); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQListBox::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQListBox::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQListBox::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQListBox::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQListBox::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQListBox::mouseDoubleClickEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQListBox::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQListBox::mouseMoveEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQListBox::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQListBox::contentsContextMenuEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQListBox::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQListBox::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQListBox::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQListBox::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQListBox::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQListBox::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQListBox::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQListBox::resizeEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQListBox::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQListBox::showEvent(arg1); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQListBox::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQListBox::eventFilter(arg1,arg2); } void protected_updateItem(int arg1) { - TQListBox::updateItem(arg1); + TTQListBox::updateItem(arg1); return; } - void protected_updateItem(TQListBoxItem* arg1) { - TQListBox::updateItem(arg1); + void protected_updateItem(TTQListBoxItem* arg1) { + TTQListBox::updateItem(arg1); return; } void protected_updateCellWidth() { - TQListBox::updateCellWidth(); + TTQListBox::updateCellWidth(); return; } int protected_totalWidth() { - return (int) TQListBox::totalWidth(); + return (int) TTQListBox::totalWidth(); } int protected_totalHeight() { - return (int) TQListBox::totalHeight(); + return (int) TTQListBox::totalHeight(); } - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - TQListBox::paintCell(arg1,arg2,arg3); + void protected_paintCell(TTQPainter* arg1,int arg2,int arg3) { + TTQListBox::paintCell(arg1,arg2,arg3); return; } void protected_toggleCurrentItem() { - TQListBox::toggleCurrentItem(); + TTQListBox::toggleCurrentItem(); return; } bool protected_isRubberSelecting() { - return (bool) TQListBox::isRubberSelecting(); + return (bool) TTQListBox::isRubberSelecting(); } void protected_doLayout() { - TQListBox::doLayout(); + TTQListBox::doLayout(); return; } void protected_windowActivationChange(bool arg1) { - TQListBox::windowActivationChange(arg1); + TTQListBox::windowActivationChange(arg1); return; } bool protected_itemYPos(int arg1,int* arg2) { - return (bool) TQListBox::itemYPos(arg1,arg2); + return (bool) TTQListBox::itemYPos(arg1,arg2); } int protected_findItem(int arg1) { - return (int) TQListBox::findItem(arg1); + return (int) TTQListBox::findItem(arg1); } void protected_clearInputString() { - TQListBox::clearInputString(); + TTQListBox::clearInputString(); return; } - ~QListBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQListBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQListBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListBox::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQListBox::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListBox::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQListBox::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","ensureCurrentVisible")) { + TTQListBox::ensureCurrentVisible(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListBox::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQListBox::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQListBox::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQListBox::keyPressEvent(arg1); } return; } @@ -337,284 +337,284 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","clearSelection")) { - TQListBox::clearSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","clearSelection")) { + TTQListBox::clearSelection(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQListBox::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListBox::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","invertSelection")) { - TQListBox::invertSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","invertSelection")) { + TTQListBox::invertSelection(); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListBox::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListBox::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); + void setCurrentItem(TTQListBoxItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TTQListBoxItem")) { + TTQListBox::setCurrentItem(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQListBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListBox::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQListBox::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -623,100 +623,100 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_autoBottomScrollBar(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->autoBottomScrollBar(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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); + jint xret = (jint) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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); + jint xret = (jint) ((TTQListBox*) 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(); + ((TTQListBox*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->changeItem((const TTQListBoxItem*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); return; } @@ -724,65 +724,65 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QListBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQListBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQListBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearInputString(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_clearInputString(); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_clearInputString(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_clearSelection(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + ((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(); + ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) QtSupport::getQt(env, obj))->columnMode(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) 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(); + jint xret = (jint) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListBox*) QtSupport::getQt(env, obj))->currentText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -795,36 +795,36 @@ Java_org_kde_qt_QListBox_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_doLayout(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); + ((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(); + jboolean xret = (jboolean) ((TTQListBox*) QtSupport::getQt(env, obj))->dragSelect(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_ensureCurrentVisible(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->public_ensureCurrentVisible(); + ((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) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQListBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -833,179 +833,179 @@ Java_org_kde_qt_QListBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_findItem__I(JNIEnv* env, jobject obj, jint yPos) { - jint xret = (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_findItem((int) 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::toQString(env, text, &_qstring_text)), "org.kde.qt.TQListBoxItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TTQListBoxItem"); 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::toQString(env, text, &_qstring_text), (Qt::ComparisonFlags) compare), "org.kde.qt.TQListBoxItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQt::ComparisonFlags) compare), "org.kde.qt.TTQListBoxItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->firstItem(), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQListBox*) QtSupport::getQt(env, obj))->inSort((const TTQString&)*(TTQString*) 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)); + jint xret = (jint) ((TTQListBox*) QtSupport::getQt(env, obj))->inSort((const TTQListBoxItem*) 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)); + jint xret = (jint) ((TTQListBox*) QtSupport::getQt(env, obj))->index((const TTQListBoxItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQListBoxItem*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQListBoxItem*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQListBoxItem*) QtSupport::getQt(env, arg1), (const TTQListBoxItem*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) index); +static TTQString* _qstring_text = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQStrList(env, arg1, &_qlist_arg1)); +static TTQStrList* _qlist_arg1 = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TTQStrList*) 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::toQStrList(env, arg1, &_qlist_arg1), (int) index); +static TTQStrList* _qlist_arg1 = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertStrList((const TTQStrList*) 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); + ((TTQListBox*) 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::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TTQStringList&)*(TTQStringList*) 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::toQStringList(env, arg1, &_qlist_arg1), (int) index); +static TTQStringList* _qlist_arg1 = 0; + ((TTQListBox*) QtSupport::getQt(env, obj))->insertStringList((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1), (int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_invertSelection(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); return; } @@ -1018,70 +1018,70 @@ Java_org_kde_qt_QListBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isMultiSelection(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListBox*) QtSupport::getQt(env, obj))->isMultiSelection(); + jboolean xret = (jboolean) ((TTQListBox*) QtSupport::getQt(env, obj))->isMultiSelection(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListBox_isRubberSelecting(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_isRubberSelecting(); + 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); + jboolean xret = (jboolean) ((TTQListBox*) 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)); + jboolean xret = (jboolean) ((TTQListBox*) QtSupport::getQt(env, obj))->isSelected((const TTQListBoxItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->itemAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_itemHeight__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->itemHeight(); + jint xret = (jint) ((TTQListBox*) 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); + jint xret = (jint) ((TTQListBox*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQListBox*) QtSupport::getQt(env, obj))->itemRect((TTQListBoxItem*) QtSupport::getQt(env, item))), "org.kde.qt.TTQRect", 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); + jboolean xret = (jboolean) ((TTQListBox*) 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)); + jboolean xret = (jboolean) ((TTQListBox*) QtSupport::getQt(env, obj))->itemVisible((const TTQListBoxItem*) QtSupport::getQt(env, arg1)); return xret; } @@ -1089,7 +1089,7 @@ 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) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemYPos((int) index, (int*) _int_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; } @@ -1097,103 +1097,103 @@ Java_org_kde_qt_QListBox_itemYPos(JNIEnv* env, jobject obj, jint index, jintArra 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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(); + jlong xret = (jlong) ((TTQListBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newQListBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QListBox_newTQListBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxJBridge()); + QtSupport::setQt(env, obj, new TQListBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newQListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQListBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQListBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBox_newQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQListBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1202,400 +1202,400 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_numCols(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->numCols(); + jint xret = (jint) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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(); + jint xret = (jint) ((TTQListBox*) 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) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, arg1), (int) row, (int) col); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TTQPainter*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->pixmap((int) index), "org.kde.qt.TTQPixmap"); 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->removeItem((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jint xret = (jint) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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); + ((TTQListBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBox*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_selectionMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBox*) QtSupport::getQt(env, obj))->selectionMode(); + jint xret = (jint) ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->setColumnMode((TTQListBox::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); + ((TTQListBox*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->setCurrentItem((TTQListBoxItem*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->setRowMode((TTQListBox::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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->setSelected((TTQListBoxItem*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->setSelectionMode((TTQListBox::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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) 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); + ((TTQListBox*) QtSupport::getQt(env, obj))->setVariableWidth((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + ((TTQListBox*) 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); + ((TTQListBox*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->takeItem((const TTQListBoxItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListBox*) 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) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_toggleCurrentItem(); + ((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(); + jint xret = (jint) ((TTQListBox*) QtSupport::getQt(env, obj))->topItem(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBox_totalHeight(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalHeight(); + 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) ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_totalWidth(); + 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QListBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + ((TTQListBox*) QtSupport::getQt(env, obj))->triggerUpdate((bool) doLayout); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateCellWidth(JNIEnv* env, jobject obj) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateCellWidth(); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateCellWidth(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_updateItem__I(JNIEnv* env, jobject obj, jint index) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((int) 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) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((TQListBoxItem*) QtSupport::getQt(env, arg1)); + ((TQListBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateItem((TTQListBoxItem*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBox*) 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)); + ((TTQListBox*) QtSupport::getQt(env, obj))->viewportPaintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QListBoxJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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 index 43388233..f04e9b9b 100644 --- a/qtjava/javalib/qtjava/QListBox.h +++ b/qtjava/javalib/qtjava/QListBox.h @@ -12,10 +12,10 @@ extern "C" 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_newQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newQListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newQListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBox_newQListBox__ (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); diff --git a/qtjava/javalib/qtjava/QListBoxItem.cpp b/qtjava/javalib/qtjava/QListBoxItem.cpp index bb2eb27f..30623aab 100644 --- a/qtjava/javalib/qtjava/QListBoxItem.cpp +++ b/qtjava/javalib/qtjava/QListBoxItem.cpp @@ -3,104 +3,104 @@ #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(); + jboolean xret = (jboolean) ((TTQListBoxItem*) 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)); + jint xret = (jint) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->height((const TTQListBox*) 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(); + jboolean xret = (jboolean) ((TTQListBoxItem*) 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(); + jboolean xret = (jboolean) ((TTQListBoxItem*) 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(); + jboolean xret = (jboolean) ((TTQListBoxItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TTQListBox"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->next(), "org.kde.qt.TTQListBoxItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxItem*) QtSupport::getQt(env, obj))->prev(), "org.kde.qt.TTQListBoxItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxItem_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBoxItem*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQListBoxItem*) 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(); + jboolean xret = (jboolean) ((TTQListBoxItem*) 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); + ((TTQListBoxItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListBoxItem*) 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)); + jint xret = (jint) ((TTQListBoxItem*) QtSupport::getQt(env, obj))->width((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } diff --git a/qtjava/javalib/qtjava/QListBoxPixmap.cpp b/qtjava/javalib/qtjava/QListBoxPixmap.cpp index ca6cb80c..8114aafe 100644 --- a/qtjava/javalib/qtjava/QListBoxPixmap.cpp +++ b/qtjava/javalib/qtjava/QListBoxPixmap.cpp @@ -4,22 +4,22 @@ #include #include -#include +#include -class QListBoxPixmapJBridge : public QListBoxPixmap +class TQListBoxPixmapJBridge : public TQListBoxPixmap { public: - QListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2) : TQListBoxPixmap(arg1,arg2) {}; - QListBoxPixmapJBridge(const TQPixmap& arg1) : TQListBoxPixmap(arg1) {}; - QListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,TQListBoxItem* arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; - QListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3) : TQListBoxPixmap(arg1,arg2,arg3) {}; - QListBoxPixmapJBridge(const TQPixmap& arg1,const TQString& arg2) : TQListBoxPixmap(arg1,arg2) {}; - QListBoxPixmapJBridge(TQListBox* arg1,const TQPixmap& arg2,const TQString& arg3,TQListBoxItem* arg4) : TQListBoxPixmap(arg1,arg2,arg3,arg4) {}; - void protected_paint(TQPainter* arg1) { - TQListBoxPixmap::paint(arg1); + TQListBoxPixmapJBridge(TTQListBox* arg1,const TTQPixmap& arg2) : TTQListBoxPixmap(arg1,arg2) {}; + TQListBoxPixmapJBridge(const TTQPixmap& arg1) : TTQListBoxPixmap(arg1) {}; + TQListBoxPixmapJBridge(TTQListBox* arg1,const TTQPixmap& arg2,TTQListBoxItem* arg3) : TTQListBoxPixmap(arg1,arg2,arg3) {}; + TQListBoxPixmapJBridge(TTQListBox* arg1,const TTQPixmap& arg2,const TTQString& arg3) : TTQListBoxPixmap(arg1,arg2,arg3) {}; + TQListBoxPixmapJBridge(const TTQPixmap& arg1,const TTQString& arg2) : TTQListBoxPixmap(arg1,arg2) {}; + TQListBoxPixmapJBridge(TTQListBox* arg1,const TTQPixmap& arg2,const TTQString& arg3,TTQListBoxItem* arg4) : TTQListBoxPixmap(arg1,arg2,arg3,arg4) {}; + void protected_paint(TTQPainter* arg1) { + TTQListBoxPixmap::paint(arg1); return; } - ~QListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQListBoxPixmapJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -33,7 +33,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQListBoxPixmap*)QtSupport::getQt(env, obj); + delete (TTQListBoxPixmap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,7 +42,7 @@ Java_org_kde_qt_QListBoxPixmap_finalize(JNIEnv* env, jobject obj) 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)); + jint xret = (jint) ((TTQListBoxPixmap*) QtSupport::getQt(env, obj))->height((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } @@ -53,63 +53,63 @@ Java_org_kde_qt_QListBoxPixmap_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2) +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 QListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jobject arg2, jstring arg3) +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; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__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) +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; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQListBoxItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jobject pix, jobject after) +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 QListBoxPixmapJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pix), (TTQListBoxItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) +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; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2))); + QtSupport::setQt(env, obj, new TQListBoxPixmapJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -118,28 +118,28 @@ static TQString* _qstring_arg2 = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_paint(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQListBoxPixmapJBridge*) QtSupport::getQt(env, obj))->protected_paint((TTQPainter*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListBoxPixmap*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListBoxPixmap_rtti(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListBoxPixmap*) QtSupport::getQt(env, obj))->rtti(); + jint xret = (jint) ((TTQListBoxPixmap*) 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)); + jint xret = (jint) ((TTQListBoxPixmap*) QtSupport::getQt(env, obj))->width((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } diff --git a/qtjava/javalib/qtjava/QListBoxPixmap.h b/qtjava/javalib/qtjava/QListBoxPixmap.h index ca48c6bb..90b2381c 100644 --- a/qtjava/javalib/qtjava/QListBoxPixmap.h +++ b/qtjava/javalib/qtjava/QListBoxPixmap.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QListBox_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__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_newQListBoxPixmap__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_newQListBoxPixmap__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxPixmap_newQListBoxPixmap__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 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); diff --git a/qtjava/javalib/qtjava/QListBoxText.cpp b/qtjava/javalib/qtjava/QListBoxText.cpp index cc4216c4..ebf535e8 100644 --- a/qtjava/javalib/qtjava/QListBoxText.cpp +++ b/qtjava/javalib/qtjava/QListBoxText.cpp @@ -3,21 +3,21 @@ #include #include -#include +#include -class QListBoxTextJBridge : public QListBoxText +class TQListBoxTextJBridge : public TQListBoxText { public: - QListBoxTextJBridge(TQListBox* arg1,const TQString& arg2) : TQListBoxText(arg1,arg2) {}; - QListBoxTextJBridge(TQListBox* arg1) : TQListBoxText(arg1) {}; - QListBoxTextJBridge(const TQString& arg1) : TQListBoxText(arg1) {}; - QListBoxTextJBridge() : TQListBoxText() {}; - QListBoxTextJBridge(TQListBox* arg1,const TQString& arg2,TQListBoxItem* arg3) : TQListBoxText(arg1,arg2,arg3) {}; - void protected_paint(TQPainter* arg1) { - TQListBoxText::paint(arg1); + TQListBoxTextJBridge(TTQListBox* arg1,const TTQString& arg2) : TTQListBoxText(arg1,arg2) {}; + TQListBoxTextJBridge(TTQListBox* arg1) : TTQListBoxText(arg1) {}; + TQListBoxTextJBridge(const TTQString& arg1) : TTQListBoxText(arg1) {}; + TQListBoxTextJBridge() : TTQListBoxText() {}; + TQListBoxTextJBridge(TTQListBox* arg1,const TTQString& arg2,TTQListBoxItem* arg3) : TTQListBoxText(arg1,arg2,arg3) {}; + void protected_paint(TTQPainter* arg1) { + TTQListBoxText::paint(arg1); return; } - ~QListBoxTextJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQListBoxTextJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQListBoxText*)QtSupport::getQt(env, obj); + delete (TTQListBoxText*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -40,7 +40,7 @@ Java_org_kde_qt_QListBoxText_finalize(JNIEnv* env, jobject obj) 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)); + jint xret = (jint) ((TTQListBoxText*) QtSupport::getQt(env, obj))->height((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } @@ -51,53 +51,53 @@ Java_org_kde_qt_QListBoxText_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newQListBoxText__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QListBoxText_newTQListBoxText__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxTextJBridge()); + QtSupport::setQt(env, obj, new TQListBoxTextJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newQListBoxText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_qt_QListBoxText_newTQListBoxText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2(JNIEnv* env, jobject obj, jobject listbox) +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 QListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox))); + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TTQListBox*) QtSupport::getQt(env, listbox))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject listbox, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2(JNIEnv* env, jobject obj, jobject listbox, jstring text, jobject after) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListBoxTextJBridge((TQListBox*) QtSupport::getQt(env, listbox), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQListBoxItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQListBoxTextJBridge((TTQListBox*) QtSupport::getQt(env, listbox), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQListBoxItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,21 +106,21 @@ static TQString* _qstring_text = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_paint(JNIEnv* env, jobject obj, jobject arg1) { - ((QListBoxTextJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQListBoxTextJBridge*) QtSupport::getQt(env, obj))->protected_paint((TTQPainter*) 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(); + jint xret = (jint) ((TTQListBoxText*) 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)); + jint xret = (jint) ((TTQListBoxText*) QtSupport::getQt(env, obj))->width((const TTQListBox*) QtSupport::getQt(env, arg1)); return xret; } diff --git a/qtjava/javalib/qtjava/QListBoxText.h b/qtjava/javalib/qtjava/QListBoxText.h index e58dcbe9..f4ec0e86 100644 --- a/qtjava/javalib/qtjava/QListBoxText.h +++ b/qtjava/javalib/qtjava/QListBoxText.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newQListBoxText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newQListBoxText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListBoxText_newQListBoxText__Lorg_kde_qt_QListBox_2Ljava_lang_String_2Lorg_kde_qt_QListBoxItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +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); diff --git a/qtjava/javalib/qtjava/QListView.cpp b/qtjava/javalib/qtjava/QListView.cpp index fe85dcca..30f0b2ff 100644 --- a/qtjava/javalib/qtjava/QListView.cpp +++ b/qtjava/javalib/qtjava/QListView.cpp @@ -11,360 +11,360 @@ #include #include -#include +#include -class QListViewJBridge : public QListView +class TQListViewJBridge : public TQListView { public: - QListViewJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQListView(arg1,arg2,arg3) {}; - QListViewJBridge(TQWidget* arg1,const char* arg2) : TQListView(arg1,arg2) {}; - QListViewJBridge(TQWidget* arg1) : TQListView(arg1) {}; - QListViewJBridge() : TQListView() {}; + TQListViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQListView(arg1,arg2,arg3) {}; + TQListViewJBridge(TTQWidget* arg1,const char* arg2) : TTQListView(arg1,arg2) {}; + TQListViewJBridge(TTQWidget* arg1) : TTQListView(arg1) {}; + TQListViewJBridge() : TTQListView() {}; void public_clearSelection() { - TQListView::clearSelection(); + TTQListView::clearSelection(); return; } void public_sort() { - TQListView::sort(); + TTQListView::sort(); return; } void public_clear() { - TQListView::clear(); + TTQListView::clear(); return; } void public_invertSelection() { - TQListView::invertSelection(); + TTQListView::invertSelection(); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQListView::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQListView::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQListView::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { + TTQListView::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQListView::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQListView::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQListView::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQListView::contentsContextMenuEvent(arg1); return; } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQListView::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQListView::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQListView::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQListView::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQListView::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQListView::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQListView::contentsDropEvent(arg1); + void protected_contentsDropEvent(TTQDropEvent* arg1) { + TTQListView::contentsDropEvent(arg1); return; } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQListView::dragObject(); + TTQDragObject* protected_dragObject() { + return (TTQDragObject*) TTQListView::dragObject(); } void protected_startDrag() { - TQListView::startDrag(); + TTQListView::startDrag(); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQListView::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQListView::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQListView::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQListView::focusOutEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQListView::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQListView::keyPressEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQListView::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQListView::resizeEvent(arg1); return; } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQListView::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TTQResizeEvent* arg1) { + TTQListView::viewportResizeEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQListView::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQListView::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); + void protected_drawContentsOffset(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { + TTQListView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return; } - void protected_paintEmptyArea(TQPainter* arg1,const TQRect& arg2) { - TQListView::paintEmptyArea(arg1,arg2); + void protected_paintEmptyArea(TTQPainter* arg1,const TTQRect& arg2) { + TTQListView::paintEmptyArea(arg1,arg2); return; } - void protected_styleChange(TQStyle& arg1) { - TQListView::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQListView::styleChange(arg1); return; } void protected_windowActivationChange(bool arg1) { - TQListView::windowActivationChange(arg1); + TTQListView::windowActivationChange(arg1); return; } void protected_updateContents() { - TQListView::updateContents(); + TTQListView::updateContents(); return; } void protected_doAutoScroll() { - TQListView::doAutoScroll(); + TTQListView::doAutoScroll(); return; } - ~QListViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQListViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQListView::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(arg1); + void removeItem(TTQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { + TTQListView::removeItem(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQListView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQListView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListView::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQListView::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); + void insertItem(TTQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { + TTQListView::insertItem(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQListView::viewportResizeEvent(arg1); } return; } void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","sort")) { - TQListView::sort(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","sort")) { + TTQListView::sort(); } return; } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQListView::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clear")) { - TQListView::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","clear")) { + TTQListView::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQListView::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQListView::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQListView::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQListView::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::takeItem(arg1); + void takeItem(TTQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { + TTQListView::takeItem(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQListView::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQListView::keyPressEvent(arg1); } return; } @@ -372,290 +372,290 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","clearSelection")) { - TQListView::clearSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","clearSelection")) { + TTQListView::clearSelection(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQListView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQListView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","startDrag")) { - TQListView::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","startDrag")) { + TTQListView::startDrag(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQListView::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQListView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQListView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","invertSelection")) { - TQListView::invertSelection(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","invertSelection")) { + TTQListView::invertSelection(); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); + void setCurrentItem(TTQListViewItem* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TTQListViewItem")) { + TTQListView::setCurrentItem(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQListView::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQListView::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQListView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQListView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQListView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQListView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQListView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -664,53 +664,53 @@ public: 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (int) size); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (int) size); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->addColumn((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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); + ((TTQListView*) 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(); + jboolean xret = (jboolean) ((TTQListView*) 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(); + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->childCount(); return xret; } @@ -718,134 +718,134 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QListView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQListView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQListView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clearSelection(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_clear(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((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); + jint xret = (jint) ((TTQListView*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListView*) 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); + jint xret = (jint) ((TTQListView*) 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); + jint xret = (jint) ((TTQListView*) 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(); + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->columns(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_defaultRenameAction(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->defaultRenameAction(); return xret; } @@ -859,43 +859,43 @@ Java_org_kde_qt_QListView_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QListView_doAutoScroll(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); + ((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*)((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TTQDragObject"); 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) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TTQPainter*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->ensureItemVisible((const TTQListViewItem*) 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)); + jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQListView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -904,65 +904,65 @@ Java_org_kde_qt_QListView_finalize(JNIEnv* env, jobject obj) 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::toQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TQListViewItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column), "org.kde.qt.TTQListViewItem"); 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::toQString(env, text, &_qstring_text), (int) column, (Qt::ComparisonFlags) compare), "org.kde.qt.TQListViewItem"); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->findItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) column, (TQt::ComparisonFlags) compare), "org.kde.qt.TTQListViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->header(), "org.kde.qt.TTQHeader"); 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); + ((TTQListView*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->insertItem((TTQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_invertSelection(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); return; } @@ -975,124 +975,124 @@ Java_org_kde_qt_QListView_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListView_isMultiSelection(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListView*) QtSupport::getQt(env, obj))->isMultiSelection(); + jboolean xret = (jboolean) ((TTQListView*) 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)); + jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isOpen((const TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListView*) 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)); + jboolean xret = (jboolean) ((TTQListView*) QtSupport::getQt(env, obj))->isSelected((const TTQListViewItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->itemAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, screenPos)), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_itemMargin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->itemMargin(); + jint xret = (jint) ((TTQListView*) 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)); + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->itemPos((const TTQListViewItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQListView*) QtSupport::getQt(env, obj))->itemRect((const TTQListViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TTQListViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newQListView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QListView_newTQListView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge()); + QtSupport::setQt(env, obj, new TQListViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQListViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1101,394 +1101,394 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QListView_paintEmptyArea(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) 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); + ((TTQListView*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->removeItem((TTQListViewItem*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->repaintItem((const TTQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jint xret = (jint) ((TTQListView*) 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(); + jboolean xret = (jboolean) ((TTQListView*) 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); + ((TTQListView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListView*) QtSupport::getQt(env, obj))->selectedItem(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListView_selectionMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListView*) QtSupport::getQt(env, obj))->selectionMode(); + jint xret = (jint) ((TTQListView*) 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); + ((TTQListView*) 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); + ((TTQListView*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQListView*) QtSupport::getQt(env, obj))->setColumnText((int) column, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setColumnWidthMode((int) column, (TTQListView::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); + ((TTQListView*) 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); + ((TTQListView*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->setCurrentItem((TTQListViewItem*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setDefaultRenameAction((TTQListView::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)); + ((TTQListView*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQListView*) 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); + ((TTQListView*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setOpen((TTQListViewItem*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setResizeMode((TTQListView::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); + ((TTQListView*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setSelected((TTQListViewItem*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->setSelectionAnchor((TTQListViewItem*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setSelectionMode((TTQListView::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); + ((TTQListView*) 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); + ((TTQListView*) 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); + ((TTQListView*) 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((Qt::SortOrder) order); + ((TTQListView*) 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); + ((TTQListView*) 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); + ((TTQListView*) 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); + ((TTQListView*) QtSupport::getQt(env, obj))->setTreeStepSize((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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(); + jboolean xret = (jboolean) ((TTQListView*) 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(); + jboolean xret = (jboolean) ((TTQListView*) 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(); + ((TTQListView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQListView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQListView*) 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(); + jint xret = (jint) ((TTQListView*) QtSupport::getQt(env, obj))->sortOrder(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_sort(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->public_sort(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_startDrag(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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)); + ((TTQListView*) QtSupport::getQt(env, obj))->takeItem((TTQListViewItem*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QListViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jint xret = (jint) ((TTQListView*) 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(); + ((TTQListView*) QtSupport::getQt(env, obj))->triggerUpdate(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_updateContents(JNIEnv* env, jobject obj) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_updateContents(); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_updateContents(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListView_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QListViewJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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::arrayWithQListViewItemList(env, &iterator); + TTQListViewItemIterator iterator((TTQListView*) QtSupport::getQt(env, obj)); + return QtSupport::arrayWithTQListViewItemList(env, &iterator); } diff --git a/qtjava/javalib/qtjava/QListView.h b/qtjava/javalib/qtjava/QListView.h index 68ec587e..a496e645 100644 --- a/qtjava/javalib/qtjava/QListView.h +++ b/qtjava/javalib/qtjava/QListView.h @@ -12,10 +12,10 @@ extern "C" 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_newQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newQListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListView_newQListView__ (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); diff --git a/qtjava/javalib/qtjava/QListViewItem.cpp b/qtjava/javalib/qtjava/QListViewItem.cpp index 3a1858d3..f455fbb2 100644 --- a/qtjava/javalib/qtjava/QListViewItem.cpp +++ b/qtjava/javalib/qtjava/QListViewItem.cpp @@ -8,147 +8,147 @@ #include #include -#include +#include -class QListViewItemJBridge : public QListViewItem +class TQListViewItemJBridge : public TQListViewItem { public: - QListViewItemJBridge(TQListView* arg1) : TQListViewItem(arg1) {}; - QListViewItemJBridge(TQListViewItem* arg1) : TQListViewItem(arg1) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TQListViewItem(arg1,arg2) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - QListViewItemJBridge(TQListView* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TQListViewItem(arg1,arg2) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - QListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(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) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TQListViewItem(arg1,arg2,arg3,arg4) {}; - QListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TTQListView* arg1) : TTQListViewItem(arg1) {}; + TQListViewItemJBridge(TTQListViewItem* arg1) : TTQListViewItem(arg1) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2) : TTQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2) : TTQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3,TTQString arg4) : TTQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2,TTQString arg3) : TTQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQString arg2) : TTQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4,TTQString arg5) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3,TTQString arg4) : TTQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2,TTQString arg3) : TTQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQString arg2) : TTQListViewItem(arg1,arg2) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9,TTQString arg10) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4) : TTQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TTQListView* arg1,TTQListViewItem* arg2,TTQString arg3) : TTQListViewItem(arg1,arg2,arg3) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9,TTQString arg10) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8,TTQString arg9) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7,TTQString arg8) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6,TTQString arg7) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5,TTQString arg6) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4,TTQString arg5) : TTQListViewItem(arg1,arg2,arg3,arg4,arg5) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3,TTQString arg4) : TTQListViewItem(arg1,arg2,arg3,arg4) {}; + TQListViewItemJBridge(TTQListViewItem* arg1,TTQListViewItem* arg2,TTQString arg3) : TTQListViewItem(arg1,arg2,arg3) {}; void public_invalidateHeight() { - TQListViewItem::invalidateHeight(); + TTQListViewItem::invalidateHeight(); return; } void public_setup() { - TQListViewItem::setup(); + TTQListViewItem::setup(); return; } void public_sort() { - TQListViewItem::sort(); + TTQListViewItem::sort(); return; } void protected_enforceSortOrder() { - TQListViewItem::enforceSortOrder(); + TTQListViewItem::enforceSortOrder(); return; } void protected_setHeight(int arg1) { - TQListViewItem::setHeight(arg1); + TTQListViewItem::setHeight(arg1); return; } void protected_activate() { - TQListViewItem::activate(); + TTQListViewItem::activate(); return; } - bool protected_activatedPos(TQPoint& arg1) { - return (bool) TQListViewItem::activatedPos(arg1); + bool protected_activatedPos(TTQPoint& arg1) { + return (bool) TTQListViewItem::activatedPos(arg1); } - void protected_dropped(TQDropEvent* arg1) { - TQListViewItem::dropped(arg1); + void protected_dropped(TTQDropEvent* arg1) { + TTQListViewItem::dropped(arg1); return; } void protected_dragEntered() { - TQListViewItem::dragEntered(); + TTQListViewItem::dragEntered(); return; } void protected_dragLeft() { - TQListViewItem::dragLeft(); + TTQListViewItem::dragLeft(); return; } void protected_okRename(int arg1) { - TQListViewItem::okRename(arg1); + TTQListViewItem::okRename(arg1); return; } void protected_cancelRename(int arg1) { - TQListViewItem::cancelRename(arg1); + TTQListViewItem::cancelRename(arg1); return; } void protected_ignoreDoubleClick() { - TQListViewItem::ignoreDoubleClick(); + TTQListViewItem::ignoreDoubleClick(); return; } - ~QListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} + ~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)); + jboolean xret = (jboolean) ((TTQListViewItem*) QtSupport::getQt(env, obj))->acceptDrop((const TTQMimeSource*) QtSupport::mimeSource(env, mime)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_activate(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activate(); + ((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) ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activatedPos((TQPoint&)*(TQPoint*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_activatedPos((TTQPoint&)*(TTQPoint*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_cancelRename(JNIEnv* env, jobject obj, jint col) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_cancelRename((int) 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(); + jint xret = (jint) ((TTQListViewItem*) 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); + jint xret = (jint) ((TTQListViewItem*) QtSupport::getQt(env, obj))->compare((TTQListViewItem*) 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(); + jint xret = (jint) ((TTQListViewItem*) QtSupport::getQt(env, obj))->depth(); return xret; } @@ -162,50 +162,50 @@ Java_org_kde_qt_QListViewItem_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_dragEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); + jboolean xret = (jboolean) ((TTQListViewItem*) QtSupport::getQt(env, obj))->dragEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragEntered(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragEntered(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dragLeft(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dragLeft(); + ((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(); + jboolean xret = (jboolean) ((TTQListViewItem*) QtSupport::getQt(env, obj))->dropEnabled(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_dropped(JNIEnv* env, jobject obj, jobject e) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dropped((TQDropEvent*) QtSupport::getQt(env, e)); + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_dropped((TTQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_enforceSortOrder(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_enforceSortOrder(); + ((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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQListViewItem*)(TTQListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TTQListViewItem*)(TTQListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { + delete (TTQListViewItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -214,35 +214,35 @@ Java_org_kde_qt_QListViewItem_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->firstChild(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQListViewItem*) QtSupport::getQt(env, obj))->height(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_ignoreDoubleClick(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_ignoreDoubleClick(); + ((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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->insertItem((TTQListViewItem*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_invalidateHeight(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->public_invalidateHeight(); + ((TQListViewItemJBridge*) QtSupport::getQt(env, obj))->public_invalidateHeight(); return; } @@ -255,594 +255,594 @@ Java_org_kde_qt_QListViewItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QListViewItem_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQListViewItem*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->itemAbove(), "org.kde.qt.TTQListViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->itemBelow(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QListViewItem_itemPos(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQListViewItem*) QtSupport::getQt(env, obj))->itemPos(); + jint xret = (jint) ((TTQListViewItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListViewItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->listView(), "org.kde.qt.TTQListView"); 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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->moveItem((TTQListViewItem*) 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(); + jboolean xret = (jboolean) ((TTQListViewItem*) QtSupport::getQt(env, obj))->multiLinesEnabled(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) +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 QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) +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; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +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 QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) +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; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; +static TTQString* _qstring_arg10 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toQString(env, arg10, &_qstring_arg10))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListViewItem*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) +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 QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) +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; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) +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 QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) +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; +static TTQString* _qstring_arg3 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QListViewItem_newQListViewItem__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) +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; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; +static TTQString* _qstring_arg5 = 0; +static TTQString* _qstring_arg6 = 0; +static TTQString* _qstring_arg7 = 0; +static TTQString* _qstring_arg8 = 0; +static TTQString* _qstring_arg9 = 0; +static TTQString* _qstring_arg10 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toQString(env, arg10, &_qstring_arg10))); + QtSupport::setQt(env, obj, new TQListViewItemJBridge((TTQListView*) QtSupport::getQt(env, parent), (TTQListViewItem*) QtSupport::getQt(env, after), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TTQString)*(TTQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -851,247 +851,247 @@ static TQString* _qstring_arg10 = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->nextSibling(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_okRename(JNIEnv* env, jobject obj, jint col) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_okRename((int) 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); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->paintBranches((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) 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); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->paintCell((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->paintFocus((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQRect&)*(const TTQRect*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TTQListViewItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQListViewItem*) QtSupport::getQt(env, obj))->pixmap((int) arg1), "org.kde.qt.TTQPixmap"); 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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->removeItem((TTQListViewItem*) 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); + jboolean xret = (jboolean) ((TTQListViewItem*) 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(); + ((TTQListViewItem*) 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(); + jint xret = (jint) ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->setExpandable((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setHeight(JNIEnv* env, jobject obj, jint arg1) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->protected_setHeight((int) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->setPixmap((int) arg1, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQListViewItem*) QtSupport::getQt(env, obj))->setText((int) arg1, (const TTQString&)*(TTQString*) 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); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->setVisible((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_setup(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->public_setup(); + ((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); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->sortChildItems((int) arg1, (bool) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_sort(JNIEnv* env, jobject obj) { - ((QListViewItemJBridge*) QtSupport::getQt(env, obj))->public_sort(); + ((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); + ((TTQListViewItem*) 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)); + ((TTQListViewItem*) QtSupport::getQt(env, obj))->takeItem((TTQListViewItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQListViewItem*) 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(); + jint xret = (jint) ((TTQListViewItem*) 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(); + ((TTQListViewItem*) 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); + ((TTQListViewItem*) 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); + jint xret = (jint) ((TTQListViewItem*) QtSupport::getQt(env, obj))->width((const TTQFontMetrics&)*(const TTQFontMetrics*) QtSupport::getQt(env, arg1), (const TTQListView*) 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::arrayWithQListViewItemList(env, &iterator); + TTQListViewItemIterator iterator((TTQListViewItem*) QtSupport::getQt(env, obj)); + return QtSupport::arrayWithTQListViewItemList(env, &iterator); } diff --git a/qtjava/javalib/qtjava/QListViewItem.h b/qtjava/javalib/qtjava/QListViewItem.h index 789191b8..69fe48c4 100644 --- a/qtjava/javalib/qtjava/QListViewItem.h +++ b/qtjava/javalib/qtjava/QListViewItem.h @@ -10,42 +10,42 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QListViewItem_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_newQListViewItem__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_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); diff --git a/qtjava/javalib/qtjava/QLocalFs.cpp b/qtjava/javalib/qtjava/QLocalFs.cpp index 67a8dea9..801b4321 100644 --- a/qtjava/javalib/qtjava/QLocalFs.cpp +++ b/qtjava/javalib/qtjava/QLocalFs.cpp @@ -3,143 +3,143 @@ #include #include -#include +#include -class QLocalFsJBridge : public QLocalFs +class TQLocalFsJBridge : public TQLocalFs { public: - QLocalFsJBridge() : TQLocalFs() {}; - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQLocalFs::operationListChildren(arg1); + TQLocalFsJBridge() : TTQLocalFs() {}; + void protected_operationListChildren(TTQNetworkOperation* arg1) { + TTQLocalFs::operationListChildren(arg1); return; } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQLocalFs::operationMkDir(arg1); + void protected_operationMkDir(TTQNetworkOperation* arg1) { + TTQLocalFs::operationMkDir(arg1); return; } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQLocalFs::operationRemove(arg1); + void protected_operationRemove(TTQNetworkOperation* arg1) { + TTQLocalFs::operationRemove(arg1); return; } - void protected_operationRename(TQNetworkOperation* arg1) { - TQLocalFs::operationRename(arg1); + void protected_operationRename(TTQNetworkOperation* arg1) { + TTQLocalFs::operationRename(arg1); return; } - void protected_operationGet(TQNetworkOperation* arg1) { - TQLocalFs::operationGet(arg1); + void protected_operationGet(TTQNetworkOperation* arg1) { + TTQLocalFs::operationGet(arg1); return; } - void protected_operationPut(TQNetworkOperation* arg1) { - TQLocalFs::operationPut(arg1); + void protected_operationPut(TTQNetworkOperation* arg1) { + TTQLocalFs::operationPut(arg1); return; } - ~QLocalFsJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationRename(arg1); + ~TQLocalFsJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationRename(arg1); } return; } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); + void operationPutChunk(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationPutChunk(arg1); } return; } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); + void processOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::processOperation(arg1); } return; } - void operationGet(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationGet(arg1); + void operationGet(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationGet(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void operationPut(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationPut(arg1); + void operationPut(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationPut(arg1); } return; } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationListChildren(arg1); + void operationListChildren(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationListChildren(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationRemove(arg1); + void operationRemove(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationRemove(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); + void addOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::addOperation(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLocalFs","clearOperationQueue")) { + TTQNetworkProtocol::clearOperationQueue(); } return; } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQLocalFs::operationMkDir(arg1); + void operationMkDir(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQLocalFs::operationMkDir(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQLocalFs",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQLocalFs",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQLocalFs","stop")) { - TQNetworkProtocol::stop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQLocalFs","stop")) { + TTQNetworkProtocol::stop(); } return; } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); + void setUrl(TTQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TTQUrlOperator")) { + TTQNetworkProtocol::setUrl(arg1); } return; } @@ -149,7 +149,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QLocalFs_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQLocalFs*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQLocalFs*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -163,8 +163,8 @@ Java_org_kde_qt_QLocalFs_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLocalFs*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQLocalFs*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -179,15 +179,15 @@ Java_org_kde_qt_QLocalFs_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQLocalFs*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QLocalFs_newQLocalFs(JNIEnv* env, jobject obj) +Java_org_kde_qt_QLocalFs_newTQLocalFs(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QLocalFsJBridge()); + QtSupport::setQt(env, obj, new TQLocalFsJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -196,70 +196,70 @@ Java_org_kde_qt_QLocalFs_newQLocalFs(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationGet(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationListChildren(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationMkDir(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationPut(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRemove(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QLocalFs_operationRename(JNIEnv* env, jobject obj, jobject op) { - ((QLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQLocalFsJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TTQNetworkOperation*) 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(); + jint xret = (jint) ((TTQLocalFs*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QLocalFsJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 06a8d649..0fcc5211 100644 --- a/qtjava/javalib/qtjava/QLocalFs.h +++ b/qtjava/javalib/qtjava/QLocalFs.h @@ -12,7 +12,7 @@ extern "C" 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_newQLocalFs (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); diff --git a/qtjava/javalib/qtjava/QMainWindow.cpp b/qtjava/javalib/qtjava/QMainWindow.cpp index be5268ed..3f7500e9 100644 --- a/qtjava/javalib/qtjava/QMainWindow.cpp +++ b/qtjava/javalib/qtjava/QMainWindow.cpp @@ -7,362 +7,362 @@ #include #include -#include +#include -class QMainWindowJBridge : public QMainWindow +class TQMainWindowJBridge : public TQMainWindow { public: - QMainWindowJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQMainWindow(arg1,arg2,arg3) {}; - QMainWindowJBridge(TQWidget* arg1,const char* arg2) : TQMainWindow(arg1,arg2) {}; - QMainWindowJBridge(TQWidget* arg1) : TQMainWindow(arg1) {}; - QMainWindowJBridge() : TQMainWindow() {}; + TQMainWindowJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQMainWindow(arg1,arg2,arg3) {}; + TQMainWindowJBridge(TTQWidget* arg1,const char* arg2) : TTQMainWindow(arg1,arg2) {}; + TQMainWindowJBridge(TTQWidget* arg1) : TTQMainWindow(arg1) {}; + TQMainWindowJBridge() : TTQMainWindow() {}; void public_whatsThis() { - TQMainWindow::whatsThis(); + TTQMainWindow::whatsThis(); return; } void public_customize() { - TQMainWindow::customize(); + TTQMainWindow::customize(); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQMainWindow::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQMainWindow::paintEvent(arg1); return; } - void protected_childEvent(TQChildEvent* arg1) { - TQMainWindow::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQMainWindow::childEvent(arg1); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQMainWindow::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQMainWindow::event(arg1); } - void protected_styleChange(TQStyle& arg1) { - TQMainWindow::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQMainWindow::styleChange(arg1); return; } void protected_setUpLayout() { - TQMainWindow::setUpLayout(); + TTQMainWindow::setUpLayout(); return; } - bool protected_showDockMenu(const TQPoint& arg1) { - return (bool) TQMainWindow::showDockMenu(arg1); + bool protected_showDockMenu(const TTQPoint& arg1) { + return (bool) TTQMainWindow::showDockMenu(arg1); } void protected_menuAboutToShow() { - TQMainWindow::menuAboutToShow(); + TTQMainWindow::menuAboutToShow(); return; } - ~QMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); + void setCentralWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQMainWindow::setCentralWidget(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQMainWindow::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQMainWindow::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); + void removeDockWindow(TTQDockWindow* arg1) { + if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TTQDockWindow")) { + TTQMainWindow::removeDockWindow(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","setUpLayout")) { + TTQMainWindow::setUpLayout(); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQMainWindow::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQMainWindow::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","whatsThis")) { + TTQMainWindow::whatsThis(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } @@ -370,38 +370,38 @@ public: return QtSupport::booleanDelegate(this,"isCustomizable"); } void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","customize")) { - TQMainWindow::customize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","customize")) { + TTQMainWindow::customize(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMainWindow","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMainWindow","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -410,118 +410,118 @@ public: 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) 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), (Qt::Dock) arg2); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) newLine); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (Qt::Dock) arg3); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (Qt::Dock) arg3, (bool) newLine); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addDockWindow((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) 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), (Qt::Dock) arg2); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) newLine); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (Qt::Dock) arg3); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (Qt::Dock) arg3, (bool) newLine); +static TTQString* _qstring_label = 0; + ((TTQMainWindow*) QtSupport::getQt(env, obj))->addToolBar((TTQDockWindow*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->appropriate((TTQDockWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->bottomDock(), "org.kde.qt.TTQDockArea"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->centralWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) QtSupport::getQt(env, arg1)); return; } @@ -529,28 +529,28 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMainWindow*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQMainWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu(), "org.kde.qt.TTQPopupMenu"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->createDockWindowMenu((TTQMainWindow::DockWindows) dockWindows), "org.kde.qt.TTQPopupMenu"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_customize(JNIEnv* env, jobject obj) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->public_customize(); + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_customize(); return; } @@ -564,36 +564,36 @@ Java_org_kde_qt_QMainWindow_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_dockWindowsMovable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->dockWindowsMovable(); + jboolean xret = (jboolean) ((TTQMainWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->dockingArea((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TTQDockArea"); 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)); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) QtSupport::getQt(env, arg2)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQMainWindow*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -604,7 +604,7 @@ Java_org_kde_qt_QMainWindow_getLocation(JNIEnv* env, jobject obj, jobject tb, ji { 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), (Qt::Dock&) dock, (int&) *_int_index, (bool&) nl, (int&) *_int_extraOffset); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->getLocation((TTQDockWindow*) 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; @@ -613,21 +613,21 @@ Java_org_kde_qt_QMainWindow_getLocation(JNIEnv* env, jobject obj, jobject tb, ji 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)); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->hasDockWindow((TTQDockWindow*) 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(); + ((TTQMainWindow*) 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(); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->isCustomizable(); return xret; } @@ -640,194 +640,194 @@ Java_org_kde_qt_QMainWindow_isDisposed(JNIEnv* env, jobject obj) 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((Qt::Dock) dock); + jboolean xret = (jboolean) ((TTQMainWindow*) 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)); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TTQDockArea*) 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), (Qt::Dock) dock); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TTQDockWindow*) 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)); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->isDockEnabled((TTQDockWindow*) QtSupport::getQt(env, tb), (TTQDockArea*) 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(); + jboolean xret = (jboolean) ((TTQMainWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->leftDock(), "org.kde.qt.TTQDockArea"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_lineUpDockWindows__(JNIEnv* env, jobject obj) { - ((TQMainWindow*) QtSupport::getQt(env, obj))->lineUpDockWindows(); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) 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(); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->lineUpToolBars((bool) keepNewLines); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_menuAboutToShow(JNIEnv* env, jobject obj) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.qt.TTQMenuBar"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQMainWindow*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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), (Qt::Dock) arg2); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) nl, (int) index); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveDockWindow((TTQDockWindow*) 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TTQDockWindow*) 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), (Qt::Dock) arg2); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) nl, (int) index); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TTQDockWindow*) 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), (Qt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->moveToolBar((TTQDockWindow*) QtSupport::getQt(env, arg1), (TQt::Dock) arg2, (bool) nl, (int) index, (int) extraOffset); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newQMainWindow__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMainWindow_newTQMainWindow__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMainWindowJBridge()); + QtSupport::setQt(env, obj, new TQMainWindowJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newQMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQMainWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQMainWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMainWindow_newQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQMainWindowJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -836,224 +836,224 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_opaqueMoving(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->opaqueMoving(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->removeDockWindow((TTQDockWindow*) 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->removeToolBar((TTQDockWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->rightDock(), "org.kde.qt.TTQDockArea"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMainWindow_rightJustification(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMainWindow*) QtSupport::getQt(env, obj))->rightJustification(); + jboolean xret = (jboolean) ((TTQMainWindow*) 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); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->setAppropriate((TTQDockWindow*) 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)); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->setCentralWidget((TTQWidget*) 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((Qt::Dock) dock, (bool) enable); + ((TTQMainWindow*) 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), (Qt::Dock) dock, (bool) enable); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->setDockEnabled((TTQDockWindow*) 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); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) QtSupport::getQt(env, obj))->setToolBarsMovable((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_setUpLayout(JNIEnv* env, jobject obj) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setUpLayout(); + ((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); + ((TTQMainWindow*) 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); + ((TTQMainWindow*) 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) ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showDockMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos)); + jboolean xret = (jboolean) ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showDockMenu((const TTQPoint&)*(const TTQPoint*) 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(); + ((TTQMainWindow*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQMainWindow*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.qt.TTQStatusBar"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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(); + jboolean xret = (jboolean) ((TTQMainWindow*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->toolTipGroup(), "org.kde.qt.TTQToolTipGroup"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMainWindow*) QtSupport::getQt(env, obj))->topDock(), "org.kde.qt.TTQDockArea"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QMainWindow_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QMainWindowJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQMainWindow*) 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(); + jboolean xret = (jboolean) ((TTQMainWindow*) QtSupport::getQt(env, obj))->usesTextLabel(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_whatsThis(JNIEnv* env, jobject obj) { - ((QMainWindowJBridge*) QtSupport::getQt(env, obj))->public_whatsThis(); + ((TQMainWindowJBridge*) QtSupport::getQt(env, obj))->public_whatsThis(); return; } diff --git a/qtjava/javalib/qtjava/QMainWindow.h b/qtjava/javalib/qtjava/QMainWindow.h index 0acd7b6f..0cde5479 100644 --- a/qtjava/javalib/qtjava/QMainWindow.h +++ b/qtjava/javalib/qtjava/QMainWindow.h @@ -12,10 +12,10 @@ extern "C" 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_newQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newQMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newQMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMainWindow_newQMainWindow__ (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); diff --git a/qtjava/javalib/qtjava/QMenuBar.cpp b/qtjava/javalib/qtjava/QMenuBar.cpp index ed2e0668..5066ac0c 100644 --- a/qtjava/javalib/qtjava/QMenuBar.cpp +++ b/qtjava/javalib/qtjava/QMenuBar.cpp @@ -13,406 +13,406 @@ #include #include -#include +#include -class QMenuBarJBridge : public QMenuBar +class TQMenuBarJBridge : public TQMenuBar { public: - QMenuBarJBridge(TQWidget* arg1,const char* arg2) : TQMenuBar(arg1,arg2) {}; - QMenuBarJBridge(TQWidget* arg1) : TQMenuBar(arg1) {}; - QMenuBarJBridge() : TQMenuBar() {}; - void protected_drawContents(TQPainter* arg1) { - TQMenuBar::drawContents(arg1); + TQMenuBarJBridge(TTQWidget* arg1,const char* arg2) : TTQMenuBar(arg1,arg2) {}; + TQMenuBarJBridge(TTQWidget* arg1) : TTQMenuBar(arg1) {}; + TQMenuBarJBridge() : TTQMenuBar() {}; + void protected_drawContents(TTQPainter* arg1) { + TTQMenuBar::drawContents(arg1); return; } - void protected_fontChange(const TQFont& arg1) { - TQMenuBar::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQMenuBar::fontChange(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQMenuBar::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQMenuBar::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQMenuBar::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQMenuBar::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQMenuBar::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQMenuBar::mouseMoveEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQMenuBar::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQMenuBar::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQMenuBar::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQMenuBar::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQMenuBar::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQMenuBar::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQMenuBar::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQMenuBar::resizeEvent(arg1); return; } - void protected_leaveEvent(TQEvent* arg1) { - TQMenuBar::leaveEvent(arg1); + void protected_leaveEvent(TTQEvent* arg1) { + TTQMenuBar::leaveEvent(arg1); return; } void protected_menuContentsChanged() { - TQMenuBar::menuContentsChanged(); + TTQMenuBar::menuContentsChanged(); return; } void protected_menuStateChanged() { - TQMenuBar::menuStateChanged(); + TTQMenuBar::menuStateChanged(); return; } - void protected_styleChange(TQStyle& arg1) { - TQMenuBar::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQMenuBar::styleChange(arg1); return; } - int protected_itemAtPos(const TQPoint& arg1) { - return (int) TQMenuBar::itemAtPos(arg1); + int protected_itemAtPos(const TTQPoint& arg1) { + return (int) TTQMenuBar::itemAtPos(arg1); } void protected_hidePopups() { - TQMenuBar::hidePopups(); + TTQMenuBar::hidePopups(); return; } - TQRect protected_itemRect(int arg1) { - return (TQRect) TQMenuBar::itemRect(arg1); + TTQRect protected_itemRect(int arg1) { + return (TTQRect) TTQMenuBar::itemRect(arg1); } - ~QMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); + ~TQMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} + void protected_menuInsPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuDelPopup(arg1); return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQMenuBar::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQMenuBar::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQMenuBar::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQMenuBar::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQMenuBar::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQMenuBar::keyPressEvent(arg1); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQMenuBar::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQMenuBar::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQMenuBar::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQMenuBar::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQMenuBar::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQMenuBar::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQMenuBar::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMenuBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMenuBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -421,67 +421,67 @@ public: 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TTQKeySequence", 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); + ((TTQMenuBar*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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)); + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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); + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id); return; } @@ -489,28 +489,28 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMenuBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQMenuBar*) 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(); + ((TTQMenuData*)(TTQMenuBar*) 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(); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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(); + jboolean xret = (jboolean) ((TTQMenuBar*) QtSupport::getQt(env, obj))->customWhatsThis(); return xret; } @@ -524,22 +524,22 @@ Java_org_kde_qt_QMenuBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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)); + jboolean xret = (jboolean) ((TTQMenuBar*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQMenuBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -548,14 +548,14 @@ Java_org_kde_qt_QMenuBar_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TTQMenuItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMenuItem"); return xret; } @@ -563,7 +563,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TTQMenuItem"); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; } @@ -571,409 +571,409 @@ Java_org_kde_qt_QMenuBar_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, job JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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); + jint xret = (jint) ((TTQMenuBar*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_hidePopups(JNIEnv* env, jobject obj) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_hidePopups(); + ((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(); + ((TTQMenuBar*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TTQIconSet"); 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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(); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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(); + jboolean xret = (jboolean) ((TTQMenuBar*) QtSupport::getQt(env, obj))->isDefaultUp(); return xret; } @@ -986,162 +986,162 @@ Java_org_kde_qt_QMenuBar_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQMenuBar*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQMenuBar*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQMenuBar*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQMenuBar*) 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) ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TTQPoint&)*(const TTQPoint*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQMenuBar*) 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(((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_itemRect((int) item)), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TTQEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuContentsChanged(JNIEnv* env, jobject obj) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_menuStateChanged(JNIEnv* env, jobject obj) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQMenuBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQMenuBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newQMenuBar__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMenuBar_newTQMenuBar__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMenuBarJBridge()); + QtSupport::setQt(env, obj, new TQMenuBarJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQMenuBarJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQMenuBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1150,165 +1150,165 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TTQPixmap"); 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); + ((TTQMenuData*)(TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->removeItem((int) id); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jint xret = (jint) ((TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) 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); + ((TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQMenuBar*) 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); + ((TTQMenuData*)(TTQMenuBar*) 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); + ((TTQMenuBar*) QtSupport::getQt(env, obj))->setSeparator((TTQMenuBar::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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) 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(); + ((TTQMenuBar*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*)(TTQMenuBar*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QMenuBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + ((TTQMenuBar*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*)(TTQMenuBar*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL @@ -1335,7 +1335,7 @@ Java_org_kde_qt_QMenuBar_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Lja 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; +static TTQString * _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); @@ -1365,7 +1365,7 @@ Java_org_kde_qt_QMenuBar_connectItem(JNIEnv *env, jobject obj, jint identifier, { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { @@ -1380,7 +1380,7 @@ Java_org_kde_qt_QMenuBar_disconnectItem(JNIEnv *env, jobject obj, jint identifie { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QMenuBarJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + if ( ((TQMenuBarJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { diff --git a/qtjava/javalib/qtjava/QMenuBar.h b/qtjava/javalib/qtjava/QMenuBar.h index 69f66f4a..41cb59c7 100644 --- a/qtjava/javalib/qtjava/QMenuBar.h +++ b/qtjava/javalib/qtjava/QMenuBar.h @@ -12,9 +12,9 @@ extern "C" 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_newQMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newQMenuBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuBar_newQMenuBar__ (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); diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp index 5d18ae99..1c35db21 100644 --- a/qtjava/javalib/qtjava/QMenuData.cpp +++ b/qtjava/javalib/qtjava/QMenuData.cpp @@ -7,109 +7,109 @@ #include #include -#include +#include -class QMenuDataJBridge : public QMenuData +class TQMenuDataJBridge : public TQMenuData { public: - QMenuDataJBridge() : TQMenuData() {}; + TQMenuDataJBridge() : TTQMenuData() {}; void protected_menuContentsChanged() { - TQMenuData::menuContentsChanged(); + TTQMenuData::menuContentsChanged(); return; } void protected_menuStateChanged() { - TQMenuData::menuStateChanged(); + TTQMenuData::menuStateChanged(); return; } - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); + void protected_menuInsPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuDelPopup(arg1); return; } - ~QMenuDataJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TTQKeySequence", 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); + ((TTQMenuData*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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)); + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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); + ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) 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(); + ((TTQMenuData*) 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(); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -124,7 +124,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMenuData*)QtSupport::getQt(env, obj); + delete (TTQMenuData*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -133,14 +133,14 @@ Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TTQMenuItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMenuItem"); return xret; } @@ -148,7 +148,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TTQMenuItem"); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; } @@ -156,360 +156,360 @@ Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jo 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TTQIconSet"); 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); + jint xret = (jint) ((TTQMenuData*) 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); + jint xret = (jint) ((TTQMenuData*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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(); + jint xret = (jint) ((TTQMenuData*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index); return xret; } @@ -522,71 +522,71 @@ Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQMenuData*) 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); + jboolean xret = (jboolean) ((TTQMenuData*) 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); + jboolean xret = (jboolean) ((TTQMenuData*) 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); + jboolean xret = (jboolean) ((TTQMenuData*) 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); + jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuData_newQMenuData(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMenuDataJBridge()); + QtSupport::setQt(env, obj, new TQMenuDataJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -595,95 +595,95 @@ Java_org_kde_qt_QMenuData_newQMenuData(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TTQPixmap"); 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); + ((TTQMenuData*) 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); + ((TTQMenuData*) 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); + ((TTQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) 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); + ((TTQMenuData*) 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); + ((TTQMenuData*) 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); + ((TTQMenuData*) 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); + jboolean xret = (jboolean) ((TTQMenuData*) 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); + ((TTQMenuData*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*) 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); + ((TTQMenuData*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL @@ -710,7 +710,7 @@ Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Lj 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; +static TTQString * _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); @@ -740,7 +740,7 @@ Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { @@ -755,7 +755,7 @@ Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifi { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { diff --git a/qtjava/javalib/qtjava/QMenuData.h b/qtjava/javalib/qtjava/QMenuData.h index f9bd5203..7217ca9c 100644 --- a/qtjava/javalib/qtjava/QMenuData.h +++ b/qtjava/javalib/qtjava/QMenuData.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_newQMenuData (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMenuItem.cpp b/qtjava/javalib/qtjava/QMenuItem.cpp index c2b46049..58f1278f 100644 --- a/qtjava/javalib/qtjava/QMenuItem.cpp +++ b/qtjava/javalib/qtjava/QMenuItem.cpp @@ -4,19 +4,19 @@ #include #include -#include +#include -class QMenuItemJBridge : public QMenuItem +class TQMenuItemJBridge : public TQMenuItem { public: - QMenuItemJBridge() : TQMenuItem() {}; - ~QMenuItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQMenuItemJBridge() : TTQMenuItem() {}; + ~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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->custom(), "org.kde.qt.TTQCustomMenuItem"); return xret; } @@ -31,7 +31,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMenuItem*)QtSupport::getQt(env, obj); + delete (TTQMenuItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -40,28 +40,28 @@ Java_org_kde_qt_QMenuItem_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TTQIconSet"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuItem_id(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMenuItem*) QtSupport::getQt(env, obj))->id(); + jint xret = (jint) ((TTQMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQMenuItem*) QtSupport::getQt(env, obj))->isDirty(); return xret; } @@ -74,43 +74,43 @@ Java_org_kde_qt_QMenuItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuItem_isEnabledAndVisible(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMenuItem*) QtSupport::getQt(env, obj))->isEnabledAndVisible(); + jboolean xret = (jboolean) ((TTQMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQMenuItem*) 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(); + jboolean xret = (jboolean) ((TTQMenuItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuItem*) QtSupport::getQt(env, obj))->key()), "org.kde.qt.TTQKeySequence", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMenuItem_newQMenuItem(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMenuItem_newTQMenuItem(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMenuItemJBridge()); + QtSupport::setQt(env, obj, new TQMenuItemJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -119,74 +119,74 @@ Java_org_kde_qt_QMenuItem_newQMenuItem(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TTQPopupMenu"); 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); + ((TTQMenuItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + ((TTQMenuItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->signal(), "org.kde.qt.TTQSignal"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QMenuItem.h b/qtjava/javalib/qtjava/QMenuItem.h index 4ee8fcce..29417086 100644 --- a/qtjava/javalib/qtjava/QMenuItem.h +++ b/qtjava/javalib/qtjava/QMenuItem.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMenuItem_newQMenuItem (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMessageBox.cpp b/qtjava/javalib/qtjava/QMessageBox.cpp index 233be582..b388aea0 100644 --- a/qtjava/javalib/qtjava/QMessageBox.cpp +++ b/qtjava/javalib/qtjava/QMessageBox.cpp @@ -6,358 +6,358 @@ #include #include -#include +#include -class QMessageBoxJBridge : public QMessageBox +class TQMessageBoxJBridge : public TQMessageBox { public: - QMessageBoxJBridge(TQWidget* arg1,const char* arg2) : TQMessageBox(arg1,arg2) {}; - QMessageBoxJBridge(TQWidget* arg1) : TQMessageBox(arg1) {}; - QMessageBoxJBridge() : TQMessageBox() {}; - QMessageBoxJBridge(const TQString& arg1,const TQString& arg2,TQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TQWidget* arg7,const char* arg8,bool arg9,Qt::WFlags arg10) : TQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - QMessageBoxJBridge(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) {}; - QMessageBoxJBridge(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) {}; - QMessageBoxJBridge(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) {}; - QMessageBoxJBridge(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); + TQMessageBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQMessageBox(arg1,arg2) {}; + TQMessageBoxJBridge(TTQWidget* arg1) : TTQMessageBox(arg1) {}; + TQMessageBoxJBridge() : TTQMessageBox() {}; + TQMessageBoxJBridge(const TTQString& arg1,const TTQString& arg2,TTQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TTQWidget* arg7,const char* arg8,bool arg9,TQt::WFlags arg10) : TTQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQMessageBoxJBridge(const TTQString& arg1,const TTQString& arg2,TTQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TTQWidget* arg7,const char* arg8,bool arg9) : TTQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQMessageBoxJBridge(const TTQString& arg1,const TTQString& arg2,TTQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TTQWidget* arg7,const char* arg8) : TTQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQMessageBoxJBridge(const TTQString& arg1,const TTQString& arg2,TTQMessageBox::Icon arg3,int arg4,int arg5,int arg6,TTQWidget* arg7) : TTQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQMessageBoxJBridge(const TTQString& arg1,const TTQString& arg2,TTQMessageBox::Icon arg3,int arg4,int arg5,int arg6) : TTQMessageBox(arg1,arg2,arg3,arg4,arg5,arg6) {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQMessageBox::resizeEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQMessageBox::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQMessageBox::showEvent(arg1); return; } - void protected_closeEvent(TQCloseEvent* arg1) { - TQMessageBox::closeEvent(arg1); + void protected_closeEvent(TTQCloseEvent* arg1) { + TTQMessageBox::closeEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQMessageBox::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQMessageBox::keyPressEvent(arg1); return; } - void protected_styleChanged(TQStyle& arg1) { - TQMessageBox::styleChanged(arg1); + void protected_styleChanged(TTQStyle& arg1) { + TTQMessageBox::styleChanged(arg1); return; } - ~QMessageBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQMessageBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQMessageBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQMessageBox::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQMessageBox::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQMessageBox::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQMessageBox::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQMessageBox::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQMessageBox::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQMessageBox::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMessageBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMessageBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -367,7 +367,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutQt__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) { (void) cls; - QMessageBoxJBridge::aboutQt((TQWidget*) QtSupport::getQt(env, parent)); + TQMessageBoxJBridge::aboutQt((TTQWidget*) QtSupport::getQt(env, parent)); return; } @@ -375,8 +375,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_aboutQt__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring caption) { (void) cls; -static TQString* _qstring_caption = 0; - QMessageBoxJBridge::aboutQt((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption)); +static TTQString* _qstring_caption = 0; + TQMessageBoxJBridge::aboutQt((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); return; } @@ -384,39 +384,39 @@ 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; - QMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + TQMessageBoxJBridge::about((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) 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(); + ((TTQMessageBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMessageBox*) 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(); + _qstring = ((TTQMessageBox*) 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) { - ((QMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) QtSupport::getQt(env, arg1)); return; } @@ -424,9 +424,9 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -434,9 +434,9 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); return xret; } @@ -444,9 +444,9 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); return xret; } @@ -454,10 +454,10 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); return xret; } @@ -465,11 +465,11 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); return xret; } @@ -477,12 +477,12 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); return xret; } @@ -490,12 +490,12 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); return xret; } @@ -503,12 +503,12 @@ 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) QMessageBoxJBridge::critical((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::critical((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); return xret; } @@ -522,8 +522,8 @@ Java_org_kde_qt_QMessageBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQMessageBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQMessageBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -532,14 +532,14 @@ Java_org_kde_qt_QMessageBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QMessageBox_iconId(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMessageBox*) QtSupport::getQt(env, obj))->icon(); + jint xret = (jint) ((TTQMessageBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMessageBox*) QtSupport::getQt(env, obj))->iconPixmap(), "org.kde.qt.TTQPixmap"); return xret; } @@ -547,9 +547,9 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -557,9 +557,9 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); return xret; } @@ -567,9 +567,9 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); return xret; } @@ -577,9 +577,9 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); return xret; } @@ -587,10 +587,10 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); return xret; } @@ -598,11 +598,11 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); return xret; } @@ -610,12 +610,12 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); return xret; } @@ -623,12 +623,12 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); return xret; } @@ -636,12 +636,12 @@ 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) QMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::information((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); return xret; } @@ -654,7 +654,7 @@ Java_org_kde_qt_QMessageBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } @@ -662,9 +662,9 @@ 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) QMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -672,10 +672,10 @@ 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) QMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, buttonText, &_qstring_buttonText)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_buttonText = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText)); return xret; } @@ -683,10 +683,10 @@ 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) QMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_buttonText = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TTQWidget*) QtSupport::getQt(env, parent)); return xret; } @@ -694,110 +694,110 @@ 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) QMessageBoxJBridge::message((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, buttonText, &_qstring_buttonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg5, &_qstring_arg5)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_buttonText = 0; +static TTQCString* _qstring_arg5 = 0; + jint xret = (jint) TQMessageBoxJBridge::message((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, buttonText, &_qstring_buttonText), (TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMessageBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newQMessageBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMessageBox_newTQMessageBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge()); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring caption, jstring text, jint icon, jint button0, jint button1, jint button2) +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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2)); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQMessageBox::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_newQMessageBox__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) +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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newQMessageBox__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) +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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQMessageBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newQMessageBox__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) +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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQMessageBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TTQWidget*) 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_newQMessageBox__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) +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; +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(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, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQMessageBox::Icon) icon, (int) button0, (int) button1, (int) button2, (TTQWidget*) 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_newQMessageBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QMessageBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMessageBox_newQMessageBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMessageBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQMessageBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -807,9 +807,9 @@ 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) QMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -817,10 +817,10 @@ 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) QMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, yesButtonText, &_qstring_yesButtonText)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_yesButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText)); return xret; } @@ -828,11 +828,11 @@ 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) QMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toQString(env, noButtonText, &_qstring_noButtonText)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_yesButtonText = 0; +static TTQString* _qstring_noButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText)); return xret; } @@ -840,11 +840,11 @@ 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) QMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_yesButtonText = 0; +static TTQString* _qstring_noButtonText = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TTQWidget*) QtSupport::getQt(env, parent)); return xret; } @@ -852,12 +852,12 @@ 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) QMessageBoxJBridge::query((const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, yesButtonText, &_qstring_yesButtonText), (const TQString&)*(TQString*) QtSupport::toQString(env, noButtonText, &_qstring_noButtonText), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg6, &_qstring_arg6)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_yesButtonText = 0; +static TTQString* _qstring_noButtonText = 0; +static TTQCString* _qstring_arg6 = 0; + jboolean xret = (jboolean) TQMessageBoxJBridge::query((const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, yesButtonText, &_qstring_yesButtonText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, noButtonText, &_qstring_noButtonText), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, arg6, &_qstring_arg6)); return xret; } @@ -865,9 +865,9 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -875,9 +875,9 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0); return xret; } @@ -885,9 +885,9 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); return xret; } @@ -895,9 +895,9 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); return xret; } @@ -905,10 +905,10 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); return xret; } @@ -916,11 +916,11 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); return xret; } @@ -928,12 +928,12 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); return xret; } @@ -941,12 +941,12 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); return xret; } @@ -954,70 +954,70 @@ 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) QMessageBoxJBridge::question((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::question((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) 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) { - ((QMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQMessageBox*) QtSupport::getQt(env, obj))->setButtonText((int) button, (const TTQString&)*(TTQString*) 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)); + ((TTQMessageBox*) QtSupport::getQt(env, obj))->setIconPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQMessageBox*) QtSupport::getQt(env, obj))->setIcon((TTQMessageBox::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)); + ((TTQMessageBox*) QtSupport::getQt(env, obj))->setIcon((const TTQPixmap&)*(const TTQPixmap*) 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((Qt::TextFormat) arg1); + ((TTQMessageBox*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQMessageBox*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) QtSupport::getQt(env, arg1)); return; } @@ -1025,7 +1025,7 @@ 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(QMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQMessageBoxJBridge::standardIcon((TTQMessageBox::Icon) icon)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -1033,60 +1033,60 @@ 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(QMessageBoxJBridge::standardIcon((TQMessageBox::Icon) icon, (Qt::GUIStyle) arg2)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQMessageBoxJBridge::standardIcon((TTQMessageBox::Icon) icon, (TQt::GUIStyle) arg2)), "org.kde.qt.TTQPixmap", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_styleChanged(JNIEnv* env, jobject obj, jobject arg1) { - ((QMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChanged((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQMessageBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChanged((TTQStyle&)*(TTQStyle*) 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(); + jint xret = (jint) ((TTQMessageBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMessageBox*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QMessageBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return xret; } @@ -1094,9 +1094,9 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1); return xret; } @@ -1104,9 +1104,9 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) button0, (int) button1, (int) button2); return xret; } @@ -1114,10 +1114,10 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text)); return xret; } @@ -1125,11 +1125,11 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text)); return xret; } @@ -1137,12 +1137,12 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text)); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text)); return xret; } @@ -1150,12 +1150,12 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber); return xret; } @@ -1163,12 +1163,12 @@ 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) QMessageBoxJBridge::warning((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, button0Text, &_qstring_button0Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button1Text, &_qstring_button1Text), (const TQString&)*(TQString*) QtSupport::toQString(env, button2Text, &_qstring_button2Text), (int) defaultButtonNumber, (int) escapeButtonNumber); +static TTQString* _qstring_caption = 0; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_button0Text = 0; +static TTQString* _qstring_button1Text = 0; +static TTQString* _qstring_button2Text = 0; + jint xret = (jint) TQMessageBoxJBridge::warning((TTQWidget*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button0Text, &_qstring_button0Text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, button1Text, &_qstring_button1Text), (const TTQString&)*(TTQString*) 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 index 6b0ffe38..d81c03f5 100644 --- a/qtjava/javalib/qtjava/QMessageBox.h +++ b/qtjava/javalib/qtjava/QMessageBox.h @@ -12,14 +12,14 @@ extern "C" 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_newQMessageBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newQMessageBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newQMessageBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMessageBox_newQMessageBox__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_newQMessageBox__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_newQMessageBox__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_newQMessageBox__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_newQMessageBox__Ljava_lang_String_2Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jstring, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QMetaData.cpp b/qtjava/javalib/qtjava/QMetaData.cpp index 8022213e..dc1cda96 100644 --- a/qtjava/javalib/qtjava/QMetaData.cpp +++ b/qtjava/javalib/qtjava/QMetaData.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QMetaDataJBridge : public QMetaData +class TQMetaDataJBridge : public TQMetaData { public: - QMetaDataJBridge() : QMetaData() {}; - ~QMetaDataJBridge() {QtSupport::qtKeyDeleted(this);} + TQMetaDataJBridge() : TQMetaData() {}; + ~TQMetaDataJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QMetaData*)QtSupport::getQt(env, obj); + delete (TQMetaData*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QMetaData_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaData_newQMetaData(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMetaData_newTQMetaData(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMetaDataJBridge()); + 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 index be322427..b913671a 100644 --- a/qtjava/javalib/qtjava/QMetaData.h +++ b/qtjava/javalib/qtjava/QMetaData.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaData_newQMetaData (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMetaEnum.cpp b/qtjava/javalib/qtjava/QMetaEnum.cpp index b9ef14ce..63578d51 100644 --- a/qtjava/javalib/qtjava/QMetaEnum.cpp +++ b/qtjava/javalib/qtjava/QMetaEnum.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QMetaEnumJBridge : public QMetaEnum +class TQMetaEnumJBridge : public TQMetaEnum { public: - QMetaEnumJBridge() : QMetaEnum() {}; - ~QMetaEnumJBridge() {QtSupport::qtKeyDeleted(this);} + TQMetaEnumJBridge() : TQMetaEnum() {}; + ~TQMetaEnumJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QMetaEnum*)QtSupport::getQt(env, obj); + delete (TQMetaEnum*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QMetaEnum_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaEnum_newQMetaEnum(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMetaEnum_newTQMetaEnum(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMetaEnumJBridge()); + 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 index 94e0df89..97ace9ba 100644 --- a/qtjava/javalib/qtjava/QMetaEnum.h +++ b/qtjava/javalib/qtjava/QMetaEnum.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMetaEnum_newQMetaEnum (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMetaObject.cpp b/qtjava/javalib/qtjava/QMetaObject.cpp index f14b0ed0..f4b0620c 100644 --- a/qtjava/javalib/qtjava/QMetaObject.cpp +++ b/qtjava/javalib/qtjava/QMetaObject.cpp @@ -3,19 +3,19 @@ #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.QClassInfo"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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.QClassInfo"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->classInfo((int) index, (bool) arg2), "org.kde.qt.TQClassInfo"); return xret; } @@ -23,8 +23,8 @@ 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)); +static TTQCString* _qstring_name = 0; + _qstring = ((TTQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name)); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -32,8 +32,8 @@ 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); +static TTQCString* _qstring_name = 0; + _qstring = ((TTQMetaObject*) QtSupport::getQt(env, obj))->classInfo((const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) arg2); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -41,87 +41,87 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQMetaObject*) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->enumeratorNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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.QMetaEnum"); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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.QMetaEnum"); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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)); +static TTQCString* _qstring_name = 0; + jint xret = (jint) ((TTQMetaObject*) 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); +static TTQCString* _qstring_name = 0; + jint xret = (jint) ((TTQMetaObject*) 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)); +static TTQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQMetaObject*) 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); +static TTQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQMetaObject*) 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)); +static TTQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQMetaObject*) 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); +static TTQCString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQMetaObject*) QtSupport::getQt(env, obj))->findSlot((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (bool) arg2); return xret; } @@ -129,30 +129,30 @@ 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)); +static TTQCString* _qstring_class_name = 0; + jboolean xret = (jboolean) TTQMetaObject::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)); + jint xret = (jint) ((TTQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TTQMetaProperty*) 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); + jint xret = (jint) ((TTQMetaObject*) QtSupport::getQt(env, obj))->indexOfProperty((const TTQMetaProperty*) 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)); +static TTQCString* _qstring_clname = 0; + jboolean xret = (jboolean) ((TTQMetaObject*) QtSupport::getQt(env, obj))->inherits((const char*) QtSupport::toCharString(env, clname, &_qstring_clname)); return xret; } @@ -160,210 +160,210 @@ 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"); +static TTQCString* _qstring_class_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQMetaObject::metaObject((const char*) QtSupport::toCharString(env, class_name, &_qstring_class_name)), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_numClassInfo__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->numClassInfo(); + jint xret = (jint) ((TTQMetaObject*) 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); + jint xret = (jint) ((TTQMetaObject*) 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(); + jint xret = (jint) ((TTQMetaObject*) 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); + jint xret = (jint) ((TTQMetaObject*) 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(); + jint xret = (jint) ((TTQMetaObject*) 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); + jint xret = (jint) ((TTQMetaObject*) 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(); + jint xret = (jint) ((TTQMetaObject*) 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); + jint xret = (jint) ((TTQMetaObject*) 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(); + jint xret = (jint) ((TTQMetaObject*) 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); + jint xret = (jint) ((TTQMetaObject*) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->propertyNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->propertyNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_propertyOffset(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->propertyOffset(); + jint xret = (jint) ((TTQMetaObject*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->property((int) index), "org.kde.qt.TTQMetaProperty"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->property((int) index, (bool) arg2), "org.kde.qt.TTQMetaProperty"); 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)); + jboolean xret = (jboolean) ((TTQMetaObject*) QtSupport::getQt(env, obj))->qt_static_property((TTQObject*) QtSupport::getQt(env, o), (int) id, (int) f, (TTQVariant*) 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); + jint xret = (jint) ((TTQMetaObject*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->resolveProperty((const TTQMetaProperty*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMetaProperty"); 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->signalNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->signalNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_signalOffset(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->signalOffset(); + jint xret = (jint) ((TTQMetaObject*) 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.QMetaData"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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.QMetaData"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->slotNames(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaObject*) QtSupport::getQt(env, obj))->slotNames((bool) arg1); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaObject_slotOffset(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMetaObject*) QtSupport::getQt(env, obj))->slotOffset(); + jint xret = (jint) ((TTQMetaObject*) 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.QMetaData"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) 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.QMetaData"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->slot((int) index, (bool) arg2), "org.kde.qt.TQMetaData"); return xret; } @@ -371,14 +371,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaObject_superClassName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMetaObject*) QtSupport::getQt(env, obj))->superClassName(); + _qstring = ((TTQMetaObject*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMetaObject*) QtSupport::getQt(env, obj))->superClass(), "org.kde.qt.TTQMetaObject"); return xret; } diff --git a/qtjava/javalib/qtjava/QMetaProperty.cpp b/qtjava/javalib/qtjava/QMetaProperty.cpp index 9faf655f..7557b2e7 100644 --- a/qtjava/javalib/qtjava/QMetaProperty.cpp +++ b/qtjava/javalib/qtjava/QMetaProperty.cpp @@ -3,33 +3,33 @@ #include #include -#include +#include -class QMetaPropertyJBridge : public QMetaProperty +class TQMetaPropertyJBridge : public TQMetaProperty { public: - QMetaPropertyJBridge() : TQMetaProperty() {}; - ~QMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} + TQMetaPropertyJBridge() : TTQMetaProperty() {}; + ~TQMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj) { - ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear(); + ((TTQMetaProperty*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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)); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->designable((TTQObject*) QtSupport::getQt(env, arg1)); return xret; } @@ -43,16 +43,16 @@ Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_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); + delete (TTQMetaProperty*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -61,7 +61,7 @@ Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id(); + jint xret = (jint) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->id(); return xret; } @@ -74,37 +74,37 @@ Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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)); +static TTQCString* _qstring_key = 0; + jint xret = (jint) ((TTQMetaProperty*) 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::toQStrList(env, keys, &_qlist_keys)); +static TTQStrList* _qlist_keys = 0; + jint xret = (jint) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TTQStrList&)*(TTQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); return xret; } @@ -112,15 +112,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_newQMetaProperty(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMetaProperty_newTQMetaProperty(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMetaPropertyJBridge()); + QtSupport::setQt(env, obj, new TQMetaPropertyJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -129,49 +129,49 @@ Java_org_kde_qt_QMetaProperty_newQMetaProperty(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->reset((TTQObject*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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)); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TTQObject*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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(); + jboolean xret = (jboolean) ((TTQMetaProperty*) 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)); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->stored((TTQObject*) 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); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); return xret; } @@ -179,7 +179,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type(); + _qstring = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->type(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -187,22 +187,22 @@ 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); + _qstring = ((TTQMetaProperty*) 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::arrayWithQStrList(env, (TQStrList*) &_qlist); + TTQStrList _qlist; + _qlist = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value); + return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_writable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable(); + jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->writable(); return xret; } diff --git a/qtjava/javalib/qtjava/QMetaProperty.h b/qtjava/javalib/qtjava/QMetaProperty.h index 76ea209e..6132a20c 100644 --- a/qtjava/javalib/qtjava/QMetaProperty.h +++ b/qtjava/javalib/qtjava/QMetaProperty.h @@ -32,7 +32,7 @@ extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_testFlags (JNIEn 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_newQMetaProperty (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); diff --git a/qtjava/javalib/qtjava/QMimeSource.cpp b/qtjava/javalib/qtjava/QMimeSource.cpp index 921269f2..0b1b712d 100644 --- a/qtjava/javalib/qtjava/QMimeSource.cpp +++ b/qtjava/javalib/qtjava/QMimeSource.cpp @@ -3,22 +3,22 @@ #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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQMimeSource*) 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(); + _qstring = ((TTQMimeSource*) QtSupport::getQt(env, obj))->format(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -26,28 +26,28 @@ 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); + _qstring = ((TTQMimeSource*) 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQMimeSource*) 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(); + jint xret = (jint) ((TTQMimeSource*) 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); + return (jlong) (TTQMimeSource *) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QMimeSourceFactory.cpp b/qtjava/javalib/qtjava/QMimeSourceFactory.cpp index d05fab42..76055f16 100644 --- a/qtjava/javalib/qtjava/QMimeSourceFactory.cpp +++ b/qtjava/javalib/qtjava/QMimeSourceFactory.cpp @@ -6,45 +6,45 @@ #include #include -#include +#include -class QMimeSourceFactoryJBridge : public QMimeSourceFactory +class TQMimeSourceFactoryJBridge : public TQMimeSourceFactory { public: - QMimeSourceFactoryJBridge() : TQMimeSourceFactory() {}; - ~QMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} + TQMimeSourceFactoryJBridge() : TTQMimeSourceFactory() {}; + ~TQMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_addFactory(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QMimeSourceFactoryJBridge::addFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); + TQMimeSourceFactoryJBridge::addFactory((TTQMimeSourceFactory*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->addFilePath((const TTQString&)*(TTQString*) 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::toQString(env, abs_name, &_qstring_abs_name)), "org.kde.qt.QMimeSourceInterface"); +static TTQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TTQString&)*(TTQString*) 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::toQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context)), "org.kde.qt.QMimeSourceInterface"); +static TTQString* _qstring_abs_or_rel_name = 0; +static TTQString* _qstring_context = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->data((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)), "org.kde.qt.TQMimeSourceInterface"); return xret; } @@ -52,7 +52,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_defaultFactory(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QMimeSourceFactoryJBridge::defaultFactory(), "org.kde.qt.TQMimeSourceFactory"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::defaultFactory(), "org.kde.qt.TTQMimeSourceFactory"); return xret; } @@ -66,16 +66,16 @@ Java_org_kde_qt_QMimeSourceFactory_dispose(JNIEnv* env, jobject obj) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->filePath(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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); + delete (TTQMimeSourceFactory*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -90,18 +90,18 @@ Java_org_kde_qt_QMimeSourceFactory_isDisposed(JNIEnv* env, jobject obj) 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::toQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_abs_or_rel_name = 0; +static TTQString* _qstring_context = 0; + _qstring = ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->makeAbsolute((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QMimeSourceFactory_newQMimeSourceFactory(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMimeSourceFactory_newTQMimeSourceFactory(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMimeSourceFactoryJBridge()); + QtSupport::setQt(env, obj, new TQMimeSourceFactoryJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -111,15 +111,15 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_removeFactory(JNIEnv* env, jclass cls, jobject f) { (void) cls; - QMimeSourceFactoryJBridge::removeFactory((TQMimeSourceFactory*) QtSupport::getQt(env, f)); + TQMimeSourceFactoryJBridge::removeFactory((TTQMimeSourceFactory*) 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::toQString(env, abs_name, &_qstring_abs_name), (TQMimeSource*) QtSupport::mimeSource(env, data)); +static TTQString* _qstring_abs_name = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setData((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (TTQMimeSource*) QtSupport::mimeSource(env, data)); return; } @@ -127,49 +127,49 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_setDefaultFactory(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QMimeSourceFactoryJBridge::setDefaultFactory((TQMimeSourceFactory*) QtSupport::getQt(env, arg1)); + TQMimeSourceFactoryJBridge::setDefaultFactory((TTQMimeSourceFactory*) 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::toQString(env, ext, &_qstring_ext), (const char*) QtSupport::toCharString(env, mimetype, &_qstring_mimetype)); +static TTQString* _qstring_ext = 0; +static TTQCString* _qstring_mimetype = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setExtensionType((const TTQString&)*(TTQString*) 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::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setFilePath((const TTQStringList&)*(TTQStringList*) 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::toQString(env, abs_name, &_qstring_abs_name), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, im)); +static TTQString* _qstring_abs_name = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setImage((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TTQImage&)*(const TTQImage*) 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::toQString(env, abs_name, &_qstring_abs_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pm)); +static TTQString* _qstring_abs_name = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setPixmap((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, abs_name, &_qstring_abs_name), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_abs_name = 0; +static TTQString* _qstring_text = 0; + ((TTQMimeSourceFactory*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } @@ -177,7 +177,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QMimeSourceFactory_takeDefaultFactory(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QMimeSourceFactoryJBridge::takeDefaultFactory(), "org.kde.qt.TQMimeSourceFactory"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQMimeSourceFactoryJBridge::takeDefaultFactory(), "org.kde.qt.TTQMimeSourceFactory"); return xret; } diff --git a/qtjava/javalib/qtjava/QMimeSourceFactory.h b/qtjava/javalib/qtjava/QMimeSourceFactory.h index 01fc1fc8..eee55198 100644 --- a/qtjava/javalib/qtjava/QMimeSourceFactory.h +++ b/qtjava/javalib/qtjava/QMimeSourceFactory.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMimeSourceFactory_newQMimeSourceFactory (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMouseEvent.cpp b/qtjava/javalib/qtjava/QMouseEvent.cpp index a95684c7..79e6869b 100644 --- a/qtjava/javalib/qtjava/QMouseEvent.cpp +++ b/qtjava/javalib/qtjava/QMouseEvent.cpp @@ -4,27 +4,27 @@ #include #include -#include +#include -class QMouseEventJBridge : public QMouseEvent +class TQMouseEventJBridge : public TQMouseEvent { public: - QMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,int arg3,int arg4) : TQMouseEvent(arg1,arg2,arg3,arg4) {}; - QMouseEventJBridge(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5) : TQMouseEvent(arg1,arg2,arg3,arg4,arg5) {}; - ~QMouseEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQMouseEventJBridge(TTQEvent::Type arg1,const TTQPoint& arg2,int arg3,int arg4) : TTQMouseEvent(arg1,arg2,arg3,arg4) {}; + TQMouseEventJBridge(TTQEvent::Type arg1,const TTQPoint& arg2,const TTQPoint& arg3,int arg4,int arg5) : TTQMouseEvent(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(); + ((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQMouseEvent*) QtSupport::getQt(env, obj))->button(); return xret; } @@ -39,7 +39,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMouseEvent*)QtSupport::getQt(env, obj); + delete (TTQMouseEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -48,35 +48,35 @@ Java_org_kde_qt_QMouseEvent_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQMouseEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_globalX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->globalX(); + jint xret = (jint) ((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQMouseEvent*) 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(); + ((TTQMouseEvent*) 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(); + jboolean xret = (jboolean) ((TTQMouseEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -87,20 +87,20 @@ Java_org_kde_qt_QMouseEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QMouseEvent_newQMouseEvent__ILorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jint button, jint state) +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 QMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) button, (int) state)); + QtSupport::setQt(env, obj, new TQMouseEventJBridge((TTQEvent::Type) type, (const TTQPoint&)*(const TTQPoint*) 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_newQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jint type, jobject pos, jobject globalPos, jint button, jint state) +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 QMouseEventJBridge((TQEvent::Type) type, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) button, (int) state)); + QtSupport::setQt(env, obj, new TQMouseEventJBridge((TTQEvent::Type) type, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (int) button, (int) state)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -109,35 +109,35 @@ Java_org_kde_qt_QMouseEvent_newQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPo 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQMouseEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMouseEvent_stateAfter(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMouseEvent*) QtSupport::getQt(env, obj))->stateAfter(); + jint xret = (jint) ((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQMouseEvent*) 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(); + jint xret = (jint) ((TTQMouseEvent*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QMouseEvent.h b/qtjava/javalib/qtjava/QMouseEvent.h index b26f40b9..6b6d9233 100644 --- a/qtjava/javalib/qtjava/QMouseEvent.h +++ b/qtjava/javalib/qtjava/QMouseEvent.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newQMouseEvent__ILorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMouseEvent_newQMouseEvent__ILorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jint, jobject, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QMoveEvent.cpp b/qtjava/javalib/qtjava/QMoveEvent.cpp index 0354840d..b41a1411 100644 --- a/qtjava/javalib/qtjava/QMoveEvent.cpp +++ b/qtjava/javalib/qtjava/QMoveEvent.cpp @@ -3,13 +3,13 @@ #include #include -#include +#include -class QMoveEventJBridge : public QMoveEvent +class TQMoveEventJBridge : public TQMoveEvent { public: - QMoveEventJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQMoveEvent(arg1,arg2) {}; - ~QMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQMoveEventJBridge(const TTQPoint& arg1,const TTQPoint& arg2) : TTQMoveEvent(arg1,arg2) {}; + ~TQMoveEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMoveEvent*)QtSupport::getQt(env, obj); + delete (TTQMoveEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -36,10 +36,10 @@ Java_org_kde_qt_QMoveEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QMoveEvent_newQMoveEvent(JNIEnv* env, jobject obj, jobject pos, jobject oldPos) +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 QMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, oldPos))); + QtSupport::setQt(env, obj, new TQMoveEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, oldPos))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -48,14 +48,14 @@ Java_org_kde_qt_QMoveEvent_newQMoveEvent(JNIEnv* env, jobject obj, jobject pos, 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQMoveEvent*) QtSupport::getQt(env, obj))->oldPos(), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQMoveEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); return xret; } diff --git a/qtjava/javalib/qtjava/QMoveEvent.h b/qtjava/javalib/qtjava/QMoveEvent.h index 6c9adcfa..9dab5a9a 100644 --- a/qtjava/javalib/qtjava/QMoveEvent.h +++ b/qtjava/javalib/qtjava/QMoveEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMoveEvent_newQMoveEvent (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMovie.cpp b/qtjava/javalib/qtjava/QMovie.cpp index c98ed771..8c0f16e6 100644 --- a/qtjava/javalib/qtjava/QMovie.cpp +++ b/qtjava/javalib/qtjava/QMovie.cpp @@ -8,90 +8,90 @@ #include #include -#include +#include -class QMovieJBridge : public QMovie +class TQMovieJBridge : public TQMovie { public: - QMovieJBridge() : TQMovie() {}; - QMovieJBridge(int arg1) : TQMovie(arg1) {}; - QMovieJBridge(TQDataSource* arg1,int arg2) : TQMovie(arg1,arg2) {}; - QMovieJBridge(TQDataSource* arg1) : TQMovie(arg1) {}; - QMovieJBridge(const TQString& arg1,int arg2) : TQMovie(arg1,arg2) {}; - QMovieJBridge(const TQString& arg1) : TQMovie(arg1) {}; - QMovieJBridge(TQByteArray arg1,int arg2) : TQMovie(arg1,arg2) {}; - QMovieJBridge(TQByteArray arg1) : TQMovie(arg1) {}; - QMovieJBridge(const TQMovie& arg1) : TQMovie(arg1) {}; - ~QMovieJBridge() {QtSupport::qtKeyDeleted(this);} + TQMovieJBridge() : TTQMovie() {}; + TQMovieJBridge(int arg1) : TTQMovie(arg1) {}; + TQMovieJBridge(TTQDataSource* arg1,int arg2) : TTQMovie(arg1,arg2) {}; + TQMovieJBridge(TTQDataSource* arg1) : TTQMovie(arg1) {}; + TQMovieJBridge(const TTQString& arg1,int arg2) : TTQMovie(arg1,arg2) {}; + TQMovieJBridge(const TTQString& arg1) : TTQMovie(arg1) {}; + TQMovieJBridge(TTQByteArray arg1,int arg2) : TTQMovie(arg1,arg2) {}; + TQMovieJBridge(TTQByteArray arg1) : TTQMovie(arg1) {}; + TQMovieJBridge(const TTQMovie& arg1) : TTQMovie(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQMovie*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TTQColor"); 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&)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->connectResize((TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TTQSize&)"); 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)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->connectStatus((TTQObject*) 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&)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->connectUpdate((TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TTQRect&)"); 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)); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TTQObject*) 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&)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectResize((TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TTQSize&)"); 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)); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TTQObject*) 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)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectStatus((TTQObject*) 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)); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TTQObject*) 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&)"); + ((TTQMovie*) QtSupport::getQt(env, obj))->disconnectUpdate((TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke(const TTQRect&)"); return; } @@ -106,7 +106,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQMovie*)QtSupport::getQt(env, obj); + delete (TTQMovie*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -115,35 +115,35 @@ Java_org_kde_qt_QMovie_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_finished(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->finished(); + jboolean xret = (jboolean) ((TTQMovie*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQMovie*) QtSupport::getQt(env, obj))->frameImage(), "org.kde.qt.TTQImage"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMovie_frameNumber(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMovie*) QtSupport::getQt(env, obj))->frameNumber(); + jint xret = (jint) ((TTQMovie*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((TTQMovie*) QtSupport::getQt(env, obj))->framePixmap(), "org.kde.qt.TTQPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQMovie*) QtSupport::getQt(env, obj))->getValidRect(), "org.kde.qt.TTQRect"); return xret; } @@ -156,99 +156,99 @@ Java_org_kde_qt_QMovie_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMovie_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMovie*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQMovie*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMovie_newTQMovie__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge()); + QtSupport::setQt(env, obj, new TQMovieJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie__I(JNIEnv* env, jobject obj, jint bufsize) +Java_org_kde_qt_QMovie_newTQMovie__I(JNIEnv* env, jobject obj, jint bufsize) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge((int) bufsize)); + 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_newQMovie__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) { -static TQString* _qstring_fileName = 0; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName))); + QtSupport::setQt(env, obj, new TQMovieJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint bufsize) +Java_org_kde_qt_QMovie_newTQMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint bufsize) { -static TQString* _qstring_fileName = 0; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (int) bufsize)); + QtSupport::setQt(env, obj, new TQMovieJBridge((const TTQString&)*(TTQString*) 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_newQMovie__Lorg_kde_qt_QDataSource_2(JNIEnv* env, jobject obj, jobject arg1) +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 QMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQMovieJBridge((TTQDataSource*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QDataSource_2I(JNIEnv* env, jobject obj, jobject arg1, jint bufsize) +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 QMovieJBridge((TQDataSource*) QtSupport::getQt(env, arg1), (int) bufsize)); + QtSupport::setQt(env, obj, new TQMovieJBridge((TTQDataSource*) QtSupport::getQt(env, arg1), (int) bufsize)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QMovie_2(JNIEnv* env, jobject obj, jobject arg1) +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 QMovieJBridge((const TQMovie&)*(const TQMovie*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQMovieJBridge((const TTQMovie&)*(const TTQMovie*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie___3B(JNIEnv* env, jobject obj, jbyteArray data) +Java_org_kde_qt_QMovie_newTQMovie___3B(JNIEnv* env, jobject obj, jbyteArray data) { -static TQByteArray* _qbyteArray_data = 0; +static TTQByteArray* _qbyteArray_data = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setQt(env, obj, new TQMovieJBridge((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMovie_newQMovie___3BI(JNIEnv* env, jobject obj, jbyteArray data, jint bufsize) +Java_org_kde_qt_QMovie_newTQMovie___3BI(JNIEnv* env, jobject obj, jbyteArray data, jint bufsize) { -static TQByteArray* _qbyteArray_data = 0; +static TTQByteArray* _qbyteArray_data = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMovieJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (int) bufsize)); + QtSupport::setQt(env, obj, new TQMovieJBridge((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (int) bufsize)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -257,92 +257,92 @@ static TQByteArray* _qbyteArray_data = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_pause(JNIEnv* env, jobject obj) { - ((TQMovie*) QtSupport::getQt(env, obj))->pause(); + ((TTQMovie*) 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(); + jboolean xret = (jboolean) ((TTQMovie*) 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); +static TTQByteArray* _qbytearray_data = 0; + ((TTQMovie*) 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(); + jint xret = (jint) ((TTQMovie*) 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(); + ((TTQMovie*) 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(); + jboolean xret = (jboolean) ((TTQMovie*) 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)); + ((TTQMovie*) QtSupport::getQt(env, obj))->setBackgroundColor((const TTQColor&)*(const TTQColor*) 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); + ((TTQMovie*) 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(); + jint xret = (jint) ((TTQMovie*) 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(); + ((TTQMovie*) 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); + ((TTQMovie*) 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(); + jint xret = (jint) ((TTQMovie*) 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(); + ((TTQMovie*) QtSupport::getQt(env, obj))->unpause(); return; } diff --git a/qtjava/javalib/qtjava/QMovie.h b/qtjava/javalib/qtjava/QMovie.h index 749a4c98..317f6caf 100644 --- a/qtjava/javalib/qtjava/QMovie.h +++ b/qtjava/javalib/qtjava/QMovie.h @@ -10,15 +10,15 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QDataSource_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QDataSource_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie___3BI (JNIEnv *env, jobject, jbyteArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMovie_newQMovie__Lorg_kde_qt_QMovie_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QMultiLineEdit.cpp b/qtjava/javalib/qtjava/QMultiLineEdit.cpp index 4a3919f6..e1e95e01 100644 --- a/qtjava/javalib/qtjava/QMultiLineEdit.cpp +++ b/qtjava/javalib/qtjava/QMultiLineEdit.cpp @@ -4,391 +4,391 @@ #include #include -#include +#include -class QMultiLineEditJBridge : public QMultiLineEdit +class TQMultiLineEditJBridge : public TQMultiLineEdit { public: - QMultiLineEditJBridge(TQWidget* arg1,const char* arg2) : TQMultiLineEdit(arg1,arg2) {}; - QMultiLineEditJBridge(TQWidget* arg1) : TQMultiLineEdit(arg1) {}; - QMultiLineEditJBridge() : TQMultiLineEdit() {}; - TQPoint protected_cursorPoint() { - return (TQPoint) TQMultiLineEdit::cursorPoint(); + TQMultiLineEditJBridge(TTQWidget* arg1,const char* arg2) : TTQMultiLineEdit(arg1,arg2) {}; + TQMultiLineEditJBridge(TTQWidget* arg1) : TTQMultiLineEdit(arg1) {}; + TQMultiLineEditJBridge() : TTQMultiLineEdit() {}; + TTQPoint protected_cursorPoint() { + return (TTQPoint) TTQMultiLineEdit::cursorPoint(); } - void protected_insertAndMark(const TQString& arg1,bool arg2) { - TQMultiLineEdit::insertAndMark(arg1,arg2); + void protected_insertAndMark(const TTQString& arg1,bool arg2) { + TTQMultiLineEdit::insertAndMark(arg1,arg2); return; } void protected_newLine() { - TQMultiLineEdit::newLine(); + TTQMultiLineEdit::newLine(); return; } void protected_killLine() { - TQMultiLineEdit::killLine(); + TTQMultiLineEdit::killLine(); return; } void protected_pageUp(bool arg1) { - TQMultiLineEdit::pageUp(arg1); + TTQMultiLineEdit::pageUp(arg1); return; } void protected_pageUp() { - TQMultiLineEdit::pageUp(); + TTQMultiLineEdit::pageUp(); return; } void protected_pageDown(bool arg1) { - TQMultiLineEdit::pageDown(arg1); + TTQMultiLineEdit::pageDown(arg1); return; } void protected_pageDown() { - TQMultiLineEdit::pageDown(); + TTQMultiLineEdit::pageDown(); return; } void protected_cursorLeft(bool arg1,bool arg2) { - TQMultiLineEdit::cursorLeft(arg1,arg2); + TTQMultiLineEdit::cursorLeft(arg1,arg2); return; } void protected_cursorLeft(bool arg1) { - TQMultiLineEdit::cursorLeft(arg1); + TTQMultiLineEdit::cursorLeft(arg1); return; } void protected_cursorLeft() { - TQMultiLineEdit::cursorLeft(); + TTQMultiLineEdit::cursorLeft(); return; } void protected_cursorRight(bool arg1,bool arg2) { - TQMultiLineEdit::cursorRight(arg1,arg2); + TTQMultiLineEdit::cursorRight(arg1,arg2); return; } void protected_cursorRight(bool arg1) { - TQMultiLineEdit::cursorRight(arg1); + TTQMultiLineEdit::cursorRight(arg1); return; } void protected_cursorRight() { - TQMultiLineEdit::cursorRight(); + TTQMultiLineEdit::cursorRight(); return; } void protected_cursorUp(bool arg1) { - TQMultiLineEdit::cursorUp(arg1); + TTQMultiLineEdit::cursorUp(arg1); return; } void protected_cursorUp() { - TQMultiLineEdit::cursorUp(); + TTQMultiLineEdit::cursorUp(); return; } void protected_cursorDown(bool arg1) { - TQMultiLineEdit::cursorDown(arg1); + TTQMultiLineEdit::cursorDown(arg1); return; } void protected_cursorDown() { - TQMultiLineEdit::cursorDown(); + TTQMultiLineEdit::cursorDown(); return; } void protected_backspace() { - TQMultiLineEdit::backspace(); + TTQMultiLineEdit::backspace(); return; } void protected_home(bool arg1) { - TQMultiLineEdit::home(arg1); + TTQMultiLineEdit::home(arg1); return; } void protected_home() { - TQMultiLineEdit::home(); + TTQMultiLineEdit::home(); return; } void protected_end(bool arg1) { - TQMultiLineEdit::end(arg1); + TTQMultiLineEdit::end(arg1); return; } void protected_end() { - TQMultiLineEdit::end(); + TTQMultiLineEdit::end(); return; } bool protected_getMarkedRegion(int* arg1,int* arg2,int* arg3,int* arg4) { - return (bool) TQMultiLineEdit::getMarkedRegion(arg1,arg2,arg3,arg4); + return (bool) TTQMultiLineEdit::getMarkedRegion(arg1,arg2,arg3,arg4); } int protected_lineLength(int arg1) { - return (int) TQMultiLineEdit::lineLength(arg1); + return (int) TTQMultiLineEdit::lineLength(arg1); } - ~QMultiLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQMultiLineEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); + void setColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQTextEdit::setColor(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseReleaseEvent(arg1); } return; } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); + void setMimeSourceFactory(TTQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TTQMimeSourceFactory")) { + TTQTextEdit::setMimeSourceFactory(arg1); } return; } void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomOut")) { - TQTextEdit::zoomOut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","zoomOut")) { + TTQTextEdit::zoomOut(); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","del")) { - TQTextEdit::del(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","del")) { + TTQTextEdit::del(); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTextEdit::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","undo")) { - TQTextEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","undo")) { + TTQTextEdit::undo(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); + void setPaper(const TTQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TTQBrush")) { + TTQTextEdit::setPaper(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","resetFormat")) { - TQTextEdit::resetFormat(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","resetFormat")) { + TTQTextEdit::resetFormat(); } return; } void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","zoomIn")) { - TQTextEdit::zoomIn(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","zoomIn")) { + TTQTextEdit::zoomIn(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","cut")) { - TQTextEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","cut")) { + TTQTextEdit::cut(); } return; } void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","scrollToBottom")) { + TTQTextEdit::scrollToBottom(); } return; } void killLine() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","killLine")) { - TQMultiLineEdit::killLine(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","killLine")) { + TTQMultiLineEdit::killLine(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","clear")) { - TQTextEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","clear")) { + TTQTextEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTextEdit::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); + void setStyleSheet(TTQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TTQStyleSheet")) { + TTQTextEdit::setStyleSheet(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTextEdit::keyPressEvent(arg1); } return; } @@ -396,326 +396,326 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","indent")) { - TQTextEdit::indent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","indent")) { + TTQTextEdit::indent(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTextEdit::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQTextEdit::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","copy")) { - TQTextEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","copy")) { + TTQTextEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTextEdit::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","doChangeInterval")) { + TTQTextEdit::doChangeInterval(); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } void backspace() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","backspace")) { - TQMultiLineEdit::backspace(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","backspace")) { + TTQMultiLineEdit::backspace(); } return; } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); + void setCurrentFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setCurrentFont(arg1); } return; } void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","ensureCursorVisible")) { + TTQTextEdit::ensureCursorVisible(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } void newLine() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","newLine")) { - TQMultiLineEdit::newLine(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","newLine")) { + TTQMultiLineEdit::newLine(); } return; } void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","sync")) { - TQTextEdit::sync(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","sync")) { + TTQTextEdit::sync(); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","paste")) { - TQTextEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","paste")) { + TTQTextEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","redo")) { - TQTextEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","redo")) { + TTQTextEdit::redo(); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQTextEdit::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQMultiLineEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQMultiLineEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -724,35 +724,35 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_alignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->alignment(); + jint xret = (jint) ((TTQMultiLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQMultiLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQMultiLineEdit*) 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(); + jboolean xret = (jboolean) ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->autoUpdate(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_backspace(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_backspace(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_backspace(); return; } @@ -760,105 +760,105 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMultiLineEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorDown__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown((bool) mark); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorLeft__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) 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) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark, (bool) 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(((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorPoint()), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorPoint()), "org.kde.qt.TTQPoint", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorRight__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) 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) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark, (bool) 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) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_cursorUp__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp((bool) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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(); + ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->deselect(); return; } @@ -872,29 +872,29 @@ Java_org_kde_qt_QMultiLineEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_edited(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->edited(); + jboolean xret = (jboolean) ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->edited(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_end__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end((bool) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQMultiLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQMultiLineEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -907,7 +907,7 @@ Java_org_kde_qt_QMultiLineEdit_getMarkedRegion(JNIEnv* env, jobject obj, jintArr int* _int_col1 = QtSupport::toIntPtr(env, col1); int* _int_line2 = QtSupport::toIntPtr(env, line2); int* _int_col2 = QtSupport::toIntPtr(env, col2); - jboolean xret = (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_getMarkedRegion( (int*) _int_line1, (int*) _int_col1, (int*) _int_line2, (int*) _int_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); @@ -918,61 +918,61 @@ Java_org_kde_qt_QMultiLineEdit_getMarkedRegion(JNIEnv* env, jobject obj, jintArr JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMultiLineEdit_hasMarkedText(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); + jboolean xret = (jboolean) ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->hasMarkedText(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_home__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home((bool) 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; - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_insertAndMark((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) mark); +static TTQString* _qstring_arg1 = 0; + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_insertAndMark((const TTQString&)*(TTQString*) 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::toQString(env, s, &_qstring_s), (int) line, (int) col); +static TTQString* _qstring_s = 0; + ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TTQString&)*(TTQString*) 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::toQString(env, s, &_qstring_s), (int) line, (int) col, (bool) mark); +static TTQString* _qstring_s = 0; + ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->insertAt((const TTQString&)*(TTQString*) 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::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TTQString&)*(TTQString*) 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::toQString(env, s, &_qstring_s), (int) line); +static TTQString* _qstring_s = 0; + ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->insertLine((const TTQString&)*(TTQString*) QtSupport::toTQString(env, s, &_qstring_s), (int) line); return; } @@ -985,72 +985,72 @@ Java_org_kde_qt_QMultiLineEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_killLine(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_killLine(); + ((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) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_lineLength((int) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMultiLineEdit*) 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(); + jint xret = (jint) ((TTQMultiLineEdit*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newLine(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_newLine(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_newLine(); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newQMultiLineEdit__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QMultiLineEdit_newTQMultiLineEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMultiLineEditJBridge()); + QtSupport::setQt(env, obj, new TQMultiLineEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newQMultiLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QMultiLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQMultiLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QMultiLineEdit_newQMultiLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QMultiLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQMultiLineEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1059,127 +1059,127 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QMultiLineEdit_numLines(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQMultiLineEdit*) QtSupport::getQt(env, obj))->numLines(); + jint xret = (jint) ((TTQMultiLineEdit*) QtSupport::getQt(env, obj))->numLines(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageDown__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown((bool) mark); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown((bool) mark); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__(JNIEnv* env, jobject obj) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp(); + ((TQMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_pageUp__Z(JNIEnv* env, jobject obj, jboolean mark) { - ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp((bool) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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); + ((TTQMultiLineEdit*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMultiLineEdit*) 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(); + jint xret = (jint) ((TTQMultiLineEdit*) 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(); + jint xret = (jint) ((TTQMultiLineEdit*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QMultiLineEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 8e240d9f..536bf85c 100644 --- a/qtjava/javalib/qtjava/QMultiLineEdit.h +++ b/qtjava/javalib/qtjava/QMultiLineEdit.h @@ -12,9 +12,9 @@ extern "C" 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_newQMultiLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newQMultiLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QMultiLineEdit_newQMultiLineEdit__ (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); diff --git a/qtjava/javalib/qtjava/QNetworkOperation.cpp b/qtjava/javalib/qtjava/QNetworkOperation.cpp index be845743..64a7357b 100644 --- a/qtjava/javalib/qtjava/QNetworkOperation.cpp +++ b/qtjava/javalib/qtjava/QNetworkOperation.cpp @@ -4,47 +4,47 @@ #include #include -#include +#include -class QNetworkOperationJBridge : public QNetworkOperation +class TQNetworkOperationJBridge : public TQNetworkOperation { public: - QNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; - QNetworkOperationJBridge(TQNetworkProtocol::Operation arg1,const TQByteArray& arg2,const TQByteArray& arg3,const TQByteArray& arg4) : TQNetworkOperation(arg1,arg2,arg3,arg4) {}; - ~QNetworkOperationJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQNetworkOperationJBridge(TTQNetworkProtocol::Operation arg1,const TTQString& arg2,const TTQString& arg3,const TTQString& arg4) : TTQNetworkOperation(arg1,arg2,arg3,arg4) {}; + TQNetworkOperationJBridge(TTQNetworkProtocol::Operation arg1,const TTQByteArray& arg2,const TTQByteArray& arg3,const TTQByteArray& arg4) : TTQNetworkOperation(arg1,arg2,arg3,arg4) {}; + ~TQNetworkOperationJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQNetworkOperation",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQNetworkOperation",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -54,16 +54,16 @@ public: 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQNetworkOperation*) 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(); + _qstring = ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -77,15 +77,15 @@ Java_org_kde_qt_QNetworkOperation_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_errorCode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->errorCode(); + jint xret = (jint) ((TTQNetworkOperation*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQNetworkOperation*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQNetworkOperation*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -94,7 +94,7 @@ Java_org_kde_qt_QNetworkOperation_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkOperation_free(JNIEnv* env, jobject obj) { - ((TQNetworkOperation*) QtSupport::getQt(env, obj))->free(); + ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->free(); return; } @@ -107,31 +107,31 @@ Java_org_kde_qt_QNetworkOperation_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQNetworkOperation*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_newQNetworkOperation__ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint operation, jstring arg0, jstring arg1, jstring arg2) +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; +static TTQString* _qstring_arg0 = 0; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQString&)*(TQString*) QtSupport::toQString(env, arg0, &_qstring_arg0), (const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2))); + QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TTQNetworkProtocol::Operation) operation, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkOperation_newQNetworkOperation__I_3B_3B_3B(JNIEnv* env, jobject obj, jint operation, jbyteArray arg0, jbyteArray arg1, jbyteArray arg2) +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; +static TTQByteArray* _qbyteArray_arg0 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg2 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QNetworkOperationJBridge((TQNetworkProtocol::Operation) operation, (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, arg0, &_qbyteArray_arg0), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, arg2, &_qbyteArray_arg2))); + QtSupport::setQt(env, obj, new TQNetworkOperationJBridge((TTQNetworkProtocol::Operation) operation, (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg0, &_qbyteArray_arg0), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg2, &_qbyteArray_arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -140,89 +140,89 @@ static TQByteArray* _qbyteArray_arg2 = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QNetworkOperation_operation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQNetworkOperation*) QtSupport::getQt(env, obj))->operation(); + jint xret = (jint) ((TTQNetworkOperation*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQNetworkOperation*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQNetworkOperation*) 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::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->setArg((int) num, (const TTQString&)*(TTQString*) 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); + ((TTQNetworkOperation*) 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::toQString(env, detail, &_qstring_detail)); +static TTQString* _qstring_detail = 0; + ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->setProtocolDetail((const TTQString&)*(TTQString*) 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::toQByteArray(env, arg, &_qbyteArray_arg)); +static TTQByteArray* _qbyteArray_arg = 0; + ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->setRawArg((int) num, (const TTQByteArray&)*(TTQByteArray*) 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); + ((TTQNetworkOperation*) QtSupport::getQt(env, obj))->setState((TTQNetworkProtocol::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(); + jint xret = (jint) ((TTQNetworkOperation*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QNetworkOperationJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 8456fd9c..d0c5dc2b 100644 --- a/qtjava/javalib/qtjava/QNetworkOperation.h +++ b/qtjava/javalib/qtjava/QNetworkOperation.h @@ -12,8 +12,8 @@ extern "C" 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_newQNetworkOperation__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_newQNetworkOperation__I_3B_3B_3B (JNIEnv *env, jobject, jint, jbyteArray, jbyteArray, jbyteArray); +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); diff --git a/qtjava/javalib/qtjava/QNetworkProtocol.cpp b/qtjava/javalib/qtjava/QNetworkProtocol.cpp index 335fd9d7..a5bdba45 100644 --- a/qtjava/javalib/qtjava/QNetworkProtocol.cpp +++ b/qtjava/javalib/qtjava/QNetworkProtocol.cpp @@ -5,162 +5,162 @@ #include #include -#include +#include -class QNetworkProtocolJBridge : public QNetworkProtocol +class TQNetworkProtocolJBridge : public TQNetworkProtocol { public: - QNetworkProtocolJBridge() : TQNetworkProtocol() {}; + TQNetworkProtocolJBridge() : TTQNetworkProtocol() {}; void public_clearOperationQueue() { - TQNetworkProtocol::clearOperationQueue(); + TTQNetworkProtocol::clearOperationQueue(); return; } void public_stop() { - TQNetworkProtocol::stop(); + TTQNetworkProtocol::stop(); return; } - void protected_processOperation(TQNetworkOperation* arg1) { - TQNetworkProtocol::processOperation(arg1); + void protected_processOperation(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::processOperation(arg1); return; } - void protected_operationListChildren(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationListChildren(arg1); + void protected_operationListChildren(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationListChildren(arg1); return; } - void protected_operationMkDir(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationMkDir(arg1); + void protected_operationMkDir(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationMkDir(arg1); return; } - void protected_operationRemove(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationRemove(arg1); + void protected_operationRemove(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationRemove(arg1); return; } - void protected_operationRename(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationRename(arg1); + void protected_operationRename(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationRename(arg1); return; } - void protected_operationGet(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationGet(arg1); + void protected_operationGet(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationGet(arg1); return; } - void protected_operationPut(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationPut(arg1); + void protected_operationPut(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationPut(arg1); return; } - void protected_operationPutChunk(TQNetworkOperation* arg1) { - TQNetworkProtocol::operationPutChunk(arg1); + void protected_operationPutChunk(TTQNetworkOperation* arg1) { + TTQNetworkProtocol::operationPutChunk(arg1); return; } - bool protected_checkConnection(TQNetworkOperation* arg1) { - return (bool) TQNetworkProtocol::checkConnection(arg1); + bool protected_checkConnection(TTQNetworkOperation* arg1) { + return (bool) TTQNetworkProtocol::checkConnection(arg1); } - ~QNetworkProtocolJBridge() {QtSupport::qtKeyDeleted(this);} - void operationRename(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRename(arg1); + ~TQNetworkProtocolJBridge() {QtSupport::qtKeyDeleted(this);} + void operationRename(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRename",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationRename(arg1); } return; } - void operationPutChunk(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPutChunk(arg1); + void operationPutChunk(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPutChunk",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationPutChunk(arg1); } return; } - void processOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::processOperation(arg1); + void processOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"processOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::processOperation(arg1); } return; } - void operationGet(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationGet(arg1); + void operationGet(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationGet",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationGet(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void operationPut(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationPut(arg1); + void operationPut(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationPut",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationPut(arg1); } return; } - void operationListChildren(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationListChildren(arg1); + void operationListChildren(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationListChildren",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationListChildren(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void operationRemove(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationRemove(arg1); + void operationRemove(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationRemove",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationRemove(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void addOperation(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::addOperation(arg1); + void addOperation(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"addOperation",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::addOperation(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void clearOperationQueue() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","clearOperationQueue")) { - TQNetworkProtocol::clearOperationQueue(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQNetworkProtocol","clearOperationQueue")) { + TTQNetworkProtocol::clearOperationQueue(); } return; } - void operationMkDir(TQNetworkOperation* arg1) { - if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TQNetworkOperation")) { - TQNetworkProtocol::operationMkDir(arg1); + void operationMkDir(TTQNetworkOperation* arg1) { + if (!QtSupport::eventDelegate(this,"operationMkDir",(void*)arg1,"org.kde.qt.TTQNetworkOperation")) { + TTQNetworkProtocol::operationMkDir(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQNetworkProtocol",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQNetworkProtocol",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQNetworkProtocol","stop")) { - TQNetworkProtocol::stop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQNetworkProtocol","stop")) { + TTQNetworkProtocol::stop(); } return; } - void setUrl(TQUrlOperator* arg1) { - if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TQUrlOperator")) { - TQNetworkProtocol::setUrl(arg1); + void setUrl(TTQUrlOperator* arg1) { + if (!QtSupport::eventDelegate(this,"setUrl",(void*)arg1,"org.kde.qt.TTQUrlOperator")) { + TTQNetworkProtocol::setUrl(arg1); } return; } @@ -169,21 +169,21 @@ public: 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)); + ((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->addOperation((TTQNetworkOperation*) 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(); + jboolean xret = (jboolean) ((TTQNetworkProtocol*) 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) ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_checkConnection((TQNetworkOperation*) QtSupport::getQt(env, op)); + jboolean xret = (jboolean) ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_checkConnection((TTQNetworkOperation*) QtSupport::getQt(env, op)); return xret; } @@ -191,14 +191,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QNetworkProtocol_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQNetworkProtocol*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_clearOperationQueue(JNIEnv* env, jobject obj) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_clearOperationQueue(); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_clearOperationQueue(); return; } @@ -212,8 +212,8 @@ Java_org_kde_qt_QNetworkProtocol_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQNetworkProtocol*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQNetworkProtocol*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -223,8 +223,8 @@ 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*)QNetworkProtocolJBridge::getNetworkProtocol((const TQString&)*(TQString*) QtSupport::toQString(env, protocol, &_qstring_protocol)), "org.kde.qt.TQNetworkProtocol"); +static TTQString* _qstring_protocol = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQNetworkProtocolJBridge::getNetworkProtocol((const TTQString&)*(TTQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)), "org.kde.qt.TTQNetworkProtocol"); return xret; } @@ -233,7 +233,7 @@ Java_org_kde_qt_QNetworkProtocol_hasOnlyLocalFileSystem(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QNetworkProtocolJBridge::hasOnlyLocalFileSystem(); + jboolean xret = (jboolean) TQNetworkProtocolJBridge::hasOnlyLocalFileSystem(); return xret; } @@ -246,15 +246,15 @@ Java_org_kde_qt_QNetworkProtocol_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QNetworkProtocol_newQNetworkProtocol(JNIEnv* env, jobject obj) +Java_org_kde_qt_QNetworkProtocol_newTQNetworkProtocol(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QNetworkProtocolJBridge()); + QtSupport::setQt(env, obj, new TQNetworkProtocolJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -263,126 +263,126 @@ Java_org_kde_qt_QNetworkProtocol_newQNetworkProtocol(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationGet(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationGet((TTQNetworkOperation*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->operationInProgress(), "org.kde.qt.TTQNetworkOperation"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationListChildren(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationListChildren((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationMkDir(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationMkDir((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPutChunk(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPutChunk((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPutChunk((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationPut(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationPut((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRemove(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRemove((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_operationRename(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_operationRename((TTQNetworkOperation*) QtSupport::getQt(env, op)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_processOperation(JNIEnv* env, jobject obj, jobject op) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_processOperation((TQNetworkOperation*) QtSupport::getQt(env, op)); + ((TQNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->protected_processOperation((TTQNetworkOperation*) 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); + ((TTQNetworkProtocol*) 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); + ((TTQNetworkProtocol*) 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)); + ((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->setUrl((TTQUrlOperator*) QtSupport::getQt(env, u)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QNetworkProtocol_stop(JNIEnv* env, jobject obj) { - ((QNetworkProtocolJBridge*) QtSupport::getQt(env, obj))->public_stop(); + ((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(); + jint xret = (jint) ((TTQNetworkProtocol*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QNetworkProtocolJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQNetworkProtocol*) QtSupport::getQt(env, obj))->url(), "org.kde.qt.TTQUrlOperator"); return xret; } diff --git a/qtjava/javalib/qtjava/QNetworkProtocol.h b/qtjava/javalib/qtjava/QNetworkProtocol.h index 53b6cc4e..56da473a 100644 --- a/qtjava/javalib/qtjava/QNetworkProtocol.h +++ b/qtjava/javalib/qtjava/QNetworkProtocol.h @@ -12,7 +12,7 @@ extern "C" 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_newQNetworkProtocol (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); diff --git a/qtjava/javalib/qtjava/QObject.cpp b/qtjava/javalib/qtjava/QObject.cpp index 9b6746b8..12a03381 100644 --- a/qtjava/javalib/qtjava/QObject.cpp +++ b/qtjava/javalib/qtjava/QObject.cpp @@ -5,100 +5,100 @@ #include #include -#include +#include -class QObjectJBridge : public QObject +class TQObjectJBridge : public TQObject { public: - QObjectJBridge(TQObject* arg1,const char* arg2) : TQObject(arg1,arg2) {}; - QObjectJBridge(TQObject* arg1) : TQObject(arg1) {}; - QObjectJBridge() : TQObject() {}; - bool protected_activate_filters(TQEvent* arg1) { - return (bool) TQObject::activate_filters(arg1); + TQObjectJBridge(TTQObject* arg1,const char* arg2) : TTQObject(arg1,arg2) {}; + TQObjectJBridge(TTQObject* arg1) : TTQObject(arg1) {}; + TQObjectJBridge() : TTQObject() {}; + bool protected_activate_filters(TTQEvent* arg1) { + return (bool) TTQObject::activate_filters(arg1); } void protected_activate_signal(int arg1) { - TQObject::activate_signal(arg1); + TTQObject::activate_signal(arg1); return; } void protected_activate_signal(int arg1,int arg2) { - TQObject::activate_signal(arg1,arg2); + TTQObject::activate_signal(arg1,arg2); return; } void protected_activate_signal(int arg1,double arg2) { - TQObject::activate_signal(arg1,arg2); + TTQObject::activate_signal(arg1,arg2); return; } - void protected_activate_signal(int arg1,TQString arg2) { - TQObject::activate_signal(arg1,arg2); + void protected_activate_signal(int arg1,TTQString arg2) { + TTQObject::activate_signal(arg1,arg2); return; } void protected_activate_signal_bool(int arg1,bool arg2) { - TQObject::activate_signal_bool(arg1,arg2); + TTQObject::activate_signal_bool(arg1,arg2); return; } - const TQObject* protected_sender() { - return (const TQObject*) TQObject::sender(); + const TTQObject* protected_sender() { + return (const TTQObject*) TTQObject::sender(); } - void protected_timerEvent(TQTimerEvent* arg1) { - TQObject::timerEvent(arg1); + void protected_timerEvent(TTQTimerEvent* arg1) { + TTQObject::timerEvent(arg1); return; } - void protected_childEvent(TQChildEvent* arg1) { - TQObject::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQObject::childEvent(arg1); return; } - void protected_customEvent(TQCustomEvent* arg1) { - TQObject::customEvent(arg1); + void protected_customEvent(TTQCustomEvent* arg1) { + TTQObject::customEvent(arg1); return; } void protected_connectNotify(const char* arg1) { - TQObject::connectNotify(arg1); + TTQObject::connectNotify(arg1); return; } void protected_disconnectNotify(const char* arg1) { - TQObject::disconnectNotify(arg1); + TTQObject::disconnectNotify(arg1); return; } - bool protected_checkConnectArgs(const char* arg1,const TQObject* arg2,const char* arg3) { - return (bool) TQObject::checkConnectArgs(arg1,arg2,arg3); + bool protected_checkConnectArgs(const char* arg1,const TTQObject* arg2,const char* arg3) { + return (bool) TTQObject::checkConnectArgs(arg1,arg2,arg3); } - static TQCString protected_normalizeSignalSlot(const char* arg1) { - return (TQCString) TQObject::normalizeSignalSlot(arg1); + static TTQCString protected_normalizeSignalSlot(const char* arg1) { + return (TTQCString) TTQObject::normalizeSignalSlot(arg1); } - ~QObjectJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQObjectJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQObject",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQObject",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -108,107 +108,107 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_activate_1filters(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_filters((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_filters((TTQEvent*) 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) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal_bool((int) signal, (bool) 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) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) 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) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (double) 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) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (int) 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; - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (TQString)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_activate_signal((int) signal, (TTQString)*(TTQString*) 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); + ((TTQObject*) 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) ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_checkConnectArgs((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); +static TTQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_checkConnectArgs((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QObject_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) 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"); +static TTQCString* _qstring_objName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName)), "org.kde.qt.TTQObject"); 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"); +static TTQCString* _qstring_objName = 0; +static TTQCString* _qstring_inheritsClass = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObject*) QtSupport::getQt(env, obj))->child((const char*) QtSupport::toCharString(env, objName, &_qstring_objName), (const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)), "org.kde.qt.TTQObject"); 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"); +static TTQCString* _qstring_objName = 0; +static TTQCString* _qstring_inheritsClass = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObject*) 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.TTQObject"); 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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + const TTQObjectList* _qlist; + _qlist = ((TTQObject*) QtSupport::getQt(env, obj))->children(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TTQObjectList*) _qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQObject*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQObject*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -216,29 +216,29 @@ 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; - QObjectJBridge::connectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); + TQObjectJBridge::connectInternal((const TTQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TTQObject*) 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; - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); +static TTQCString* _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) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, arg1)); + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TTQCustomEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QObject_deleteLater(JNIEnv* env, jobject obj) { - ((TQObject*) QtSupport::getQt(env, obj))->deleteLater(); + ((TTQObject*) QtSupport::getQt(env, obj))->deleteLater(); return; } @@ -246,52 +246,52 @@ 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) QObjectJBridge::disconnectInternal((const TQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TQObject*) QtSupport::getQt(env, receiver), (int) membcode, (int) member_index); + jboolean xret = (jboolean) TQObjectJBridge::disconnectInternal((const TTQObject*) QtSupport::getQt(env, sender), (int) signal_index, (const TTQObject*) 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; - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQObject*) 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)); +static TTQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TTQObject*) 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)); +static TTQCString* _qstring_signal = 0; + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->disconnect((const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TTQObject*) 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)); + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->disconnect((const TTQObject*) 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()"); + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->disconnect((const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); return xret; } @@ -305,36 +305,36 @@ Java_org_kde_qt_QObject_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QObject_dumpObjectInfo(JNIEnv* env, jobject obj) { - ((TQObject*) QtSupport::getQt(env, obj))->dumpObjectInfo(); + ((TTQObject*) 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(); + ((TTQObject*) 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)); + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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)); + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQObject*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQObject*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -343,37 +343,37 @@ Java_org_kde_qt_QObject_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_highPriority(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->highPriority(); + jboolean xret = (jboolean) ((TTQObject*) 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQObject*) 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)); + ((TTQObject*) QtSupport::getQt(env, obj))->insertChild((TTQObject*) 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)); + ((TTQObject*) QtSupport::getQt(env, obj))->installEventFilter((const TTQObject*) 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->isA((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return xret; } @@ -386,28 +386,28 @@ Java_org_kde_qt_QObject_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObject_isWidgetType(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQObject*) QtSupport::getQt(env, obj))->isWidgetType(); + jboolean xret = (jboolean) ((TTQObject*) 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); + ((TTQObject*) 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(); + ((TTQObject*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } @@ -415,7 +415,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_name__(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQObject*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQObject*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -423,37 +423,37 @@ 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)); +static TTQCString* _qstring_defaultName = 0; + _qstring = ((TTQObject*) 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_newQObject__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QObject_newTQObject__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QObjectJBridge()); + QtSupport::setQt(env, obj, new TQObjectJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_newQObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QObjectJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQObjectJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QObject_newQObject__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QObjectJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQObjectJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -462,82 +462,82 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QObject_normalizeSignalSlot(JNIEnv* env, jclass cls, jstring signalSlot) { - TQCString _qstring; + TTQCString _qstring; (void) cls; -static TQCString* _qstring_signalSlot = 0; - _qstring = QObjectJBridge::protected_normalizeSignalSlot((const char*) QtSupport::toCharString(env, signalSlot, &_qstring_signalSlot)); - return QtSupport::fromQCString(env, &_qstring); +static TTQCString* _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; + const TTQObjectList* _qlist; (void) cls; - _qlist = QObjectJBridge::objectTrees(); - return (jobject) QtSupport::arrayWithQObjectList(env, (TQObjectList*) _qlist); + _qlist = TQObjectJBridge::objectTrees(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TTQObjectList*) _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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObject*) QtSupport::getQt(env, obj))->parent(), "org.kde.qt.TTQObject"); 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); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQObject*) QtSupport::getQt(env, obj))->property((const char*) QtSupport::toCharString(env, name, &_qstring_name))), "org.kde.qt.TTQVariant", 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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + TTQObjectList* _qlist; + _qlist = ((TTQObject*) QtSupport::getQt(env, obj))->queryList(); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TTQObjectList*) _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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + TTQObjectList* _qlist; +static TTQCString* _qstring_inheritsClass = 0; + _qlist = ((TTQObject*) QtSupport::getQt(env, obj))->queryList((const char*) QtSupport::toCharString(env, inheritsClass, &_qstring_inheritsClass)); + return (jobject) QtSupport::arrayWithTQObjectList(env, (TTQObjectList*) _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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + TTQObjectList* _qlist; +static TTQCString* _qstring_inheritsClass = 0; +static TTQCString* _qstring_objName = 0; + _qlist = ((TTQObject*) 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, (TTQObjectList*) _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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + TTQObjectList* _qlist; +static TTQCString* _qstring_inheritsClass = 0; +static TTQCString* _qstring_objName = 0; + _qlist = ((TTQObject*) 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, (TTQObjectList*) _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::arrayWithQObjectList(env, (TQObjectList*) _qlist); + TTQObjectList* _qlist; +static TTQCString* _qstring_inheritsClass = 0; +static TTQCString* _qstring_objName = 0; + _qlist = ((TTQObject*) 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, (TTQObjectList*) _qlist); } JNIEXPORT jint JNICALL @@ -545,87 +545,87 @@ Java_org_kde_qt_QObject_registerUserData(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QObjectJBridge::registerUserData(); + 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)); + ((TTQObject*) QtSupport::getQt(env, obj))->removeChild((TTQObject*) 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)); + ((TTQObject*) QtSupport::getQt(env, obj))->removeEventFilter((const TTQObject*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QObject_sender(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_sender(), "org.kde.qt.TQObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_sender(), "org.kde.qt.TTQObject"); 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)); +static TTQCString* _qstring_name = 0; + ((TTQObject*) 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)); +static TTQCString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQObject*) QtSupport::getQt(env, obj))->setProperty((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQVariant&)*(const TTQVariant*) 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(); + jboolean xret = (jboolean) ((TTQObject*) 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); + jint xret = (jint) ((TTQObject*) QtSupport::getQt(env, obj))->startTimer((int) interval); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QObject_timerEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QObjectJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + ((TQObjectJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QObjectJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 diff --git a/qtjava/javalib/qtjava/QObject.h b/qtjava/javalib/qtjava/QObject.h index 26d234d1..f87c9299 100644 --- a/qtjava/javalib/qtjava/QObject.h +++ b/qtjava/javalib/qtjava/QObject.h @@ -12,9 +12,9 @@ extern "C" 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_newQObject__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newQObject__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QObject_newQObject__ (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); diff --git a/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp b/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp index 71cd7725..18c2204d 100644 --- a/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp +++ b/qtjava/javalib/qtjava/QObjectCleanupHandler.cpp @@ -3,46 +3,46 @@ #include #include -#include +#include -class QObjectCleanupHandlerJBridge : public QObjectCleanupHandler +class TQObjectCleanupHandlerJBridge : public TQObjectCleanupHandler { public: - QObjectCleanupHandlerJBridge() : TQObjectCleanupHandler() {}; - ~QObjectCleanupHandlerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQObjectCleanupHandlerJBridge() : TTQObjectCleanupHandler() {}; + ~TQObjectCleanupHandlerJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQObjectCleanupHandler",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQObjectCleanupHandler",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -52,7 +52,7 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObjectCleanupHandler*) QtSupport::getQt(env, obj))->add((TTQObject*) QtSupport::getQt(env, object)), "org.kde.qt.TTQObject"); return xret; } @@ -60,14 +60,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QObjectCleanupHandler_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQObjectCleanupHandler*) 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(); + ((TTQObjectCleanupHandler*) QtSupport::getQt(env, obj))->clear(); return; } @@ -81,8 +81,8 @@ Java_org_kde_qt_QObjectCleanupHandler_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQObjectCleanupHandler*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQObjectCleanupHandler*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -97,22 +97,22 @@ Java_org_kde_qt_QObjectCleanupHandler_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QObjectCleanupHandler_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQObjectCleanupHandler*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQObjectCleanupHandler*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQObjectCleanupHandler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QObjectCleanupHandler_newQObjectCleanupHandler(JNIEnv* env, jobject obj) +Java_org_kde_qt_QObjectCleanupHandler_newTQObjectCleanupHandler(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QObjectCleanupHandlerJBridge()); + QtSupport::setQt(env, obj, new TQObjectCleanupHandlerJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -121,28 +121,28 @@ Java_org_kde_qt_QObjectCleanupHandler_newQObjectCleanupHandler(JNIEnv* env, jobj 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)); + ((TTQObjectCleanupHandler*) QtSupport::getQt(env, obj))->remove((TTQObject*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QObjectCleanupHandlerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index a3c0f45b..066b3c88 100644 --- a/qtjava/javalib/qtjava/QObjectCleanupHandler.h +++ b/qtjava/javalib/qtjava/QObjectCleanupHandler.h @@ -12,7 +12,7 @@ extern "C" 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_newQObjectCleanupHandler (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); diff --git a/qtjava/javalib/qtjava/QPaintDevice.cpp b/qtjava/javalib/qtjava/QPaintDevice.cpp index 17f1ef00..0c829cd8 100644 --- a/qtjava/javalib/qtjava/QPaintDevice.cpp +++ b/qtjava/javalib/qtjava/QPaintDevice.cpp @@ -2,34 +2,34 @@ #include #include -#include +#include -class QPaintDeviceJBridge : public QPaintDevice +class TQPaintDeviceJBridge : public TQPaintDevice { public: - QPaintDeviceJBridge(uint arg1) : TQPaintDevice(arg1) {}; + TQPaintDeviceJBridge(uint arg1) : TTQPaintDevice(arg1) {}; int protected_metric(int arg1) { - return (int) TQPaintDevice::metric(arg1); + return (int) TTQPaintDevice::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(TTQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TTQPaintDevice::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(TTQFont* arg1,int arg2,const char* arg3) { + return (int) TTQPaintDevice::fontMet(arg1,arg2,arg3); } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); + int protected_fontMet(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::fontMet(arg1,arg2); } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(arg1,arg2); + int protected_fontInf(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::fontInf(arg1,arg2); } - ~QPaintDeviceJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jint xret = (jint) ((TTQPaintDevice*) QtSupport::getQt(env, obj))->devType(); return xret; } @@ -44,7 +44,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDevice_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintDevice*)QtSupport::getQt(env, obj); + delete (TTQPaintDevice*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -53,30 +53,30 @@ Java_org_kde_qt_QPaintDevice_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDevice_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) { - jint xret = (jint) ((QPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TTQFont*) 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) ((QPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); return xret; } @@ -89,22 +89,22 @@ Java_org_kde_qt_QPaintDevice_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isExtDev(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->isExtDev(); + jboolean xret = (jboolean) ((TTQPaintDevice*) 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) ((QPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + jint xret = (jint) ((TQPaintDeviceJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDevice_newQPaintDevice(JNIEnv* env, jobject obj, jint devflags) +Java_org_kde_qt_QPaintDevice_newTQPaintDevice(JNIEnv* env, jobject obj, jint devflags) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPaintDeviceJBridge((uint) devflags)); + QtSupport::setQt(env, obj, new TQPaintDeviceJBridge((uint) devflags)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -113,27 +113,27 @@ Java_org_kde_qt_QPaintDevice_newQPaintDevice(JNIEnv* env, jobject obj, jint devf JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_paintingActive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPaintDevice*) QtSupport::getQt(env, obj))->paintingActive(); + jboolean xret = (jboolean) ((TTQPaintDevice*) 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(); + jint xret = (jint) ((TTQPaintDevice*) 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); + ((TTQPaintDevice*) 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); + return (jlong) (TTQPaintDevice *) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QPaintDevice.h b/qtjava/javalib/qtjava/QPaintDevice.h index ee1e05a1..baf6abea 100644 --- a/qtjava/javalib/qtjava/QPaintDevice.h +++ b/qtjava/javalib/qtjava/QPaintDevice.h @@ -15,7 +15,7 @@ extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintDevice_isExtDev (JNIEnv 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_newQPaintDevice (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp b/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp index 7df39ca5..d8a2f603 100644 --- a/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp +++ b/qtjava/javalib/qtjava/QPaintDeviceMetrics.cpp @@ -2,19 +2,19 @@ #include #include -#include +#include -class QPaintDeviceMetricsJBridge : public QPaintDeviceMetrics +class TQPaintDeviceMetricsJBridge : public TQPaintDeviceMetrics { public: - QPaintDeviceMetricsJBridge(const TQPaintDevice* arg1) : TQPaintDeviceMetrics(arg1) {}; - ~QPaintDeviceMetricsJBridge() {QtSupport::qtKeyDeleted(this);} + TQPaintDeviceMetricsJBridge(const TTQPaintDevice* arg1) : TTQPaintDeviceMetrics(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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->depth(); return xret; } @@ -29,7 +29,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintDeviceMetrics*)QtSupport::getQt(env, obj); + delete (TTQPaintDeviceMetrics*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -38,14 +38,14 @@ Java_org_kde_qt_QPaintDeviceMetrics_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_heightMM(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->heightMM(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -58,22 +58,22 @@ Java_org_kde_qt_QPaintDeviceMetrics_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_logicalDpiX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiX(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->logicalDpiY(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintDeviceMetrics_newQPaintDeviceMetrics(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QPaintDeviceMetrics_newTQPaintDeviceMetrics(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPaintDeviceMetricsJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); + QtSupport::setQt(env, obj, new TQPaintDeviceMetricsJBridge((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -82,35 +82,35 @@ Java_org_kde_qt_QPaintDeviceMetrics_newQPaintDeviceMetrics(JNIEnv* env, jobject JNIEXPORT jint JNICALL Java_org_kde_qt_QPaintDeviceMetrics_numColors(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->numColors(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) 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(); + jint xret = (jint) ((TTQPaintDeviceMetrics*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QPaintDeviceMetrics.h b/qtjava/javalib/qtjava/QPaintDeviceMetrics.h index 2072a980..fcbf8278 100644 --- a/qtjava/javalib/qtjava/QPaintDeviceMetrics.h +++ b/qtjava/javalib/qtjava/QPaintDeviceMetrics.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintDeviceMetrics_newQPaintDeviceMetrics (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPaintEvent.cpp b/qtjava/javalib/qtjava/QPaintEvent.cpp index 070aa1ea..de9fe0c8 100644 --- a/qtjava/javalib/qtjava/QPaintEvent.cpp +++ b/qtjava/javalib/qtjava/QPaintEvent.cpp @@ -4,18 +4,18 @@ #include #include -#include +#include -class QPaintEventJBridge : public QPaintEvent +class TQPaintEventJBridge : public TQPaintEvent { public: - QPaintEventJBridge(const TQRegion& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; - QPaintEventJBridge(const TQRegion& arg1) : TQPaintEvent(arg1) {}; - QPaintEventJBridge(const TQRect& arg1,bool arg2) : TQPaintEvent(arg1,arg2) {}; - QPaintEventJBridge(const TQRect& arg1) : TQPaintEvent(arg1) {}; - QPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2,bool arg3) : TQPaintEvent(arg1,arg2,arg3) {}; - QPaintEventJBridge(const TQRegion& arg1,const TQRect& arg2) : TQPaintEvent(arg1,arg2) {}; - ~QPaintEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQPaintEventJBridge(const TTQRegion& arg1,bool arg2) : TTQPaintEvent(arg1,arg2) {}; + TQPaintEventJBridge(const TTQRegion& arg1) : TTQPaintEvent(arg1) {}; + TQPaintEventJBridge(const TTQRect& arg1,bool arg2) : TTQPaintEvent(arg1,arg2) {}; + TQPaintEventJBridge(const TTQRect& arg1) : TTQPaintEvent(arg1) {}; + TQPaintEventJBridge(const TTQRegion& arg1,const TTQRect& arg2,bool arg3) : TTQPaintEvent(arg1,arg2,arg3) {}; + TQPaintEventJBridge(const TTQRegion& arg1,const TTQRect& arg2) : TTQPaintEvent(arg1,arg2) {}; + ~TQPaintEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -28,7 +28,7 @@ Java_org_kde_qt_QPaintEvent_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPaintEvent_erased(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPaintEvent*) QtSupport::getQt(env, obj))->erased(); + jboolean xret = (jboolean) ((TTQPaintEvent*) QtSupport::getQt(env, obj))->erased(); return xret; } @@ -36,7 +36,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPaintEvent*)QtSupport::getQt(env, obj); + delete (TTQPaintEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -49,60 +49,60 @@ Java_org_kde_qt_QPaintEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRect) +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 QPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, paintRect))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRect, jboolean erased) +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 QPaintEventJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject paintRegion) +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 QPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion))); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, paintRegion))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect) +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 QPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect))); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, paintRegion), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, paintRect))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jobject paintRect, jboolean erased) +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 QPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, paintRegion), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, paintRect), (bool) erased)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject paintRegion, jboolean erased) +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 QPaintEventJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, paintRegion), (bool) erased)); + QtSupport::setQt(env, obj, new TQPaintEventJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, paintRegion), (bool) erased)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -111,14 +111,14 @@ Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Z(JNIEnv* env, 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQPaintEvent*) QtSupport::getQt(env, obj))->rect(), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQPaintEvent*) QtSupport::getQt(env, obj))->region(), "org.kde.qt.TTQRegion"); return xret; } diff --git a/qtjava/javalib/qtjava/QPaintEvent.h b/qtjava/javalib/qtjava/QPaintEvent.h index 931924cd..e0002747 100644 --- a/qtjava/javalib/qtjava/QPaintEvent.h +++ b/qtjava/javalib/qtjava/QPaintEvent.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPaintEvent_newQPaintEvent__Lorg_kde_qt_QRegion_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPainter.cpp b/qtjava/javalib/qtjava/QPainter.cpp index 5f4a1250..4776a0b8 100644 --- a/qtjava/javalib/qtjava/QPainter.cpp +++ b/qtjava/javalib/qtjava/QPainter.cpp @@ -18,104 +18,104 @@ #include #include -#include +#include -class QPainterJBridge : public QPainter +class TQPainterJBridge : public TQPainter { public: - QPainterJBridge() : TQPainter() {}; - QPainterJBridge(const TQPaintDevice* arg1,bool arg2) : TQPainter(arg1,arg2) {}; - QPainterJBridge(const TQPaintDevice* arg1) : TQPainter(arg1) {}; - QPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2,bool arg3) : TQPainter(arg1,arg2,arg3) {}; - QPainterJBridge(const TQPaintDevice* arg1,const TQWidget* arg2) : TQPainter(arg1,arg2) {}; - ~QPainterJBridge() {QtSupport::qtKeyDeleted(this);} + TQPainterJBridge() : TTQPainter() {}; + TQPainterJBridge(const TTQPaintDevice* arg1,bool arg2) : TTQPainter(arg1,arg2) {}; + TQPainterJBridge(const TTQPaintDevice* arg1) : TTQPainter(arg1) {}; + TQPainterJBridge(const TTQPaintDevice* arg1,const TTQWidget* arg2,bool arg3) : TTQPainter(arg1,arg2,arg3) {}; + TQPainterJBridge(const TTQPaintDevice* arg1,const TTQWidget* arg2) : TTQPainter(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQPainter*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TTQColor"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QPainter_backgroundMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPainter*) QtSupport::getQt(env, obj))->backgroundMode(); + jint xret = (jint) ((TTQPainter*) 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)); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->begin((const TTQPaintDevice*) 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)); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->begin((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TTQWidget*) 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); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->begin((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TTQWidget*) 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); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->begin((const TTQPaintDevice*) 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::toQString(env, arg6, &_qstring_arg6))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg6 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))), "org.kde.qt.TTQRect", 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::toQString(env, arg6, &_qstring_arg6), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg6 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->boundingRect((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len)), "org.kde.qt.TTQRect", 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::toQString(env, arg3, &_qstring_arg3))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg3 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))), "org.kde.qt.TTQRect", 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::toQString(env, arg3, &_qstring_arg3), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_arg3 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->boundingRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len)), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPainter*) QtSupport::getQt(env, obj))->brushOrigin(), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQPainter*) QtSupport::getQt(env, obj))->brush(), "org.kde.qt.TTQBrush"); return xret; } @@ -124,28 +124,28 @@ Java_org_kde_qt_QPainter_cleanup(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QPainterJBridge::cleanup(); + 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQPainter*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TTQRegion", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQPainter*) QtSupport::getQt(env, obj))->clipRegion((TTQPainter::CoordinateMode) arg1)), "org.kde.qt.TTQRegion", 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.QPaintDeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPainter*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQPaintDeviceInterface"); return xret; } @@ -159,630 +159,630 @@ Java_org_kde_qt_QPainter_dispose(JNIEnv* env, jobject obj) 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); + ((TTQPainter*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawArc((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawChord((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawConvexPolygon((const TTQPointArray&)*(const TTQPointArray*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawCubicBezier((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawEllipse((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((int) x, (int) y, (const TTQImage&)*(const TTQImage*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg2), (const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg2), (const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawImage((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawLineSegments((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawLine((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPicture((int) x, (int) y, (const TTQPicture&)*(const TTQPicture*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TTQPicture&)*(const TTQPicture*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPicture((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQPicture&)*(const TTQPicture*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPie((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((int) x, (int) y, (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2), (const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPixmap((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPoint((const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPoints((const TTQPointArray&)*(const TTQPointArray*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolygon((const TTQPointArray&)*(const TTQPointArray*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawPolyline((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawRect((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawRoundRect((const TTQRect&)*(const TTQRect*) 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::toQString(env, arg6, &_qstring_arg6)); +static TTQString* _qstring_arg6 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) 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::toQString(env, arg6, &_qstring_arg6), (int) len); +static TTQString* _qstring_arg6 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) 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::toQString(env, arg6, &_qstring_arg6), (int) len, (TQRect*) QtSupport::getQt(env, br)); +static TTQString* _qstring_arg6 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (int) len, (TTQRect*) 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::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3), (int) len); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3), (int) len, (TQPainter::TextDirection) dir); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TTQPainter::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::toQString(env, arg3, &_qstring_arg3), (int) pos, (int) len, (TQPainter::TextDirection) dir); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) pos, (int) len, (TTQPainter::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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) len); +static TTQString* _qstring_arg2 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) len, (TQPainter::TextDirection) dir); +static TTQString* _qstring_arg2 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) len, (TTQPainter::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::toQString(env, arg2, &_qstring_arg2), (int) pos, (int) len, (TQPainter::TextDirection) dir); +static TTQString* _qstring_arg2 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) pos, (int) len, (TTQPainter::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::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3), (int) len); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TTQString&)*(TTQString*) 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::toQString(env, arg3, &_qstring_arg3), (int) len, (TQRect*) QtSupport::getQt(env, br)); +static TTQString* _qstring_arg3 = 0; + ((TTQPainter*) QtSupport::getQt(env, obj))->drawText((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (int) flags, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (int) len, (TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((int) x, (int) y, (int) w, (int) h, (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawTiledPixmap((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2), (const TTQPoint&)*(const TTQPoint*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((int) x, (int) y, (int) w, (int) h, (const TTQColor&)*(const TTQColor*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->drawWinFocusRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQColor&)*(const TTQColor*) 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(); + jboolean xret = (jboolean) ((TTQPainter*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->eraseRect((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->fillRect((int) x, (int) y, (int) w, (int) h, (const TTQBrush&)*(const TTQBrush*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->fillRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg2)); return; } @@ -790,7 +790,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPainter*)QtSupport::getQt(env, obj); + delete (TTQPainter*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -799,63 +799,63 @@ Java_org_kde_qt_QPainter_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_flush__(JNIEnv* env, jobject obj) { - ((TQPainter*) QtSupport::getQt(env, obj))->flush(); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->flush((const TTQRegion&)*(const TTQRegion*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->flush((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, region), (TTQPainter::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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFontInfo(((TTQPainter*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TTQFontInfo", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFontMetrics(((TTQPainter*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TTQFontMetrics", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQFont *) &((TTQPainter*) QtSupport::getQt(env, obj))->font(), "org.kde.qt.TTQFont"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPainter_hasClipping(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPainter*) QtSupport::getQt(env, obj))->hasClipping(); + jboolean xret = (jboolean) ((TTQPainter*) 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(); + jboolean xret = (jboolean) ((TTQPainter*) 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(); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->hasWorldXForm(); return xret; } @@ -864,14 +864,14 @@ Java_org_kde_qt_QPainter_initialize(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QPainterJBridge::initialize(); + 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(); + jboolean xret = (jboolean) ((TTQPainter*) QtSupport::getQt(env, obj))->isActive(); return xret; } @@ -884,76 +884,76 @@ Java_org_kde_qt_QPainter_isDisposed(JNIEnv* env, jobject obj) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->lineTo((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->moveTo((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newQPainter__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPainter_newTQPainter__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPainterJBridge()); + QtSupport::setQt(env, obj, new TQPainterJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1))); + QtSupport::setQt(env, obj, new TQPainterJBridge((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) +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 QPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2))); + QtSupport::setQt(env, obj, new TQPainterJBridge((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TTQWidget*) QtSupport::getQt(env, arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jboolean unclipped) +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 QPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped)); + QtSupport::setQt(env, obj, new TQPainterJBridge((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1), (const TTQWidget*) QtSupport::getQt(env, arg2), (bool) unclipped)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean unclipped) +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 QPainterJBridge((const TQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped)); + QtSupport::setQt(env, obj, new TQPainterJBridge((const TTQPaintDevice*) QtSupport::paintDevice(env, arg1), (bool) unclipped)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -962,21 +962,21 @@ Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z(JNIEn 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPen *) &((TTQPainter*) QtSupport::getQt(env, obj))->pen(), "org.kde.qt.TTQPen"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQPainter*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TTQPoint", 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(); + jint xret = (jint) ((TTQPainter*) QtSupport::getQt(env, obj))->rasterOp(); return xret; } @@ -984,7 +984,7 @@ 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*)QPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev)), "org.kde.qt.QPaintDeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQPainterJBridge::redirect((TTQPaintDevice*) QtSupport::paintDevice(env, pdev)), "org.kde.qt.TQPaintDeviceInterface"); return xret; } @@ -992,189 +992,189 @@ 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; - QPainterJBridge::redirect((TQPaintDevice*) QtSupport::paintDevice(env, pdev), (TQPaintDevice*) QtSupport::paintDevice(env, replacement)); + TQPainterJBridge::redirect((TTQPaintDevice*) QtSupport::paintDevice(env, pdev), (TTQPaintDevice*) QtSupport::paintDevice(env, replacement)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_resetXForm(JNIEnv* env, jobject obj) { - ((TQPainter*) QtSupport::getQt(env, obj))->resetXForm(); + ((TTQPainter*) 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(); + ((TTQPainter*) 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(); + ((TTQPainter*) 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); + ((TTQPainter*) 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(); + ((TTQPainter*) 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(); + ((TTQPainter*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setBackgroundColor((const TTQColor&)*(const TTQColor*) 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((Qt::BGMode) arg1); + ((TTQPainter*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setBrushOrigin((const TTQPoint&)*(const TTQPoint*) 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((Qt::BrushStyle) arg1); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setBrush((const TTQBrush&)*(const TTQBrush*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setBrush((const TTQColor&)*(const TTQColor*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->setClipRect((int) x, (int) y, (int) w, (int) h, (TTQPainter::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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->setClipRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQPainter::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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TTQRegion&)*(const TTQRegion*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->setClipRegion((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1), (TTQPainter::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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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((Qt::PenStyle) arg1); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setPen((const TTQColor&)*(const TTQColor*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setPen((const TTQPen&)*(const TTQPen*) 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((Qt::RasterOp) arg1); + ((TTQPainter*) QtSupport::getQt(env, obj))->setRasterOp((TQt::RasterOp) arg1); return; } @@ -1182,7 +1182,7 @@ 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->setTabArray( (int*) _int_arg1); env->SetIntArrayRegion(arg1, 0, 1, (jint *) _int_arg1); return; } @@ -1190,70 +1190,70 @@ Java_org_kde_qt_QPainter_setTabArray(JNIEnv* env, jobject obj, jintArray arg1) JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_setTabStops(JNIEnv* env, jobject obj, jint arg1) { - ((TQPainter*) QtSupport::getQt(env, obj))->setTabStops((int) arg1); + ((TTQPainter*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setViewport((const TTQRect&)*(const TTQRect*) 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); + ((TTQPainter*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setWindow((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TTQWMatrix&)*(const TTQWMatrix*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->setWorldMatrix((const TTQWMatrix&)*(const TTQWMatrix*) 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); + ((TTQPainter*) 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); + ((TTQPainter*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv); return; } @@ -1261,112 +1261,112 @@ JNIEXPORT jintArray JNICALL Java_org_kde_qt_QPainter_tabArray(JNIEnv* env, jobject obj) { int* _qint; - _qint = ((TQPainter*) QtSupport::getQt(env, obj))->tabArray(); + _qint = ((TTQPainter*) 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(); + jint xret = (jint) ((TTQPainter*) 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); + ((TTQPainter*) 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(); + jdouble xret = (jdouble) ((TTQPainter*) 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(); + jdouble xret = (jdouble) ((TTQPainter*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->viewport()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->window()), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQPainter*) QtSupport::getQt(env, obj))->worldMatrix(), "org.kde.qt.TTQWMatrix"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->xFormDev((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPainter*) QtSupport::getQt(env, obj))->xForm((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPainter*) QtSupport::getQt(env, obj))->xForm((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1), (int) index, (int) npoints)), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQPainter*) QtSupport::getQt(env, obj))->xForm((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPainter*) QtSupport::getQt(env, obj))->xForm((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRect", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QPainter.h b/qtjava/javalib/qtjava/QPainter.h index 65970359..54120f50 100644 --- a/qtjava/javalib/qtjava/QPainter.h +++ b/qtjava/javalib/qtjava/QPainter.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newQPainter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPainter_newQPainter__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPalette.cpp b/qtjava/javalib/qtjava/QPalette.cpp index 61e36b7c..cd8b2d97 100644 --- a/qtjava/javalib/qtjava/QPalette.cpp +++ b/qtjava/javalib/qtjava/QPalette.cpp @@ -5,23 +5,23 @@ #include #include -#include +#include -class QPaletteJBridge : public QPalette +class TQPaletteJBridge : public TQPalette { public: - QPaletteJBridge() : TQPalette() {}; - QPaletteJBridge(const TQColor& arg1) : TQPalette(arg1) {}; - QPaletteJBridge(const TQColor& arg1,const TQColor& arg2) : TQPalette(arg1,arg2) {}; - QPaletteJBridge(const TQColorGroup& arg1,const TQColorGroup& arg2,const TQColorGroup& arg3) : TQPalette(arg1,arg2,arg3) {}; - QPaletteJBridge(const TQPalette& arg1) : TQPalette(arg1) {}; - ~QPaletteJBridge() {QtSupport::qtKeyDeleted(this);} + TQPaletteJBridge() : TTQPalette() {}; + TQPaletteJBridge(const TTQColor& arg1) : TTQPalette(arg1) {}; + TQPaletteJBridge(const TTQColor& arg1,const TTQColor& arg2) : TTQPalette(arg1,arg2) {}; + TQPaletteJBridge(const TTQColorGroup& arg1,const TTQColorGroup& arg2,const TTQColorGroup& arg3) : TTQPalette(arg1,arg2,arg3) {}; + TQPaletteJBridge(const TTQPalette& arg1) : TTQPalette(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQPalette*) QtSupport::getQt(env, obj))->active(), "org.kde.qt.TTQColorGroup"); return xret; } @@ -30,35 +30,35 @@ Java_org_kde_qt_QPalette_backgroundRoleFromMode(JNIEnv* env, jclass cls, jint mo { (void) cls; (void) env; - jint xret = (jint) QPaletteJBridge::backgroundRoleFromMode((Qt::BackgroundMode) mode); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQPalette*) QtSupport::getQt(env, obj))->brush((TTQPalette::ColorGroup) arg1, (TTQColorGroup::ColorRole) arg2), "org.kde.qt.TTQBrush"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQPalette*) QtSupport::getQt(env, obj))->color((TTQPalette::ColorGroup) arg1, (TTQColorGroup::ColorRole) arg2), "org.kde.qt.TTQColor"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(((TTQPalette*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TTQPalette", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQPalette*) QtSupport::getQt(env, obj))->disabled(), "org.kde.qt.TTQColorGroup"); return xret; } @@ -73,7 +73,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPalette*)QtSupport::getQt(env, obj); + delete (TTQPalette*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -84,21 +84,21 @@ Java_org_kde_qt_QPalette_foregroundRoleFromMode(JNIEnv* env, jclass cls, jint mo { (void) cls; (void) env; - jint xret = (jint) QPaletteJBridge::foregroundRoleFromMode((Qt::BackgroundMode) mode); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQPalette*) QtSupport::getQt(env, obj))->inactive(), "org.kde.qt.TTQColorGroup"); 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)); + jboolean xret = (jboolean) ((TTQPalette*) QtSupport::getQt(env, obj))->isCopyOf((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); return xret; } @@ -109,50 +109,50 @@ Java_org_kde_qt_QPalette_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newQPalette__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPalette_newTQPalette__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPaletteJBridge()); + QtSupport::setQt(env, obj, new TQPaletteJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject active, jobject disabled, jobject inactive) +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 QPaletteJBridge((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::setQt(env, obj, new TQPaletteJBridge((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, active), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, disabled), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, inactive))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button) +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 QPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button))); + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, button))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject button, jobject background) +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 QPaletteJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, background))); + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, button), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, background))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPaletteJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPaletteJBridge((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -161,84 +161,84 @@ Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobjec 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQPalette*) QtSupport::getQt(env, obj))->normal(), "org.kde.qt.TTQColorGroup"); 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)); + jboolean xret = (jboolean) ((TTQPalette*) QtSupport::getQt(env, obj))->operator==((const TTQPalette&)*(const TTQPalette*) 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)); + jboolean xret = (jboolean) ((TTQPalette*) QtSupport::getQt(env, obj))->operator!=((const TTQPalette&)*(const TTQPalette*) 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(); + jint xret = (jint) ((TTQPalette*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setActive((const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setBrush((TTQPalette::ColorGroup) arg1, (TTQColorGroup::ColorRole) arg2, (const TTQBrush&)*(const TTQBrush*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setBrush((TTQColorGroup::ColorRole) arg1, (const TTQBrush&)*(const TTQBrush*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setColor((TTQPalette::ColorGroup) arg1, (TTQColorGroup::ColorRole) arg2, (const TTQColor&)*(const TTQColor*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setColor((TTQColorGroup::ColorRole) arg1, (const TTQColor&)*(const TTQColor*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setDisabled((const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setInactive((const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQPalette*) QtSupport::getQt(env, obj))->setNormal((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg)); return; } diff --git a/qtjava/javalib/qtjava/QPalette.h b/qtjava/javalib/qtjava/QPalette.h index 9b264edb..4417a42a 100644 --- a/qtjava/javalib/qtjava/QPalette.h +++ b/qtjava/javalib/qtjava/QPalette.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newQPalette__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newQPalette__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPalette_newQPalette__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_newQPalette__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPen.cpp b/qtjava/javalib/qtjava/QPen.cpp index c3f36c3f..75bf76d4 100644 --- a/qtjava/javalib/qtjava/QPen.cpp +++ b/qtjava/javalib/qtjava/QPen.cpp @@ -4,32 +4,32 @@ #include #include -#include +#include -class QPenJBridge : public QPen +class TQPenJBridge : public TQPen { public: - QPenJBridge() : TQPen() {}; - QPenJBridge(Qt::PenStyle arg1) : TQPen(arg1) {}; - QPenJBridge(const TQColor& arg1,uint arg2,Qt::PenStyle arg3) : TQPen(arg1,arg2,arg3) {}; - QPenJBridge(const TQColor& arg1,uint arg2) : TQPen(arg1,arg2) {}; - QPenJBridge(const TQColor& arg1) : TQPen(arg1) {}; - QPenJBridge(const TQColor& arg1,uint arg2,Qt::PenStyle arg3,Qt::PenCapStyle arg4,Qt::PenJoinStyle arg5) : TQPen(arg1,arg2,arg3,arg4,arg5) {}; - QPenJBridge(const TQPen& arg1) : TQPen(arg1) {}; - ~QPenJBridge() {QtSupport::qtKeyDeleted(this);} + TQPenJBridge() : TTQPen() {}; + TQPenJBridge(TQt::PenStyle arg1) : TTQPen(arg1) {}; + TQPenJBridge(const TTQColor& arg1,uint arg2,TQt::PenStyle arg3) : TTQPen(arg1,arg2,arg3) {}; + TQPenJBridge(const TTQColor& arg1,uint arg2) : TTQPen(arg1,arg2) {}; + TQPenJBridge(const TTQColor& arg1) : TTQPen(arg1) {}; + TQPenJBridge(const TTQColor& arg1,uint arg2,TQt::PenStyle arg3,TQt::PenCapStyle arg4,TQt::PenJoinStyle arg5) : TTQPen(arg1,arg2,arg3,arg4,arg5) {}; + TQPenJBridge(const TTQPen& arg1) : TTQPen(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(); + jint xret = (jint) ((TTQPen*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQPen*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TTQColor"); return xret; } @@ -44,7 +44,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPen_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPen*)QtSupport::getQt(env, obj); + delete (TTQPen*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -59,75 +59,75 @@ Java_org_kde_qt_QPen_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPen_joinStyle(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPen*) QtSupport::getQt(env, obj))->joinStyle(); + jint xret = (jint) ((TTQPen*) QtSupport::getQt(env, obj))->joinStyle(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newQPen__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPen_newTQPen__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPenJBridge()); + QtSupport::setQt(env, obj, new TQPenJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newQPen__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QPen_newTQPen__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPenJBridge((Qt::PenStyle) arg1)); + 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_newQPen__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject color) +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 QPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color))); + QtSupport::setQt(env, obj, new TQPenJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, color))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject color, jint width) +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 QPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width)); + QtSupport::setQt(env, obj, new TQPenJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, color), (uint) width)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2II(JNIEnv* env, jobject obj, jobject color, jint width, jint style) +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 QPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color), (uint) width, (Qt::PenStyle) style)); + QtSupport::setQt(env, obj, new TQPenJBridge((const TTQColor&)*(const TTQColor*) 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_newQPen__Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jobject obj, jobject cl, jint w, jint s, jint c, jint j) +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 QPenJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, cl), (uint) w, (Qt::PenStyle) s, (Qt::PenCapStyle) c, (Qt::PenJoinStyle) j)); + QtSupport::setQt(env, obj, new TQPenJBridge((const TTQColor&)*(const TTQColor*) 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_newQPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPenJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPenJBridge((const TTQPen&)*(const TTQPen*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -136,63 +136,63 @@ Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobje 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)); + jboolean xret = (jboolean) ((TTQPen*) QtSupport::getQt(env, obj))->operator==((const TTQPen&)*(const TTQPen*) 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)); + jboolean xret = (jboolean) ((TTQPen*) QtSupport::getQt(env, obj))->operator!=((const TTQPen&)*(const TTQPen*) 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((Qt::PenCapStyle) arg1); + ((TTQPen*) 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)); + ((TTQPen*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) 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((Qt::PenJoinStyle) arg1); + ((TTQPen*) 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((Qt::PenStyle) arg1); + ((TTQPen*) 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); + ((TTQPen*) 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(); + jint xret = (jint) ((TTQPen*) 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(); + jint xret = (jint) ((TTQPen*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QPen.h b/qtjava/javalib/qtjava/QPen.h index 36b08e9b..37ad104b 100644 --- a/qtjava/javalib/qtjava/QPen.h +++ b/qtjava/javalib/qtjava/QPen.h @@ -10,13 +10,13 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPen_newQPen__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPicture.cpp b/qtjava/javalib/qtjava/QPicture.cpp index 29c50259..f75f3d01 100644 --- a/qtjava/javalib/qtjava/QPicture.cpp +++ b/qtjava/javalib/qtjava/QPicture.cpp @@ -4,38 +4,38 @@ #include #include -#include +#include -class QPictureJBridge : public QPicture +class TQPictureJBridge : public TQPicture { public: - QPictureJBridge(int arg1) : TQPicture(arg1) {}; - QPictureJBridge() : TQPicture() {}; - QPictureJBridge(const TQPicture& arg1) : TQPicture(arg1) {}; + TQPictureJBridge(int arg1) : TTQPicture(arg1) {}; + TQPictureJBridge() : TTQPicture() {}; + TQPictureJBridge(const TTQPicture& arg1) : TTQPicture(arg1) {}; int protected_metric(int arg1) { - return (int) TQPicture::metric(arg1); + return (int) TTQPicture::metric(arg1); } void protected_detach() { - TQPicture::detach(); + TTQPicture::detach(); return; } - TQPicture protected_copy() { - return (TQPicture) TQPicture::copy(); + TTQPicture protected_copy() { + return (TTQPicture) TTQPicture::copy(); } - ~QPictureJBridge() {QtSupport::qtKeyDeleted(this);} + ~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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPicture*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QPicture_copy(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPicture(((QPictureJBridge*) QtSupport::getQt(env, obj))->protected_copy()), "org.kde.qt.TQPicture", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPicture(((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_copy()), "org.kde.qt.TTQPicture", TRUE); return xret; } @@ -43,14 +43,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QPicture_data(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQPicture*) QtSupport::getQt(env, obj))->data(); + _qstring = ((TTQPicture*) QtSupport::getQt(env, obj))->data(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_detach(JNIEnv* env, jobject obj) { - ((QPictureJBridge*) QtSupport::getQt(env, obj))->protected_detach(); + ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_detach(); return; } @@ -65,7 +65,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPicture*)QtSupport::getQt(env, obj); + delete (TTQPicture*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -80,74 +80,74 @@ Java_org_kde_qt_QPicture_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPicture_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPicture*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQPicture*) 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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->load((TTQIODevice*) 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)); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->load((TTQIODevice*) 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) ((QPictureJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + jint xret = (jint) ((TQPictureJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_newQPicture__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPicture_newTQPicture__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPictureJBridge()); + QtSupport::setQt(env, obj, new TQPictureJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPicture_newQPicture__I(JNIEnv* env, jobject obj, jint formatVersion) +Java_org_kde_qt_QPicture_newTQPicture__I(JNIEnv* env, jobject obj, jint formatVersion) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPictureJBridge((int) formatVersion)); + 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_newQPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPictureJBridge((const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPictureJBridge((const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -156,61 +156,61 @@ Java_org_kde_qt_QPicture_newQPicture__Lorg_kde_qt_QPicture_2(JNIEnv* env, jobjec 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)); + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->play((TTQPainter*) 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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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)); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPicture*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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)); + ((TTQPicture*) QtSupport::getQt(env, obj))->setBoundingRect((const TTQRect&)*(const TTQRect*) 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); +static TTQCString* _qstring_data = 0; + ((TTQPicture*) 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(); + jint xret = (jint) ((TTQPicture*) QtSupport::getQt(env, obj))->size(); return xret; } diff --git a/qtjava/javalib/qtjava/QPicture.h b/qtjava/javalib/qtjava/QPicture.h index cad6c166..a78c76d2 100644 --- a/qtjava/javalib/qtjava/QPicture.h +++ b/qtjava/javalib/qtjava/QPicture.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newQPicture__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newQPicture__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPicture_newQPicture__Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QPixmap.cpp b/qtjava/javalib/qtjava/QPixmap.cpp index ed4acf35..2a60523a 100644 --- a/qtjava/javalib/qtjava/QPixmap.cpp +++ b/qtjava/javalib/qtjava/QPixmap.cpp @@ -12,80 +12,80 @@ #include #include -#include +#include -class QPixmapJBridge : public QPixmap +class TQPixmapJBridge : public TQPixmap { public: - QPixmapJBridge() : TQPixmap() {}; - QPixmapJBridge(const TQImage& arg1) : TQPixmap(arg1) {}; - QPixmapJBridge(int arg1,int arg2,int arg3,TQPixmap::Optimization arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; - QPixmapJBridge(int arg1,int arg2,int arg3) : TQPixmap(arg1,arg2,arg3) {}; - QPixmapJBridge(int arg1,int arg2) : TQPixmap(arg1,arg2) {}; - QPixmapJBridge(const TQSize& arg1,int arg2,TQPixmap::Optimization arg3) : TQPixmap(arg1,arg2,arg3) {}; - QPixmapJBridge(const TQSize& arg1,int arg2) : TQPixmap(arg1,arg2) {}; - QPixmapJBridge(const TQSize& arg1) : TQPixmap(arg1) {}; - QPixmapJBridge(const TQString& arg1,const char* arg2,TQPixmap::ColorMode arg3) : TQPixmap(arg1,arg2,arg3) {}; - QPixmapJBridge(const TQString& arg1,const char* arg2) : TQPixmap(arg1,arg2) {}; - QPixmapJBridge(const TQString& arg1) : TQPixmap(arg1) {}; - QPixmapJBridge(const char** arg1) : TQPixmap(arg1) {}; - QPixmapJBridge(const TQByteArray& arg1) : TQPixmap(arg1) {}; - QPixmapJBridge(const TQPixmap& arg1) : TQPixmap(arg1) {}; + TQPixmapJBridge() : TTQPixmap() {}; + TQPixmapJBridge(const TTQImage& arg1) : TTQPixmap(arg1) {}; + TQPixmapJBridge(int arg1,int arg2,int arg3,TTQPixmap::Optimization arg4) : TTQPixmap(arg1,arg2,arg3,arg4) {}; + TQPixmapJBridge(int arg1,int arg2,int arg3) : TTQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(int arg1,int arg2) : TTQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TTQSize& arg1,int arg2,TTQPixmap::Optimization arg3) : TTQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(const TTQSize& arg1,int arg2) : TTQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TTQSize& arg1) : TTQPixmap(arg1) {}; + TQPixmapJBridge(const TTQString& arg1,const char* arg2,TTQPixmap::ColorMode arg3) : TTQPixmap(arg1,arg2,arg3) {}; + TQPixmapJBridge(const TTQString& arg1,const char* arg2) : TTQPixmap(arg1,arg2) {}; + TQPixmapJBridge(const TTQString& arg1) : TTQPixmap(arg1) {}; + TQPixmapJBridge(const char** arg1) : TTQPixmap(arg1) {}; + TQPixmapJBridge(const TTQByteArray& arg1) : TTQPixmap(arg1) {}; + TQPixmapJBridge(const TTQPixmap& arg1) : TTQPixmap(arg1) {}; void public_detach() { - TQPixmap::detach(); + TTQPixmap::detach(); return; } - QPixmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TQPixmap(arg1,arg2,arg3,arg4) {}; + TQPixmapJBridge(int arg1,int arg2,const uchar* arg3,bool arg4) : TTQPixmap(arg1,arg2,arg3,arg4) {}; int protected_metric(int arg1) { - return (int) TQPixmap::metric(arg1); + return (int) TTQPixmap::metric(arg1); } - ~QPixmapJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); + ~TQPixmapJBridge() {QtSupport::qtKeyDeleted(this);} + int protected_fontMet(TTQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TTQPaintDevice::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(TTQFont* arg1,int arg2,const char* arg3) { + return (int) TTQPaintDevice::fontMet(arg1,arg2,arg3); } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); + int protected_fontMet(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::fontMet(arg1,arg2); } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(arg1,arg2); + int protected_fontInf(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::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)); + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TTQImage&)*(const TTQImage*) 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); + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1), (TTQPixmap::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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQPixmap*) QtSupport::getQt(env, obj))->convertToImage()), "org.kde.qt.TTQImage", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TTQBitmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQPixmap*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TTQBitmap", TRUE); return xret; } @@ -94,7 +94,7 @@ Java_org_kde_qt_QPixmap_defaultDepth(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QPixmapJBridge::defaultDepth(); + jint xret = (jint) TQPixmapJBridge::defaultDepth(); return xret; } @@ -103,28 +103,28 @@ Java_org_kde_qt_QPixmap_defaultOptimization(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QPixmapJBridge::defaultOptimization(); + 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(); + jint xret = (jint) ((TTQPixmap*) QtSupport::getQt(env, obj))->depth(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_detach(JNIEnv* env, jobject obj) { - ((QPixmapJBridge*) QtSupport::getQt(env, obj))->public_detach(); + ((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(); + jint xret = (jint) ((TTQPaintDevice*)(TTQPixmap*) QtSupport::getQt(env, obj))->devType(); return xret; } @@ -138,28 +138,28 @@ Java_org_kde_qt_QPixmap_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_fill__(JNIEnv* env, jobject obj) { - ((TQPixmap*) QtSupport::getQt(env, obj))->fill(); + ((TTQPixmap*) 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)); + ((TTQPixmap*) QtSupport::getQt(env, obj))->fill((const TTQColor&)*(const TTQColor*) 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); + ((TTQPixmap*) QtSupport::getQt(env, obj))->fill((const TTQWidget*) 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)); + ((TTQPixmap*) QtSupport::getQt(env, obj))->fill((const TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, ofs)); return; } @@ -167,7 +167,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPixmap*)QtSupport::getQt(env, obj); + delete (TTQPixmap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -176,30 +176,30 @@ Java_org_kde_qt_QPixmap_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2) { - jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TTQFont*) 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) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); return xret; } @@ -207,8 +207,8 @@ 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(QPixmapJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQPixmap", TRUE); +static TTQString* _qstring_abs_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::fromMimeSource((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -216,7 +216,7 @@ 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(QPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWidget((TTQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -224,7 +224,7 @@ 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(QPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWidget((TTQWidget*) QtSupport::getQt(env, widget), (int) x)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -232,7 +232,7 @@ 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(QPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWidget((TTQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -240,7 +240,7 @@ 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(QPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWidget((TTQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -248,7 +248,7 @@ 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(QPixmapJBridge::grabWidget((TQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWidget((TTQWidget*) QtSupport::getQt(env, widget), (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -256,7 +256,7 @@ 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(QPixmapJBridge::grabWindow((WId) arg1)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWindow((WId) arg1)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -264,7 +264,7 @@ 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(QPixmapJBridge::grabWindow((WId) arg1, (int) x)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -272,7 +272,7 @@ 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(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -280,7 +280,7 @@ 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(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w)), "org.kde.qt.TTQPixmap", TRUE); return xret; } @@ -288,28 +288,28 @@ 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(QPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(TQPixmapJBridge::grabWindow((WId) arg1, (int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TTQPixmap", 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(); + jboolean xret = (jboolean) ((TTQPixmap*) 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(); + jboolean xret = (jboolean) ((TTQPixmap*) 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(); + jint xret = (jint) ((TTQPixmap*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -318,8 +318,8 @@ Java_org_kde_qt_QPixmap_imageFormat(JNIEnv* env, jclass cls, jstring fileName) { const char* _qstring; (void) cls; -static TQString* _qstring_fileName = 0; - _qstring = QPixmapJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + _qstring = TQPixmapJBridge::imageFormat((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -332,268 +332,268 @@ Java_org_kde_qt_QPixmap_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPixmap_isExtDev(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPaintDevice*)(TQPixmap*) QtSupport::getQt(env, obj))->isExtDev(); + jboolean xret = (jboolean) ((TTQPaintDevice*)(TTQPixmap*) 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(); + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QPixmap_isQBitmap(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPixmap_isTQBitmap(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPixmap*) QtSupport::getQt(env, obj))->isQBitmap(); + jboolean xret = (jboolean) ((TTQPixmap*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQByteArray* _qbyteArray_data = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags); +static TTQByteArray* _qbyteArray_data = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const TTQByteArray&)*(TTQByteArray*) 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); +static TTQByteArray* _qbytearray_buf = 0; + jboolean xret = (jboolean) ((TTQPixmap*) 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)); +static TTQByteArray* _qbytearray_buf = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) 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); +static TTQByteArray* _qbytearray_buf = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TTQPixmap::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::toQString(env, fileName, &_qstring_fileName)); +static TTQString* _qstring_fileName = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TTQPixmap::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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPixmap*) QtSupport::getQt(env, obj))->mask(), "org.kde.qt.TTQBitmap"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_metric(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); + jint xret = (jint) ((TQPixmapJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPixmap_newTQPixmap__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge()); + QtSupport::setQt(env, obj, new TQPixmapJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__II(JNIEnv* env, jobject obj, jint w, jint h) +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 QPixmapJBridge((int) w, (int) h)); + 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_newQPixmap__III(JNIEnv* env, jobject obj, jint w, jint h, jint depth) +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 QPixmapJBridge((int) w, (int) h, (int) depth)); + 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_newQPixmap__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint depth, jint arg4) +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 QPixmapJBridge((int) w, (int) h, (int) depth, (TQPixmap::Optimization) arg4)); + QtSupport::setQt(env, obj, new TQPixmapJBridge((int) w, (int) h, (int) depth, (TTQPixmap::Optimization) arg4)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__II_3CZ(JNIEnv* env, jobject obj, jint w, jint h, jcharArray data, jboolean isXbitmap) +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; +static TTQByteArray* _qbytearray_data = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge((int) w, (int) h, (const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (bool) isXbitmap)); + 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_newQPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) +Java_org_kde_qt_QPixmap_newTQPixmap__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) { -static TQString* _qstring_fileName = 0; +static TTQString* _qstring_fileName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) +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; +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQString&)*(TTQString*) 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_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint mode) +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; +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TQPixmap::ColorMode) mode)); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (TTQPixmap::ColorMode) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject image) +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 QPixmapJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, image))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth) +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 QPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth)); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint arg3) +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 QPixmapJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (TQPixmap::Optimization) arg3)); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (TTQPixmap::Optimization) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap___3B(JNIEnv* env, jobject obj, jbyteArray data) +Java_org_kde_qt_QPixmap_newTQPixmap___3B(JNIEnv* env, jobject obj, jbyteArray data) { -static TQByteArray* _qbyteArray_data = 0; +static TTQByteArray* _qbyteArray_data = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPixmapJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPixmap_newQPixmap___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray xpm) +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 QPixmapJBridge((const char**) QtSupport::toStringArray(env, xpm))); + QtSupport::setQt(env, obj, new TQPixmapJBridge((const char**) QtSupport::toStringArray(env, xpm))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -602,90 +602,90 @@ Java_org_kde_qt_QPixmap_newQPixmap___3Ljava_lang_String_2(JNIEnv* env, jobject o JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_optimization(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPixmap*) QtSupport::getQt(env, obj))->optimization(); + jint xret = (jint) ((TTQPixmap*) 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(); + jboolean xret = (jboolean) ((TTQPaintDevice*)(TTQPixmap*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPixmap*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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); + ((TTQPixmap*) 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)); + ((TTQPixmap*) QtSupport::getQt(env, obj))->resize((const TTQSize&)*(const TTQSize*) 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(); + jint xret = (jint) ((TTQPaintDevice*)(TTQPixmap*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality); +static TTQString* _qstring_fileName = 0; +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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)); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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); +static TTQCString* _qstring_format = 0; + jboolean xret = (jboolean) ((TTQPixmap*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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(); + jboolean xret = (jboolean) ((TTQPixmap*) 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(); + jint xret = (jint) ((TTQPixmap*) QtSupport::getQt(env, obj))->serialNumber(); return xret; } @@ -694,35 +694,35 @@ Java_org_kde_qt_QPixmap_setDefaultOptimization(JNIEnv* env, jclass cls, jint arg { (void) cls; (void) env; - QPixmapJBridge::setDefaultOptimization((TQPixmap::Optimization) arg1); + TQPixmapJBridge::setDefaultOptimization((TTQPixmap::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)); + ((TTQPixmap*) QtSupport::getQt(env, obj))->setMask((const TTQBitmap&)*(const TTQBitmap*) 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); + ((TTQPixmap*) QtSupport::getQt(env, obj))->setOptimization((TTQPixmap::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); + ((TTQPaintDevice*)(TTQPixmap*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQPixmap*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -730,34 +730,34 @@ 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(QPixmapJBridge::trueMatrix((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (int) w, (int) h)), "org.kde.qt.TQWMatrix", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQWMatrix(TQPixmapJBridge::trueMatrix((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg1), (int) w, (int) h)), "org.kde.qt.TTQWMatrix", 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(); + jint xret = (jint) ((TTQPixmap*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQPixmap*) QtSupport::getQt(env, obj))->xForm((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPixmap", 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) ((QPixmapJBridge*) QtSupport::getQt(env, obj))->loadFromData((uchar *) QtSupport::toUcharArray(env, data, &_qbyteArray_data), env->GetArrayLength(data), 0, 0); +static TTQByteArray * _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); + return (jlong) (TTQPaintDevice*)(TTQPixmap*) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QPixmap.h b/qtjava/javalib/qtjava/QPixmap.h index fce9773b..a18774fd 100644 --- a/qtjava/javalib/qtjava/QPixmap.h +++ b/qtjava/javalib/qtjava/QPixmap.h @@ -10,20 +10,20 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPixmap_newQPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); +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); @@ -64,7 +64,7 @@ extern JNIEXPORT jint JNICALL Java_org_kde_qt_QPixmap_serialNumber (JNIEnv *env, 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_isQBitmap (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); @@ -81,7 +81,7 @@ extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QPixmap_trueMatrix (JNIEnv *env 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_newQPixmap__II_3CZ (JNIEnv *env, jobject, jint, jint, jcharArray, jboolean); +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); diff --git a/qtjava/javalib/qtjava/QPoint.cpp b/qtjava/javalib/qtjava/QPoint.cpp index e9ba33b3..19a861c3 100644 --- a/qtjava/javalib/qtjava/QPoint.cpp +++ b/qtjava/javalib/qtjava/QPoint.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QPointJBridge : public QPoint +class TQPointJBridge : public TQPoint { public: - QPointJBridge() : TQPoint() {}; - QPointJBridge(int arg1,int arg2) : TQPoint(arg1,arg2) {}; - ~QPointJBridge() {QtSupport::qtKeyDeleted(this);} + TQPointJBridge() : TTQPoint() {}; + TQPointJBridge(int arg1,int arg2) : TTQPoint(arg1,arg2) {}; + ~TQPointJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPoint*)QtSupport::getQt(env, obj); + delete (TTQPoint*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -39,32 +39,32 @@ Java_org_kde_qt_QPoint_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPoint_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPoint*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQPoint*) 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(); + jint xret = (jint) ((TTQPoint*) QtSupport::getQt(env, obj))->manhattanLength(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_newQPoint__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPoint_newTQPoint__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPointJBridge()); + QtSupport::setQt(env, obj, new TQPointJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPoint_newQPoint__II(JNIEnv* env, jobject obj, jint xpos, jint ypos) +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 QPointJBridge((int) xpos, (int) ypos)); + QtSupport::setQt(env, obj, new TQPointJBridge((int) xpos, (int) ypos)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -73,84 +73,84 @@ Java_org_kde_qt_QPoint_newQPoint__II(JNIEnv* env, jobject obj, jint xpos, jint y 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator-=((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQPoint*) QtSupport::getQt(env, obj))->operator+=((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jshort JNICALL Java_org_kde_qt_QPoint_rx(JNIEnv* env, jobject obj) { - jshort xret = (jshort) ((TQPoint*) QtSupport::getQt(env, obj))->rx(); + jshort xret = (jshort) ((TTQPoint*) 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(); + jshort xret = (jshort) ((TTQPoint*) 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); + ((TTQPoint*) 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); + ((TTQPoint*) 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(); + jint xret = (jint) ((TTQPoint*) 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(); + jint xret = (jint) ((TTQPoint*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QPoint.h b/qtjava/javalib/qtjava/QPoint.h index a7d81fc4..bc6b0c85 100644 --- a/qtjava/javalib/qtjava/QPoint.h +++ b/qtjava/javalib/qtjava/QPoint.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newQPoint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPoint_newQPoint__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QPointArray.cpp b/qtjava/javalib/qtjava/QPointArray.cpp index 159669e6..5583741d 100644 --- a/qtjava/javalib/qtjava/QPointArray.cpp +++ b/qtjava/javalib/qtjava/QPointArray.cpp @@ -5,24 +5,24 @@ #include #include -#include +#include -class QPointArrayJBridge : public QPointArray +class TQPointArrayJBridge : public TQPointArray { public: - QPointArrayJBridge() : TQPointArray() {}; - QPointArrayJBridge(int arg1) : TQPointArray(arg1) {}; - QPointArrayJBridge(const TQPointArray& arg1) : TQPointArray(arg1) {}; - QPointArrayJBridge(const TQRect& arg1,bool arg2) : TQPointArray(arg1,arg2) {}; - QPointArrayJBridge(const TQRect& arg1) : TQPointArray(arg1) {}; - QPointArrayJBridge(int arg1,const QCOORD* arg2) : TQPointArray(arg1,arg2) {}; - ~QPointArrayJBridge() {QtSupport::qtKeyDeleted(this);} + TQPointArrayJBridge() : TTQPointArray() {}; + TQPointArrayJBridge(int arg1) : TTQPointArray(arg1) {}; + TQPointArrayJBridge(const TTQPointArray& arg1) : TTQPointArray(arg1) {}; + TQPointArrayJBridge(const TTQRect& arg1,bool arg2) : TTQPointArray(arg1,arg2) {}; + TQPointArrayJBridge(const TTQRect& arg1) : TTQPointArray(arg1) {}; + TQPointArrayJBridge(int arg1,const TQCOORD* arg2) : TTQPointArray(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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPointArray*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -31,21 +31,21 @@ Java_org_kde_qt_QPointArray_cleanBuffers(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QPointArrayJBridge::cleanBuffers(); + 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPointArray*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQPointArray*) QtSupport::getQt(env, obj))->cubicBezier()), "org.kde.qt.TTQPointArray", TRUE); return xret; } @@ -60,7 +60,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQPointArray*)QtSupport::getQt(env, obj); + delete (TTQPointArray*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -75,50 +75,50 @@ Java_org_kde_qt_QPointArray_isDisposed(JNIEnv* env, jobject obj) 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); + ((TTQPointArray*) 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)); + ((TTQPointArray*) QtSupport::getQt(env, obj))->makeArc((int) x, (int) y, (int) w, (int) h, (int) a1, (int) a2, (const TTQWMatrix&)*(const TTQWMatrix*) 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); + ((TTQPointArray*) QtSupport::getQt(env, obj))->makeEllipse((int) x, (int) y, (int) w, (int) h); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newQPointArray__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPointArray_newTQPointArray__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPointArrayJBridge()); + QtSupport::setQt(env, obj, new TQPointArrayJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newQPointArray__I(JNIEnv* env, jobject obj, jint size) +Java_org_kde_qt_QPointArray_newTQPointArray__I(JNIEnv* env, jobject obj, jint size) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPointArrayJBridge((int) size)); + 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_newQPointArray__I_3S(JNIEnv* env, jobject obj, jint nPoints, jshortArray points) +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 QPointArrayJBridge((int) nPoints, (const QCOORD*) _short_points)); + 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); } @@ -126,30 +126,30 @@ Java_org_kde_qt_QPointArray_newQPointArray__I_3S(JNIEnv* env, jobject obj, jint } JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject a) +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 QPointArrayJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, a))); + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, a))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +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 QPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject r, jboolean closed) +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 QPointArrayJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (bool) closed)); + QtSupport::setQt(env, obj, new TQPointArrayJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (bool) closed)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -158,42 +158,42 @@ Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QRect_2Z(JNIEnv* env, jo 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQPointArray*) QtSupport::getQt(env, obj))->point((uint) i)), "org.kde.qt.TTQPoint", 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)); + jboolean xret = (jboolean) ((TTQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TTQPointArray&)*(const TTQPointArray*) 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); + jboolean xret = (jboolean) ((TTQPointArray*) QtSupport::getQt(env, obj))->putPoints((int) index, (int) nPoints, (const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPointArray*) 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)); + ((TTQPointArray*) QtSupport::getQt(env, obj))->setPoint((uint) i, (const TTQPoint&)*(const TTQPoint*) 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); + ((TTQPointArray*) QtSupport::getQt(env, obj))->translate((int) dx, (int) dy); return; } @@ -202,7 +202,7 @@ Java_org_kde_qt_QPointArray_point__I_3I_3I(JNIEnv *env, jobject obj, jint i, jin { int argx; int argy; - ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->point((uint) i, &argx, &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; @@ -211,13 +211,13 @@ Java_org_kde_qt_QPointArray_point__I_3I_3I(JNIEnv *env, jobject obj, jint i, jin JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_setPoints(JNIEnv *env, jobject obj, jint nPoints, jshortArray points) { - if (!((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint)nPoints)) { + 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++) { - ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(index, shortArray[index * 2], shortArray[(index * 2) + 1]); + ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(index, shortArray[index * 2], shortArray[(index * 2) + 1]); } return JNI_TRUE; } @@ -225,15 +225,15 @@ Java_org_kde_qt_QPointArray_setPoints(JNIEnv *env, jobject obj, jint nPoints, js JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_putPoints__II_3S(JNIEnv *env, jobject obj, jint index, jint nPoints, jshortArray points) { - if ( ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->size() < (uint) nPoints - && !((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) nPoints) ) + 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--) { - ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(i, shortArray[i * 2], shortArray[(i * 2) + 1]); + ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->setPoint(i, shortArray[i * 2], shortArray[(i * 2) + 1]); } return JNI_TRUE; } @@ -241,42 +241,42 @@ Java_org_kde_qt_QPointArray_putPoints__II_3S(JNIEnv *env, jobject obj, jint inde JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_size(JNIEnv* env, jobject obj) { - return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->size(); + return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->size(); } JNIEXPORT jint JNICALL Java_org_kde_qt_QPointArray_count(JNIEnv* env, jobject obj) { - return (jint) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->count(); + return (jint) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->count(); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isEmpty(JNIEnv* env, jobject obj) { - return (jboolean) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->isEmpty(); + return (jboolean) ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->isEmpty(); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPointArray_isNull(JNIEnv* env, jobject obj) { - return (jboolean) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->isNull(); + 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) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->resize((uint) 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) ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->truncate((uint) 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= ((QPointArrayJBridge*) QtSupport::getQt(env, obj))->at((uint) index); - return (jobject) QtSupport::objectForQtKey(env, (void *)new TQPoint(_p.x(),_p.y()), "org.kde.qt.TQPoint", TRUE); + TTQPoint _p= ((TQPointArrayJBridge*) QtSupport::getQt(env, obj))->at((uint) index); + return (jobject) QtSupport::objectForQtKey(env, (void *)new TTQPoint(_p.x(),_p.y()), "org.kde.qt.TTQPoint", TRUE); } diff --git a/qtjava/javalib/qtjava/QPointArray.h b/qtjava/javalib/qtjava/QPointArray.h index e797309e..ab84eacb 100644 --- a/qtjava/javalib/qtjava/QPointArray.h +++ b/qtjava/javalib/qtjava/QPointArray.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPointArray_newQPointArray__I_3S (JNIEnv *env, jobject, jint, jshortArray); +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); diff --git a/qtjava/javalib/qtjava/QPolygonScanner.cpp b/qtjava/javalib/qtjava/QPolygonScanner.cpp index 8fb9827c..407e3812 100644 --- a/qtjava/javalib/qtjava/QPolygonScanner.cpp +++ b/qtjava/javalib/qtjava/QPolygonScanner.cpp @@ -3,13 +3,13 @@ #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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->processSpans((int) n, (TTQPoint*) QtSupport::getQt(env, point), (int*) _int_width); env->SetIntArrayRegion(width, 0, 1, (jint *) _int_width); return; } @@ -17,35 +17,35 @@ Java_org_kde_qt_QPolygonScanner_processSpans(JNIEnv* env, jobject obj, jint n, j 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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) 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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (TTQPolygonScanner::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); + ((TTQPolygonScanner*) QtSupport::getQt(env, obj))->scan((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, pa), (bool) winding, (int) index, (int) npoints, (bool) stitchable); return; } diff --git a/qtjava/javalib/qtjava/QPopupMenu.cpp b/qtjava/javalib/qtjava/QPopupMenu.cpp index f32bc30c..ee42533e 100644 --- a/qtjava/javalib/qtjava/QPopupMenu.cpp +++ b/qtjava/javalib/qtjava/QPopupMenu.cpp @@ -13,439 +13,439 @@ #include #include -#include +#include -class QPopupMenuJBridge : public QPopupMenu +class TQPopupMenuJBridge : public TQPopupMenu { public: - QPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TQPopupMenu(arg1,arg2) {}; - QPopupMenuJBridge(TQWidget* arg1) : TQPopupMenu(arg1) {}; - QPopupMenuJBridge() : TQPopupMenu() {}; + TQPopupMenuJBridge(TTQWidget* arg1,const char* arg2) : TTQPopupMenu(arg1,arg2) {}; + TQPopupMenuJBridge(TTQWidget* arg1) : TTQPopupMenu(arg1) {}; + TQPopupMenuJBridge() : TTQPopupMenu() {}; int protected_itemHeight(int arg1) { - return (int) TQPopupMenu::itemHeight(arg1); + return (int) TTQPopupMenu::itemHeight(arg1); } - int protected_itemHeight(TQMenuItem* arg1) { - return (int) TQPopupMenu::itemHeight(arg1); + int protected_itemHeight(TTQMenuItem* arg1) { + return (int) TTQPopupMenu::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); + void protected_drawItem(TTQPainter* arg1,int arg2,TTQMenuItem* arg3,bool arg4,int arg5,int arg6,int arg7,int arg8) { + TTQPopupMenu::drawItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); return; } - void protected_drawContents(TQPainter* arg1) { - TQPopupMenu::drawContents(arg1); + void protected_drawContents(TTQPainter* arg1) { + TTQPopupMenu::drawContents(arg1); return; } - void protected_closeEvent(TQCloseEvent* arg1) { - TQPopupMenu::closeEvent(arg1); + void protected_closeEvent(TTQCloseEvent* arg1) { + TTQPopupMenu::closeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQPopupMenu::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQPopupMenu::paintEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQPopupMenu::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQPopupMenu::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQPopupMenu::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQPopupMenu::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQPopupMenu::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQPopupMenu::mouseMoveEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQPopupMenu::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQPopupMenu::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQPopupMenu::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQPopupMenu::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQPopupMenu::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQPopupMenu::focusOutEvent(arg1); return; } - void protected_timerEvent(TQTimerEvent* arg1) { - TQPopupMenu::timerEvent(arg1); + void protected_timerEvent(TTQTimerEvent* arg1) { + TTQPopupMenu::timerEvent(arg1); return; } - void protected_leaveEvent(TQEvent* arg1) { - TQPopupMenu::leaveEvent(arg1); + void protected_leaveEvent(TTQEvent* arg1) { + TTQPopupMenu::leaveEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQPopupMenu::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQPopupMenu::styleChange(arg1); return; } void protected_enabledChange(bool arg1) { - TQPopupMenu::enabledChange(arg1); + TTQPopupMenu::enabledChange(arg1); return; } int protected_columns() { - return (int) TQPopupMenu::columns(); + return (int) TTQPopupMenu::columns(); } bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQPopupMenu::focusNextPrevChild(arg1); + return (bool) TTQPopupMenu::focusNextPrevChild(arg1); } - int protected_itemAtPos(const TQPoint& arg1,bool arg2) { - return (int) TQPopupMenu::itemAtPos(arg1,arg2); + int protected_itemAtPos(const TTQPoint& arg1,bool arg2) { + return (int) TTQPopupMenu::itemAtPos(arg1,arg2); } - int protected_itemAtPos(const TQPoint& arg1) { - return (int) TQPopupMenu::itemAtPos(arg1); + int protected_itemAtPos(const TTQPoint& arg1) { + return (int) TTQPopupMenu::itemAtPos(arg1); } - ~QPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQPopupMenuJBridge() {QtSupport::qtKeyDeleted(this);} void protected_menuContentsChanged() { - TQMenuData::menuContentsChanged(); + TTQMenuData::menuContentsChanged(); return; } void protected_menuStateChanged() { - TQMenuData::menuStateChanged(); + TTQMenuData::menuStateChanged(); return; } - void protected_menuInsPopup(TQPopupMenu* arg1) { - TQMenuData::menuInsPopup(arg1); + void protected_menuInsPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(TQPopupMenu* arg1) { - TQMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TTQPopupMenu* arg1) { + TTQMenuData::menuDelPopup(arg1); return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPopupMenu::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQPopupMenu::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQPopupMenu::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQPopupMenu::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQPopupMenu::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQPopupMenu::keyPressEvent(arg1); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQPopupMenu::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQPopupMenu::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQPopupMenu::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQPopupMenu::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQPopupMenu::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQPopupMenu::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQPopupMenu::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQPopupMenu::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQPopupMenu::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQPopupMenu::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQPopupMenu::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQPopupMenu::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPopupMenu::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQPopupMenu::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQPopupMenu",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQPopupMenu",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPopupMenu","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPopupMenu","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -454,67 +454,67 @@ public: 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TTQKeySequence", 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); + ((TTQPopupMenu*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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)); + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQPixmap&)*(const TTQPixmap*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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); + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id); return; } @@ -522,42 +522,42 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QPopupMenu_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQPopupMenu*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQPopupMenu*) 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(); + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->clear(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_columns(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_columns(); + 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(); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) 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(); + jboolean xret = (jboolean) ((TTQPopupMenu*) QtSupport::getQt(env, obj))->customWhatsThis(); return xret; } @@ -571,50 +571,50 @@ Java_org_kde_qt_QPopupMenu_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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) { - ((QPopupMenuJBridge*) 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); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_drawItem((TTQPainter*) QtSupport::getQt(env, p), (int) tab, (TTQMenuItem*) 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) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) 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(); + jint xret = (jint) ((TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TTQPoint&)*(const TTQPoint*) 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); + jint xret = (jint) ((TTQPopupMenu*) QtSupport::getQt(env, obj))->exec((const TTQPoint&)*(const TTQPoint*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQPopupMenu*)(TTQPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { + delete (TTQPopupMenu*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -623,14 +623,14 @@ Java_org_kde_qt_QPopupMenu_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TTQMenuItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMenuItem"); return xret; } @@ -638,7 +638,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TTQMenuItem"); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; } @@ -646,423 +646,423 @@ Java_org_kde_qt_QPopupMenu_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, j JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) { - jboolean xret = (jboolean) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) 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) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_hide(JNIEnv* env, jobject obj) { - ((TQPopupMenu*) QtSupport::getQt(env, obj))->hide(); + ((TTQPopupMenu*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TTQIconSet"); 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); + jint xret = (jint) ((TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQPopupMenu*) QtSupport::getQt(env, obj))->idAt((const TTQPoint&)*(const TTQPoint*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup)); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) 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)); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) 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(); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) 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(); + jint xret = (jint) ((TTQPopupMenu*) 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); + jint xret = (jint) ((TTQPopupMenu*) 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); + jint xret = (jint) ((TTQPopupMenu*) 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(); + jboolean xret = (jboolean) ((TTQPopupMenu*) QtSupport::getQt(env, obj))->isCheckable(); return xret; } @@ -1075,169 +1075,169 @@ Java_org_kde_qt_QPopupMenu_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQPopupMenu*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQPopupMenu*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQPopupMenu*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQPopupMenu*) 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) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TTQPoint&)*(const TTQPoint*) 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) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) ignoreSeparator); + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemAtPos((const TTQPoint&)*(const TTQPoint*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQPopupMenu*) QtSupport::getQt(env, obj))->itemGeometry((int) index)), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QPopupMenu_itemHeight__I(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((int) 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) ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((TQMenuItem*) QtSupport::getQt(env, mi)); + jint xret = (jint) ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHeight((TTQMenuItem*) 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); + jint xret = (jint) ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->itemParameter((int) id); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TTQEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuContentsChanged(JNIEnv* env, jobject obj) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_menuStateChanged(JNIEnv* env, jobject obj) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newQPopupMenu__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPopupMenu_newTQPopupMenu__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPopupMenuJBridge()); + QtSupport::setQt(env, obj, new TQPopupMenuJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newQPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQPopupMenuJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPopupMenu_newQPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQPopupMenuJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1246,186 +1246,186 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TTQPixmap"); 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)); + ((TTQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQPopupMenu*) QtSupport::getQt(env, obj))->popup((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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); + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) 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); + ((TTQPopupMenu*) 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); + ((TTQPopupMenu*) 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)); + ((TTQPopupMenu*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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); + jboolean xret = (jboolean) ((TTQMenuData*)(TTQPopupMenu*) 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); + ((TTQMenuData*)(TTQPopupMenu*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) 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(); + ((TTQPopupMenu*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQPopupMenu*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*)(TTQPopupMenu*) 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) { - ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); + ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QPopupMenuJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + ((TTQPopupMenu*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQMenuData*)(TTQPopupMenu*) QtSupport::getQt(env, obj))->whatsThis((int) id); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jint JNICALL @@ -1452,7 +1452,7 @@ Java_org_kde_qt_QPopupMenu_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2L 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; +static TTQString * _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); @@ -1482,7 +1482,7 @@ Java_org_kde_qt_QPopupMenu_connectItem(JNIEnv *env, jobject obj, jint identifier { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, + if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { @@ -1497,7 +1497,7 @@ Java_org_kde_qt_QPopupMenu_disconnectItem(JNIEnv *env, jobject obj, jint identif { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - if ( ((QPopupMenuJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, + if ( ((TQPopupMenuJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier, javaSlot, javaSlot->javaToQtSlotName(env, member) ) ) { diff --git a/qtjava/javalib/qtjava/QPopupMenu.h b/qtjava/javalib/qtjava/QPopupMenu.h index 3a765b69..1412a8f6 100644 --- a/qtjava/javalib/qtjava/QPopupMenu.h +++ b/qtjava/javalib/qtjava/QPopupMenu.h @@ -12,9 +12,9 @@ extern "C" 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_newQPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newQPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPopupMenu_newQPopupMenu__ (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); diff --git a/qtjava/javalib/qtjava/QPrintDialog.cpp b/qtjava/javalib/qtjava/QPrintDialog.cpp index 70defd32..13a78788 100644 --- a/qtjava/javalib/qtjava/QPrintDialog.cpp +++ b/qtjava/javalib/qtjava/QPrintDialog.cpp @@ -3,345 +3,345 @@ #include #include -#include +#include -class QPrintDialogJBridge : public QPrintDialog +class TQPrintDialogJBridge : public TQPrintDialog { public: - QPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2,const char* arg3) : TQPrintDialog(arg1,arg2,arg3) {}; - QPrintDialogJBridge(TQPrinter* arg1,TQWidget* arg2) : TQPrintDialog(arg1,arg2) {}; - QPrintDialogJBridge(TQPrinter* arg1) : TQPrintDialog(arg1) {}; - ~QPrintDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + TQPrintDialogJBridge(TTQPrinter* arg1,TTQWidget* arg2,const char* arg3) : TTQPrintDialog(arg1,arg2,arg3) {}; + TQPrintDialogJBridge(TTQPrinter* arg1,TTQWidget* arg2) : TTQPrintDialog(arg1,arg2) {}; + TQPrintDialogJBridge(TTQPrinter* arg1) : TTQPrintDialog(arg1) {}; + ~TQPrintDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPrintDialog","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPrintDialog","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -350,7 +350,7 @@ public: 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)); + ((TTQPrintDialog*) QtSupport::getQt(env, obj))->addButton((TTQPushButton*) QtSupport::getQt(env, but)); return; } @@ -358,7 +358,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrintDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQPrintDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQPrintDialog*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -372,8 +372,8 @@ Java_org_kde_qt_QPrintDialog_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQPrintDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQPrintDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -383,7 +383,7 @@ 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) QPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TTQPrinter*) QtSupport::getQt(env, arg1)); return xret; } @@ -391,7 +391,7 @@ 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) QPrintDialogJBridge::getPrinterSetup((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) TQPrintDialogJBridge::getPrinterSetup((TTQPrinter*) QtSupport::getQt(env, arg1), (TTQWidget*) QtSupport::getQt(env, arg2)); return xret; } @@ -404,36 +404,36 @@ Java_org_kde_qt_QPrintDialog_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPrintDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newQPrintDialog__Lorg_kde_qt_QPrinter_2(JNIEnv* env, jobject obj, jobject arg1) +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 QPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TTQPrinter*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) +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 QPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TTQPrinter*) QtSupport::getQt(env, arg1), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPrintDialog_newQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPrintDialogJBridge((TQPrinter*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQPrintDialogJBridge((TTQPrinter*) QtSupport::getQt(env, arg1), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -442,7 +442,7 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPrintDialog*) QtSupport::getQt(env, obj))->printer(), "org.kde.qt.TTQPrinter"); return xret; } @@ -450,42 +450,42 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_setGlobalPrintDialog(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QPrintDialogJBridge::setGlobalPrintDialog((TQPrintDialog*) QtSupport::getQt(env, arg1)); + TQPrintDialogJBridge::setGlobalPrintDialog((TTQPrintDialog*) 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)); + ((TTQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TTQPrinter*) 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); + ((TTQPrintDialog*) QtSupport::getQt(env, obj))->setPrinter((TTQPrinter*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QPrintDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index bd6a5413..4a8866bc 100644 --- a/qtjava/javalib/qtjava/QPrintDialog.h +++ b/qtjava/javalib/qtjava/QPrintDialog.h @@ -12,9 +12,9 @@ extern "C" 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_newQPrintDialog__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_newQPrintDialog__Lorg_kde_qt_QPrinter_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrintDialog_newQPrintDialog__Lorg_kde_qt_QPrinter_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QPrinter.cpp b/qtjava/javalib/qtjava/QPrinter.cpp index bbbce17b..8d15d4bd 100644 --- a/qtjava/javalib/qtjava/QPrinter.cpp +++ b/qtjava/javalib/qtjava/QPrinter.cpp @@ -4,60 +4,60 @@ #include #include -#include +#include -class QPrinterJBridge : public QPrinter +class TQPrinterJBridge : public TQPrinter { public: - QPrinterJBridge(TQPrinter::PrinterMode arg1) : TQPrinter(arg1) {}; - QPrinterJBridge() : TQPrinter() {}; + TQPrinterJBridge(TTQPrinter::PrinterMode arg1) : TTQPrinter(arg1) {}; + TQPrinterJBridge() : TTQPrinter() {}; int protected_metric(int arg1) { - return (int) TQPrinter::metric(arg1); + return (int) TTQPrinter::metric(arg1); } - ~QPrinterJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) QtSupport::getQt(env, obj))->creator(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -70,16 +70,16 @@ Java_org_kde_qt_QPrinter_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QPrinter_docName(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQPrinter*) QtSupport::getQt(env, obj))->docName(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) 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); + delete (TTQPrinter*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -88,14 +88,14 @@ Java_org_kde_qt_QPrinter_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_fromPage(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->fromPage(); + jint xret = (jint) ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) QtSupport::getQt(env, obj))->fullPage(); return xret; } @@ -108,14 +108,14 @@ Java_org_kde_qt_QPrinter_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQPrinter*) QtSupport::getQt(env, obj))->isOptionEnabled((TTQPrinter::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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQPrinter*) QtSupport::getQt(env, obj))->margins()), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -126,7 +126,7 @@ Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArr 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); + ((TTQPrinter*) 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); @@ -137,46 +137,46 @@ Java_org_kde_qt_QPrinter_margins___3I_3I_3I_3I(JNIEnv* env, jobject obj, jintArr JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_maxPage(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->maxPage(); + jint xret = (jint) ((TTQPrinter*) 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) ((QPrinterJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) 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(); + jint xret = (jint) ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) QtSupport::getQt(env, obj))->newPage(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_newQPrinter__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QPrinter_newTQPrinter__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPrinterJBridge()); + QtSupport::setQt(env, obj, new TQPrinterJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPrinter_newQPrinter__I(JNIEnv* env, jobject obj, jint mode) +Java_org_kde_qt_QPrinter_newTQPrinter__I(JNIEnv* env, jobject obj, jint mode) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPrinterJBridge((TQPrinter::PrinterMode) mode)); + QtSupport::setQt(env, obj, new TQPrinterJBridge((TTQPrinter::PrinterMode) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -185,269 +185,269 @@ Java_org_kde_qt_QPrinter_newQPrinter__I(JNIEnv* env, jobject obj, jint mode) JNIEXPORT jint JNICALL Java_org_kde_qt_QPrinter_numCopies(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQPrinter*) QtSupport::getQt(env, obj))->numCopies(); + jint xret = (jint) ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQPrinter*) 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(); + jint xret = (jint) ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setColorMode((TTQPrinter::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setCreator((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setDocName((const TTQString&)*(TTQString*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setOptionEnabled((TTQPrinter::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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setOrientation((TTQPrinter::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setOutputFileName((const TTQString&)*(TTQString*) 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); + ((TTQPrinter*) 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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPageOrder((TTQPrinter::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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPageSize((TTQPrinter::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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPaperSource((TTQPrinter::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPrintProgram((const TTQString&)*(TTQString*) 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); + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPrintRange((TTQPrinter::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPrinterName((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQPrinter*) QtSupport::getQt(env, obj))->setPrinterSelectionOption((const TTQString&)*(TTQString*) 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); + ((TTQPrinter*) 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(); + jboolean xret = (jboolean) ((TTQPrinter*) 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)); + jboolean xret = (jboolean) ((TTQPrinter*) QtSupport::getQt(env, obj))->setup((TTQWidget*) 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(); + jint xret = (jint) ((TTQPrinter*) QtSupport::getQt(env, obj))->toPage(); return xret; } diff --git a/qtjava/javalib/qtjava/QPrinter.h b/qtjava/javalib/qtjava/QPrinter.h index f3f1196c..1a711b02 100644 --- a/qtjava/javalib/qtjava/QPrinter.h +++ b/qtjava/javalib/qtjava/QPrinter.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newQPrinter__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPrinter_newQPrinter__ (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QProcess.cpp b/qtjava/javalib/qtjava/QProcess.cpp index e60d8142..b1fa2a09 100644 --- a/qtjava/javalib/qtjava/QProcess.cpp +++ b/qtjava/javalib/qtjava/QProcess.cpp @@ -6,78 +6,78 @@ #include #include -#include +#include -class QProcessJBridge : public QProcess +class TQProcessJBridge : public TQProcess { public: - QProcessJBridge(TQObject* arg1,const char* arg2) : TQProcess(arg1,arg2) {}; - QProcessJBridge(TQObject* arg1) : TQProcess(arg1) {}; - QProcessJBridge() : TQProcess() {}; - QProcessJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; - QProcessJBridge(const TQString& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; - QProcessJBridge(const TQString& arg1) : TQProcess(arg1) {}; - QProcessJBridge(const TQStringList& arg1,TQObject* arg2,const char* arg3) : TQProcess(arg1,arg2,arg3) {}; - QProcessJBridge(const TQStringList& arg1,TQObject* arg2) : TQProcess(arg1,arg2) {}; - QProcessJBridge(const TQStringList& arg1) : TQProcess(arg1) {}; + TQProcessJBridge(TTQObject* arg1,const char* arg2) : TTQProcess(arg1,arg2) {}; + TQProcessJBridge(TTQObject* arg1) : TTQProcess(arg1) {}; + TQProcessJBridge() : TTQProcess() {}; + TQProcessJBridge(const TTQString& arg1,TTQObject* arg2,const char* arg3) : TTQProcess(arg1,arg2,arg3) {}; + TQProcessJBridge(const TTQString& arg1,TTQObject* arg2) : TTQProcess(arg1,arg2) {}; + TQProcessJBridge(const TTQString& arg1) : TTQProcess(arg1) {}; + TQProcessJBridge(const TTQStringList& arg1,TTQObject* arg2,const char* arg3) : TTQProcess(arg1,arg2,arg3) {}; + TQProcessJBridge(const TTQStringList& arg1,TTQObject* arg2) : TTQProcess(arg1,arg2) {}; + TQProcessJBridge(const TTQStringList& arg1) : TTQProcess(arg1) {}; void public_closeStdin() { - TQProcess::closeStdin(); + TTQProcess::closeStdin(); return; } void protected_connectNotify(const char* arg1) { - TQProcess::connectNotify(arg1); + TTQProcess::connectNotify(arg1); return; } void protected_disconnectNotify(const char* arg1) { - TQProcess::disconnectNotify(arg1); + TTQProcess::disconnectNotify(arg1); return; } - ~QProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQProcessJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setWorkingDirectory(const TQDir& arg1) { - if (!QtSupport::eventDelegate(this,"setWorkingDirectory",(void*)&arg1,"org.kde.qt.TQDir")) { - TQProcess::setWorkingDirectory(arg1); + void setWorkingDirectory(const TTQDir& arg1) { + if (!QtSupport::eventDelegate(this,"setWorkingDirectory",(void*)&arg1,"org.kde.qt.TTQDir")) { + TTQProcess::setWorkingDirectory(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void closeStdin() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProcess","closeStdin")) { - TQProcess::closeStdin(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProcess","closeStdin")) { + TTQProcess::closeStdin(); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQProcess",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQProcess",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -87,30 +87,30 @@ public: 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::toQString(env, arg, &_qstring_arg)); +static TTQString* _qstring_arg = 0; + ((TTQProcess*) QtSupport::getQt(env, obj))->addArgument((const TTQString&)*(TTQString*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQProcess*) QtSupport::getQt(env, obj))->arguments(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_canReadLineStderr(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->canReadLineStderr(); + jboolean xret = (jboolean) ((TTQProcess*) 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(); + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->canReadLineStdout(); return xret; } @@ -118,44 +118,44 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QProcess_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQProcess*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQProcess*) 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(); + ((TTQProcess*) QtSupport::getQt(env, obj))->clearArguments(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_closeStdin(JNIEnv* env, jobject obj) { - ((QProcessJBridge*) QtSupport::getQt(env, obj))->public_closeStdin(); + ((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(); + jint xret = (jint) ((TTQProcess*) 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; - ((QProcessJBridge*) QtSupport::getQt(env, obj))->protected_connectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); +static TTQCString* _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; - ((QProcessJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); +static TTQCString* _qstring_signal = 0; + ((TQProcessJBridge*) QtSupport::getQt(env, obj))->protected_disconnectNotify((const char*) QtSupport::toCharString(env, signal, &_qstring_signal)); return; } @@ -169,15 +169,15 @@ Java_org_kde_qt_QProcess_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QProcess_exitStatus(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQProcess*) QtSupport::getQt(env, obj))->exitStatus(); + jint xret = (jint) ((TTQProcess*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQProcess*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQProcess*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -186,7 +186,7 @@ Java_org_kde_qt_QProcess_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_flushStdin(JNIEnv* env, jobject obj) { - ((TQProcess*) QtSupport::getQt(env, obj))->flushStdin(); + ((TTQProcess*) QtSupport::getQt(env, obj))->flushStdin(); return; } @@ -199,152 +199,152 @@ Java_org_kde_qt_QProcess_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_isRunning(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->isRunning(); + jboolean xret = (jboolean) ((TTQProcess*) 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(); + ((TTQProcess*) 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::toQString(env, buf, &_qstring_buf)); +static TTQString* _qstring_buf = 0; + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->launch((const TTQString&)*(TTQString*) 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::toQString(env, buf, &_qstring_buf), (TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)); +static TTQString* _qstring_buf = 0; +static TTQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->launch((const TTQString&)*(TTQString*) QtSupport::toTQString(env, buf, &_qstring_buf), (TTQStringList*) 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::toQByteArray(env, buf, &_qbyteArray_buf)); +static TTQByteArray* _qbyteArray_buf = 0; + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->launch((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, buf, &_qbyteArray_buf), (TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)); +static TTQByteArray* _qbyteArray_buf = 0; +static TTQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->launch((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf), (TTQStringList*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QProcess_newTQProcess__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge()); + QtSupport::setQt(env, obj, new TQProcessJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0) +Java_org_kde_qt_QProcess_newTQProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0) { -static TQString* _qstring_arg0 = 0; +static TTQString* _qstring_arg0 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg0, &_qstring_arg0))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent) +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; +static TTQString* _qstring_arg0 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg0, &_qstring_arg0), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg0, jobject parent, jstring name) +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; +static TTQString* _qstring_arg0 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg0, &_qstring_arg0), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg0, &_qstring_arg0), (TTQObject*) QtSupport::getQt(env, 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_newQProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProcessJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProcessJBridge((TTQObject*) QtSupport::getQt(env, 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_newQProcess___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) +Java_org_kde_qt_QProcess_newTQProcess___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) { -static TQStringList* _qlist_args = 0; +static TTQStringList* _qlist_args = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent) +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; +static TTQStringList* _qlist_args = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProcess_newQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args, jobject parent, jstring name) +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; +static TTQStringList* _qlist_args = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProcessJBridge((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProcessJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -353,134 +353,134 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProcess_normalExit(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProcess*) QtSupport::getQt(env, obj))->normalExit(); + jboolean xret = (jboolean) ((TTQProcess*) 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(); + jlong xret = (jlong) ((TTQProcess*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQProcess*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQProcess*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQProcess*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQProcess*) 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::toQStringList(env, args, &_qlist_args)); +static TTQStringList* _qlist_args = 0; + ((TTQProcess*) QtSupport::getQt(env, obj))->setArguments((const TTQStringList&)*(TTQStringList*) 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); + ((TTQProcess*) 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)); + ((TTQProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TTQDir&)*(const TTQDir*) 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(); + jboolean xret = (jboolean) ((TTQProcess*) 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::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + jboolean xret = (jboolean) ((TTQProcess*) QtSupport::getQt(env, obj))->start((TTQStringList*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QProcessJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + ((TTQProcess*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDir(((TTQProcess*) QtSupport::getQt(env, obj))->workingDirectory()), "org.kde.qt.TTQDir", 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::toQString(env, buf, &_qstring_buf)); +static TTQString* _qstring_buf = 0; + ((TTQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TTQString&)*(TTQString*) 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::toQByteArray(env, buf, &_qbyteArray_buf)); +static TTQByteArray* _qbyteArray_buf = 0; + ((TTQProcess*) QtSupport::getQt(env, obj))->writeToStdin((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, buf, &_qbyteArray_buf)); return; } diff --git a/qtjava/javalib/qtjava/QProcess.h b/qtjava/javalib/qtjava/QProcess.h index aa93a8c6..990c66d6 100644 --- a/qtjava/javalib/qtjava/QProcess.h +++ b/qtjava/javalib/qtjava/QProcess.h @@ -12,15 +12,15 @@ extern "C" 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_newQProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess__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_newQProcess__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess___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_newQProcess___3Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProcess_newQProcess___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); +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); diff --git a/qtjava/javalib/qtjava/QProgressBar.cpp b/qtjava/javalib/qtjava/QProgressBar.cpp index 735b6994..8254dfc0 100644 --- a/qtjava/javalib/qtjava/QProgressBar.cpp +++ b/qtjava/javalib/qtjava/QProgressBar.cpp @@ -6,380 +6,380 @@ #include #include -#include +#include -class QProgressBarJBridge : public QProgressBar +class TQProgressBarJBridge : public TQProgressBar { public: - QProgressBarJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQProgressBar(arg1,arg2,arg3) {}; - QProgressBarJBridge(TQWidget* arg1,const char* arg2) : TQProgressBar(arg1,arg2) {}; - QProgressBarJBridge(TQWidget* arg1) : TQProgressBar(arg1) {}; - QProgressBarJBridge() : TQProgressBar() {}; - QProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3,Qt::WFlags arg4) : TQProgressBar(arg1,arg2,arg3,arg4) {}; - QProgressBarJBridge(int arg1,TQWidget* arg2,const char* arg3) : TQProgressBar(arg1,arg2,arg3) {}; - QProgressBarJBridge(int arg1,TQWidget* arg2) : TQProgressBar(arg1,arg2) {}; - QProgressBarJBridge(int arg1) : TQProgressBar(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - TQProgressBar::drawContents(arg1); + TQProgressBarJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQProgressBar(arg1,arg2,arg3) {}; + TQProgressBarJBridge(TTQWidget* arg1,const char* arg2) : TTQProgressBar(arg1,arg2) {}; + TQProgressBarJBridge(TTQWidget* arg1) : TTQProgressBar(arg1) {}; + TQProgressBarJBridge() : TTQProgressBar() {}; + TQProgressBarJBridge(int arg1,TTQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TTQProgressBar(arg1,arg2,arg3,arg4) {}; + TQProgressBarJBridge(int arg1,TTQWidget* arg2,const char* arg3) : TTQProgressBar(arg1,arg2,arg3) {}; + TQProgressBarJBridge(int arg1,TTQWidget* arg2) : TTQProgressBar(arg1,arg2) {}; + TQProgressBarJBridge(int arg1) : TTQProgressBar(arg1) {}; + void protected_drawContents(TTQPainter* arg1) { + TTQProgressBar::drawContents(arg1); return; } - bool protected_setIndicator(TQString& arg1,int arg2,int arg3) { - return (bool) TQProgressBar::setIndicator(arg1,arg2,arg3); + bool protected_setIndicator(TTQString& arg1,int arg2,int arg3) { + return (bool) TTQProgressBar::setIndicator(arg1,arg2,arg3); } - void protected_styleChange(TQStyle& arg1) { - TQProgressBar::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQProgressBar::styleChange(arg1); return; } - ~QProgressBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQProgressBarJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQProgressBar",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQProgressBar",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -388,7 +388,7 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_centerIndicator(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->centerIndicator(); + jboolean xret = (jboolean) ((TTQProgressBar*) QtSupport::getQt(env, obj))->centerIndicator(); return xret; } @@ -396,7 +396,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQProgressBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQProgressBar*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -410,15 +410,15 @@ Java_org_kde_qt_QProgressBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) { - ((QProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQProgressBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQProgressBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -427,7 +427,7 @@ Java_org_kde_qt_QProgressBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_indicatorFollowsStyle(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->indicatorFollowsStyle(); + jboolean xret = (jboolean) ((TTQProgressBar*) QtSupport::getQt(env, obj))->indicatorFollowsStyle(); return xret; } @@ -440,96 +440,96 @@ Java_org_kde_qt_QProgressBar_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQProgressBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQProgressBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QProgressBar_newTQProgressBar__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge()); + QtSupport::setQt(env, obj, new TQProgressBarJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__I(JNIEnv* env, jobject obj, jint totalSteps) +Java_org_kde_qt_QProgressBar_newTQProgressBar__I(JNIEnv* env, jobject obj, jint totalSteps) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge((int) totalSteps)); + 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_newQProgressBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent) +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 QProgressBarJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((int) totalSteps, (TTQWidget*) 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_newQProgressBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressBar_newQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQProgressBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -538,129 +538,129 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressBar_percentageVisible(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProgressBar*) QtSupport::getQt(env, obj))->percentageVisible(); + jboolean xret = (jboolean) ((TTQProgressBar*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQProgressBar*) 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(); + jint xret = (jint) ((TTQProgressBar*) 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(); + ((TTQProgressBar*) 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); + ((TTQProgressBar*) 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); + ((TTQProgressBar*) 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) ((QProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, progress_str, &_qstring_progress_str), (int) progress, (int) totalSteps); - QtSupport::fromQStringToStringBuffer(env, _qstring_progress_str, progress_str); +static TTQString* _qstring_progress_str = 0; + jboolean xret = (jboolean) ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TTQString&)*(TTQString*) 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); + ((TTQProgressBar*) 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); + ((TTQProgressBar*) 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); + ((TTQProgressBar*) 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); + ((TTQProgressBar*) 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(); + ((TTQProgressBar*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQProgressBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQProgressBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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(); + jint xret = (jint) ((TTQProgressBar*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QProgressBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 56354440..2c4b6090 100644 --- a/qtjava/javalib/qtjava/QProgressBar.h +++ b/qtjava/javalib/qtjava/QProgressBar.h @@ -12,14 +12,14 @@ extern "C" 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_newQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressBar_newQProgressBar__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QProgressDialog.cpp b/qtjava/javalib/qtjava/QProgressDialog.cpp index f78259b7..6ab56fbc 100644 --- a/qtjava/javalib/qtjava/QProgressDialog.cpp +++ b/qtjava/javalib/qtjava/QProgressDialog.cpp @@ -6,366 +6,366 @@ #include #include -#include +#include -class QProgressDialogJBridge : public QProgressDialog +class TQProgressDialogJBridge : public TQProgressDialog { public: - QProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,Qt::WFlags arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; - QProgressDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQProgressDialog(arg1,arg2,arg3) {}; - QProgressDialogJBridge(TQWidget* arg1,const char* arg2) : TQProgressDialog(arg1,arg2) {}; - QProgressDialogJBridge(TQWidget* arg1) : TQProgressDialog(arg1) {}; - QProgressDialogJBridge() : TQProgressDialog() {}; - QProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6,Qt::WFlags arg7) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5,bool arg6) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4,const char* arg5) : TQProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; - QProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3,TQWidget* arg4) : TQProgressDialog(arg1,arg2,arg3,arg4) {}; - QProgressDialogJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQProgressDialog(arg1,arg2,arg3) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQProgressDialog::resizeEvent(arg1); + TQProgressDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TTQProgressDialog(arg1,arg2,arg3,arg4) {}; + TQProgressDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQProgressDialog(arg1,arg2,arg3) {}; + TQProgressDialogJBridge(TTQWidget* arg1,const char* arg2) : TTQProgressDialog(arg1,arg2) {}; + TQProgressDialogJBridge(TTQWidget* arg1) : TTQProgressDialog(arg1) {}; + TQProgressDialogJBridge() : TTQProgressDialog() {}; + TQProgressDialogJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,TTQWidget* arg4,const char* arg5,bool arg6,TQt::WFlags arg7) : TTQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQProgressDialogJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,TTQWidget* arg4,const char* arg5,bool arg6) : TTQProgressDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQProgressDialogJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,TTQWidget* arg4,const char* arg5) : TTQProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; + TQProgressDialogJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,TTQWidget* arg4) : TTQProgressDialog(arg1,arg2,arg3,arg4) {}; + TQProgressDialogJBridge(const TTQString& arg1,const TTQString& arg2,int arg3) : TTQProgressDialog(arg1,arg2,arg3) {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQProgressDialog::resizeEvent(arg1); return; } - void protected_closeEvent(TQCloseEvent* arg1) { - TQProgressDialog::closeEvent(arg1); + void protected_closeEvent(TTQCloseEvent* arg1) { + TTQProgressDialog::closeEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQProgressDialog::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQProgressDialog::styleChange(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQProgressDialog::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQProgressDialog::showEvent(arg1); return; } void protected_forceShow() { - TQProgressDialog::forceShow(); + TTQProgressDialog::forceShow(); return; } - ~QProgressDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQProgressDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQProgressDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQProgressDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQProgressDialog::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQProgressDialog::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQProgressDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQProgressDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQProgressDialog","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQProgressDialog","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -374,21 +374,21 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QProgressDialog_autoClose(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQProgressDialog*) QtSupport::getQt(env, obj))->autoClose(); + jboolean xret = (jboolean) ((TTQProgressDialog*) 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(); + jboolean xret = (jboolean) ((TTQProgressDialog*) 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(); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->cancel(); return; } @@ -396,14 +396,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQProgressDialog*) 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) { - ((QProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) QtSupport::getQt(env, arg1)); return; } @@ -417,8 +417,8 @@ Java_org_kde_qt_QProgressDialog_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQProgressDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQProgressDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -427,7 +427,7 @@ Java_org_kde_qt_QProgressDialog_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_forceShow(JNIEnv* env, jobject obj) { - ((QProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_forceShow(); + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_forceShow(); return; } @@ -440,136 +440,136 @@ Java_org_kde_qt_QProgressDialog_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QProgressDialog_labelText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQProgressDialog*) QtSupport::getQt(env, obj))->labelText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQProgressDialog*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQProgressDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_minimumDuration(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); + jint xret = (jint) ((TTQProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QProgressDialog_newTQProgressDialog__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge()); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps) +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; +static TTQString* _qstring_labelText = 0; +static TTQString* _qstring_cancelButtonText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps)); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TTQString&)*(TTQString*) 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_newQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring labelText, jstring cancelButtonText, jint totalSteps, jobject parent) +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; +static TTQString* _qstring_labelText = 0; +static TTQString* _qstring_cancelButtonText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__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) +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; +static TTQString* _qstring_labelText = 0; +static TTQString* _qstring_cancelButtonText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__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) +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; +static TTQString* _qstring_labelText = 0; +static TTQString* _qstring_cancelButtonText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TTQWidget*) 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_newQProgressDialog__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) +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; +static TTQString* _qstring_labelText = 0; +static TTQString* _qstring_cancelButtonText = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, labelText, &_qstring_labelText), (const TQString&)*(TQString*) QtSupport::toQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, labelText, &_qstring_labelText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, cancelButtonText, &_qstring_cancelButtonText), (int) totalSteps, (TTQWidget*) 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_newQProgressDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QProgressDialog_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TTQWidget*) 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_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQProgressDialogJBridge((TTQWidget*) 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; @@ -578,163 +578,163 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QProgressDialog_progress(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQProgressDialog*) QtSupport::getQt(env, obj))->progress(); + jint xret = (jint) ((TTQProgressDialog*) 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(); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->reset(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQProgressDialog*) 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); + ((TTQProgressDialog*) 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)); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setBar((TTQProgressBar*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButtonText((const TTQString&)*(TTQString*) 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)); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setCancelButton((TTQPushButton*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setLabelText((const TTQString&)*(TTQString*) 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)); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setLabel((TTQLabel*) 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); + ((TTQProgressDialog*) 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); + ((TTQProgressDialog*) 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); + ((TTQProgressDialog*) 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); + ((TTQProgressDialog*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQProgressDialog*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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(); + jint xret = (jint) ((TTQProgressDialog*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QProgressDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQProgressDialog*) 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(); + jboolean xret = (jboolean) ((TTQProgressDialog*) QtSupport::getQt(env, obj))->wasCancelled(); return xret; } diff --git a/qtjava/javalib/qtjava/QProgressDialog.h b/qtjava/javalib/qtjava/QProgressDialog.h index 1d9fd375..79daba7d 100644 --- a/qtjava/javalib/qtjava/QProgressDialog.h +++ b/qtjava/javalib/qtjava/QProgressDialog.h @@ -12,16 +12,16 @@ extern "C" 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_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newQProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newQProgressDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newQProgressDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QProgressDialog_newQProgressDialog__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_newQProgressDialog__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_newQProgressDialog__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_newQProgressDialog__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_newQProgressDialog__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); +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); diff --git a/qtjava/javalib/qtjava/QPushButton.cpp b/qtjava/javalib/qtjava/QPushButton.cpp index d80ad1e1..2ee92d72 100644 --- a/qtjava/javalib/qtjava/QPushButton.cpp +++ b/qtjava/javalib/qtjava/QPushButton.cpp @@ -7,385 +7,385 @@ #include #include -#include +#include -class QPushButtonJBridge : public QPushButton +class TQPushButtonJBridge : public TQPushButton { public: - QPushButtonJBridge(TQWidget* arg1,const char* arg2) : TQPushButton(arg1,arg2) {}; - QPushButtonJBridge(TQWidget* arg1) : TQPushButton(arg1) {}; - QPushButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQPushButton(arg1,arg2,arg3) {}; - QPushButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQPushButton(arg1,arg2) {}; - QPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQPushButton(arg1,arg2,arg3,arg4) {}; - QPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3) : TQPushButton(arg1,arg2,arg3) {}; - void protected_drawButton(TQPainter* arg1) { - TQPushButton::drawButton(arg1); + TQPushButtonJBridge(TTQWidget* arg1,const char* arg2) : TTQPushButton(arg1,arg2) {}; + TQPushButtonJBridge(TTQWidget* arg1) : TTQPushButton(arg1) {}; + TQPushButtonJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQPushButton(arg1,arg2,arg3) {}; + TQPushButtonJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQPushButton(arg1,arg2) {}; + TQPushButtonJBridge(const TTQIconSet& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQPushButton(arg1,arg2,arg3,arg4) {}; + TQPushButtonJBridge(const TTQIconSet& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQPushButton(arg1,arg2,arg3) {}; + void protected_drawButton(TTQPainter* arg1) { + TTQPushButton::drawButton(arg1); return; } - void protected_drawButtonLabel(TQPainter* arg1) { - TQPushButton::drawButtonLabel(arg1); + void protected_drawButtonLabel(TTQPainter* arg1) { + TTQPushButton::drawButtonLabel(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQPushButton::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQPushButton::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQPushButton::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQPushButton::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQPushButton::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQPushButton::resizeEvent(arg1); return; } void protected_updateMask() { - TQPushButton::updateMask(); + TTQPushButton::updateMask(); return; } - ~QPushButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQPushButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQPushButton::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQPushButton::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQButton::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQButton::setAccel(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQButton::setPixmap(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQPushButton::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQPushButton",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQPushButton",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQPushButton","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQPushButton","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -394,7 +394,7 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_autoDefault(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->autoDefault(); + jboolean xret = (jboolean) ((TTQPushButton*) QtSupport::getQt(env, obj))->autoDefault(); return xret; } @@ -402,7 +402,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQPushButton*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQPushButton*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -416,22 +416,22 @@ Java_org_kde_qt_QPushButton_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQPushButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQPushButton*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -440,28 +440,28 @@ Java_org_kde_qt_QPushButton_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPushButton*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TTQIconSet"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isDefault(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isDefault(); + jboolean xret = (jboolean) ((TTQPushButton*) QtSupport::getQt(env, obj))->isDefault(); return xret; } @@ -474,100 +474,100 @@ Java_org_kde_qt_QPushButton_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QPushButton_isFlat(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQPushButton*) QtSupport::getQt(env, obj))->isFlat(); + jboolean xret = (jboolean) ((TTQPushButton*) 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(); + jboolean xret = (jboolean) ((TTQPushButton*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPushButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + ((TTQPushButton*) 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)); + ((TTQPushButton*) QtSupport::getQt(env, obj))->move((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject parent) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__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) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QPushButton_newQPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQPushButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -576,133 +576,133 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQPushButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TTQPopupMenu"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQPushButton*) 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)); + ((TTQPushButton*) QtSupport::getQt(env, obj))->resize((const TTQSize&)*(const TTQSize*) 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); + ((TTQPushButton*) 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); + ((TTQPushButton*) 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); + ((TTQPushButton*) 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); + ((TTQPushButton*) 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)); + ((TTQPushButton*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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)); + ((TTQPushButton*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQPushButton*) 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); + ((TTQPushButton*) 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)); + ((TTQPushButton*) QtSupport::getQt(env, obj))->setPopup((TTQPopupMenu*) 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); + ((TTQPushButton*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQPushButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QPushButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QPushButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((TQPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); return; } diff --git a/qtjava/javalib/qtjava/QPushButton.h b/qtjava/javalib/qtjava/QPushButton.h index f76116db..52cbc5fc 100644 --- a/qtjava/javalib/qtjava/QPushButton.h +++ b/qtjava/javalib/qtjava/QPushButton.h @@ -12,12 +12,12 @@ extern "C" 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_newQPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newQPushButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newQPushButton__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_newQPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QPushButton_newQPushButton__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_newQPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); +extern JNIEXPORT void JNICALL Java_org_kde_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); diff --git a/qtjava/javalib/qtjava/QRadioButton.cpp b/qtjava/javalib/qtjava/QRadioButton.cpp index 39ede9f1..1c97377e 100644 --- a/qtjava/javalib/qtjava/QRadioButton.cpp +++ b/qtjava/javalib/qtjava/QRadioButton.cpp @@ -5,384 +5,384 @@ #include #include -#include +#include -class QRadioButtonJBridge : public QRadioButton +class TQRadioButtonJBridge : public TQRadioButton { public: - QRadioButtonJBridge(TQWidget* arg1,const char* arg2) : TQRadioButton(arg1,arg2) {}; - QRadioButtonJBridge(TQWidget* arg1) : TQRadioButton(arg1) {}; - QRadioButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQRadioButton(arg1,arg2,arg3) {}; - QRadioButtonJBridge(const TQString& arg1,TQWidget* arg2) : TQRadioButton(arg1,arg2) {}; - bool protected_hitButton(const TQPoint& arg1) { - return (bool) TQRadioButton::hitButton(arg1); + TQRadioButtonJBridge(TTQWidget* arg1,const char* arg2) : TTQRadioButton(arg1,arg2) {}; + TQRadioButtonJBridge(TTQWidget* arg1) : TTQRadioButton(arg1) {}; + TQRadioButtonJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQRadioButton(arg1,arg2,arg3) {}; + TQRadioButtonJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQRadioButton(arg1,arg2) {}; + bool protected_hitButton(const TTQPoint& arg1) { + return (bool) TTQRadioButton::hitButton(arg1); } - void protected_drawButton(TQPainter* arg1) { - TQRadioButton::drawButton(arg1); + void protected_drawButton(TTQPainter* arg1) { + TTQRadioButton::drawButton(arg1); return; } - void protected_drawButtonLabel(TQPainter* arg1) { - TQRadioButton::drawButtonLabel(arg1); + void protected_drawButtonLabel(TTQPainter* arg1) { + TTQRadioButton::drawButtonLabel(arg1); return; } void protected_updateMask() { - TQRadioButton::updateMask(); + TTQRadioButton::updateMask(); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQRadioButton::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQRadioButton::resizeEvent(arg1); return; } - ~QRadioButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQRadioButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQRadioButton::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQRadioButton::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQButton::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQButton::setAccel(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQButton::setPixmap(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQRadioButton",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQRadioButton",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQRadioButton","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQRadioButton","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -392,7 +392,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQRadioButton*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQRadioButton*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -406,22 +406,22 @@ Java_org_kde_qt_QRadioButton_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) { - ((QRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) { - ((QRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQRadioButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQRadioButton*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -430,14 +430,14 @@ Java_org_kde_qt_QRadioButton_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRadioButton_hitButton(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_hitButton((const TTQPoint&)*(const TTQPoint*) 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(); + jboolean xret = (jboolean) ((TTQRadioButton*) QtSupport::getQt(env, obj))->isChecked(); return xret; } @@ -450,49 +450,49 @@ Java_org_kde_qt_QRadioButton_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQRadioButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRadioButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQRadioButtonJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) +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; +static TTQString* _qstring_text = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRadioButtonJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQRadioButtonJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newQRadioButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQRadioButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRadioButton_newQRadioButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRadioButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQRadioButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -501,49 +501,49 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQRadioButton*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQRadioButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QRadioButton_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QRadioButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((TQRadioButtonJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); return; } diff --git a/qtjava/javalib/qtjava/QRadioButton.h b/qtjava/javalib/qtjava/QRadioButton.h index 880c72ca..9118d2da 100644 --- a/qtjava/javalib/qtjava/QRadioButton.h +++ b/qtjava/javalib/qtjava/QRadioButton.h @@ -12,10 +12,10 @@ extern "C" 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_newQRadioButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newQRadioButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRadioButton_newQRadioButton__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_newQRadioButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, 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); diff --git a/qtjava/javalib/qtjava/QRangeControl.cpp b/qtjava/javalib/qtjava/QRangeControl.cpp index ca0c801f..3f54a106 100644 --- a/qtjava/javalib/qtjava/QRangeControl.cpp +++ b/qtjava/javalib/qtjava/QRangeControl.cpp @@ -2,66 +2,66 @@ #include #include -#include +#include -class QRangeControlJBridge : public QRangeControl +class TQRangeControlJBridge : public TQRangeControl { public: - QRangeControlJBridge() : TQRangeControl() {}; - QRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TQRangeControl(arg1,arg2,arg3,arg4,arg5) {}; + TQRangeControlJBridge() : TTQRangeControl() {}; + TQRangeControlJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : TTQRangeControl(arg1,arg2,arg3,arg4,arg5) {}; int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); + return (int) TTQRangeControl::positionFromValue(arg1,arg2); } int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); + return (int) TTQRangeControl::valueFromPosition(arg1,arg2); } void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); + TTQRangeControl::directSetValue(arg1); return; } int protected_prevValue() { - return (int) TQRangeControl::prevValue(); + return (int) TTQRangeControl::prevValue(); } void protected_valueChange() { - TQRangeControl::valueChange(); + TTQRangeControl::valueChange(); return; } void protected_rangeChange() { - TQRangeControl::rangeChange(); + TTQRangeControl::rangeChange(); return; } void protected_stepChange() { - TQRangeControl::stepChange(); + TTQRangeControl::stepChange(); return; } - ~QRangeControlJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQRangeControlJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_addLine(JNIEnv* env, jobject obj) { - ((TQRangeControl*) QtSupport::getQt(env, obj))->addLine(); + ((TTQRangeControl*) 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(); + ((TTQRangeControl*) 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); + jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->bound((int) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_directSetValue(JNIEnv* env, jobject obj, jint val) { - ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TQRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRangeControl*)QtSupport::getQt(env, obj); + delete (TTQRangeControl*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -91,39 +91,39 @@ Java_org_kde_qt_QRangeControl_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_lineStep(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->lineStep(); + jint xret = (jint) ((TTQRangeControl*) 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(); + jint xret = (jint) ((TTQRangeControl*) 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(); + jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->minValue(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newQRangeControl__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QRangeControl_newTQRangeControl__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRangeControlJBridge()); + QtSupport::setQt(env, obj, new TQRangeControlJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRangeControl_newQRangeControl__IIIII(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value) +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 QRangeControlJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value)); + 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; @@ -132,105 +132,105 @@ Java_org_kde_qt_QRangeControl_newQRangeControl__IIIII(JNIEnv* env, jobject obj, JNIEXPORT jint JNICALL Java_org_kde_qt_QRangeControl_pageStep(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRangeControl*) QtSupport::getQt(env, obj))->pageStep(); + jint xret = (jint) ((TTQRangeControl*) 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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + 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) { - ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((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); + ((TTQRangeControl*) 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); + ((TTQRangeControl*) 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); + ((TTQRangeControl*) 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); + ((TTQRangeControl*) 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); + ((TTQRangeControl*) QtSupport::getQt(env, obj))->setValue((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_stepChange(JNIEnv* env, jobject obj) { - ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((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(); + ((TTQRangeControl*) 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(); + ((TTQRangeControl*) QtSupport::getQt(env, obj))->subtractPage(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_valueChange(JNIEnv* env, jobject obj) { - ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((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) ((QRangeControlJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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(); + jint xret = (jint) ((TTQRangeControl*) QtSupport::getQt(env, obj))->value(); return xret; } diff --git a/qtjava/javalib/qtjava/QRangeControl.h b/qtjava/javalib/qtjava/QRangeControl.h index 457a1e0b..fb15b2d9 100644 --- a/qtjava/javalib/qtjava/QRangeControl.h +++ b/qtjava/javalib/qtjava/QRangeControl.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newQRangeControl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRangeControl_newQRangeControl__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QRect.cpp b/qtjava/javalib/qtjava/QRect.cpp index 30092371..6bff9018 100644 --- a/qtjava/javalib/qtjava/QRect.cpp +++ b/qtjava/javalib/qtjava/QRect.cpp @@ -5,92 +5,92 @@ #include #include -#include +#include -class QRectJBridge : public QRect +class TQRectJBridge : public TQRect { public: - QRectJBridge() : TQRect() {}; - QRectJBridge(const TQPoint& arg1,const TQPoint& arg2) : TQRect(arg1,arg2) {}; - QRectJBridge(const TQPoint& arg1,const TQSize& arg2) : TQRect(arg1,arg2) {}; - QRectJBridge(int arg1,int arg2,int arg3,int arg4) : TQRect(arg1,arg2,arg3,arg4) {}; - ~QRectJBridge() {QtSupport::qtKeyDeleted(this);} + TQRectJBridge() : TTQRect() {}; + TQRectJBridge(const TTQPoint& arg1,const TTQPoint& arg2) : TTQRect(arg1,arg2) {}; + TQRectJBridge(const TTQPoint& arg1,const TTQSize& arg2) : TTQRect(arg1,arg2) {}; + TQRectJBridge(int arg1,int arg2,int arg3,int arg4) : TTQRect(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); + ((TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQRect*) QtSupport::getQt(env, obj))->bottomLeft()), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQRect*) QtSupport::getQt(env, obj))->bottomRight()), "org.kde.qt.TTQPoint", 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(); + jint xret = (jint) ((TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQRect*) QtSupport::getQt(env, obj))->center()), "org.kde.qt.TTQPoint", 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); + jboolean xret = (jboolean) ((TTQRect*) 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); + jboolean xret = (jboolean) ((TTQRect*) 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)); + jboolean xret = (jboolean) ((TTQRect*) QtSupport::getQt(env, obj))->contains((const TTQPoint&)*(const TTQPoint*) 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); + jboolean xret = (jboolean) ((TTQRect*) QtSupport::getQt(env, obj))->contains((const TTQPoint&)*(const TTQPoint*) 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)); + jboolean xret = (jboolean) ((TTQRect*) QtSupport::getQt(env, obj))->contains((const TTQRect&)*(const TTQRect*) 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); + jboolean xret = (jboolean) ((TTQRect*) QtSupport::getQt(env, obj))->contains((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (bool) proper); return xret; } @@ -101,7 +101,7 @@ Java_org_kde_qt_QRect_coords(JNIEnv* env, jobject obj, jintArray x1, jintArray y 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); + ((TTQRect*) 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); @@ -120,7 +120,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QRect_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRect*)QtSupport::getQt(env, obj); + delete (TTQRect*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -129,21 +129,21 @@ Java_org_kde_qt_QRect_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRect*) QtSupport::getQt(env, obj))->intersect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRect", 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)); + jboolean xret = (jboolean) ((TTQRect*) QtSupport::getQt(env, obj))->intersects((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)); return xret; } @@ -156,136 +156,136 @@ Java_org_kde_qt_QRect_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRect_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQRect*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQRect*) 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(); + jboolean xret = (jboolean) ((TTQRect*) 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(); + jboolean xret = (jboolean) ((TTQRect*) 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(); + jint xret = (jint) ((TTQRect*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->moveBottomLeft((const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->moveBottomRight((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->moveCenter((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->moveTopLeft((const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->moveTopRight((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQRect*) QtSupport::getQt(env, obj))->moveTop((int) pos); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newQRect__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QRect_newTQRect__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRectJBridge()); + QtSupport::setQt(env, obj, new TQRectJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newQRect__IIII(JNIEnv* env, jobject obj, jint left, jint top, jint width, jint height) +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 QRectJBridge((int) left, (int) top, (int) width, (int) height)); + 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_newQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject topleft, jobject bottomright) +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 QRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, bottomright))); + QtSupport::setQt(env, obj, new TQRectJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, topleft), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, bottomright))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRect_newQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject topleft, jobject size) +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 QRectJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, topleft), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, size))); + QtSupport::setQt(env, obj, new TQRectJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, topleft), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, size))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -294,63 +294,63 @@ Java_org_kde_qt_QRect_newQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2(JNIEnv* 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRect*) QtSupport::getQt(env, obj))->normalize()), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQRect*) QtSupport::getQt(env, obj))->operator&=((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TTQRect"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRect*) QtSupport::getQt(env, obj))->operator&((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQRect*) QtSupport::getQt(env, obj))->operator|=((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)), "org.kde.qt.TTQRect"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRect*) QtSupport::getQt(env, obj))->operator|((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRect", 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(); + jshort xret = (jshort) ((TTQRect*) 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(); + jshort xret = (jshort) ((TTQRect*) 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(); + jshort xret = (jshort) ((TTQRect*) 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(); + jshort xret = (jshort) ((TTQRect*) QtSupport::getQt(env, obj))->rTop(); return xret; } @@ -361,7 +361,7 @@ Java_org_kde_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, j 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); + ((TTQRect*) 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); @@ -372,168 +372,168 @@ Java_org_kde_qt_QRect_rect(JNIEnv* env, jobject obj, jintArray x, jintArray y, j JNIEXPORT jint JNICALL Java_org_kde_qt_QRect_right(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRect*) QtSupport::getQt(env, obj))->right(); + jint xret = (jint) ((TTQRect*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->setBottomLeft((const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->setBottomRight((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->setSize((const TTQSize&)*(const TTQSize*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->setTopLeft((const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQRect*) QtSupport::getQt(env, obj))->setTopRight((const TTQPoint&)*(const TTQPoint*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + ((TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQRect*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQRect*) QtSupport::getQt(env, obj))->topLeft()), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQRect*) QtSupport::getQt(env, obj))->topRight()), "org.kde.qt.TTQPoint", 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(); + jint xret = (jint) ((TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRect*) QtSupport::getQt(env, obj))->unite((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQRect*) 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(); + jint xret = (jint) ((TTQRect*) 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(); + jint xret = (jint) ((TTQRect*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QRect.h b/qtjava/javalib/qtjava/QRect.h index fb72ce9e..63d57c3e 100644 --- a/qtjava/javalib/qtjava/QRect.h +++ b/qtjava/javalib/qtjava/QRect.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newQRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newQRect__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRect_newQRect__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QRegExp.cpp b/qtjava/javalib/qtjava/QRegExp.cpp index 34a68546..4d15e13b 100644 --- a/qtjava/javalib/qtjava/QRegExp.cpp +++ b/qtjava/javalib/qtjava/QRegExp.cpp @@ -4,47 +4,47 @@ #include #include -#include +#include -class QRegExpJBridge : public QRegExp +class TQRegExpJBridge : public TQRegExp { public: - QRegExpJBridge() : TQRegExp() {}; - QRegExpJBridge(const TQString& arg1,bool arg2,bool arg3) : TQRegExp(arg1,arg2,arg3) {}; - QRegExpJBridge(const TQString& arg1,bool arg2) : TQRegExp(arg1,arg2) {}; - QRegExpJBridge(const TQString& arg1) : TQRegExp(arg1) {}; - QRegExpJBridge(const TQRegExp& arg1) : TQRegExp(arg1) {}; - ~QRegExpJBridge() {QtSupport::qtKeyDeleted(this);} + TQRegExpJBridge() : TTQRegExp() {}; + TQRegExpJBridge(const TTQString& arg1,bool arg2,bool arg3) : TTQRegExp(arg1,arg2,arg3) {}; + TQRegExpJBridge(const TTQString& arg1,bool arg2) : TTQRegExp(arg1,arg2) {}; + TQRegExpJBridge(const TTQString& arg1) : TTQRegExp(arg1) {}; + TQRegExpJBridge(const TTQRegExp& arg1) : TTQRegExp(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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQRegExp*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQRegExp*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQRegExp*) QtSupport::getQt(env, obj))->capturedTexts(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_caseSensitive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->caseSensitive(); + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->caseSensitive(); return xret; } @@ -58,26 +58,26 @@ Java_org_kde_qt_QRegExp_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExp_errorString(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQRegExp*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQRegExp*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_str = 0; - _qstring = QRegExpJBridge::escape((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_str = 0; + _qstring = TQRegExpJBridge::escape((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->exactMatch((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str)); return xret; } @@ -85,7 +85,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRegExp*)QtSupport::getQt(env, obj); + delete (TTQRegExp*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -100,39 +100,39 @@ Java_org_kde_qt_QRegExp_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegExp_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQRegExp*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQRegExp*) 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(); + jboolean xret = (jboolean) ((TTQRegExp*) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->match((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) index); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->match((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_str = 0; int* _int_len = QtSupport::toIntPtr(env, len); - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str), (int) index, (int*) _int_len); + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->match((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len); env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); return xret; } @@ -140,9 +140,9 @@ static TQString* _qstring_str = 0; 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; +static TTQString* _qstring_str = 0; int* _int_len = QtSupport::toIntPtr(env, len); - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->match((const TQString&)*(TQString*) QtSupport::toQString(env, str, &_qstring_str), (int) index, (int*) _int_len, (bool) indexIsStart); + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->match((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) index, (int*) _int_len, (bool) indexIsStart); env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); return xret; } @@ -150,65 +150,65 @@ static TQString* _qstring_str = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_matchedLength(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->matchedLength(); + jint xret = (jint) ((TTQRegExp*) 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(); + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->minimal(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newQRegExp__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QRegExp_newTQRegExp__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpJBridge()); + QtSupport::setQt(env, obj, new TQRegExpJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newQRegExp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pattern) +Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pattern) { -static TQString* _qstring_pattern = 0; +static TTQString* _qstring_pattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern))); + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExp_newQRegExp__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive) +Java_org_kde_qt_QRegExp_newTQRegExp__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive) { -static TQString* _qstring_pattern = 0; +static TTQString* _qstring_pattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (bool) caseSensitive)); + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TTQString&)*(TTQString*) 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_newQRegExp__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pattern, jboolean caseSensitive, jboolean wildcard) +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; +static TTQString* _qstring_pattern = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (bool) caseSensitive, (bool) wildcard)); + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TTQString&)*(TTQString*) 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_newQRegExp__Lorg_kde_qt_QRegExp_2(JNIEnv* env, jobject obj, jobject rx) +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 QRegExpJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx))); + QtSupport::setQt(env, obj, new TQRegExpJBridge((const TTQRegExp&)*(const TTQRegExp*) QtSupport::getQt(env, rx))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -217,127 +217,127 @@ Java_org_kde_qt_QRegExp_newQRegExp__Lorg_kde_qt_QRegExp_2(JNIEnv* env, jobject o JNIEXPORT jint JNICALL Java_org_kde_qt_QRegExp_numCaptures(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRegExp*) QtSupport::getQt(env, obj))->numCaptures(); + jint xret = (jint) ((TTQRegExp*) 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)); + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->operator==((const TTQRegExp&)*(const TTQRegExp*) 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)); + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->operator!=((const TTQRegExp&)*(const TTQRegExp*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQRegExp*) 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(); + jint xret = (jint) ((TTQRegExp*) 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); + jint xret = (jint) ((TTQRegExp*) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) offset); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->searchRev((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TTQRegExp::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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->search((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) offset); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->search((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) offset, (TQRegExp::CaretMode) caretMode); +static TTQString* _qstring_str = 0; + jint xret = (jint) ((TTQRegExp*) QtSupport::getQt(env, obj))->search((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) offset, (TTQRegExp::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); + ((TTQRegExp*) 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); + ((TTQRegExp*) 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::toQString(env, pattern, &_qstring_pattern)); +static TTQString* _qstring_pattern = 0; + ((TTQRegExp*) QtSupport::getQt(env, obj))->setPattern((const TTQString&)*(TTQString*) 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); + ((TTQRegExp*) 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(); + jboolean xret = (jboolean) ((TTQRegExp*) QtSupport::getQt(env, obj))->wildcard(); return xret; } diff --git a/qtjava/javalib/qtjava/QRegExp.h b/qtjava/javalib/qtjava/QRegExp.h index e40827f0..813093ea 100644 --- a/qtjava/javalib/qtjava/QRegExp.h +++ b/qtjava/javalib/qtjava/QRegExp.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newQRegExp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newQRegExp__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newQRegExp__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newQRegExp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExp_newQRegExp__Lorg_kde_qt_QRegExp_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QRegExpValidator.cpp b/qtjava/javalib/qtjava/QRegExpValidator.cpp index 61efb767..4ba01b32 100644 --- a/qtjava/javalib/qtjava/QRegExpValidator.cpp +++ b/qtjava/javalib/qtjava/QRegExpValidator.cpp @@ -4,49 +4,49 @@ #include #include -#include +#include -class QRegExpValidatorJBridge : public QRegExpValidator +class TQRegExpValidatorJBridge : public TQRegExpValidator { public: - QRegExpValidatorJBridge(TQObject* arg1,const char* arg2) : TQRegExpValidator(arg1,arg2) {}; - QRegExpValidatorJBridge(TQObject* arg1) : TQRegExpValidator(arg1) {}; - QRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2,const char* arg3) : TQRegExpValidator(arg1,arg2,arg3) {}; - QRegExpValidatorJBridge(const TQRegExp& arg1,TQObject* arg2) : TQRegExpValidator(arg1,arg2) {}; - ~QRegExpValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQRegExpValidatorJBridge(TTQObject* arg1,const char* arg2) : TTQRegExpValidator(arg1,arg2) {}; + TQRegExpValidatorJBridge(TTQObject* arg1) : TTQRegExpValidator(arg1) {}; + TQRegExpValidatorJBridge(const TTQRegExp& arg1,TTQObject* arg2,const char* arg3) : TTQRegExpValidator(arg1,arg2,arg3) {}; + TQRegExpValidatorJBridge(const TTQRegExp& arg1,TTQObject* arg2) : TTQRegExpValidator(arg1,arg2) {}; + ~TQRegExpValidatorJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQRegExpValidator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQRegExpValidator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -57,7 +57,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QRegExpValidator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQRegExpValidator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQRegExpValidator*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -71,8 +71,8 @@ Java_org_kde_qt_QRegExpValidator_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQRegExpValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQRegExpValidator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -87,47 +87,47 @@ Java_org_kde_qt_QRegExpValidator_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQRegExpValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newQRegExpValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QRegExpValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newQRegExpValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((TTQObject*) QtSupport::getQt(env, 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_newQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject rx, jobject parent) +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 QRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TTQRegExp&)*(const TTQRegExp*) QtSupport::getQt(env, rx), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegExpValidator_newQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject rx, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegExpValidatorJBridge((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, rx), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQRegExpValidatorJBridge((const TTQRegExp&)*(const TTQRegExp*) QtSupport::getQt(env, rx), (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -136,45 +136,45 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegExp *) &((TTQRegExpValidator*) QtSupport::getQt(env, obj))->regExp(), "org.kde.qt.TTQRegExp"); 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)); + ((TTQRegExpValidator*) QtSupport::getQt(env, obj))->setRegExp((const TTQRegExp&)*(const TTQRegExp*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QRegExpValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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; +static TTQString* _qstring_input = 0; int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((TQRegExpValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromQStringToStringBuffer(env, _qstring_input, input); + jint xret = (jint) ((TTQRegExpValidator*) QtSupport::getQt(env, obj))->validate((TTQString&)*(TTQString*) 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 index 9823158e..5d2ba2e6 100644 --- a/qtjava/javalib/qtjava/QRegExpValidator.h +++ b/qtjava/javalib/qtjava/QRegExpValidator.h @@ -12,10 +12,10 @@ extern "C" 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_newQRegExpValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newQRegExpValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegExpValidator_newQRegExpValidator__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_newQRegExpValidator__Lorg_kde_qt_QRegExp_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, 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); diff --git a/qtjava/javalib/qtjava/QRegion.cpp b/qtjava/javalib/qtjava/QRegion.cpp index 5f644b10..dd0f6bb9 100644 --- a/qtjava/javalib/qtjava/QRegion.cpp +++ b/qtjava/javalib/qtjava/QRegion.cpp @@ -6,41 +6,41 @@ #include #include -#include +#include -class QRegionJBridge : public QRegion +class TQRegionJBridge : public TQRegion { public: - QRegionJBridge() : TQRegion() {}; - QRegionJBridge(int arg1,int arg2,int arg3,int arg4,TQRegion::RegionType arg5) : TQRegion(arg1,arg2,arg3,arg4,arg5) {}; - QRegionJBridge(int arg1,int arg2,int arg3,int arg4) : TQRegion(arg1,arg2,arg3,arg4) {}; - QRegionJBridge(const TQRect& arg1,TQRegion::RegionType arg2) : TQRegion(arg1,arg2) {}; - QRegionJBridge(const TQRect& arg1) : TQRegion(arg1) {}; - QRegionJBridge(const TQPointArray& arg1,bool arg2) : TQRegion(arg1,arg2) {}; - QRegionJBridge(const TQPointArray& arg1) : TQRegion(arg1) {}; - QRegionJBridge(const TQRegion& arg1) : TQRegion(arg1) {}; - QRegionJBridge(const TQBitmap& arg1) : TQRegion(arg1) {}; - ~QRegionJBridge() {QtSupport::qtKeyDeleted(this);} + TQRegionJBridge() : TTQRegion() {}; + TQRegionJBridge(int arg1,int arg2,int arg3,int arg4,TTQRegion::RegionType arg5) : TTQRegion(arg1,arg2,arg3,arg4,arg5) {}; + TQRegionJBridge(int arg1,int arg2,int arg3,int arg4) : TTQRegion(arg1,arg2,arg3,arg4) {}; + TQRegionJBridge(const TTQRect& arg1,TTQRegion::RegionType arg2) : TTQRegion(arg1,arg2) {}; + TQRegionJBridge(const TTQRect& arg1) : TTQRegion(arg1) {}; + TQRegionJBridge(const TTQPointArray& arg1,bool arg2) : TTQRegion(arg1,arg2) {}; + TQRegionJBridge(const TTQPointArray& arg1) : TTQRegion(arg1) {}; + TQRegionJBridge(const TTQRegion& arg1) : TTQRegion(arg1) {}; + TQRegionJBridge(const TTQBitmap& arg1) : TTQRegion(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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQRegion*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TTQRect", 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)); + jboolean xret = (jboolean) ((TTQRegion*) QtSupport::getQt(env, obj))->contains((const TTQPoint&)*(const TTQPoint*) 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)); + jboolean xret = (jboolean) ((TTQRegion*) QtSupport::getQt(env, obj))->contains((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)); return xret; } @@ -54,7 +54,7 @@ Java_org_kde_qt_QRegion_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->eor((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", TRUE); return xret; } @@ -62,7 +62,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQRegion*)QtSupport::getQt(env, obj); + delete (TTQRegion*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -71,7 +71,7 @@ Java_org_kde_qt_QRegion_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->intersect((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", TRUE); return xret; } @@ -84,102 +84,102 @@ Java_org_kde_qt_QRegion_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QRegion_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQRegion*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQRegion*) 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(); + jboolean xret = (jboolean) ((TTQRegion*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QRegion_newTQRegion__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QRegionJBridge()); + QtSupport::setQt(env, obj, new TQRegionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) +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 QRegionJBridge((int) x, (int) y, (int) w, (int) h)); + 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_newQRegion__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint arg5) +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 QRegionJBridge((int) x, (int) y, (int) w, (int) h, (TQRegion::RegionType) arg5)); + QtSupport::setQt(env, obj, new TQRegionJBridge((int) x, (int) y, (int) w, (int) h, (TTQRegion::RegionType) arg5)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QRegionJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +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 QRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QPointArray_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean winding) +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 QRegionJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1), (bool) winding)); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1), (bool) winding)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +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 QRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2) +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 QRegionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (TQRegion::RegionType) arg2)); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (TTQRegion::RegionType) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +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 QRegionJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQRegionJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -188,120 +188,120 @@ Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject o 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQRegion*) QtSupport::getQt(env, obj))->operator&=((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQRegion"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->operator&((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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)); + jboolean xret = (jboolean) ((TTQRegion*) QtSupport::getQt(env, obj))->operator==((const TTQRegion&)*(const TTQRegion*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQRegion*) QtSupport::getQt(env, obj))->operator-=((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQRegion"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->operator-((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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)); + jboolean xret = (jboolean) ((TTQRegion*) QtSupport::getQt(env, obj))->operator!=((const TTQRegion&)*(const TTQRegion*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQRegion*) QtSupport::getQt(env, obj))->operator|=((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQRegion"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->operator|((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQRegion*) QtSupport::getQt(env, obj))->operator+=((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQRegion"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->operator+((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQRegion*) QtSupport::getQt(env, obj))->operator^=((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQRegion"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->operator^((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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::arrayWithQRectList(env, (TQMemArray*) &_qlist); + TTQMemArray _qlist; + _qlist = ((TTQRegion*) QtSupport::getQt(env, obj))->rects(); + return (jobject) QtSupport::arrayWithTQRectList(env, (TTQMemArray*) &_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); + ((TTQRegion*) QtSupport::getQt(env, obj))->setRects((const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->subtract((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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); + ((TTQRegion*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQRegion*) QtSupport::getQt(env, obj))->unite((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QRegion.h b/qtjava/javalib/qtjava/QRegion.h index c145809b..dcb9281e 100644 --- a/qtjava/javalib/qtjava/QRegion.h +++ b/qtjava/javalib/qtjava/QRegion.h @@ -10,15 +10,15 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QPointArray_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QRegion_newQRegion__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QResizeEvent.cpp b/qtjava/javalib/qtjava/QResizeEvent.cpp index 6cff28ee..91fd9c05 100644 --- a/qtjava/javalib/qtjava/QResizeEvent.cpp +++ b/qtjava/javalib/qtjava/QResizeEvent.cpp @@ -3,13 +3,13 @@ #include #include -#include +#include -class QResizeEventJBridge : public QResizeEvent +class TQResizeEventJBridge : public TQResizeEvent { public: - QResizeEventJBridge(const TQSize& arg1,const TQSize& arg2) : TQResizeEvent(arg1,arg2) {}; - ~QResizeEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQResizeEventJBridge(const TTQSize& arg1,const TTQSize& arg2) : TTQResizeEvent(arg1,arg2) {}; + ~TQResizeEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -23,7 +23,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQResizeEvent*)QtSupport::getQt(env, obj); + delete (TTQResizeEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -36,10 +36,10 @@ Java_org_kde_qt_QResizeEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QResizeEvent_newQResizeEvent(JNIEnv* env, jobject obj, jobject size, jobject oldSize) +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 QResizeEventJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, oldSize))); + QtSupport::setQt(env, obj, new TQResizeEventJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, size), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, oldSize))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -48,14 +48,14 @@ Java_org_kde_qt_QResizeEvent_newQResizeEvent(JNIEnv* env, jobject obj, jobject s 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQResizeEvent*) QtSupport::getQt(env, obj))->oldSize(), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQResizeEvent*) QtSupport::getQt(env, obj))->size(), "org.kde.qt.TTQSize"); return xret; } diff --git a/qtjava/javalib/qtjava/QResizeEvent.h b/qtjava/javalib/qtjava/QResizeEvent.h index c5c58891..18cae2c9 100644 --- a/qtjava/javalib/qtjava/QResizeEvent.h +++ b/qtjava/javalib/qtjava/QResizeEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QResizeEvent_newQResizeEvent (JNIEnv *env, jobject, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QScrollBar.cpp b/qtjava/javalib/qtjava/QScrollBar.cpp index 0a6ba3ac..2c7562ce 100644 --- a/qtjava/javalib/qtjava/QScrollBar.cpp +++ b/qtjava/javalib/qtjava/QScrollBar.cpp @@ -10,426 +10,426 @@ #include #include -#include +#include -class QScrollBarJBridge : public QScrollBar +class TQScrollBarJBridge : public TQScrollBar { public: - QScrollBarJBridge(TQWidget* arg1,const char* arg2) : TQScrollBar(arg1,arg2) {}; - QScrollBarJBridge(TQWidget* arg1) : TQScrollBar(arg1) {}; - QScrollBarJBridge(Qt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQScrollBar(arg1,arg2,arg3) {}; - QScrollBarJBridge(Qt::Orientation arg1,TQWidget* arg2) : TQScrollBar(arg1,arg2) {}; - QScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,Qt::Orientation arg6,TQWidget* arg7,const char* arg8) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - QScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,Qt::Orientation arg6,TQWidget* arg7) : TQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_wheelEvent(TQWheelEvent* arg1) { - TQScrollBar::wheelEvent(arg1); + TQScrollBarJBridge(TTQWidget* arg1,const char* arg2) : TTQScrollBar(arg1,arg2) {}; + TQScrollBarJBridge(TTQWidget* arg1) : TTQScrollBar(arg1) {}; + TQScrollBarJBridge(TQt::Orientation arg1,TTQWidget* arg2,const char* arg3) : TTQScrollBar(arg1,arg2,arg3) {}; + TQScrollBarJBridge(TQt::Orientation arg1,TTQWidget* arg2) : TTQScrollBar(arg1,arg2) {}; + TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TTQWidget* arg7,const char* arg8) : TTQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQScrollBarJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQt::Orientation arg6,TTQWidget* arg7) : TTQScrollBar(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQScrollBar::wheelEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQScrollBar::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQScrollBar::keyPressEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQScrollBar::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQScrollBar::resizeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQScrollBar::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQScrollBar::paintEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQScrollBar::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQScrollBar::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollBar::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQScrollBar::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQScrollBar::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQScrollBar::mouseMoveEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollBar::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQScrollBar::contextMenuEvent(arg1); return; } - void protected_hideEvent(TQHideEvent* arg1) { - TQScrollBar::hideEvent(arg1); + void protected_hideEvent(TTQHideEvent* arg1) { + TTQScrollBar::hideEvent(arg1); return; } void protected_valueChange() { - TQScrollBar::valueChange(); + TTQScrollBar::valueChange(); return; } void protected_stepChange() { - TQScrollBar::stepChange(); + TTQScrollBar::stepChange(); return; } void protected_rangeChange() { - TQScrollBar::rangeChange(); + TTQScrollBar::rangeChange(); return; } - void protected_styleChange(TQStyle& arg1) { - TQScrollBar::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQScrollBar::styleChange(arg1); return; } - ~QScrollBarJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQScrollBarJBridge() {QtSupport::qtKeyDeleted(this);} int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); + return (int) TTQRangeControl::positionFromValue(arg1,arg2); } int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); + return (int) TTQRangeControl::valueFromPosition(arg1,arg2); } void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); + TTQRangeControl::directSetValue(arg1); return; } int protected_prevValue() { - return (int) TQRangeControl::prevValue(); + return (int) TTQRangeControl::prevValue(); } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollBar::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollBar::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQScrollBar::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQScrollBar::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollBar::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollBar::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQScrollBar::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQScrollBar::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQScrollBar::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQScrollBar::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollBar::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollBar::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollBar::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollBar::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollBar::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollBar::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollBar::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollBar::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollBar::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollBar::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQScrollBar",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQScrollBar",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -438,21 +438,21 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_addLine(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(TQScrollBar*) QtSupport::getQt(env, obj))->addLine(); + ((TTQRangeControl*)(TTQScrollBar*) 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(); + ((TTQRangeControl*)(TTQScrollBar*) 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); + jint xret = (jint) ((TTQRangeControl*)(TTQScrollBar*) QtSupport::getQt(env, obj))->bound((int) arg1); return xret; } @@ -460,21 +460,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQScrollBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQScrollBar*) 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) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_directSetValue(JNIEnv* env, jobject obj, jint val) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } @@ -488,15 +488,15 @@ Java_org_kde_qt_QScrollBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollBar_draggingSlider(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQScrollBar*) QtSupport::getQt(env, obj))->draggingSlider(); + jboolean xret = (jboolean) ((TTQScrollBar*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQScrollBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQScrollBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -505,7 +505,7 @@ Java_org_kde_qt_QScrollBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_hideEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TTQHideEvent*) QtSupport::getQt(env, arg1)); return; } @@ -518,117 +518,117 @@ Java_org_kde_qt_QScrollBar_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQScrollBar*) 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(); + jint xret = (jint) ((TTQScrollBar*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_minValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->minValue(); + jint xret = (jint) ((TTQScrollBar*) QtSupport::getQt(env, obj))->minValue(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__IIIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint lineStep, jint pageStep, jint value, jint arg6, jobject parent) +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 QScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (Qt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (Qt::Orientation) arg6, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((int) minValue, (int) maxValue, (int) lineStep, (int) pageStep, (int) value, (TQt::Orientation) arg6, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +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 QScrollBarJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollBarJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QScrollBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollBar_newQScrollBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQScrollBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -637,245 +637,245 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollBar_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQScrollBar*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQScrollBar*) 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(); + jint xret = (jint) ((TTQScrollBar*) QtSupport::getQt(env, obj))->pageStep(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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) ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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) ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + 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) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQScrollBar*) 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); + ((TTQScrollBar*) 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); + ((TTQScrollBar*) 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((Qt::Orientation) arg1); + ((TTQScrollBar*) 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); + ((TTQScrollBar*) 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)); + ((TTQScrollBar*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQRangeControl*)(TTQScrollBar*) 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); + ((TTQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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); + ((TTQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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)); + ((TTQScrollBar*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy)*(TTQSizePolicy*) 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); + ((TTQRangeControl*)(TTQScrollBar*) 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); + ((TTQScrollBar*) 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); + ((TTQScrollBar*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQScrollBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQScrollBar*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQScrollBar*) QtSupport::getQt(env, obj))->sliderStart(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_stepChange(JNIEnv* env, jobject obj) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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(); + ((TTQRangeControl*)(TTQScrollBar*) 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(); + ((TTQRangeControl*)(TTQScrollBar*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QScrollBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQScrollBar*) QtSupport::getQt(env, obj))->tracking(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_valueChange(JNIEnv* env, jobject obj) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((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) ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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(); + jint xret = (jint) ((TTQScrollBar*) QtSupport::getQt(env, obj))->value(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) QtSupport::getQt(env, arg1)); return; } diff --git a/qtjava/javalib/qtjava/QScrollBar.h b/qtjava/javalib/qtjava/QScrollBar.h index 74c81946..f73a9022 100644 --- a/qtjava/javalib/qtjava/QScrollBar.h +++ b/qtjava/javalib/qtjava/QScrollBar.h @@ -12,12 +12,12 @@ extern "C" 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_newQScrollBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newQScrollBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newQScrollBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newQScrollBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollBar_newQScrollBar__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_newQScrollBar__IIIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jint, 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); diff --git a/qtjava/javalib/qtjava/QScrollView.cpp b/qtjava/javalib/qtjava/QScrollView.cpp index 0891dee9..f7766dcc 100644 --- a/qtjava/javalib/qtjava/QScrollView.cpp +++ b/qtjava/javalib/qtjava/QScrollView.cpp @@ -10,647 +10,647 @@ #include #include -#include +#include -class QScrollViewJBridge : public QScrollView +class TQScrollViewJBridge : public TQScrollView { public: - QScrollViewJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQScrollView(arg1,arg2,arg3) {}; - QScrollViewJBridge(TQWidget* arg1,const char* arg2) : TQScrollView(arg1,arg2) {}; - QScrollViewJBridge(TQWidget* arg1) : TQScrollView(arg1) {}; - QScrollViewJBridge() : TQScrollView() {}; - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::drawContents(arg1,arg2,arg3,arg4,arg5); + TQScrollViewJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQScrollView(arg1,arg2,arg3) {}; + TQScrollViewJBridge(TTQWidget* arg1,const char* arg2) : TTQScrollView(arg1,arg2) {}; + TQScrollViewJBridge(TTQWidget* arg1) : TTQScrollView(arg1) {}; + TQScrollViewJBridge() : TTQScrollView() {}; + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQScrollView::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); + void protected_drawContentsOffset(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { + TTQScrollView::drawContentsOffset(arg1,arg2,arg3,arg4,arg5,arg6,arg7); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQScrollView::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQScrollView::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQScrollView::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { + TTQScrollView::contentsMouseMoveEvent(arg1); return; } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQScrollView::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQScrollView::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQScrollView::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQScrollView::contentsDropEvent(arg1); + void protected_contentsDropEvent(TTQDropEvent* arg1) { + TTQScrollView::contentsDropEvent(arg1); return; } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - TQScrollView::contentsWheelEvent(arg1); + void protected_contentsWheelEvent(TTQWheelEvent* arg1) { + TTQScrollView::contentsWheelEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQScrollView::contentsContextMenuEvent(arg1); return; } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - TQScrollView::viewportPaintEvent(arg1); + void protected_viewportPaintEvent(TTQPaintEvent* arg1) { + TTQScrollView::viewportPaintEvent(arg1); return; } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQScrollView::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TTQResizeEvent* arg1) { + TTQScrollView::viewportResizeEvent(arg1); return; } - void protected_viewportMousePressEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMousePressEvent(arg1); + void protected_viewportMousePressEvent(TTQMouseEvent* arg1) { + TTQScrollView::viewportMousePressEvent(arg1); return; } - void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void protected_viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQScrollView::viewportMouseReleaseEvent(arg1); return; } - void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void protected_viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); return; } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::viewportMouseMoveEvent(arg1); + void protected_viewportMouseMoveEvent(TTQMouseEvent* arg1) { + TTQScrollView::viewportMouseMoveEvent(arg1); return; } - void protected_viewportDragEnterEvent(TQDragEnterEvent* arg1) { - TQScrollView::viewportDragEnterEvent(arg1); + void protected_viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQScrollView::viewportDragEnterEvent(arg1); return; } - void protected_viewportDragMoveEvent(TQDragMoveEvent* arg1) { - TQScrollView::viewportDragMoveEvent(arg1); + void protected_viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQScrollView::viewportDragMoveEvent(arg1); return; } - void protected_viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQScrollView::viewportDragLeaveEvent(arg1); + void protected_viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQScrollView::viewportDragLeaveEvent(arg1); return; } - void protected_viewportDropEvent(TQDropEvent* arg1) { - TQScrollView::viewportDropEvent(arg1); + void protected_viewportDropEvent(TTQDropEvent* arg1) { + TTQScrollView::viewportDropEvent(arg1); return; } - void protected_viewportWheelEvent(TQWheelEvent* arg1) { - TQScrollView::viewportWheelEvent(arg1); + void protected_viewportWheelEvent(TTQWheelEvent* arg1) { + TTQScrollView::viewportWheelEvent(arg1); return; } - void protected_viewportContextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::viewportContextMenuEvent(arg1); + void protected_viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQScrollView::viewportContextMenuEvent(arg1); return; } void protected_frameChanged() { - TQScrollView::frameChanged(); + TTQScrollView::frameChanged(); return; } void protected_setMargins(int arg1,int arg2,int arg3,int arg4) { - TQScrollView::setMargins(arg1,arg2,arg3,arg4); + TTQScrollView::setMargins(arg1,arg2,arg3,arg4); return; } int protected_leftMargin() { - return (int) TQScrollView::leftMargin(); + return (int) TTQScrollView::leftMargin(); } int protected_topMargin() { - return (int) TQScrollView::topMargin(); + return (int) TTQScrollView::topMargin(); } int protected_rightMargin() { - return (int) TQScrollView::rightMargin(); + return (int) TTQScrollView::rightMargin(); } int protected_bottomMargin() { - return (int) TQScrollView::bottomMargin(); + return (int) TTQScrollView::bottomMargin(); } bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQScrollView::focusNextPrevChild(arg1); + return (bool) TTQScrollView::focusNextPrevChild(arg1); } - void protected_setHBarGeometry(TQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { - TQScrollView::setHBarGeometry(arg1,arg2,arg3,arg4,arg5); + void protected_setHBarGeometry(TTQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { + TTQScrollView::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); + void protected_setVBarGeometry(TTQScrollBar& arg1,int arg2,int arg3,int arg4,int arg5) { + TTQScrollView::setVBarGeometry(arg1,arg2,arg3,arg4,arg5); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQScrollView::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQScrollView::resizeEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQScrollView::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQScrollView::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQScrollView::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQScrollView::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQScrollView::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQScrollView::mouseDoubleClickEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQScrollView::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQScrollView::mouseMoveEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQScrollView::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQScrollView::wheelEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQScrollView::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQScrollView::contextMenuEvent(arg1); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQScrollView::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQScrollView::eventFilter(arg1,arg2); } - void protected_setCachedSizeHint(const TQSize& arg1) { - TQScrollView::setCachedSizeHint(arg1); + void protected_setCachedSizeHint(const TTQSize& arg1) { + TTQScrollView::setCachedSizeHint(arg1); return; } - TQSize protected_cachedSizeHint() { - return (TQSize) TQScrollView::cachedSizeHint(); + TTQSize protected_cachedSizeHint() { + return (TTQSize) TTQScrollView::cachedSizeHint(); } - void protected_fontChange(const TQFont& arg1) { - TQScrollView::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQScrollView::fontChange(arg1); return; } - ~QScrollViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQScrollViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQScrollView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQScrollView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -659,70 +659,70 @@ public: 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->addChild((TTQWidget*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->addChild((TTQWidget*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->addChild((TTQWidget*) 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) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_bottomMargin(); + 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(((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_cachedSizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_cachedSizeHint()), "org.kde.qt.TTQSize", 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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)); + jboolean xret = (jboolean) ((TTQScrollView*) QtSupport::getQt(env, obj))->childIsVisible((TTQWidget*) 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)); + jint xret = (jint) ((TTQScrollView*) QtSupport::getQt(env, obj))->childX((TTQWidget*) 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)); + jint xret = (jint) ((TTQScrollView*) QtSupport::getQt(env, obj))->childY((TTQWidget*) QtSupport::getQt(env, child)); return xret; } @@ -730,84 +730,84 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QScrollView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQScrollView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQScrollView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->clipper(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) 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(); + jint xret = (jint) ((TTQScrollView*) QtSupport::getQt(env, obj))->contentsHeight(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } @@ -816,7 +816,7 @@ Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I(JNIEnv* env, jobject ob { 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); + ((TTQScrollView*) 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; @@ -825,56 +825,56 @@ Java_org_kde_qt_QScrollView_contentsToViewport__II_3I_3I(JNIEnv* env, jobject ob 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQScrollView*) QtSupport::getQt(env, obj))->contentsToViewport((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQScrollView*) 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(); + jint xret = (jint) ((TTQScrollView*) 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(); + jint xret = (jint) ((TTQScrollView*) QtSupport::getQt(env, obj))->contentsY(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_disableSizeHintCaching(JNIEnv* env, jobject obj) { - ((TQScrollView*) QtSupport::getQt(env, obj))->disableSizeHintCaching(); + ((TTQScrollView*) QtSupport::getQt(env, obj))->disableSizeHintCaching(); return; } @@ -888,57 +888,57 @@ Java_org_kde_qt_QScrollView_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_dragAutoScroll(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->dragAutoScroll(); + jboolean xret = (jboolean) ((TTQScrollView*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TQPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((TTQPainter*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQScrollView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQScrollView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -947,42 +947,42 @@ Java_org_kde_qt_QScrollView_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) { - jboolean xret = (jboolean) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_frameChanged(JNIEnv* env, jobject obj) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((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(); + jint xret = (jint) ((TTQScrollView*) 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(); + jboolean xret = (jboolean) ((TTQScrollView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->horizontalScrollBar(), "org.kde.qt.TTQScrollBar"); return xret; } @@ -995,110 +995,110 @@ Java_org_kde_qt_QScrollView_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QScrollView_isHorizontalSliderPressed(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQScrollView*) QtSupport::getQt(env, obj))->isHorizontalSliderPressed(); + jboolean xret = (jboolean) ((TTQScrollView*) 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(); + jboolean xret = (jboolean) ((TTQScrollView*) QtSupport::getQt(env, obj))->isVerticalSliderPressed(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_leftMargin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_leftMargin(); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQScrollView*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->moveChild((TTQWidget*) QtSupport::getQt(env, child), (int) x, (int) y); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newQScrollView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QScrollView_newTQScrollView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollViewJBridge()); + QtSupport::setQt(env, obj, new TQScrollViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newQScrollView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQScrollViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQScrollViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QScrollView_newQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QScrollViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQScrollViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1107,378 +1107,378 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->removeChild((TTQObject*) 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->removeChild((TTQWidget*) QtSupport::getQt(env, child)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_repaintContents__(JNIEnv* env, jobject obj) { - ((TQScrollView*) QtSupport::getQt(env, obj))->repaintContents(); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TTQRect&)*(const TTQRect*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->repaintContents((const TTQRect&)*(const TTQRect*) 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jint xret = (jint) ((TTQScrollView*) 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); + ((TTQScrollView*) 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->resize((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_rightMargin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_rightMargin(); + 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); + ((TTQScrollView*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setCachedSizeHint((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sh)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setCachedSizeHint((const TTQSize&)*(const TTQSize*) 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); + ((TTQScrollView*) 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->setCornerWidget((TTQWidget*) 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); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, hbar), (int) x, (int) y, (int) w, (int) h); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((TTQScrollBar&)*(TTQScrollBar*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TTQScrollView::ScrollBarMode) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_setMargins(JNIEnv* env, jobject obj, jint left, jint top, jint right, jint bottom) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setMargins((int) left, (int) top, (int) right, (int) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->setResizePolicy((TTQScrollView::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); + ((TTQScrollView*) 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) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((TQScrollBar&)*(TQScrollBar*) QtSupport::getQt(env, vbar), (int) x, (int) y, (int) w, (int) h); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((TTQScrollBar&)*(TTQScrollBar*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TTQScrollView::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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->showChild((TTQWidget*) 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); + ((TTQScrollView*) QtSupport::getQt(env, obj))->showChild((TTQWidget*) 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(); + ((TTQScrollView*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQScrollView*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_topMargin(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_topMargin(); + 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QScrollViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + ((TTQScrollView*) 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); + ((TTQScrollView*) 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)); + ((TTQScrollView*) QtSupport::getQt(env, obj))->updateContents((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_updateScrollBars(JNIEnv* env, jobject obj) { - ((TQScrollView*) QtSupport::getQt(env, obj))->updateScrollBars(); + ((TTQScrollView*) 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(); + jint xret = (jint) ((TTQScrollView*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->verticalScrollBar(), "org.kde.qt.TTQScrollBar"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportContextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportDropEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportDropEvent((TTQDropEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQScrollView*) QtSupport::getQt(env, obj))->viewportSize((int) arg1, (int) arg2)), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -1487,7 +1487,7 @@ Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I(JNIEnv* env, jobject ob { 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); + ((TTQScrollView*) 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; @@ -1496,42 +1496,42 @@ Java_org_kde_qt_QScrollView_viewportToContents__II_3I_3I(JNIEnv* env, jobject ob 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQScrollView*) QtSupport::getQt(env, obj))->viewportToContents((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TTQWheelEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQScrollView*) QtSupport::getQt(env, obj))->viewport(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QScrollView_visibleHeight(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQScrollView*) QtSupport::getQt(env, obj))->visibleHeight(); + jint xret = (jint) ((TTQScrollView*) 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(); + jint xret = (jint) ((TTQScrollView*) QtSupport::getQt(env, obj))->visibleWidth(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) QtSupport::getQt(env, arg1)); return; } diff --git a/qtjava/javalib/qtjava/QScrollView.h b/qtjava/javalib/qtjava/QScrollView.h index 91e3a7cc..50d78b9c 100644 --- a/qtjava/javalib/qtjava/QScrollView.h +++ b/qtjava/javalib/qtjava/QScrollView.h @@ -12,10 +12,10 @@ extern "C" 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_newQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newQScrollView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newQScrollView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QScrollView_newQScrollView__ (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); diff --git a/qtjava/javalib/qtjava/QSemiModal.cpp b/qtjava/javalib/qtjava/QSemiModal.cpp index c6429f06..8d88d5c5 100644 --- a/qtjava/javalib/qtjava/QSemiModal.cpp +++ b/qtjava/javalib/qtjava/QSemiModal.cpp @@ -4,347 +4,347 @@ #include #include -#include +#include -class QSemiModalJBridge : public QSemiModal +class TQSemiModalJBridge : public TQSemiModal { public: - QSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3,Qt::WFlags arg4) : TQSemiModal(arg1,arg2,arg3,arg4) {}; - QSemiModalJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQSemiModal(arg1,arg2,arg3) {}; - QSemiModalJBridge(TQWidget* arg1,const char* arg2) : TQSemiModal(arg1,arg2) {}; - QSemiModalJBridge(TQWidget* arg1) : TQSemiModal(arg1) {}; - QSemiModalJBridge() : TQSemiModal() {}; - ~QSemiModalJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + TQSemiModalJBridge(TTQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TTQSemiModal(arg1,arg2,arg3,arg4) {}; + TQSemiModalJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQSemiModal(arg1,arg2,arg3) {}; + TQSemiModalJBridge(TTQWidget* arg1,const char* arg2) : TTQSemiModal(arg1,arg2) {}; + TQSemiModalJBridge(TTQWidget* arg1) : TTQSemiModal(arg1) {}; + TQSemiModalJBridge() : TTQSemiModal() {}; + ~TQSemiModalJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSemiModal","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSemiModal","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -354,7 +354,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSemiModal*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSemiModal*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -368,8 +368,8 @@ Java_org_kde_qt_QSemiModal_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSemiModal*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSemiModal*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -384,58 +384,58 @@ Java_org_kde_qt_QSemiModal_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSemiModal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newQSemiModal__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSemiModal_newTQSemiModal__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSemiModalJBridge()); + QtSupport::setQt(env, obj, new TQSemiModalJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSemiModalJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSemiModalJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQSemiModalJBridge((TTQWidget*) 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_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSemiModalJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQSemiModalJBridge((TTQWidget*) 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; @@ -444,21 +444,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QSemiModal_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSemiModalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index f32353c7..7ee8f0ff 100644 --- a/qtjava/javalib/qtjava/QSemiModal.h +++ b/qtjava/javalib/qtjava/QSemiModal.h @@ -12,11 +12,11 @@ extern "C" 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_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newQSemiModal__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSemiModal_newQSemiModal__ (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); diff --git a/qtjava/javalib/qtjava/QServerSocket.cpp b/qtjava/javalib/qtjava/QServerSocket.cpp index 4633f8c0..7fb1d604 100644 --- a/qtjava/javalib/qtjava/QServerSocket.cpp +++ b/qtjava/javalib/qtjava/QServerSocket.cpp @@ -5,12 +5,12 @@ #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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHostAddress(((TTQServerSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TTQHostAddress", TRUE); return xret; } @@ -18,70 +18,70 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QServerSocket_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQServerSocket*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQServerSocket*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQServerSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + ((TTQServerSocket*) 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(); + jboolean xret = (jboolean) ((TTQServerSocket*) 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(); + jshort xret = (jshort) ((TTQServerSocket*) 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); + ((TTQServerSocket*) 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(); + jint xret = (jint) ((TTQServerSocket*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQServerSocket::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQServerSocket::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQServerSocket::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.cpp b/qtjava/javalib/qtjava/QSessionManager.cpp index 873c6627..2c586372 100644 --- a/qtjava/javalib/qtjava/QSessionManager.cpp +++ b/qtjava/javalib/qtjava/QSessionManager.cpp @@ -4,26 +4,26 @@ #include #include -#include +#include JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_allowsErrorInteraction(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QSessionManager*) QtSupport::getQt(env, obj))->allowsErrorInteraction(); + 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) ((QSessionManager*) QtSupport::getQt(env, obj))->allowsInteraction(); + jboolean xret = (jboolean) ((TQSessionManager*) QtSupport::getQt(env, obj))->allowsInteraction(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_cancel(JNIEnv* env, jobject obj) { - ((QSessionManager*) QtSupport::getQt(env, obj))->cancel(); + ((TQSessionManager*) QtSupport::getQt(env, obj))->cancel(); return; } @@ -31,136 +31,136 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSessionManager_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QSessionManager*) QtSupport::getQt(env, obj))->className(); + _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 = ((QSessionManager*) QtSupport::getQt(env, obj))->discardCommand(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->discardCommand(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSessionManager_isPhase2(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QSessionManager*) QtSupport::getQt(env, obj))->isPhase2(); + 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*)((QSessionManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSessionManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_release(JNIEnv* env, jobject obj) { - ((QSessionManager*) QtSupport::getQt(env, obj))->release(); + ((TQSessionManager*) QtSupport::getQt(env, obj))->release(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_requestPhase2(JNIEnv* env, jobject obj) { - ((QSessionManager*) QtSupport::getQt(env, obj))->requestPhase2(); + ((TQSessionManager*) QtSupport::getQt(env, obj))->requestPhase2(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSessionManager_restartCommand(JNIEnv* env, jobject obj) { - TQStringList _qlist; - _qlist = ((QSessionManager*) QtSupport::getQt(env, obj))->restartCommand(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TQSessionManager*) QtSupport::getQt(env, obj))->restartCommand(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jint JNICALL Java_org_kde_qt_QSessionManager_restartHint(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QSessionManager*) QtSupport::getQt(env, obj))->restartHint(); + 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 = ((QSessionManager*) QtSupport::getQt(env, obj))->sessionId(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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 = ((QSessionManager*) QtSupport::getQt(env, obj))->sessionKey(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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; - ((QSessionManager*) QtSupport::getQt(env, obj))->setDiscardCommand((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setDiscardCommand((const TTQStringList&)*(TTQStringList*) 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; - ((QSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_value = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) 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; - ((QSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, value, &_qlist_value)); +static TTQString* _qstring_name = 0; +static TTQStringList* _qlist_value = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setManagerProperty((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQStringList&)*(TTQStringList*) 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; - ((QSessionManager*) QtSupport::getQt(env, obj))->setRestartCommand((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1)); +static TTQStringList* _qlist_arg1 = 0; + ((TQSessionManager*) QtSupport::getQt(env, obj))->setRestartCommand((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSessionManager_setRestartHint(JNIEnv* env, jobject obj, jint arg1) { - ((QSessionManager*) QtSupport::getQt(env, obj))->setRestartHint((QSessionManager::RestartHint) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSessionManager::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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/QSettings.cpp b/qtjava/javalib/qtjava/QSettings.cpp index ec6c24d6..0025d489 100644 --- a/qtjava/javalib/qtjava/QSettings.cpp +++ b/qtjava/javalib/qtjava/QSettings.cpp @@ -4,21 +4,21 @@ #include #include -#include +#include -class QSettingsJBridge : public QSettings +class TQSettingsJBridge : public TQSettings { public: - QSettingsJBridge() : TQSettings() {}; - QSettingsJBridge(TQSettings::Format arg1) : TQSettings(arg1) {}; - ~QSettingsJBridge() {QtSupport::qtKeyDeleted(this);} + TQSettingsJBridge() : TTQSettings() {}; + TQSettingsJBridge(TTQSettings::Format arg1) : TTQSettings(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::toQString(env, group, &_qstring_group)); +static TTQString* _qstring_group = 0; + ((TTQSettings*) QtSupport::getQt(env, obj))->beginGroup((const TTQString&)*(TTQString*) QtSupport::toTQString(env, group, &_qstring_group)); return; } @@ -32,24 +32,24 @@ Java_org_kde_qt_QSettings_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_endGroup(JNIEnv* env, jobject obj) { - ((TQSettings*) QtSupport::getQt(env, obj))->endGroup(); + ((TTQSettings*) 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::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->entryList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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); + delete (TTQSettings*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -58,16 +58,16 @@ Java_org_kde_qt_QSettings_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSettings_group(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSettings*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQSettings*) QtSupport::getQt(env, obj))->insertSearchPath((TTQSettings::System) arg1, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } @@ -78,20 +78,20 @@ Java_org_kde_qt_QSettings_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_newQSettings__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSettings_newTQSettings__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSettingsJBridge()); + QtSupport::setQt(env, obj, new TQSettingsJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSettings_newQSettings__I(JNIEnv* env, jobject obj, jint format) +Java_org_kde_qt_QSettings_newTQSettings__I(JNIEnv* env, jobject obj, jint format) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSettingsJBridge((TQSettings::Format) format)); + QtSupport::setQt(env, obj, new TQSettingsJBridge((TTQSettings::Format) format)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -100,25 +100,25 @@ Java_org_kde_qt_QSettings_newQSettings__I(JNIEnv* env, jobject obj, jint format) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (bool) def); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_arg1 = 0; bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3); + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->readBoolEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) def, (bool*) _bool_arg3); env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); return xret; } @@ -126,25 +126,25 @@ static TQString* _qstring_arg1 = 0; 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (double) def); +static TTQString* _qstring_arg1 = 0; + jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_arg1 = 0; bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jdouble xret = (jdouble) ((TQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3); + jdouble xret = (jdouble) ((TTQSettings*) QtSupport::getQt(env, obj))->readDoubleEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (double) def, (bool*) _bool_arg3); env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); return xret; } @@ -152,98 +152,98 @@ static TQString* _qstring_arg1 = 0; 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::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; + _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, def, &_qstring_def)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_def = 0; + _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_def = 0; bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - _qstring = ((TQSettings*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, def, &_qstring_def), (bool*) _bool_arg3); + _qstring = ((TTQSettings*) QtSupport::getQt(env, obj))->readEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, def, &_qstring_def), (bool*) _bool_arg3); env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return QtSupport::fromQString(env, &_qstring); + 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::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toQChar(env, sep, &_qchar_sep)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; +static TTQChar* _qchar_sep = 0; + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; +static TTQChar* _qchar_sep = 0; bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQChar&)*(TQChar*) QtSupport::toQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3); + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (bool*) _bool_arg3); env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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; + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; bool* _bool_arg2 = QtSupport::toBooleanPtr(env, arg2); - _qlist = ((TQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2); + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->readListEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool*) _bool_arg2); env->SetBooleanArrayRegion(arg2, 0, 1, (jboolean*) _bool_arg2); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (int) def); +static TTQString* _qstring_arg1 = 0; + jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_arg1 = 0; bool* _bool_arg3 = QtSupport::toBooleanPtr(env, arg3); - jint xret = (jint) ((TQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3); + jint xret = (jint) ((TTQSettings*) QtSupport::getQt(env, obj))->readNumEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) def, (bool*) _bool_arg3); env->SetBooleanArrayRegion(arg3, 0, 1, (jboolean*) _bool_arg3); return xret; } @@ -251,109 +251,109 @@ static TQString* _qstring_arg1 = 0; 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->removeEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQSettings*) QtSupport::getQt(env, obj))->removeSearchPath((TTQSettings::System) arg1, (const TTQString&)*(TTQString*) 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(); + ((TTQSettings*) 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::toQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toQString(env, product, &_qstring_product)); +static TTQString* _qstring_domain = 0; +static TTQString* _qstring_product = 0; + ((TTQSettings*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TTQString&)*(TTQString*) 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::toQString(env, domain, &_qstring_domain), (const TQString&)*(TQString*) QtSupport::toQString(env, product, &_qstring_product), (TQSettings::Scope) arg3); +static TTQString* _qstring_domain = 0; +static TTQString* _qstring_product = 0; + ((TTQSettings*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, domain, &_qstring_domain), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, product, &_qstring_product), (TTQSettings::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::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQSettings*) QtSupport::getQt(env, obj))->subkeyList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSettings_sync(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSettings*) QtSupport::getQt(env, obj))->sync(); + jboolean xret = (jboolean) ((TTQSettings*) 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::toQString(env, arg1, &_qstring_arg1), (double) arg2); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (int) arg2); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (bool) arg2); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQStringList* _qlist_arg2 = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQStringList&)*(TTQStringList*) 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::toQString(env, arg1, &_qstring_arg1), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2), (const TQChar&)*(TQChar*) QtSupport::toQChar(env, sep, &_qchar_sep)); +static TTQString* _qstring_arg1 = 0; +static TTQStringList* _qlist_arg2 = 0; +static TTQChar* _qchar_sep = 0; + jboolean xret = (jboolean) ((TTQSettings*) QtSupport::getQt(env, obj))->writeEntry((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (const TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep)); return xret; } diff --git a/qtjava/javalib/qtjava/QSettings.h b/qtjava/javalib/qtjava/QSettings.h index 9088eb14..3d8d60f8 100644 --- a/qtjava/javalib/qtjava/QSettings.h +++ b/qtjava/javalib/qtjava/QSettings.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newQSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSettings_newQSettings__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QShowEvent.cpp b/qtjava/javalib/qtjava/QShowEvent.cpp index b85fded0..1afbd445 100644 --- a/qtjava/javalib/qtjava/QShowEvent.cpp +++ b/qtjava/javalib/qtjava/QShowEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QShowEventJBridge : public QShowEvent +class TQShowEventJBridge : public TQShowEvent { public: - QShowEventJBridge() : TQShowEvent() {}; - ~QShowEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQShowEventJBridge() : TTQShowEvent() {}; + ~TQShowEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQShowEvent*)QtSupport::getQt(env, obj); + delete (TTQShowEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QShowEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QShowEvent_newQShowEvent(JNIEnv* env, jobject obj) +Java_org_kde_qt_QShowEvent_newTQShowEvent(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QShowEventJBridge()); + 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 index 944c5205..a4297714 100644 --- a/qtjava/javalib/qtjava/QShowEvent.h +++ b/qtjava/javalib/qtjava/QShowEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QShowEvent_newQShowEvent (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSignal.cpp b/qtjava/javalib/qtjava/QSignal.cpp index 803cf474..b5a4081d 100644 --- a/qtjava/javalib/qtjava/QSignal.cpp +++ b/qtjava/javalib/qtjava/QSignal.cpp @@ -4,48 +4,48 @@ #include #include -#include +#include -class QSignalJBridge : public QSignal +class TQSignalJBridge : public TQSignal { public: - QSignalJBridge(TQObject* arg1,const char* arg2) : TQSignal(arg1,arg2) {}; - QSignalJBridge(TQObject* arg1) : TQSignal(arg1) {}; - QSignalJBridge() : TQSignal() {}; - ~QSignalJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQSignalJBridge(TTQObject* arg1,const char* arg2) : TTQSignal(arg1,arg2) {}; + TQSignalJBridge(TTQObject* arg1) : TTQSignal(arg1) {}; + TQSignalJBridge() : TTQSignal() {}; + ~TQSignalJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSignal",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSignal",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -55,14 +55,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_activate(JNIEnv* env, jobject obj) { - ((TQSignal*) QtSupport::getQt(env, obj))->activate(); + ((TTQSignal*) 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); + ((TTQSignal*) QtSupport::getQt(env, obj))->block((bool) b); return; } @@ -70,28 +70,28 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignal_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSignal*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSignal*) 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()"); + jboolean xret = (jboolean) ((TTQSignal*) QtSupport::getQt(env, obj))->connect((const TTQObject*) 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)); + jboolean xret = (jboolean) ((TTQSignal*) QtSupport::getQt(env, obj))->disconnect((const TTQObject*) 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()"); + jboolean xret = (jboolean) ((TTQSignal*) QtSupport::getQt(env, obj))->disconnect((const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); return xret; } @@ -105,8 +105,8 @@ Java_org_kde_qt_QSignal_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSignal*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSignal*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -115,7 +115,7 @@ Java_org_kde_qt_QSignal_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSignal_isBlocked(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->isBlocked(); + jboolean xret = (jboolean) ((TTQSignal*) QtSupport::getQt(env, obj))->isBlocked(); return xret; } @@ -128,36 +128,36 @@ Java_org_kde_qt_QSignal_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSignal*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newQSignal__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSignal_newTQSignal__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSignalJBridge()); + QtSupport::setQt(env, obj, new TQSignalJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newQSignal__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QSignalJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSignalJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSignal_newQSignal__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSignalJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSignalJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -166,49 +166,49 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QSignal_parameter(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSignal*) QtSupport::getQt(env, obj))->parameter(); + jint xret = (jint) ((TTQSignal*) 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); + ((TTQSignal*) 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)); + ((TTQSignal*) QtSupport::getQt(env, obj))->setValue((const TTQVariant&)*(const TTQVariant*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSignalJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSignal*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QSignal.h b/qtjava/javalib/qtjava/QSignal.h index 0584d344..d74ca10c 100644 --- a/qtjava/javalib/qtjava/QSignal.h +++ b/qtjava/javalib/qtjava/QSignal.h @@ -12,9 +12,9 @@ extern "C" 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_newQSignal__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newQSignal__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignal_newQSignal__ (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); diff --git a/qtjava/javalib/qtjava/QSignalMapper.cpp b/qtjava/javalib/qtjava/QSignalMapper.cpp index d9a28a4e..1852c6be 100644 --- a/qtjava/javalib/qtjava/QSignalMapper.cpp +++ b/qtjava/javalib/qtjava/QSignalMapper.cpp @@ -3,47 +3,47 @@ #include #include -#include +#include -class QSignalMapperJBridge : public QSignalMapper +class TQSignalMapperJBridge : public TQSignalMapper { public: - QSignalMapperJBridge(TQObject* arg1,const char* arg2) : TQSignalMapper(arg1,arg2) {}; - QSignalMapperJBridge(TQObject* arg1) : TQSignalMapper(arg1) {}; - ~QSignalMapperJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQSignalMapperJBridge(TTQObject* arg1,const char* arg2) : TTQSignalMapper(arg1,arg2) {}; + TQSignalMapperJBridge(TTQObject* arg1) : TTQSignalMapper(arg1) {}; + ~TQSignalMapperJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSignalMapper",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSignalMapper",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -54,7 +54,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSignalMapper_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSignalMapper*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSignalMapper*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -68,8 +68,8 @@ Java_org_kde_qt_QSignalMapper_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSignalMapper*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSignalMapper*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -84,33 +84,33 @@ Java_org_kde_qt_QSignalMapper_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_map(JNIEnv* env, jobject obj) { - ((TQSignalMapper*) QtSupport::getQt(env, obj))->map(); + ((TTQSignalMapper*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSignalMapper*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_newQSignalMapper__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QSignalMapperJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSignalMapperJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSignalMapper_newQSignalMapper__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSignalMapperJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSignalMapperJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -119,43 +119,43 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQSignalMapper*) QtSupport::getQt(env, obj))->removeMappings((const TTQObject*) 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); + ((TTQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TTQObject*) 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::toQString(env, identifier, &_qstring_identifier)); +static TTQString* _qstring_identifier = 0; + ((TTQSignalMapper*) QtSupport::getQt(env, obj))->setMapping((const TTQObject*) QtSupport::getQt(env, sender), (const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSignalMapperJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index df5b6c9b..833e86ee 100644 --- a/qtjava/javalib/qtjava/QSignalMapper.h +++ b/qtjava/javalib/qtjava/QSignalMapper.h @@ -12,8 +12,8 @@ extern "C" 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_newQSignalMapper__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSignalMapper_newQSignalMapper__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QSimpleRichText.cpp b/qtjava/javalib/qtjava/QSimpleRichText.cpp index e03799cb..3bb336b6 100644 --- a/qtjava/javalib/qtjava/QSimpleRichText.cpp +++ b/qtjava/javalib/qtjava/QSimpleRichText.cpp @@ -9,42 +9,42 @@ #include #include -#include +#include -class QSimpleRichTextJBridge : public QSimpleRichText +class TQSimpleRichTextJBridge : public TQSimpleRichText { public: - QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4) : TQSimpleRichText(arg1,arg2,arg3,arg4) {}; - QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3) : TQSimpleRichText(arg1,arg2,arg3) {}; - QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2) : TQSimpleRichText(arg1,arg2) {}; - QSimpleRichTextJBridge(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) {}; - QSimpleRichTextJBridge(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) {}; - QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5,int arg6) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QSimpleRichTextJBridge(const TQString& arg1,const TQFont& arg2,const TQString& arg3,const TQStyleSheet* arg4,const TQMimeSourceFactory* arg5) : TQSimpleRichText(arg1,arg2,arg3,arg4,arg5) {}; - ~QSimpleRichTextJBridge() {QtSupport::qtKeyDeleted(this);} + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4) : TTQSimpleRichText(arg1,arg2,arg3,arg4) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3) : TTQSimpleRichText(arg1,arg2,arg3) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2) : TTQSimpleRichText(arg1,arg2) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6,const TTQColor& arg7,bool arg8) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6,const TTQColor& arg7) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5,int arg6) : TTQSimpleRichText(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQSimpleRichTextJBridge(const TTQString& arg1,const TTQFont& arg2,const TTQString& arg3,const TTQStyleSheet* arg4,const TTQMimeSourceFactory* arg5) : TTQSimpleRichText(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(); + ((TTQSimpleRichText*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSimpleRichText_context(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSimpleRichText*) QtSupport::getQt(env, obj))->context(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->context(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -57,28 +57,28 @@ Java_org_kde_qt_QSimpleRichText_dispose(JNIEnv* env, jobject obj) 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)); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, clipRect), (const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, clipRect), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQBrush*) 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)); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, clipRegion), (const TTQColorGroup&)*(const TTQColorGroup*) 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)); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->draw((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, clipRegion), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQBrush*) QtSupport::getQt(env, paper)); return; } @@ -86,7 +86,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSimpleRichText*)QtSupport::getQt(env, obj); + delete (TTQSimpleRichText*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -95,14 +95,14 @@ Java_org_kde_qt_QSimpleRichText_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSimpleRichText_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSimpleRichText*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQSimpleRichText*) 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)); + jboolean xret = (jboolean) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->inText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return xret; } @@ -113,83 +113,83 @@ Java_org_kde_qt_QSimpleRichText_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring text, jobject fnt) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt))); + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject fnt, jstring context) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context))); + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet))); + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory))); + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (const TQStyleSheet*) QtSupport::getQt(env, sheet), (const TQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak)); + QtSupport::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, linkColor))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSimpleRichTextJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQSimpleRichTextJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, fnt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (const TTQStyleSheet*) QtSupport::getQt(env, sheet), (const TTQMimeSourceFactory*) QtSupport::getQt(env, factory), (int) pageBreak, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, linkColor), (bool) linkUnderline)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -198,35 +198,35 @@ static TQString* _qstring_context = 0; 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)); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->setDefaultFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQSimpleRichText*) 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); + ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->setWidth((TTQPainter*) 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(); + jint xret = (jint) ((TTQSimpleRichText*) 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(); + jint xret = (jint) ((TTQSimpleRichText*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QSimpleRichText.h b/qtjava/javalib/qtjava/QSimpleRichText.h index 8acd0111..c54b1fd7 100644 --- a/qtjava/javalib/qtjava/QSimpleRichText.h +++ b/qtjava/javalib/qtjava/QSimpleRichText.h @@ -10,13 +10,13 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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_newQSimpleRichText__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_newQSimpleRichText__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSimpleRichText_newQSimpleRichText__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_newQSimpleRichText__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_newQSimpleRichText__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_newQSimpleRichText__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_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); diff --git a/qtjava/javalib/qtjava/QSize.cpp b/qtjava/javalib/qtjava/QSize.cpp index e304496f..ed9799b4 100644 --- a/qtjava/javalib/qtjava/QSize.cpp +++ b/qtjava/javalib/qtjava/QSize.cpp @@ -3,20 +3,20 @@ #include #include -#include +#include -class QSizeJBridge : public QSize +class TQSizeJBridge : public TQSize { public: - QSizeJBridge() : TQSize() {}; - QSizeJBridge(int arg1,int arg2) : TQSize(arg1,arg2) {}; - ~QSizeJBridge() {QtSupport::qtKeyDeleted(this);} + TQSizeJBridge() : TTQSize() {}; + TQSizeJBridge(int arg1,int arg2) : TTQSize(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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSize*) QtSupport::getQt(env, obj))->boundedTo((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -30,7 +30,7 @@ Java_org_kde_qt_QSize_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSize*) QtSupport::getQt(env, obj))->expandedTo((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -38,7 +38,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSize*)QtSupport::getQt(env, obj); + delete (TTQSize*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -47,7 +47,7 @@ Java_org_kde_qt_QSize_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSize_height(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSize*) QtSupport::getQt(env, obj))->height(); + jint xret = (jint) ((TTQSize*) QtSupport::getQt(env, obj))->height(); return xret; } @@ -60,39 +60,39 @@ Java_org_kde_qt_QSize_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSize_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSize*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQSize*) 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(); + jboolean xret = (jboolean) ((TTQSize*) 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(); + jboolean xret = (jboolean) ((TTQSize*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_newQSize__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSize_newTQSize__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSizeJBridge()); + QtSupport::setQt(env, obj, new TQSizeJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSize_newQSize__II(JNIEnv* env, jobject obj, jint w, jint h) +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 QSizeJBridge((int) w, (int) h)); + QtSupport::setQt(env, obj, new TQSizeJBridge((int) w, (int) h)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -101,98 +101,98 @@ Java_org_kde_qt_QSize_newQSize__II(JNIEnv* env, jobject obj, jint w, jint h) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator/=((double) c), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator/=((int) c), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator-=((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator*=((double) c), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator*=((int) c), "org.kde.qt.TTQSize"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQSize*) QtSupport::getQt(env, obj))->operator+=((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQSize"); return xret; } JNIEXPORT jshort JNICALL Java_org_kde_qt_QSize_rheight(JNIEnv* env, jobject obj) { - jshort xret = (jshort) ((TQSize*) QtSupport::getQt(env, obj))->rheight(); + jshort xret = (jshort) ((TTQSize*) 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(); + jshort xret = (jshort) ((TTQSize*) 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); + ((TTQSize*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TTQSize::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); + ((TTQSize*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQSize::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); + ((TTQSize*) 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); + ((TTQSize*) 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(); + ((TTQSize*) 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(); + jint xret = (jint) ((TTQSize*) QtSupport::getQt(env, obj))->width(); return xret; } diff --git a/qtjava/javalib/qtjava/QSize.h b/qtjava/javalib/qtjava/QSize.h index 55a2b829..2ccc4a9d 100644 --- a/qtjava/javalib/qtjava/QSize.h +++ b/qtjava/javalib/qtjava/QSize.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newQSize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSize_newQSize__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QSizeGrip.cpp b/qtjava/javalib/qtjava/QSizeGrip.cpp index 7b983687..0d939118 100644 --- a/qtjava/javalib/qtjava/QSizeGrip.cpp +++ b/qtjava/javalib/qtjava/QSizeGrip.cpp @@ -4,365 +4,365 @@ #include #include -#include +#include -class QSizeGripJBridge : public QSizeGrip +class TQSizeGripJBridge : public TQSizeGrip { public: - QSizeGripJBridge(TQWidget* arg1,const char* arg2) : TQSizeGrip(arg1,arg2) {}; - QSizeGripJBridge(TQWidget* arg1) : TQSizeGrip(arg1) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQSizeGrip::paintEvent(arg1); + TQSizeGripJBridge(TTQWidget* arg1,const char* arg2) : TTQSizeGrip(arg1,arg2) {}; + TQSizeGripJBridge(TTQWidget* arg1) : TTQSizeGrip(arg1) {}; + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQSizeGrip::paintEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSizeGrip::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQSizeGrip::mousePressEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSizeGrip::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQSizeGrip::mouseMoveEvent(arg1); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQSizeGrip::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQSizeGrip::eventFilter(arg1,arg2); } - ~QSizeGripJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQSizeGripJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQSizeGrip::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQSizeGrip::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSizeGrip::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSizeGrip::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSizeGrip::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSizeGrip::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSizeGrip","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSizeGrip","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -372,7 +372,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSizeGrip*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSizeGrip*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -386,15 +386,15 @@ Java_org_kde_qt_QSizeGrip_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizeGrip_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - jboolean xret = (jboolean) ((QSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSizeGrip*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSizeGrip*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,40 +409,40 @@ Java_org_kde_qt_QSizeGrip_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSizeGrip*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_newQSizeGrip__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSizeGripJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizeGrip_newQSizeGrip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSizeGripJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSizeGripJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -451,35 +451,35 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQSizeGripJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSizeGrip*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSizeGrip_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSizeGripJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index d2d474e6..c7325b6b 100644 --- a/qtjava/javalib/qtjava/QSizeGrip.h +++ b/qtjava/javalib/qtjava/QSizeGrip.h @@ -12,8 +12,8 @@ extern "C" 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_newQSizeGrip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizeGrip_newQSizeGrip__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QSizePolicy.cpp b/qtjava/javalib/qtjava/QSizePolicy.cpp index e02bccb6..26d5ffd7 100644 --- a/qtjava/javalib/qtjava/QSizePolicy.cpp +++ b/qtjava/javalib/qtjava/QSizePolicy.cpp @@ -2,17 +2,17 @@ #include #include -#include +#include -class QSizePolicyJBridge : public QSizePolicy +class TQSizePolicyJBridge : public TQSizePolicy { public: - QSizePolicyJBridge() : TQSizePolicy() {}; - QSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,bool arg3) : TQSizePolicy(arg1,arg2,arg3) {}; - QSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2) : TQSizePolicy(arg1,arg2) {}; - QSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4,bool arg5) : TQSizePolicy(arg1,arg2,arg3,arg4,arg5) {}; - QSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4) : TQSizePolicy(arg1,arg2,arg3,arg4) {}; - ~QSizePolicyJBridge() {QtSupport::qtKeyDeleted(this);} + TQSizePolicyJBridge() : TTQSizePolicy() {}; + TQSizePolicyJBridge(TTQSizePolicy::SizeType arg1,TTQSizePolicy::SizeType arg2,bool arg3) : TTQSizePolicy(arg1,arg2,arg3) {}; + TQSizePolicyJBridge(TTQSizePolicy::SizeType arg1,TTQSizePolicy::SizeType arg2) : TTQSizePolicy(arg1,arg2) {}; + TQSizePolicyJBridge(TTQSizePolicy::SizeType arg1,TTQSizePolicy::SizeType arg2,uchar arg3,uchar arg4,bool arg5) : TTQSizePolicy(arg1,arg2,arg3,arg4,arg5) {}; + TQSizePolicyJBridge(TTQSizePolicy::SizeType arg1,TTQSizePolicy::SizeType arg2,uchar arg3,uchar arg4) : TTQSizePolicy(arg1,arg2,arg3,arg4) {}; + ~TQSizePolicyJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -25,7 +25,7 @@ Java_org_kde_qt_QSizePolicy_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSizePolicy_expanding(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->expanding(); + jint xret = (jint) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->expanding(); return xret; } @@ -33,7 +33,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSizePolicy*)QtSupport::getQt(env, obj); + delete (TTQSizePolicy*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -42,21 +42,21 @@ Java_org_kde_qt_QSizePolicy_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_hasHeightForWidth(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->hasHeightForWidth(); + jboolean xret = (jboolean) ((TTQSizePolicy*) 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(); + jint xret = (jint) ((TTQSizePolicy*) 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(); + jint xret = (jint) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->horStretch(); return xret; } @@ -69,76 +69,76 @@ Java_org_kde_qt_QSizePolicy_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSizePolicy_mayGrowHorizontally(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowHorizontally(); + jboolean xret = (jboolean) ((TTQSizePolicy*) 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(); + jboolean xret = (jboolean) ((TTQSizePolicy*) 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(); + jboolean xret = (jboolean) ((TTQSizePolicy*) 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(); + jboolean xret = (jboolean) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkVertically(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newQSizePolicy__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSizePolicy_newTQSizePolicy__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSizePolicyJBridge()); + QtSupport::setQt(env, obj, new TQSizePolicyJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newQSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver) +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 QSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver)); + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::SizeType) ver)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newQSizePolicy__IISS(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers) +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 QSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers)); + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSizePolicy_newQSizePolicy__IISSZ(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers, jboolean hfw) +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 QSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers, (bool) hfw)); + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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_newQSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw) +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 QSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw)); + QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::SizeType) ver, (bool) hfw)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -147,70 +147,70 @@ Java_org_kde_qt_QSizePolicy_newQSizePolicy__IIZ(JNIEnv* env, jobject obj, jint h 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)); + jboolean xret = (jboolean) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->operator==((const TTQSizePolicy&)*(const TTQSizePolicy*) 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)); + jboolean xret = (jboolean) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->operator!=((const TTQSizePolicy&)*(const TTQSizePolicy*) 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); + ((TTQSizePolicy*) 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); + ((TTQSizePolicy*) QtSupport::getQt(env, obj))->setHorData((TTQSizePolicy::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); + ((TTQSizePolicy*) 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); + ((TTQSizePolicy*) QtSupport::getQt(env, obj))->setVerData((TTQSizePolicy::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); + ((TTQSizePolicy*) 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(); + ((TTQSizePolicy*) 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(); + jint xret = (jint) ((TTQSizePolicy*) 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(); + jint xret = (jint) ((TTQSizePolicy*) QtSupport::getQt(env, obj))->verStretch(); return xret; } diff --git a/qtjava/javalib/qtjava/QSizePolicy.h b/qtjava/javalib/qtjava/QSizePolicy.h index a6379cf3..07e346e5 100644 --- a/qtjava/javalib/qtjava/QSizePolicy.h +++ b/qtjava/javalib/qtjava/QSizePolicy.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newQSizePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newQSizePolicy__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newQSizePolicy__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newQSizePolicy__IISSZ (JNIEnv *env, jobject, jint, jint, jshort, jshort, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSizePolicy_newQSizePolicy__IISS (JNIEnv *env, jobject, jint, jint, jshort, jshort); +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); diff --git a/qtjava/javalib/qtjava/QSjisCodec.cpp b/qtjava/javalib/qtjava/QSjisCodec.cpp index a20233c1..453ba569 100644 --- a/qtjava/javalib/qtjava/QSjisCodec.cpp +++ b/qtjava/javalib/qtjava/QSjisCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QSjisCodecJBridge : public QSjisCodec +class TQSjisCodecJBridge : public TQSjisCodec { public: - QSjisCodecJBridge() : TQSjisCodec() {}; - ~QSjisCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQSjisCodecJBridge() : TTQSjisCodec() {}; + ~TQSjisCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSjisCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSjisCodec*)QtSupport::getQt(env, obj); + delete (TTQSjisCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QSjisCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQSjisCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQSjisCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQSjisCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,14 +66,14 @@ Java_org_kde_qt_QSjisCodec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSjisCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QSjisCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSjisCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQSjisCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -81,7 +81,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQSjisCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -89,15 +89,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSjisCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQSjisCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QSjisCodec_newQSjisCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSjisCodec_newTQSjisCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSjisCodecJBridge()); + QtSupport::setQt(env, obj, new TQSjisCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,9 +106,9 @@ Java_org_kde_qt_QSjisCodec_newQSjisCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQSjisCodec*) 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 index 3c705c6c..660086c9 100644 --- a/qtjava/javalib/qtjava/QSjisCodec.h +++ b/qtjava/javalib/qtjava/QSjisCodec.h @@ -18,7 +18,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QSjisCodec_fromUnicode (JNIEnv 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_newQSjisCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSlider.cpp b/qtjava/javalib/qtjava/QSlider.cpp index 13de8327..a18886bb 100644 --- a/qtjava/javalib/qtjava/QSlider.cpp +++ b/qtjava/javalib/qtjava/QSlider.cpp @@ -10,432 +10,432 @@ #include #include -#include +#include -class QSliderJBridge : public QSlider +class TQSliderJBridge : public TQSlider { public: - QSliderJBridge(TQWidget* arg1,const char* arg2) : TQSlider(arg1,arg2) {}; - QSliderJBridge(TQWidget* arg1) : TQSlider(arg1) {}; - QSliderJBridge(Qt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSlider(arg1,arg2,arg3) {}; - QSliderJBridge(Qt::Orientation arg1,TQWidget* arg2) : TQSlider(arg1,arg2) {}; - QSliderJBridge(int arg1,int arg2,int arg3,int arg4,Qt::Orientation arg5,TQWidget* arg6,const char* arg7) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - QSliderJBridge(int arg1,int arg2,int arg3,int arg4,Qt::Orientation arg5,TQWidget* arg6) : TQSlider(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSlider::resizeEvent(arg1); + TQSliderJBridge(TTQWidget* arg1,const char* arg2) : TTQSlider(arg1,arg2) {}; + TQSliderJBridge(TTQWidget* arg1) : TTQSlider(arg1) {}; + TQSliderJBridge(TQt::Orientation arg1,TTQWidget* arg2,const char* arg3) : TTQSlider(arg1,arg2,arg3) {}; + TQSliderJBridge(TQt::Orientation arg1,TTQWidget* arg2) : TTQSlider(arg1,arg2) {}; + TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TTQWidget* arg6,const char* arg7) : TTQSlider(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSliderJBridge(int arg1,int arg2,int arg3,int arg4,TQt::Orientation arg5,TTQWidget* arg6) : TTQSlider(arg1,arg2,arg3,arg4,arg5,arg6) {}; + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQSlider::resizeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQSlider::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQSlider::paintEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQSlider::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQSlider::keyPressEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSlider::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQSlider::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQSlider::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQSlider::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSlider::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQSlider::mouseMoveEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSlider::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQSlider::wheelEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQSlider::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQSlider::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQSlider::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQSlider::focusOutEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQSlider::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQSlider::styleChange(arg1); return; } void protected_valueChange() { - TQSlider::valueChange(); + TTQSlider::valueChange(); return; } void protected_rangeChange() { - TQSlider::rangeChange(); + TTQSlider::rangeChange(); return; } - ~QSliderJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSliderJBridge() {QtSupport::qtKeyDeleted(this);} int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); + return (int) TTQRangeControl::positionFromValue(arg1,arg2); } int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); + return (int) TTQRangeControl::valueFromPosition(arg1,arg2); } void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); + TTQRangeControl::directSetValue(arg1); return; } int protected_prevValue() { - return (int) TQRangeControl::prevValue(); + return (int) TTQRangeControl::prevValue(); } void protected_stepChange() { - TQRangeControl::stepChange(); + TTQRangeControl::stepChange(); return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSlider::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQSlider::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","stepChange")) { - TQRangeControl::stepChange(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","stepChange")) { + TTQRangeControl::stepChange(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQSlider::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQSlider::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQSlider::setPalette(arg1); + void setPalette(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQSlider::setPalette(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQSlider::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQSlider::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQSlider::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQSlider::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSlider::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSlider::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSlider::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSlider::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSlider::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSlider::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSlider::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQSlider::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQSlider::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQSlider::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSlider",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSlider",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSlider","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSlider","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -444,28 +444,28 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_addLine(JNIEnv* env, jobject obj) { - ((TQSlider*) QtSupport::getQt(env, obj))->addLine(); + ((TTQSlider*) 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(); + ((TTQRangeControl*)(TTQSlider*) 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(); + ((TTQSlider*) 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); + jint xret = (jint) ((TTQRangeControl*)(TTQSlider*) QtSupport::getQt(env, obj))->bound((int) arg1); return xret; } @@ -473,14 +473,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSlider_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSlider*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSlider*) 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) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } @@ -494,8 +494,8 @@ Java_org_kde_qt_QSlider_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSlider*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSlider*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -504,14 +504,14 @@ Java_org_kde_qt_QSlider_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } @@ -524,124 +524,124 @@ Java_org_kde_qt_QSlider_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQSlider*) 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(); + jint xret = (jint) ((TTQSlider*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSlider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_minValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->minValue(); + jint xret = (jint) ((TTQSlider*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSlider*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__IIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint pageStep, jint value, jint arg5, jobject parent) +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 QSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (Qt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__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) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (Qt::Orientation) arg5, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSliderJBridge((int) minValue, (int) maxValue, (int) pageStep, (int) value, (TQt::Orientation) arg5, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +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 QSliderJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSliderJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSliderJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSliderJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSliderJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSlider_newQSlider__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSliderJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSliderJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -650,287 +650,287 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QSlider_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSlider*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQSlider*) 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(); + jint xret = (jint) ((TTQSlider*) QtSupport::getQt(env, obj))->pageStep(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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) ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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) ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + 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) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQSlider*) 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); + ((TTQSlider*) 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); + ((TTQSlider*) 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((Qt::Orientation) arg1); + ((TTQSlider*) 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); + ((TTQSlider*) 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)); + ((TTQSlider*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQRangeControl*)(TTQSlider*) 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); + ((TTQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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); + ((TTQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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)); + ((TTQSlider*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy)*(TTQSizePolicy*) 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); + ((TTQRangeControl*)(TTQSlider*) 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); + ((TTQSlider*) 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); + ((TTQSlider*) QtSupport::getQt(env, obj))->setTickmarks((TTQSlider::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); + ((TTQSlider*) 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); + ((TTQSlider*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSlider*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSizePolicy(((TTQSlider*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TTQSizePolicy", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSlider*) QtSupport::getQt(env, obj))->sliderRect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQSlider*) QtSupport::getQt(env, obj))->sliderStart(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_stepChange(JNIEnv* env, jobject obj) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_subtractLine(JNIEnv* env, jobject obj) { - ((TQSlider*) QtSupport::getQt(env, obj))->subtractLine(); + ((TTQSlider*) 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(); + ((TTQRangeControl*)(TTQSlider*) 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(); + ((TTQSlider*) 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(); + jint xret = (jint) ((TTQSlider*) 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(); + jint xret = (jint) ((TTQSlider*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSliderJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQSlider*) QtSupport::getQt(env, obj))->tracking(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_valueChange(JNIEnv* env, jobject obj) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((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) ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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(); + jint xret = (jint) ((TTQSlider*) QtSupport::getQt(env, obj))->value(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSliderJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQSliderJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) QtSupport::getQt(env, arg1)); return; } diff --git a/qtjava/javalib/qtjava/QSlider.h b/qtjava/javalib/qtjava/QSlider.h index d7197393..193a0060 100644 --- a/qtjava/javalib/qtjava/QSlider.h +++ b/qtjava/javalib/qtjava/QSlider.h @@ -12,12 +12,12 @@ extern "C" 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_newQSlider__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newQSlider__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newQSlider__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newQSlider__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSlider_newQSlider__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_newQSlider__IIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, 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); diff --git a/qtjava/javalib/qtjava/QSocket.cpp b/qtjava/javalib/qtjava/QSocket.cpp index d4323385..4802044a 100644 --- a/qtjava/javalib/qtjava/QSocket.cpp +++ b/qtjava/javalib/qtjava/QSocket.cpp @@ -7,92 +7,92 @@ #include #include -#include +#include -class QSocketJBridge : public QSocket +class TQSocketJBridge : public TQSocket { public: - QSocketJBridge(TQObject* arg1,const char* arg2) : TQSocket(arg1,arg2) {}; - QSocketJBridge(TQObject* arg1) : TQSocket(arg1) {}; - QSocketJBridge() : TQSocket() {}; + TQSocketJBridge(TTQObject* arg1,const char* arg2) : TTQSocket(arg1,arg2) {}; + TQSocketJBridge(TTQObject* arg1) : TTQSocket(arg1) {}; + TQSocketJBridge() : TTQSocket() {}; void protected_sn_read(bool arg1) { - TQSocket::sn_read(arg1); + TTQSocket::sn_read(arg1); return; } void protected_sn_read() { - TQSocket::sn_read(); + TTQSocket::sn_read(); return; } void protected_sn_write() { - TQSocket::sn_write(); + TTQSocket::sn_write(); return; } - ~QSocketJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSocketJBridge() {QtSupport::qtKeyDeleted(this);} void protected_setFlags(int arg1) { - TQIODevice::setFlags(arg1); + TTQIODevice::setFlags(arg1); return; } void protected_setType(int arg1) { - TQIODevice::setType(arg1); + TTQIODevice::setType(arg1); return; } void protected_setMode(int arg1) { - TQIODevice::setMode(arg1); + TTQIODevice::setMode(arg1); return; } void protected_setState(int arg1) { - TQIODevice::setState(arg1); + TTQIODevice::setState(arg1); return; } void protected_setStatus(int arg1) { - TQIODevice::setStatus(arg1); + TTQIODevice::setStatus(arg1); return; } - void setSocketDevice(TQSocketDevice* arg1) { - if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.kde.qt.TQSocketDevice")) { - TQSocket::setSocketDevice(arg1); + void setSocketDevice(TTQSocketDevice* arg1) { + if (!QtSupport::eventDelegate(this,"setSocketDevice",(void*)arg1,"org.kde.qt.TTQSocketDevice")) { + TTQSocket::setSocketDevice(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void sn_write() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSocket","sn_write")) { - TQSocket::sn_write(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSocket","sn_write")) { + TTQSocket::sn_write(); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSocket",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSocket",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -102,49 +102,49 @@ public: 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHostAddress(((TTQSocket*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TTQHostAddress", 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(); + jboolean xret = (jboolean) ((TTQSocket*) 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(); + jlong xret = (jlong) ((TTQSocket*) 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); + jboolean xret = (jboolean) ((TTQSocket*) QtSupport::getQt(env, obj))->at((TTQIODevice::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(); + jlong xret = (jlong) ((TTQSocket*) 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(); + jlong xret = (jlong) ((TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQSocket*) QtSupport::getQt(env, obj))->canReadLine(); return xret; } @@ -152,29 +152,29 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocket_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSocket*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSocket*) 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(); + ((TTQSocket*) 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(); + ((TTQSocket*) 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::toQString(env, host, &_qstring_host), (Q_UINT16) port); +static TTQString* _qstring_host = 0; + ((TTQSocket*) QtSupport::getQt(env, obj))->connectToHost((const TTQString&)*(TTQString*) QtSupport::toTQString(env, host, &_qstring_host), (Q_UINT16) port); return; } @@ -188,8 +188,8 @@ Java_org_kde_qt_QSocket_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSocket*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSocket*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -198,49 +198,49 @@ Java_org_kde_qt_QSocket_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_flags(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->flags(); + jint xret = (jint) ((TTQIODevice*)(TTQSocket*) 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(); + ((TTQSocket*) 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(); + jint xret = (jint) ((TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) QtSupport::getQt(env, obj))->isDirectAccess(); return xret; } @@ -253,106 +253,106 @@ Java_org_kde_qt_QSocket_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocket_isInactive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQIODevice*)(TQSocket*) QtSupport::getQt(env, obj))->isInactive(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSocket*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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(); + jint xret = (jint) ((TTQIODevice*)(TTQSocket*) QtSupport::getQt(env, obj))->mode(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newQSocket__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSocket_newTQSocket__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSocketJBridge()); + QtSupport::setQt(env, obj, new TQSocketJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newQSocket__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QSocketJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSocketJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocket_newQSocket__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSocketJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSocketJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -361,246 +361,246 @@ static TQCString* _qstring_name = 0; 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); + jboolean xret = (jboolean) ((TTQSocket*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHostAddress(((TTQSocket*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TTQHostAddress", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSocket*) 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(); + jshort xret = (jshort) ((TTQSocket*) 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(); + jshort xret = (jshort) ((TTQSocket*) 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); + jint xret = (jint) ((TTQSocket*) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQIODevice*)(TTQSocket*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQSocket*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQSocket*) 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(); + jlong xret = (jlong) ((TTQSocket*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSocket*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQSocket*) 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(); + ((TTQIODevice*)(TTQSocket*) 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(); + jboolean xret = (jboolean) ((TTQIODevice*)(TTQSocket*) QtSupport::getQt(env, obj))->reset(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setFlags(JNIEnv* env, jobject obj, jint f) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_setFlags((int) 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) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_setMode((int) 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); + ((TTQSocket*) 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)); + ((TTQSocket*) QtSupport::getQt(env, obj))->setSocketDevice((TTQSocketDevice*) 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); + ((TTQSocket*) QtSupport::getQt(env, obj))->setSocket((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_setState(JNIEnv* env, jobject obj, jint arg1) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_setState((int) 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) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_setStatus((int) 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) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_setType((int) 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(); + jlong xret = (jlong) ((TTQSocket*) QtSupport::getQt(env, obj))->size(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_sn_1read__(JNIEnv* env, jobject obj) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read(); + ((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) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_read((bool) 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) { - ((QSocketJBridge*) QtSupport::getQt(env, obj))->protected_sn_write(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSocket*) QtSupport::getQt(env, obj))->socketDevice(), "org.kde.qt.TTQSocketDevice"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QSocket_socket(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSocket*) QtSupport::getQt(env, obj))->socket(); + jint xret = (jint) ((TTQSocket*) 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(); + jint xret = (jint) ((TTQSocket*) 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(); + jint xret = (jint) ((TTQIODevice*)(TTQSocket*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSocketJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + jint xret = (jint) ((TTQSocket*) 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); + jlong xret = (jlong) ((TTQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); return xret; } @@ -608,7 +608,7 @@ 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); + jlong xret = (jlong) ((TTQSocket*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); return xret; } @@ -616,16 +616,16 @@ Java_org_kde_qt_QSocket_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint msecs, 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQSocket*) 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::toQByteArray(env, data, &_qbyteArray_data)); +static TTQByteArray* _qbyteArray_data = 0; + jlong xret = (jlong) ((TTQIODevice*)(TTQSocket*) QtSupport::getQt(env, obj))->writeBlock((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); return xret; } diff --git a/qtjava/javalib/qtjava/QSocket.h b/qtjava/javalib/qtjava/QSocket.h index d28106bb..d7cbad9f 100644 --- a/qtjava/javalib/qtjava/QSocket.h +++ b/qtjava/javalib/qtjava/QSocket.h @@ -12,9 +12,9 @@ extern "C" 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_newQSocket__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newQSocket__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocket_newQSocket__ (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); diff --git a/qtjava/javalib/qtjava/QSocketDevice.cpp b/qtjava/javalib/qtjava/QSocketDevice.cpp index 9058c31e..be8f56a1 100644 --- a/qtjava/javalib/qtjava/QSocketDevice.cpp +++ b/qtjava/javalib/qtjava/QSocketDevice.cpp @@ -5,96 +5,96 @@ #include #include -#include +#include -class QSocketDeviceJBridge : public QSocketDevice +class TQSocketDeviceJBridge : public TQSocketDevice { public: - QSocketDeviceJBridge(TQSocketDevice::Type arg1) : TQSocketDevice(arg1) {}; - QSocketDeviceJBridge() : TQSocketDevice() {}; - QSocketDeviceJBridge(TQSocketDevice::Type arg1,TQSocketDevice::Protocol arg2,int arg3) : TQSocketDevice(arg1,arg2,arg3) {}; - QSocketDeviceJBridge(int arg1,TQSocketDevice::Type arg2) : TQSocketDevice(arg1,arg2) {}; - void protected_setError(TQSocketDevice::Error arg1) { - TQSocketDevice::setError(arg1); + TQSocketDeviceJBridge(TTQSocketDevice::Type arg1) : TTQSocketDevice(arg1) {}; + TQSocketDeviceJBridge() : TTQSocketDevice() {}; + TQSocketDeviceJBridge(TTQSocketDevice::Type arg1,TTQSocketDevice::Protocol arg2,int arg3) : TTQSocketDevice(arg1,arg2,arg3) {}; + TQSocketDeviceJBridge(int arg1,TTQSocketDevice::Type arg2) : TTQSocketDevice(arg1,arg2) {}; + void protected_setError(TTQSocketDevice::Error arg1) { + TTQSocketDevice::setError(arg1); return; } - ~QSocketDeviceJBridge() {QtSupport::qtKeyDeleted(this);} + ~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(); + jint xret = (jint) ((TTQSocketDevice*) 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(); + jboolean xret = (jboolean) ((TTQSocketDevice*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHostAddress(((TTQSocketDevice*) QtSupport::getQt(env, obj))->address()), "org.kde.qt.TTQHostAddress", 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(); + jboolean xret = (jboolean) ((TTQSocketDevice*) 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(); + jlong xret = (jlong) ((TTQSocketDevice*) 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); + jboolean xret = (jboolean) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->at((TTQIODevice::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); + jboolean xret = (jboolean) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->bind((const TTQHostAddress&)*(const TTQHostAddress*) 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(); + jboolean xret = (jboolean) ((TTQSocketDevice*) 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(); + jlong xret = (jlong) ((TTQSocketDevice*) 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(); + ((TTQSocketDevice*) 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); + jboolean xret = (jboolean) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->connect((const TTQHostAddress&)*(const TTQHostAddress*) QtSupport::getQt(env, arg1), (Q_UINT16) arg2); return xret; } @@ -108,7 +108,7 @@ Java_org_kde_qt_QSocketDevice_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSocketDevice_error(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSocketDevice*) QtSupport::getQt(env, obj))->error(); + jint xret = (jint) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->error(); return xret; } @@ -116,7 +116,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSocketDevice*)QtSupport::getQt(env, obj); + delete (TTQSocketDevice*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -125,14 +125,14 @@ Java_org_kde_qt_QSocketDevice_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_flush(JNIEnv* env, jobject obj) { - ((TQSocketDevice*) QtSupport::getQt(env, obj))->flush(); + ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->getch(); return xret; } @@ -145,52 +145,52 @@ Java_org_kde_qt_QSocketDevice_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketDevice_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSocketDevice*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TTQSocketDevice*) 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); + jboolean xret = (jboolean) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->listen((int) backlog); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newQSocketDevice__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSocketDeviceJBridge()); + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newQSocketDevice__I(JNIEnv* env, jobject obj, jint type) +Java_org_kde_qt_QSocketDevice_newTQSocketDevice__I(JNIEnv* env, jobject obj, jint type) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSocketDeviceJBridge((TQSocketDevice::Type) type)); + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TTQSocketDevice::Type) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newQSocketDevice__II(JNIEnv* env, jobject obj, jint socket, jint type) +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 QSocketDeviceJBridge((int) socket, (TQSocketDevice::Type) type)); + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((int) socket, (TTQSocketDevice::Type) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketDevice_newQSocketDevice__III(JNIEnv* env, jobject obj, jint type, jint protocol, jint dummy) +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 QSocketDeviceJBridge((TQSocketDevice::Type) type, (TQSocketDevice::Protocol) protocol, (int) dummy)); + QtSupport::setQt(env, obj, new TQSocketDeviceJBridge((TTQSocketDevice::Type) type, (TTQSocketDevice::Protocol) protocol, (int) dummy)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -199,144 +199,144 @@ Java_org_kde_qt_QSocketDevice_newQSocketDevice__III(JNIEnv* env, jobject obj, ji 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); + jboolean xret = (jboolean) ((TTQSocketDevice*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQHostAddress(((TTQSocketDevice*) QtSupport::getQt(env, obj))->peerAddress()), "org.kde.qt.TTQHostAddress", 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(); + jshort xret = (jshort) ((TTQSocketDevice*) 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(); + jshort xret = (jshort) ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) 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); + jint xret = (jint) ((TTQSocketDevice*) 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(); } +static TTQCString* _qstring_data = 0; + if (_qstring_data == 0) { _qstring_data = new TTQCString(); } _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQSocketDevice*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (Q_ULONG) maxlen); - QtSupport::fromQCStringToStringBuffer(env, _qstring_data, data); + jlong xret = (jlong) ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) 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); + ((TTQSocketDevice*) 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); + ((TTQSocketDevice*) QtSupport::getQt(env, obj))->setBlocking((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_setError(JNIEnv* env, jobject obj, jint err) { - ((QSocketDeviceJBridge*) QtSupport::getQt(env, obj))->protected_setError((TQSocketDevice::Error) err); + ((TQSocketDeviceJBridge*) QtSupport::getQt(env, obj))->protected_setError((TTQSocketDevice::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); + ((TTQSocketDevice*) 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); + ((TTQSocketDevice*) 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); + ((TTQSocketDevice*) QtSupport::getQt(env, obj))->setSocket((int) socket, (TTQSocketDevice::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(); + jlong xret = (jlong) ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) 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(); + jint xret = (jint) ((TTQSocketDevice*) 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); + jint xret = (jint) ((TTQSocketDevice*) 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); + jlong xret = (jlong) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs); return xret; } @@ -344,7 +344,7 @@ 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); + jlong xret = (jlong) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->waitForMore((int) msecs, (bool*) _bool_timeout); env->SetBooleanArrayRegion(timeout, 0, 1, (jboolean*) _bool_timeout); return xret; } @@ -352,16 +352,16 @@ Java_org_kde_qt_QSocketDevice_waitForMore__I_3Z(JNIEnv* env, jobject obj, jint m 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQSocketDevice*) 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); +static TTQCString* _qstring_data = 0; + jlong xret = (jlong) ((TTQSocketDevice*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (Q_ULONG) len, (const TTQHostAddress&)*(const TTQHostAddress*) QtSupport::getQt(env, host), (Q_UINT16) port); return xret; } diff --git a/qtjava/javalib/qtjava/QSocketDevice.h b/qtjava/javalib/qtjava/QSocketDevice.h index df0d4671..2c95ddb4 100644 --- a/qtjava/javalib/qtjava/QSocketDevice.h +++ b/qtjava/javalib/qtjava/QSocketDevice.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newQSocketDevice__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newQSocketDevice__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newQSocketDevice__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketDevice_newQSocketDevice__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QSocketNotifier.cpp b/qtjava/javalib/qtjava/QSocketNotifier.cpp index 1720ce27..5702340d 100644 --- a/qtjava/javalib/qtjava/QSocketNotifier.cpp +++ b/qtjava/javalib/qtjava/QSocketNotifier.cpp @@ -3,51 +3,51 @@ #include #include -#include +#include -class QSocketNotifierJBridge : public QSocketNotifier +class TQSocketNotifierJBridge : public TQSocketNotifier { public: - QSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3,const char* arg4) : TQSocketNotifier(arg1,arg2,arg3,arg4) {}; - QSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2,TQObject* arg3) : TQSocketNotifier(arg1,arg2,arg3) {}; - QSocketNotifierJBridge(int arg1,TQSocketNotifier::Type arg2) : TQSocketNotifier(arg1,arg2) {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQSocketNotifier::event(arg1); + TQSocketNotifierJBridge(int arg1,TTQSocketNotifier::Type arg2,TTQObject* arg3,const char* arg4) : TTQSocketNotifier(arg1,arg2,arg3,arg4) {}; + TQSocketNotifierJBridge(int arg1,TTQSocketNotifier::Type arg2,TTQObject* arg3) : TTQSocketNotifier(arg1,arg2,arg3) {}; + TQSocketNotifierJBridge(int arg1,TTQSocketNotifier::Type arg2) : TTQSocketNotifier(arg1,arg2) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TTQSocketNotifier::event(arg1); } - ~QSocketNotifierJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQSocketNotifierJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSocketNotifier",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSocketNotifier",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -58,7 +58,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSocketNotifier_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSocketNotifier*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSocketNotifier*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -72,15 +72,15 @@ Java_org_kde_qt_QSocketNotifier_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QSocketNotifierJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQSocketNotifierJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSocketNotifier*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSocketNotifier*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -95,43 +95,43 @@ Java_org_kde_qt_QSocketNotifier_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSocketNotifier_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSocketNotifier*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQSocketNotifier*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSocketNotifier*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newQSocketNotifier__II(JNIEnv* env, jobject obj, jint socket, jint arg2) +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 QSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2)); + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TTQSocketNotifier::Type) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newQSocketNotifier__IILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent) +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 QSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TTQSocketNotifier::Type) arg2, (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSocketNotifier_newQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint socket, jint arg2, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSocketNotifierJBridge((int) socket, (TQSocketNotifier::Type) arg2, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSocketNotifierJBridge((int) socket, (TTQSocketNotifier::Type) arg2, (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -140,42 +140,42 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQSocketNotifier*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + ((TTQSocketNotifier*) 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(); + jint xret = (jint) ((TTQSocketNotifier*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSocketNotifierJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jint xret = (jint) ((TTQSocketNotifier*) QtSupport::getQt(env, obj))->type(); return xret; } diff --git a/qtjava/javalib/qtjava/QSocketNotifier.h b/qtjava/javalib/qtjava/QSocketNotifier.h index f3c1aa1f..88e592d2 100644 --- a/qtjava/javalib/qtjava/QSocketNotifier.h +++ b/qtjava/javalib/qtjava/QSocketNotifier.h @@ -12,9 +12,9 @@ extern "C" 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_newQSocketNotifier__IILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newQSocketNotifier__IILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSocketNotifier_newQSocketNotifier__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QSound.cpp b/qtjava/javalib/qtjava/QSound.cpp index 9b78ce45..52bad369 100644 --- a/qtjava/javalib/qtjava/QSound.cpp +++ b/qtjava/javalib/qtjava/QSound.cpp @@ -3,48 +3,48 @@ #include #include -#include +#include -class QSoundJBridge : public QSound +class TQSoundJBridge : public TQSound { public: - QSoundJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TQSound(arg1,arg2,arg3) {}; - QSoundJBridge(const TQString& arg1,TQObject* arg2) : TQSound(arg1,arg2) {}; - QSoundJBridge(const TQString& arg1) : TQSound(arg1) {}; - ~QSoundJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQSoundJBridge(const TTQString& arg1,TTQObject* arg2,const char* arg3) : TTQSound(arg1,arg2,arg3) {}; + TQSoundJBridge(const TTQString& arg1,TTQObject* arg2) : TTQSound(arg1,arg2) {}; + TQSoundJBridge(const TTQString& arg1) : TTQSound(arg1) {}; + ~TQSoundJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSound",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSound",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -56,7 +56,7 @@ Java_org_kde_qt_QSound_available(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QSoundJBridge::available(); + jboolean xret = (jboolean) TQSoundJBridge::available(); return xret; } @@ -64,7 +64,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSound*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSound*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -78,16 +78,16 @@ Java_org_kde_qt_QSound_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSound_fileName(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSound*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSound*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSound*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSound*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -98,7 +98,7 @@ Java_org_kde_qt_QSound_isAvailable(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QSoundJBridge::isAvailable(); + jboolean xret = (jboolean) TQSoundJBridge::isAvailable(); return xret; } @@ -111,60 +111,60 @@ Java_org_kde_qt_QSound_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSound_isFinished(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSound*) QtSupport::getQt(env, obj))->isFinished(); + jboolean xret = (jboolean) ((TTQSound*) 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(); + jint xret = (jint) ((TTQSound*) 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(); + jint xret = (jint) ((TTQSound*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSound*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_newQSound__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) +Java_org_kde_qt_QSound_newTQSound__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) { -static TQString* _qstring_filename = 0; +static TTQString* _qstring_filename = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSoundJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename))); + QtSupport::setQt(env, obj, new TQSoundJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_newQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring filename, jobject parent) +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; +static TTQString* _qstring_filename = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSoundJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSoundJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSound_newQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jobject parent, jstring name) +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; +static TTQString* _qstring_filename = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSoundJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSoundJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -173,7 +173,7 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QSound_play__(JNIEnv* env, jobject obj) { - ((TQSound*) QtSupport::getQt(env, obj))->play(); + ((TTQSound*) QtSupport::getQt(env, obj))->play(); return; } @@ -181,43 +181,43 @@ 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; - QSoundJBridge::play((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename)); +static TTQString* _qstring_filename = 0; + TQSoundJBridge::play((const TTQString&)*(TTQString*) 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); + ((TTQSound*) 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(); + ((TTQSound*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSoundJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index e63e249f..e9d608b1 100644 --- a/qtjava/javalib/qtjava/QSound.h +++ b/qtjava/javalib/qtjava/QSound.h @@ -12,9 +12,9 @@ extern "C" 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_newQSound__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_newQSound__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSound_newQSound__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QSpacerItem.cpp b/qtjava/javalib/qtjava/QSpacerItem.cpp index 97ab244a..3f9f9f23 100644 --- a/qtjava/javalib/qtjava/QSpacerItem.cpp +++ b/qtjava/javalib/qtjava/QSpacerItem.cpp @@ -5,35 +5,35 @@ #include #include -#include +#include -class QSpacerItemJBridge : public QSpacerItem +class TQSpacerItemJBridge : public TQSpacerItem { public: - QSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3,TQSizePolicy::SizeType arg4) : TQSpacerItem(arg1,arg2,arg3,arg4) {}; - QSpacerItemJBridge(int arg1,int arg2,TQSizePolicy::SizeType arg3) : TQSpacerItem(arg1,arg2,arg3) {}; - QSpacerItemJBridge(int arg1,int arg2) : TQSpacerItem(arg1,arg2) {}; - ~QSpacerItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQSpacerItemJBridge(int arg1,int arg2,TTQSizePolicy::SizeType arg3,TTQSizePolicy::SizeType arg4) : TTQSpacerItem(arg1,arg2,arg3,arg4) {}; + TQSpacerItemJBridge(int arg1,int arg2,TTQSizePolicy::SizeType arg3) : TTQSpacerItem(arg1,arg2,arg3) {}; + TQSpacerItemJBridge(int arg1,int arg2) : TTQSpacerItem(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); + ((TTQSpacerItem*) 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); + ((TTQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TTQSizePolicy::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); + ((TTQSpacerItem*) QtSupport::getQt(env, obj))->changeSize((int) w, (int) h, (TTQSizePolicy::SizeType) hData, (TTQSizePolicy::SizeType) vData); return; } @@ -47,15 +47,15 @@ Java_org_kde_qt_QSpacerItem_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QSpacerItem_expanding(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSpacerItem*) QtSupport::getQt(env, obj))->expanding(); + jint xret = (jint) ((TTQSpacerItem*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQSpacerItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQSpacerItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQSpacerItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQSpacerItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -64,7 +64,7 @@ Java_org_kde_qt_QSpacerItem_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSpacerItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -77,49 +77,49 @@ Java_org_kde_qt_QSpacerItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpacerItem_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSpacerItem*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQSpacerItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSpacerItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSpacerItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_newQSpacerItem__II(JNIEnv* env, jobject obj, jint w, jint h) +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 QSpacerItemJBridge((int) w, (int) h)); + 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_newQSpacerItem__III(JNIEnv* env, jobject obj, jint w, jint h, jint hData) +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 QSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData)); + QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TTQSizePolicy::SizeType) hData)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpacerItem_newQSpacerItem__IIII(JNIEnv* env, jobject obj, jint w, jint h, jint hData, jint vData) +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 QSpacerItemJBridge((int) w, (int) h, (TQSizePolicy::SizeType) hData, (TQSizePolicy::SizeType) vData)); + QtSupport::setQt(env, obj, new TQSpacerItemJBridge((int) w, (int) h, (TTQSizePolicy::SizeType) hData, (TTQSizePolicy::SizeType) vData)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -128,21 +128,21 @@ Java_org_kde_qt_QSpacerItem_newQSpacerItem__IIII(JNIEnv* env, jobject obj, jint 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)); + ((TTQSpacerItem*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSpacerItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSpacerItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.kde.qt.TTQSpacerItem"); return xret; } diff --git a/qtjava/javalib/qtjava/QSpacerItem.h b/qtjava/javalib/qtjava/QSpacerItem.h index 2be98fb4..cce9726e 100644 --- a/qtjava/javalib/qtjava/QSpacerItem.h +++ b/qtjava/javalib/qtjava/QSpacerItem.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newQSpacerItem__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newQSpacerItem__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpacerItem_newQSpacerItem__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QSpinBox.cpp b/qtjava/javalib/qtjava/QSpinBox.cpp index f5e37b5e..90eb4ae1 100644 --- a/qtjava/javalib/qtjava/QSpinBox.cpp +++ b/qtjava/javalib/qtjava/QSpinBox.cpp @@ -7,483 +7,483 @@ #include #include -#include +#include -class QSpinBoxJBridge : public QSpinBox +class TQSpinBoxJBridge : public TQSpinBox { public: - QSpinBoxJBridge(TQWidget* arg1,const char* arg2) : TQSpinBox(arg1,arg2) {}; - QSpinBoxJBridge(TQWidget* arg1) : TQSpinBox(arg1) {}; - QSpinBoxJBridge() : TQSpinBox() {}; - QSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4,const char* arg5) : TQSpinBox(arg1,arg2,arg3,arg4,arg5) {}; - QSpinBoxJBridge(int arg1,int arg2,int arg3,TQWidget* arg4) : TQSpinBox(arg1,arg2,arg3,arg4) {}; - QSpinBoxJBridge(int arg1,int arg2,int arg3) : TQSpinBox(arg1,arg2,arg3) {}; - QSpinBoxJBridge(int arg1,int arg2) : TQSpinBox(arg1,arg2) {}; + TQSpinBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQSpinBox(arg1,arg2) {}; + TQSpinBoxJBridge(TTQWidget* arg1) : TTQSpinBox(arg1) {}; + TQSpinBoxJBridge() : TTQSpinBox() {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3,TTQWidget* arg4,const char* arg5) : TTQSpinBox(arg1,arg2,arg3,arg4,arg5) {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3,TTQWidget* arg4) : TTQSpinBox(arg1,arg2,arg3,arg4) {}; + TQSpinBoxJBridge(int arg1,int arg2,int arg3) : TTQSpinBox(arg1,arg2,arg3) {}; + TQSpinBoxJBridge(int arg1,int arg2) : TTQSpinBox(arg1,arg2) {}; void public_stepUp() { - TQSpinBox::stepUp(); + TTQSpinBox::stepUp(); return; } void public_stepDown() { - TQSpinBox::stepDown(); + TTQSpinBox::stepDown(); return; } void public_selectAll() { - TQSpinBox::selectAll(); + TTQSpinBox::selectAll(); return; } - TQString protected_mapValueToText(int arg1) { - return (TQString) TQSpinBox::mapValueToText(arg1); + TTQString protected_mapValueToText(int arg1) { + return (TTQString) TTQSpinBox::mapValueToText(arg1); } int protected_mapTextToValue(bool* arg1) { - return (int) TQSpinBox::mapTextToValue(arg1); + return (int) TTQSpinBox::mapTextToValue(arg1); } - TQString protected_currentValueText() { - return (TQString) TQSpinBox::currentValueText(); + TTQString protected_currentValueText() { + return (TTQString) TTQSpinBox::currentValueText(); } void protected_updateDisplay() { - TQSpinBox::updateDisplay(); + TTQSpinBox::updateDisplay(); return; } void protected_interpretText() { - TQSpinBox::interpretText(); + TTQSpinBox::interpretText(); return; } - TQLineEdit* protected_editor() { - return (TQLineEdit*) TQSpinBox::editor(); + TTQLineEdit* protected_editor() { + return (TTQLineEdit*) TTQSpinBox::editor(); } void protected_valueChange() { - TQSpinBox::valueChange(); + TTQSpinBox::valueChange(); return; } void protected_rangeChange() { - TQSpinBox::rangeChange(); + TTQSpinBox::rangeChange(); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQSpinBox::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQSpinBox::eventFilter(arg1,arg2); } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSpinBox::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQSpinBox::resizeEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSpinBox::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQSpinBox::wheelEvent(arg1); return; } - void protected_leaveEvent(TQEvent* arg1) { - TQSpinBox::leaveEvent(arg1); + void protected_leaveEvent(TTQEvent* arg1) { + TTQSpinBox::leaveEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQSpinBox::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQSpinBox::styleChange(arg1); return; } void protected_textChanged() { - TQSpinBox::textChanged(); + TTQSpinBox::textChanged(); return; } - ~QSpinBoxJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSpinBoxJBridge() {QtSupport::qtKeyDeleted(this);} int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); + return (int) TTQRangeControl::positionFromValue(arg1,arg2); } int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); + return (int) TTQRangeControl::valueFromPosition(arg1,arg2); } void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); + TTQRangeControl::directSetValue(arg1); return; } int protected_prevValue() { - return (int) TQRangeControl::prevValue(); + return (int) TTQRangeControl::prevValue(); } void protected_stepChange() { - TQRangeControl::stepChange(); + TTQRangeControl::stepChange(); return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQSpinBox::setValidator(arg1); + void setValidator(const TTQValidator* arg1) { + if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TTQValidator")) { + TTQSpinBox::setValidator(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSpinBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQSpinBox::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","selectAll")) { - TQSpinBox::selectAll(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","selectAll")) { + TTQSpinBox::selectAll(); } return; } void interpretText() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","interpretText")) { - TQSpinBox::interpretText(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","interpretText")) { + TTQSpinBox::interpretText(); } return; } void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","stepChange")) { - TQRangeControl::stepChange(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","stepChange")) { + TTQRangeControl::stepChange(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","valueChange")) { - TQSpinBox::valueChange(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","valueChange")) { + TTQSpinBox::valueChange(); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } void updateDisplay() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","updateDisplay")) { - TQSpinBox::updateDisplay(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","updateDisplay")) { + TTQSpinBox::updateDisplay(); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void stepDown() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","stepDown")) { - TQSpinBox::stepDown(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","stepDown")) { + TTQSpinBox::stepDown(); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQSpinBox::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQSpinBox::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","rangeChange")) { - TQSpinBox::rangeChange(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","rangeChange")) { + TTQSpinBox::rangeChange(); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSpinBox::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQSpinBox::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void stepUp() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","stepUp")) { - TQSpinBox::stepUp(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","stepUp")) { + TTQSpinBox::stepUp(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -492,28 +492,28 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_addLine(JNIEnv* env, jobject obj) { - ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->addLine(); + ((TTQRangeControl*)(TTQSpinBox*) 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(); + ((TTQRangeControl*)(TTQSpinBox*) 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); + jint xret = (jint) ((TTQRangeControl*)(TTQSpinBox*) 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(); + jint xret = (jint) ((TTQSpinBox*) QtSupport::getQt(env, obj))->buttonSymbols(); return xret; } @@ -521,30 +521,30 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSpinBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSpinBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSpinBox*) 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 = ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_currentValueText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); return; } @@ -558,29 +558,29 @@ Java_org_kde_qt_QSpinBox_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSpinBox*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSpinBox_editor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_editor(), "org.kde.qt.TQLineEdit"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_editor(), "org.kde.qt.TTQLineEdit"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) { - jboolean xret = (jboolean) ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); + jboolean xret = (jboolean) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSpinBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSpinBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -589,7 +589,7 @@ Java_org_kde_qt_QSpinBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_interpretText(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_interpretText(); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_interpretText(); return; } @@ -602,14 +602,14 @@ Java_org_kde_qt_QSpinBox_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TTQEvent*) 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(); + jint xret = (jint) ((TTQSpinBox*) QtSupport::getQt(env, obj))->lineStep(); return xret; } @@ -617,7 +617,7 @@ 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) ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_ok); + jint xret = (jint) ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -625,106 +625,106 @@ Java_org_kde_qt_QSpinBox_mapTextToValue(JNIEnv* env, jobject obj, jbooleanArray JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinBox_mapValueToText(JNIEnv* env, jobject obj, jint value) { - TQString _qstring; - _qstring = ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapValueToText((int) value); - return QtSupport::fromQString(env, &_qstring); + TTQString _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(); + jint xret = (jint) ((TTQSpinBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSpinBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_minValue(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSpinBox*) QtSupport::getQt(env, obj))->minValue(); + jint xret = (jint) ((TTQSpinBox*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSpinBox*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newQSpinBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSpinBox_newTQSpinBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSpinBoxJBridge()); + QtSupport::setQt(env, obj, new TQSpinBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newQSpinBox__II(JNIEnv* env, jobject obj, jint minValue, jint maxValue) +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 QSpinBoxJBridge((int) minValue, (int) maxValue)); + 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_newQSpinBox__III(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step) +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 QSpinBoxJBridge((int) minValue, (int) maxValue, (int) step)); + 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_newQSpinBox__IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent) +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 QSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newQSpinBox__IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint minValue, jint maxValue, jint step, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((int) minValue, (int) maxValue, (int) step, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newQSpinBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinBox_newQSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSpinBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -733,301 +733,301 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QSpinBox_pageStep(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQRangeControl*)(TQSpinBox*) QtSupport::getQt(env, obj))->pageStep(); + jint xret = (jint) ((TTQRangeControl*)(TTQSpinBox*) 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) ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSpinBox*) 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) ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); + 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) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_resizeEvent(JNIEnv* env, jobject obj, jobject ev) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, ev)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_selectAll(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + ((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); + ((TTQSpinBox*) QtSupport::getQt(env, obj))->setButtonSymbols((TTQSpinBox::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); + ((TTQSpinBox*) 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); + ((TTQSpinBox*) 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); + ((TTQSpinBox*) 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); + ((TTQSpinBox*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQSpinBox*) QtSupport::getQt(env, obj))->setPrefix((const TTQString&)*(TTQString*) 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); + ((TTQRangeControl*)(TTQSpinBox*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQSpinBox*) QtSupport::getQt(env, obj))->setSpecialValueText((const TTQString&)*(TTQString*) 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); + ((TTQRangeControl*)(TTQSpinBox*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQSpinBox*) QtSupport::getQt(env, obj))->setSuffix((const TTQString&)*(TTQString*) 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)); + ((TTQSpinBox*) QtSupport::getQt(env, obj))->setValidator((const TTQValidator*) 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); + ((TTQSpinBox*) 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); + ((TTQSpinBox*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSpinBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSpinBox*) QtSupport::getQt(env, obj))->specialValueText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepChange(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepDown(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepDown(); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_stepUp(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepUp(); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->public_stepUp(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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(); + ((TTQRangeControl*)(TTQSpinBox*) 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(); + ((TTQRangeControl*)(TTQSpinBox*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSpinBox*) QtSupport::getQt(env, obj))->suffix(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_textChanged(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_textChanged(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSpinBox*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSpinBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSpinBox*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_updateDisplay(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_updateDisplay(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSpinBox*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.TTQValidator"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_valueChange(JNIEnv* env, jobject obj) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); + ((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) ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) 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(); + jint xret = (jint) ((TTQSpinBox*) QtSupport::getQt(env, obj))->value(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) 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(); + jboolean xret = (jboolean) ((TTQSpinBox*) QtSupport::getQt(env, obj))->wrapping(); return xret; } diff --git a/qtjava/javalib/qtjava/QSpinBox.h b/qtjava/javalib/qtjava/QSpinBox.h index 14f643ae..d5e25ccd 100644 --- a/qtjava/javalib/qtjava/QSpinBox.h +++ b/qtjava/javalib/qtjava/QSpinBox.h @@ -12,13 +12,13 @@ extern "C" 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_newQSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newQSpinBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newQSpinBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newQSpinBox__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_newQSpinBox__IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newQSpinBox__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinBox_newQSpinBox__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QSpinWidget.cpp b/qtjava/javalib/qtjava/QSpinWidget.cpp index 4d4c9012..50315fda 100644 --- a/qtjava/javalib/qtjava/QSpinWidget.cpp +++ b/qtjava/javalib/qtjava/QSpinWidget.cpp @@ -5,388 +5,388 @@ #include #include -#include +#include -class QSpinWidgetJBridge : public QSpinWidget +class TQSpinWidgetJBridge : public TQSpinWidget { public: - QSpinWidgetJBridge(TQWidget* arg1,const char* arg2) : TQSpinWidget(arg1,arg2) {}; - QSpinWidgetJBridge(TQWidget* arg1) : TQSpinWidget(arg1) {}; - QSpinWidgetJBridge() : TQSpinWidget() {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSpinWidget::mousePressEvent(arg1); + TQSpinWidgetJBridge(TTQWidget* arg1,const char* arg2) : TTQSpinWidget(arg1,arg2) {}; + TQSpinWidgetJBridge(TTQWidget* arg1) : TTQSpinWidget(arg1) {}; + TQSpinWidgetJBridge() : TTQSpinWidget() {}; + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQSpinWidget::mousePressEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSpinWidget::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQSpinWidget::resizeEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQSpinWidget::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQSpinWidget::mouseReleaseEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQSpinWidget::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQSpinWidget::mouseMoveEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQSpinWidget::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQSpinWidget::wheelEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQSpinWidget::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQSpinWidget::styleChange(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQSpinWidget::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQSpinWidget::paintEvent(arg1); return; } void protected_enableChanged(bool arg1) { - TQSpinWidget::enableChanged(arg1); + TTQSpinWidget::enableChanged(arg1); return; } void protected_windowActivationChange(bool arg1) { - TQSpinWidget::windowActivationChange(arg1); + TTQSpinWidget::windowActivationChange(arg1); return; } - ~QSpinWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQSpinWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSpinWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQSpinWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQSpinWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQSpinWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSpinWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSpinWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSpinWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSpinWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSpinWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSpinWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSpinWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQSpinWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSpinWidget",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSpinWidget",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSpinWidget","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSpinWidget","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -395,14 +395,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_arrange(JNIEnv* env, jobject obj) { - ((TQSpinWidget*) QtSupport::getQt(env, obj))->arrange(); + ((TTQSpinWidget*) 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(); + jint xret = (jint) ((TTQSpinWidget*) QtSupport::getQt(env, obj))->buttonSymbols(); return xret; } @@ -410,7 +410,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSpinWidget_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSpinWidget*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSpinWidget*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -424,29 +424,29 @@ Java_org_kde_qt_QSpinWidget_dispose(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSpinWidget*) QtSupport::getQt(env, obj))->downRect()), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSpinWidget*) QtSupport::getQt(env, obj))->editWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_enableChanged(JNIEnv* env, jobject obj, jboolean old) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enableChanged((bool) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSpinWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSpinWidget*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -461,71 +461,71 @@ Java_org_kde_qt_QSpinWidget_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSpinWidget_isDownEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSpinWidget*) QtSupport::getQt(env, obj))->isDownEnabled(); + jboolean xret = (jboolean) ((TTQSpinWidget*) 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(); + jboolean xret = (jboolean) ((TTQSpinWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSpinWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newQSpinWidget__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSpinWidget_newTQSpinWidget__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSpinWidgetJBridge()); + QtSupport::setQt(env, obj, new TQSpinWidgetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newQSpinWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSpinWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSpinWidget_newQSpinWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSpinWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSpinWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -534,105 +534,105 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_resizeEvent(JNIEnv* env, jobject obj, jobject ev) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, ev)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQSpinWidget*) QtSupport::getQt(env, obj))->setButtonSymbols((TTQSpinWidget::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); + ((TTQSpinWidget*) 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)); + ((TTQSpinWidget*) QtSupport::getQt(env, obj))->setEditWidget((TTQWidget*) 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); + ((TTQSpinWidget*) 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(); + ((TTQSpinWidget*) 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(); + ((TTQSpinWidget*) QtSupport::getQt(env, obj))->stepUp(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSpinWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQSpinWidget*) QtSupport::getQt(env, obj))->upRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QSpinWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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 index 96bc4fc5..2f84c994 100644 --- a/qtjava/javalib/qtjava/QSpinWidget.h +++ b/qtjava/javalib/qtjava/QSpinWidget.h @@ -12,9 +12,9 @@ extern "C" 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_newQSpinWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newQSpinWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSpinWidget_newQSpinWidget__ (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); diff --git a/qtjava/javalib/qtjava/QSplashScreen.cpp b/qtjava/javalib/qtjava/QSplashScreen.cpp index 707b646b..d77a629d 100644 --- a/qtjava/javalib/qtjava/QSplashScreen.cpp +++ b/qtjava/javalib/qtjava/QSplashScreen.cpp @@ -6,366 +6,366 @@ #include #include -#include +#include -class QSplashScreenJBridge : public QSplashScreen +class TQSplashScreenJBridge : public TQSplashScreen { public: - QSplashScreenJBridge(const TQPixmap& arg1,Qt::WFlags arg2) : TQSplashScreen(arg1,arg2) {}; - QSplashScreenJBridge(const TQPixmap& arg1) : TQSplashScreen(arg1) {}; - QSplashScreenJBridge() : TQSplashScreen() {}; - void protected_drawContents(TQPainter* arg1) { - TQSplashScreen::drawContents(arg1); + TQSplashScreenJBridge(const TTQPixmap& arg1,TQt::WFlags arg2) : TTQSplashScreen(arg1,arg2) {}; + TQSplashScreenJBridge(const TTQPixmap& arg1) : TTQSplashScreen(arg1) {}; + TQSplashScreenJBridge() : TTQSplashScreen() {}; + void protected_drawContents(TTQPainter* arg1) { + TTQSplashScreen::drawContents(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQSplashScreen::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQSplashScreen::mousePressEvent(arg1); return; } - ~QSplashScreenJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQSplashScreenJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQSplashScreen::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQSplashScreen::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSplashScreen",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSplashScreen",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplashScreen","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplashScreen","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -375,14 +375,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplashScreen_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSplashScreen*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSplashScreen*) 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(); + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->clear(); return; } @@ -396,15 +396,15 @@ Java_org_kde_qt_QSplashScreen_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_drawContents(JNIEnv* env, jobject obj, jobject painter) { - ((QSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); + ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSplashScreen*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSplashScreen*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -413,7 +413,7 @@ Java_org_kde_qt_QSplashScreen_finalize(JNIEnv* env, jobject obj) 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)); + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->finish((TTQWidget*) QtSupport::getQt(env, w)); return; } @@ -426,66 +426,66 @@ Java_org_kde_qt_QSplashScreen_isDisposed(JNIEnv* env, jobject obj) 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::toQString(env, str, &_qstring_str)); +static TTQString* _qstring_str = 0; + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) flags); +static TTQString* _qstring_str = 0; + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) flags, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); +static TTQString* _qstring_str = 0; + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) flags, (const TTQColor&)*(const TTQColor*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSplashScreen*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQSplashScreenJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newQSplashScreen__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSplashScreen_newTQSplashScreen__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSplashScreenJBridge()); + QtSupport::setQt(env, obj, new TQSplashScreenJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newQSplashScreen__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) +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 QSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); + QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplashScreen_newQSplashScreen__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint f) +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 QSplashScreenJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQSplashScreenJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -494,42 +494,42 @@ Java_org_kde_qt_QSplashScreen_newQSplashScreen__Lorg_kde_qt_QPixmap_2I(JNIEnv* e 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSplashScreen*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_repaint(JNIEnv* env, jobject obj) { - ((TQSplashScreen*) QtSupport::getQt(env, obj))->repaint(); + ((TTQSplashScreen*) 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)); + ((TTQSplashScreen*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSplashScreenJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 0255568b..9ac015e7 100644 --- a/qtjava/javalib/qtjava/QSplashScreen.h +++ b/qtjava/javalib/qtjava/QSplashScreen.h @@ -12,9 +12,9 @@ extern "C" 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_newQSplashScreen__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newQSplashScreen__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplashScreen_newQSplashScreen__ (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); diff --git a/qtjava/javalib/qtjava/QSplitter.cpp b/qtjava/javalib/qtjava/QSplitter.cpp index dbbb805f..1c711db7 100644 --- a/qtjava/javalib/qtjava/QSplitter.cpp +++ b/qtjava/javalib/qtjava/QSplitter.cpp @@ -7,420 +7,420 @@ #include #include -#include +#include -class QSplitterJBridge : public QSplitter +class TQSplitterJBridge : public TQSplitter { public: - QSplitterJBridge(TQWidget* arg1,const char* arg2) : TQSplitter(arg1,arg2) {}; - QSplitterJBridge(TQWidget* arg1) : TQSplitter(arg1) {}; - QSplitterJBridge() : TQSplitter() {}; - QSplitterJBridge(Qt::Orientation arg1,TQWidget* arg2,const char* arg3) : TQSplitter(arg1,arg2,arg3) {}; - QSplitterJBridge(Qt::Orientation arg1,TQWidget* arg2) : TQSplitter(arg1,arg2) {}; - QSplitterJBridge(Qt::Orientation arg1) : TQSplitter(arg1) {}; + TQSplitterJBridge(TTQWidget* arg1,const char* arg2) : TTQSplitter(arg1,arg2) {}; + TQSplitterJBridge(TTQWidget* arg1) : TTQSplitter(arg1) {}; + TQSplitterJBridge() : TTQSplitter() {}; + TQSplitterJBridge(TQt::Orientation arg1,TTQWidget* arg2,const char* arg3) : TTQSplitter(arg1,arg2,arg3) {}; + TQSplitterJBridge(TQt::Orientation arg1,TTQWidget* arg2) : TTQSplitter(arg1,arg2) {}; + TQSplitterJBridge(TQt::Orientation arg1) : TTQSplitter(arg1) {}; void public_setOpaqueResize() { - TQSplitter::setOpaqueResize(); + TTQSplitter::setOpaqueResize(); return; } - void protected_childEvent(TQChildEvent* arg1) { - TQSplitter::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQSplitter::childEvent(arg1); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQSplitter::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQSplitter::event(arg1); } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQSplitter::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQSplitter::resizeEvent(arg1); return; } - int protected_idAfter(TQWidget* arg1) { - return (int) TQSplitter::idAfter(arg1); + int protected_idAfter(TTQWidget* arg1) { + return (int) TTQSplitter::idAfter(arg1); } - void protected_moveSplitter(QCOORD arg1,int arg2) { - TQSplitter::moveSplitter(arg1,arg2); + void protected_moveSplitter(TQCOORD arg1,int arg2) { + TTQSplitter::moveSplitter(arg1,arg2); return; } - void protected_drawSplitter(TQPainter* arg1,QCOORD arg2,QCOORD arg3,QCOORD arg4,QCOORD arg5) { - TQSplitter::drawSplitter(arg1,arg2,arg3,arg4,arg5); + void protected_drawSplitter(TTQPainter* arg1,TQCOORD arg2,TQCOORD arg3,TQCOORD arg4,TQCOORD arg5) { + TTQSplitter::drawSplitter(arg1,arg2,arg3,arg4,arg5); return; } - void protected_styleChange(TQStyle& arg1) { - TQSplitter::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQSplitter::styleChange(arg1); return; } int protected_adjustPos(int arg1,int arg2) { - return (int) TQSplitter::adjustPos(arg1,arg2); + return (int) TTQSplitter::adjustPos(arg1,arg2); } void protected_setRubberband(int arg1) { - TQSplitter::setRubberband(arg1); + TTQSplitter::setRubberband(arg1); return; } void protected_getRange(int arg1,int* arg2,int* arg3) { - TQSplitter::getRange(arg1,arg2,arg3); + TTQSplitter::getRange(arg1,arg2,arg3); return; } - ~QSplitterJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQSplitterJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSplitter::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQSplitter::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQSplitter::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQSplitter::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSplitter",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSplitter",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSplitter","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSplitter","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -429,21 +429,21 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_adjustPos(JNIEnv* env, jobject obj, jint arg1, jint arg2) { - jint xret = (jint) ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_adjustPos((int) arg1, (int) 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) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) 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(); + jboolean xret = (jboolean) ((TTQSplitter*) QtSupport::getQt(env, obj))->childrenCollapsible(); return xret; } @@ -451,7 +451,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSplitter_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSplitter*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSplitter*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -465,22 +465,22 @@ Java_org_kde_qt_QSplitter_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_drawSplitter(JNIEnv* env, jobject obj, jobject arg1, jint x, jint y, jint w, jint h) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_drawSplitter((TQPainter*) QtSupport::getQt(env, arg1), (QCOORD) x, (QCOORD) y, (QCOORD) w, (QCOORD) h); + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_drawSplitter((TTQPainter*) 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) ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQSplitter*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQSplitter*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -491,7 +491,7 @@ Java_org_kde_qt_QSplitter_getRange(JNIEnv* env, jobject obj, jint id, jintArray { int* _int_arg2 = QtSupport::toIntPtr(env, arg2); int* _int_arg3 = QtSupport::toIntPtr(env, arg3); - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_getRange((int) id, (int*) _int_arg2, (int*) _int_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; @@ -500,14 +500,14 @@ Java_org_kde_qt_QSplitter_getRange(JNIEnv* env, jobject obj, jint id, jintArray JNIEXPORT jint JNICALL Java_org_kde_qt_QSplitter_handleWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSplitter*) QtSupport::getQt(env, obj))->handleWidth(); + jint xret = (jint) ((TTQSplitter*) 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) ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_idAfter((TQWidget*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_idAfter((TTQWidget*) QtSupport::getQt(env, arg1)); return xret; } @@ -520,95 +520,95 @@ Java_org_kde_qt_QSplitter_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSplitter*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSplitter*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_moveSplitter(JNIEnv* env, jobject obj, jint pos, jint id) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_moveSplitter((QCOORD) pos, (int) 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)); + ((TTQSplitter*) QtSupport::getQt(env, obj))->moveToFirst((TTQWidget*) 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)); + ((TTQSplitter*) QtSupport::getQt(env, obj))->moveToLast((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newQSplitter__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSplitter_newTQSplitter__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSplitterJBridge()); + QtSupport::setQt(env, obj, new TQSplitterJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newQSplitter__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QSplitter_newTQSplitter__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSplitterJBridge((Qt::Orientation) arg1)); + 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_newQSplitter__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint arg1, jobject parent) +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 QSplitterJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSplitterJBridge((Qt::Orientation) arg1, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSplitterJBridge((TQt::Orientation) arg1, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newQSplitter__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QSplitterJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSplitterJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSplitter_newQSplitter__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSplitterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSplitterJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -617,135 +617,135 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSplitter_opaqueResize(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSplitter*) QtSupport::getQt(env, obj))->opaqueResize(); + jboolean xret = (jboolean) ((TTQSplitter*) 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(); + jint xret = (jint) ((TTQSplitter*) 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(); + ((TTQSplitter*) QtSupport::getQt(env, obj))->refresh(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQSplitter*) 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); + ((TTQSplitter*) QtSupport::getQt(env, obj))->setCollapsible((TTQWidget*) 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); + ((TTQSplitter*) QtSupport::getQt(env, obj))->setHandleWidth((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setOpaqueResize__(JNIEnv* env, jobject obj) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->public_setOpaqueResize(); + ((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); + ((TTQSplitter*) 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((Qt::Orientation) arg1); + ((TTQSplitter*) 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); + ((TTQSplitter*) QtSupport::getQt(env, obj))->setResizeMode((TTQWidget*) QtSupport::getQt(env, w), (TTQSplitter::ResizeMode) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_setRubberband(JNIEnv* env, jobject obj, jint arg1) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_setRubberband((int) 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::toQIntValueList(env, arg1, &_qlist_arg1)); +static TTQValueList* _qlist_arg1 = 0; + ((TTQSplitter*) QtSupport::getQt(env, obj))->setSizes((TTQValueList) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQSplitter*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQIntValueList(env, &_qintArray); + TTQValueList _qintArray; + _qintArray = ((TTQSplitter*) 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) { - ((QSplitterJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQSplitterJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSplitterJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index a1795fc2..cf31a7c7 100644 --- a/qtjava/javalib/qtjava/QSplitter.h +++ b/qtjava/javalib/qtjava/QSplitter.h @@ -12,12 +12,12 @@ extern "C" 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_newQSplitter__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newQSplitter__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newQSplitter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newQSplitter__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newQSplitter__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSplitter_newQSplitter__I (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QSql.cpp b/qtjava/javalib/qtjava/QSql.cpp index 8748058b..4986bb77 100644 --- a/qtjava/javalib/qtjava/QSql.cpp +++ b/qtjava/javalib/qtjava/QSql.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QSqlJBridge : public QSql +class TQSqlJBridge : public TQSql { public: - QSqlJBridge() : TQSql() {}; - ~QSqlJBridge() {QtSupport::qtKeyDeleted(this);} + TQSqlJBridge() : TTQSql() {}; + ~TQSqlJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSql_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSql*)QtSupport::getQt(env, obj); + delete (TTQSql*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QSql_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSql_newQSql(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSql_newTQSql(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlJBridge()); + 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 index 4d09f0ed..c03c0fd6 100644 --- a/qtjava/javalib/qtjava/QSql.h +++ b/qtjava/javalib/qtjava/QSql.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSql_newQSql (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlCursor.cpp b/qtjava/javalib/qtjava/QSqlCursor.cpp index 8b4aff56..4ff81e54 100644 --- a/qtjava/javalib/qtjava/QSqlCursor.cpp +++ b/qtjava/javalib/qtjava/QSqlCursor.cpp @@ -10,50 +10,50 @@ #include #include -#include +#include -class QSqlCursorJBridge : public QSqlCursor +class TQSqlCursorJBridge : public TQSqlCursor { public: - QSqlCursorJBridge(const TQString& arg1,bool arg2,TQSqlDatabase* arg3) : TQSqlCursor(arg1,arg2,arg3) {}; - QSqlCursorJBridge(const TQString& arg1,bool arg2) : TQSqlCursor(arg1,arg2) {}; - QSqlCursorJBridge(const TQString& arg1) : TQSqlCursor(arg1) {}; - QSqlCursorJBridge() : TQSqlCursor() {}; - QSqlCursorJBridge(const TQSqlCursor& arg1) : TQSqlCursor(arg1) {}; + TQSqlCursorJBridge(const TTQString& arg1,bool arg2,TTQSqlDatabase* arg3) : TTQSqlCursor(arg1,arg2,arg3) {}; + TQSqlCursorJBridge(const TTQString& arg1,bool arg2) : TTQSqlCursor(arg1,arg2) {}; + TQSqlCursorJBridge(const TTQString& arg1) : TTQSqlCursor(arg1) {}; + TQSqlCursorJBridge() : TTQSqlCursor() {}; + TQSqlCursorJBridge(const TTQSqlCursor& arg1) : TTQSqlCursor(arg1) {}; void protected_afterSeek() { - TQSqlCursor::afterSeek(); + TTQSqlCursor::afterSeek(); return; } - bool protected_exec(const TQString& arg1) { - return (bool) TQSqlCursor::exec(arg1); + bool protected_exec(const TTQString& arg1) { + return (bool) TTQSqlCursor::exec(arg1); } - TQVariant protected_calculateField(const TQString& arg1) { - return (TQVariant) TQSqlCursor::calculateField(arg1); + TTQVariant protected_calculateField(const TTQString& arg1) { + return (TTQVariant) TTQSqlCursor::calculateField(arg1); } - int protected_update(const TQString& arg1,bool arg2) { - return (int) TQSqlCursor::update(arg1,arg2); + int protected_update(const TTQString& arg1,bool arg2) { + return (int) TTQSqlCursor::update(arg1,arg2); } - int protected_update(const TQString& arg1) { - return (int) TQSqlCursor::update(arg1); + int protected_update(const TTQString& arg1) { + return (int) TTQSqlCursor::update(arg1); } - int protected_del(const TQString& arg1,bool arg2) { - return (int) TQSqlCursor::del(arg1,arg2); + int protected_del(const TTQString& arg1,bool arg2) { + return (int) TTQSqlCursor::del(arg1,arg2); } - int protected_del(const TQString& arg1) { - return (int) TQSqlCursor::del(arg1); + int protected_del(const TTQString& arg1) { + return (int) TTQSqlCursor::del(arg1); } - TQString protected_toString(const TQString& arg1,TQSqlField* arg2,const TQString& arg3) { - return (TQString) TQSqlCursor::toString(arg1,arg2,arg3); + TTQString protected_toString(const TTQString& arg1,TTQSqlField* arg2,const TTQString& arg3) { + return (TTQString) TTQSqlCursor::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); + TTQString protected_toString(TTQSqlRecord* arg1,const TTQString& arg2,const TTQString& arg3,const TTQString& arg4) { + return (TTQString) TTQSqlCursor::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); + TTQString protected_toString(const TTQSqlIndex& arg1,TTQSqlRecord* arg2,const TTQString& arg3,const TTQString& arg4,const TTQString& arg5) { + return (TTQString) TTQSqlCursor::toString(arg1,arg2,arg3,arg4,arg5); } - ~QSqlCursorJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSqlCursorJBridge() {QtSupport::qtKeyDeleted(this);} void protected_beforeSeek() { - TQSqlQuery::beforeSeek(); + TTQSqlQuery::beforeSeek(); return; } }; @@ -61,153 +61,153 @@ public: 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)); + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TTQVariant&)*(const TTQVariant*) 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); + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->addBindValue((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::ParameterType) type); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_afterSeek(JNIEnv* env, jobject obj) { - ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); + ((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)); + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->append((const TTQSqlFieldInfo&)*(const TTQSqlFieldInfo*) 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(); + jint xret = (jint) ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->at(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_beforeSeek(JNIEnv* env, jobject obj) { - ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); + ((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)); + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TTQVariant&)*(const TTQVariant*) 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); + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::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::toQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); +static TTQString* _qstring_placeholder = 0; + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TTQVariant&)*(const TTQVariant*) 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::toQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); +static TTQString* _qstring_placeholder = 0; + ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->bindValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TTQVariant", 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::toQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); +static TTQString* _qstring_placeholder = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->boundValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TTQVariant", 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(((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_calculateField((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_calculateField((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQVariant", 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(); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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(); + ((TTQSqlCursor*) 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(); + jint xret = (jint) ((TTQSqlCursor*) 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) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TTQString&)*(TTQString*) 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) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (bool) invalidate); +static TTQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_del((const TTQString&)*(TTQString*) 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); + jint xret = (jint) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->del((bool) invalidate); return xret; } @@ -221,60 +221,60 @@ Java_org_kde_qt_QSqlCursor_dispose(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TTQSqlDriver"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer(), "org.kde.qt.TTQSqlRecord"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlCursor*) QtSupport::getQt(env, obj))->editBuffer((bool) copy), "org.kde.qt.TTQSqlRecord"); 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_exec((const TQString&)*(TQString*) QtSupport::toQString(env, sql, &_qstring_sql)); +static TTQString* _qstring_sql = 0; + jboolean xret = (jboolean) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_exec((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlQuery*)(TTQSqlCursor*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlCursor*) 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); + delete (TTQSqlCursor*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -283,59 +283,59 @@ Java_org_kde_qt_QSqlCursor_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_first(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->first(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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::toQString(env, fieldName, &_qstring_fieldName))), "org.kde.qt.TQSqlIndex", TRUE); +static TTQString* _qstring_fieldName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlCursor*) QtSupport::getQt(env, obj))->index((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))), "org.kde.qt.TTQSqlIndex", 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::toQStringList(env, fieldNames, &_qlist_fieldNames))), "org.kde.qt.TQSqlIndex", TRUE); +static TTQStringList* _qlist_fieldNames = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlCursor*) QtSupport::getQt(env, obj))->index((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, fieldNames, &_qlist_fieldNames))), "org.kde.qt.TTQSqlIndex", 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(); + jint xret = (jint) ((TTQSqlCursor*) 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)); + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->insert((int) pos, (const TTQSqlFieldInfo&)*(const TTQSqlFieldInfo*) 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); + jint xret = (jint) ((TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->isCalculated((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return xret; } @@ -348,139 +348,139 @@ Java_org_kde_qt_QSqlCursor_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_isForwardOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->isForwardOnly(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->isNull((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->isTrimmed((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlError(((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TTQSqlError", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlQuery*)(TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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(); + jint xret = (jint) ((TTQSqlCursor*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlCursor*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newQSqlCursor__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlCursorJBridge()); + QtSupport::setQt(env, obj, new TQSqlCursorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) +Java_org_kde_qt_QSqlCursor_newTQSqlCursor__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool) autopopulate)); + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TTQString&)*(TTQString*) 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_newQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring name, jboolean autopopulate, jobject db) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlCursorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool) autopopulate, (TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) autopopulate, (TTQSqlDatabase*) QtSupport::getQt(env, db))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlCursor_newQSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlCursorJBridge((const TQSqlCursor&)*(const TQSqlCursor*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlCursorJBridge((const TTQSqlCursor&)*(const TTQSqlCursor*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -489,345 +489,345 @@ Java_org_kde_qt_QSqlCursor_newQSqlCursor__Lorg_kde_qt_QSqlCursor_2(JNIEnv* env, JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlCursor_next(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*)(TQSqlCursor*) QtSupport::getQt(env, obj))->next(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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(); + jint xret = (jint) ((TTQSqlQuery*)(TTQSqlCursor*) 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::toQString(env, query, &_qstring_query)); +static TTQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->prepare((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex()), "org.kde.qt.TTQSqlIndex", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlCursor*) QtSupport::getQt(env, obj))->primaryIndex((bool) prime)), "org.kde.qt.TTQSqlIndex", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlCursor*) QtSupport::getQt(env, obj))->primeDelete(), "org.kde.qt.TTQSqlRecord"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlCursor*) QtSupport::getQt(env, obj))->primeInsert(), "org.kde.qt.TTQSqlRecord"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlCursor*) QtSupport::getQt(env, obj))->primeUpdate(), "org.kde.qt.TTQSqlRecord"); 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); + ((TTQSqlCursor*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlQuery*)(TTQSqlCursor*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TTQSqlResult"); 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); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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); + jboolean xret = (jboolean) ((TTQSqlQuery*)(TTQSqlCursor*) 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(); + jboolean xret = (jboolean) ((TTQSqlCursor*) 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::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->select((const TTQString&)*(TTQString*) 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::toQString(env, filter, &_qstring_filter), (const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, sort)); +static TTQString* _qstring_filter = 0; + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->select((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (const TTQSqlIndex&)*(const TTQSqlIndex*) 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)); + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->select((const TTQSqlIndex&)*(const TTQSqlIndex*) 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)); + jboolean xret = (jboolean) ((TTQSqlCursor*) QtSupport::getQt(env, obj))->select((const TTQSqlIndex&)*(const TTQSqlIndex*) QtSupport::getQt(env, filter), (const TTQSqlIndex&)*(const TTQSqlIndex*) 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::toQString(env, name, &_qstring_name), (bool) calculated); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setCalculated((const TTQString&)*(TTQString*) 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::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setFilter((const TTQString&)*(TTQString*) 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); + ((TTQSqlQuery*)(TTQSqlCursor*) 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); + ((TTQSqlCursor*) 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::toQString(env, name, &_qstring_name), (bool) generated); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setGenerated((const TTQString&)*(TTQString*) 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); + ((TTQSqlCursor*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (bool) autopopulate); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) 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)); + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setPrimaryIndex((const TTQSqlIndex&)*(const TTQSqlIndex*) 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)); + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setSort((const TTQSqlIndex&)*(const TTQSqlIndex*) 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::toQString(env, name, &_qstring_name), (bool) trim); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setTrimmed((const TTQString&)*(TTQString*) 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)); + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setValue((int) i, (const TTQVariant&)*(const TTQVariant*) 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::toQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); +static TTQString* _qstring_name = 0; + ((TTQSqlCursor*) QtSupport::getQt(env, obj))->setValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQVariant&)*(const TTQVariant*) 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(); + jint xret = (jint) ((TTQSqlQuery*)(TTQSqlCursor*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlCursor*) QtSupport::getQt(env, obj))->sort()), "org.kde.qt.TTQSqlIndex", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlCursor*) 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::toQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; + _qstring = ((TTQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TTQSqlCursor*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) 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 = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (TQSqlField*) QtSupport::getQt(env, field), (const TQString&)*(TQString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_fieldSep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (TTQSqlField*) QtSupport::getQt(env, field), (const TTQString&)*(TTQString*) 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 = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, i), (TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_fieldSep = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((const TTQSqlIndex&)*(const TTQSqlIndex*) QtSupport::getQt(env, i), (TTQSqlRecord*) QtSupport::getQt(env, rec), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TTQString&)*(TTQString*) 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 = ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((TQSqlRecord*) QtSupport::getQt(env, rec), (const TQString&)*(TQString*) QtSupport::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, fieldSep, &_qstring_fieldSep), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_fieldSep = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_toString((TTQSqlRecord*) QtSupport::getQt(env, rec), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldSep, &_qstring_fieldSep), (const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQSqlCursor*) 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) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter)); +static TTQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TTQString&)*(TTQString*) 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) ((QSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TQString&)*(TQString*) QtSupport::toQString(env, filter, &_qstring_filter), (bool) invalidate); +static TTQString* _qstring_filter = 0; + jint xret = (jint) ((TQSqlCursorJBridge*) QtSupport::getQt(env, obj))->protected_update((const TTQString&)*(TTQString*) 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); + jint xret = (jint) ((TTQSqlCursor*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlCursor*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TTQVariant", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlCursor*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlCursor.h b/qtjava/javalib/qtjava/QSqlCursor.h index 70c15e3d..89cf9c19 100644 --- a/qtjava/javalib/qtjava/QSqlCursor.h +++ b/qtjava/javalib/qtjava/QSqlCursor.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2ZLorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newQSqlCursor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newQSqlCursor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlCursor_newQSqlCursor__Lorg_kde_qt_QSqlCursor_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlDatabase.cpp b/qtjava/javalib/qtjava/QSqlDatabase.cpp index 1a98db9c..d9c14272 100644 --- a/qtjava/javalib/qtjava/QSqlDatabase.cpp +++ b/qtjava/javalib/qtjava/QSqlDatabase.cpp @@ -9,51 +9,51 @@ #include #include -#include +#include -class QSqlDatabaseJBridge : public QSqlDatabase +class TQSqlDatabaseJBridge : public TQSqlDatabase { public: - QSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TQSqlDatabase(arg1,arg2,arg3,arg4) {}; - QSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; - QSqlDatabaseJBridge(const TQString& arg1,const TQString& arg2) : TQSqlDatabase(arg1,arg2) {}; - QSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2,const char* arg3) : TQSqlDatabase(arg1,arg2,arg3) {}; - QSqlDatabaseJBridge(TQSqlDriver* arg1,TQObject* arg2) : TQSqlDatabase(arg1,arg2) {}; - QSqlDatabaseJBridge(TQSqlDriver* arg1) : TQSqlDatabase(arg1) {}; - ~QSqlDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQSqlDatabaseJBridge(const TTQString& arg1,const TTQString& arg2,TTQObject* arg3,const char* arg4) : TTQSqlDatabase(arg1,arg2,arg3,arg4) {}; + TQSqlDatabaseJBridge(const TTQString& arg1,const TTQString& arg2,TTQObject* arg3) : TTQSqlDatabase(arg1,arg2,arg3) {}; + TQSqlDatabaseJBridge(const TTQString& arg1,const TTQString& arg2) : TTQSqlDatabase(arg1,arg2) {}; + TQSqlDatabaseJBridge(TTQSqlDriver* arg1,TTQObject* arg2,const char* arg3) : TTQSqlDatabase(arg1,arg2,arg3) {}; + TQSqlDatabaseJBridge(TTQSqlDriver* arg1,TTQObject* arg2) : TTQSqlDatabase(arg1,arg2) {}; + TQSqlDatabaseJBridge(TTQSqlDriver* arg1) : TTQSqlDatabase(arg1) {}; + ~TQSqlDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSqlDatabase",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSqlDatabase",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -64,8 +64,8 @@ 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*)QSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type)), "org.kde.qt.TQSqlDatabase"); +static TTQString* _qstring_type = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type)), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -73,9 +73,9 @@ 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*)QSqlDatabaseJBridge::addDatabase((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); +static TTQString* _qstring_type = 0; +static TTQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -83,7 +83,7 @@ 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*)QSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver)), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TTQSqlDriver*) QtSupport::getQt(env, driver)), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -91,8 +91,8 @@ 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*)QSqlDatabaseJBridge::addDatabase((TQSqlDriver*) QtSupport::getQt(env, driver), (const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); +static TTQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::addDatabase((TTQSqlDriver*) QtSupport::getQt(env, driver), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -100,30 +100,30 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSqlDatabase*) 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(); + ((TTQSqlDatabase*) 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(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->connectOptions(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL @@ -131,7 +131,7 @@ Java_org_kde_qt_QSqlDatabase_contains__(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QSqlDatabaseJBridge::contains(); + jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains(); return xret; } @@ -139,24 +139,24 @@ 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) QSqlDatabaseJBridge::contains((const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName)); +static TTQString* _qstring_connectionName = 0; + jboolean xret = (jboolean) TQSqlDatabaseJBridge::contains((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) 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*)QSqlDatabaseJBridge::database(), "org.kde.qt.TQSqlDatabase"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database(), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -164,8 +164,8 @@ 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*)QSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TQSqlDatabase"); +static TTQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TTQString&)*(TTQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -173,8 +173,8 @@ 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*)QSqlDatabaseJBridge::database((const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.kde.qt.TQSqlDatabase"); +static TTQString* _qstring_connectionName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlDatabaseJBridge::database((const TTQString&)*(TTQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName), (bool) open), "org.kde.qt.TTQSqlDatabase"); return xret; } @@ -188,47 +188,47 @@ Java_org_kde_qt_QSqlDatabase_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_driverName(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->driverName(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlDatabase*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TTQSqlDriver"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlDatabase_drivers(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QSqlDatabaseJBridge::drivers(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQSqlDatabaseJBridge::drivers(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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.QSqlQueryInterface", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlQuery(((TTQSqlDatabase*) 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::toQString(env, query, &_qstring_query))), "org.kde.qt.QSqlQueryInterface", TRUE); +static TTQString* _qstring_query = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlQuery(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->exec((const TTQString&)*(TTQString*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSqlDatabase*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSqlDatabase*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -237,9 +237,9 @@ Java_org_kde_qt_QSqlDatabase_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_hostName(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSqlDatabase*) QtSupport::getQt(env, obj))->hostName(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->hostName(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL @@ -252,102 +252,102 @@ 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) QSqlDatabaseJBridge::isDriverAvailable((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) TQSqlDatabaseJBridge::isDriverAvailable((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlError(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TTQSqlError", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlDatabase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring name) +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; +static TTQString* _qstring_type = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring type, jstring name, jobject parent) +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; +static TTQString* _qstring_type = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__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) +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; +static TTQString* _qstring_type = 0; +static TTQString* _qstring_name = 0; +static TTQCString* _qstring_objname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQObject*) 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_newQSqlDatabase__Lorg_kde_qt_QSqlDriver_2(JNIEnv* env, jobject obj, jobject driver) +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 QSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TTQSqlDriver*) QtSupport::getQt(env, driver))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject driver, jobject parent) +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 QSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TTQSqlDriver*) QtSupport::getQt(env, driver), (TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject driver, jobject parent, jstring objname) +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; +static TTQCString* _qstring_objname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlDatabaseJBridge((TQSqlDriver*) QtSupport::getQt(env, driver), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); + QtSupport::setQt(env, obj, new TQSqlDatabaseJBridge((TTQSqlDriver*) QtSupport::getQt(env, driver), (TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, objname, &_qstring_objname))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -356,69 +356,69 @@ static TQCString* _qstring_objname = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_open__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlDatabase*) QtSupport::getQt(env, obj))->open(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password)); +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; + jboolean xret = (jboolean) ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) 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(); + jint xret = (jint) ((TTQSqlDatabase*) 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::toQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlIndex", TRUE); +static TTQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->primaryIndex((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TTQSqlIndex", 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::toQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); +static TTQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecordInfo(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TTQSqlRecordInfo", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecordInfo(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->recordInfo((const TTQSqlQuery&)*(const TTQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TTQSqlRecordInfo", 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::toQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecord", TRUE); +static TTQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecord(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TTQSqlRecord", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecord(((TTQSqlDatabase*) QtSupport::getQt(env, obj))->record((const TTQSqlQuery&)*(const TTQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TTQSqlRecord", TRUE); return xret; } @@ -426,8 +426,8 @@ 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; - QSqlDatabaseJBridge::removeDatabase((const TQString&)*(TQString*) QtSupport::toQString(env, connectionName, &_qstring_connectionName)); +static TTQString* _qstring_connectionName = 0; + TQSqlDatabaseJBridge::removeDatabase((const TTQString&)*(TTQString*) QtSupport::toTQString(env, connectionName, &_qstring_connectionName)); return; } @@ -435,120 +435,120 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_removeDatabase__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jclass cls, jobject db) { (void) cls; - QSqlDatabaseJBridge::removeDatabase((TQSqlDatabase*) QtSupport::getQt(env, db)); + TQSqlDatabaseJBridge::removeDatabase((TTQSqlDatabase*) 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(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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(); + ((TTQSqlDatabase*) 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::toQString(env, options, &_qstring_options)); +static TTQString* _qstring_options = 0; + ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->setConnectOptions((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->setDatabaseName((const TTQString&)*(TTQString*) 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::toQString(env, host, &_qstring_host)); +static TTQString* _qstring_host = 0; + ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->setHostName((const TTQString&)*(TTQString*) 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::toQString(env, password, &_qstring_password)); +static TTQString* _qstring_password = 0; + ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->setPassword((const TTQString&)*(TTQString*) 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); + ((TTQSqlDatabase*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->setUserName((const TTQString&)*(TTQString*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->tables(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->tables((TTQSql::TableType) type); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDatabase_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSqlDatabaseJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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(); + jboolean xret = (jboolean) ((TTQSqlDatabase*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDatabase*) QtSupport::getQt(env, obj))->userName(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QSqlDatabase.h b/qtjava/javalib/qtjava/QSqlDatabase.h index d726070e..e36b4cdb 100644 --- a/qtjava/javalib/qtjava/QSqlDatabase.h +++ b/qtjava/javalib/qtjava/QSqlDatabase.h @@ -60,12 +60,12 @@ extern JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlDatabase_contains__Ljava_l 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_newQSqlDatabase__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_newQSqlDatabase__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_newQSqlDatabase__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__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_newQSqlDatabase__Lorg_kde_qt_QSqlDriver_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlDatabase_newQSqlDatabase__Lorg_kde_qt_QSqlDriver_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlDriver.cpp b/qtjava/javalib/qtjava/QSqlDriver.cpp index c3d2078e..3a936dbc 100644 --- a/qtjava/javalib/qtjava/QSqlDriver.cpp +++ b/qtjava/javalib/qtjava/QSqlDriver.cpp @@ -8,12 +8,12 @@ #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(); + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->beginTransaction(); return xret; } @@ -21,223 +21,223 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSqlDriver*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSqlDriver*) 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(); + ((TTQSqlDriver*) 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(); + jboolean xret = (jboolean) ((TTQSqlDriver*) 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.QSqlQueryInterface", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlQuery(((TTQSqlDriver*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TTQSqlField*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDriver*) QtSupport::getQt(env, obj))->formatValue((const TTQSqlField*) 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); + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->hasFeature((TTQSqlDriver::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(); + jboolean xret = (jboolean) ((TTQSqlDriver*) 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(); + jboolean xret = (jboolean) ((TTQSqlDriver*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlError(((TTQSqlDriver*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TTQSqlError", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlDriver*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlDriver*) 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::toQString(env, db, &_qstring_db)); +static TTQString* _qstring_db = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) 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::toQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_db = 0; +static TTQString* _qstring_user = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TTQString&)*(TTQString*) 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::toQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password)); +static TTQString* _qstring_db = 0; +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) 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::toQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toQString(env, host, &_qstring_host)); +static TTQString* _qstring_db = 0; +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; +static TTQString* _qstring_host = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TTQString&)*(TTQString*) 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::toQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toQString(env, host, &_qstring_host), (int) port); +static TTQString* _qstring_db = 0; +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; +static TTQString* _qstring_host = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TTQString&)*(TTQString*) 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::toQString(env, db, &_qstring_db), (const TQString&)*(TQString*) QtSupport::toQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toQString(env, password, &_qstring_password), (const TQString&)*(TQString*) QtSupport::toQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toQString(env, connOpts, &_qstring_connOpts)); +static TTQString* _qstring_db = 0; +static TTQString* _qstring_user = 0; +static TTQString* _qstring_password = 0; +static TTQString* _qstring_host = 0; +static TTQString* _qstring_connOpts = 0; + jboolean xret = (jboolean) ((TTQSqlDriver*) QtSupport::getQt(env, obj))->open((const TTQString&)*(TTQString*) QtSupport::toTQString(env, db, &_qstring_db), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, password, &_qstring_password), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TTQString&)*(TTQString*) 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::toQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlIndex", TRUE); +static TTQString* _qstring_tableName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(((TTQSqlDriver*) QtSupport::getQt(env, obj))->primaryIndex((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TTQSqlIndex", 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::toQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TQSqlRecordInfo", TRUE); +static TTQString* _qstring_tablename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecordInfo(((TTQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tablename, &_qstring_tablename))), "org.kde.qt.TTQSqlRecordInfo", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecordInfo(((TTQSqlDriver*) QtSupport::getQt(env, obj))->recordInfo((const TTQSqlQuery&)*(const TTQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TTQSqlRecordInfo", 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::toQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TQSqlRecord", TRUE); +static TTQString* _qstring_tableName = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecord(((TTQSqlDriver*) QtSupport::getQt(env, obj))->record((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tableName, &_qstring_tableName))), "org.kde.qt.TTQSqlRecord", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlRecord(((TTQSqlDriver*) QtSupport::getQt(env, obj))->record((const TTQSqlQuery&)*(const TTQSqlQuery*) QtSupport::getQt(env, query))), "org.kde.qt.TTQSqlRecord", 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(); + jboolean xret = (jboolean) ((TTQSqlDriver*) 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::toQString(env, tableType, &_qstring_tableType)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_tableType = 0; + _qlist = ((TTQSqlDriver*) QtSupport::getQt(env, obj))->tables((const TTQString&)*(TTQString*) QtSupport::toTQString(env, tableType, &_qstring_tableType)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlDriver_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQSqlDriver::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQSqlDriver::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQSqlDriver::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/QSqlEditorFactory.cpp b/qtjava/javalib/qtjava/QSqlEditorFactory.cpp index 49ae4e66..2df986dd 100644 --- a/qtjava/javalib/qtjava/QSqlEditorFactory.cpp +++ b/qtjava/javalib/qtjava/QSqlEditorFactory.cpp @@ -3,48 +3,48 @@ #include #include -#include +#include -class QSqlEditorFactoryJBridge : public QSqlEditorFactory +class TQSqlEditorFactoryJBridge : public TQSqlEditorFactory { public: - QSqlEditorFactoryJBridge(TQObject* arg1,const char* arg2) : TQSqlEditorFactory(arg1,arg2) {}; - QSqlEditorFactoryJBridge(TQObject* arg1) : TQSqlEditorFactory(arg1) {}; - QSqlEditorFactoryJBridge() : TQSqlEditorFactory() {}; - ~QSqlEditorFactoryJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQSqlEditorFactoryJBridge(TTQObject* arg1,const char* arg2) : TTQSqlEditorFactory(arg1,arg2) {}; + TQSqlEditorFactoryJBridge(TTQObject* arg1) : TTQSqlEditorFactory(arg1) {}; + TQSqlEditorFactoryJBridge() : TTQSqlEditorFactory() {}; + ~TQSqlEditorFactoryJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSqlEditorFactory",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSqlEditorFactory",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -54,14 +54,14 @@ public: 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TTQWidget*) QtSupport::getQt(env, parent), (const TTQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlEditorFactory*) QtSupport::getQt(env, obj))->createEditor((TTQWidget*) QtSupport::getQt(env, parent), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, variant)), "org.kde.qt.TTQWidget"); return xret; } @@ -69,7 +69,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QSqlEditorFactory_defaultFactory(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QSqlEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TQSqlEditorFactory"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlEditorFactoryJBridge::defaultFactory(), "org.kde.qt.TTQSqlEditorFactory"); return xret; } @@ -83,8 +83,8 @@ Java_org_kde_qt_QSqlEditorFactory_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSqlEditorFactory*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSqlEditorFactory*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -94,7 +94,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_installDefaultFactory(JNIEnv* env, jclass cls, jobject factory) { (void) cls; - QSqlEditorFactoryJBridge::installDefaultFactory((TQSqlEditorFactory*) QtSupport::getQt(env, factory)); + TQSqlEditorFactoryJBridge::installDefaultFactory((TTQSqlEditorFactory*) QtSupport::getQt(env, factory)); return; } @@ -105,31 +105,31 @@ Java_org_kde_qt_QSqlEditorFactory_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlEditorFactory_newTQSqlEditorFactory__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlEditorFactoryJBridge()); + QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlEditorFactoryJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlEditorFactoryJBridge((TTQObject*) 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 index 8c197571..2d21e22c 100644 --- a/qtjava/javalib/qtjava/QSqlEditorFactory.h +++ b/qtjava/javalib/qtjava/QSqlEditorFactory.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlEditorFactory_newQSqlEditorFactory__ (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlError.cpp b/qtjava/javalib/qtjava/QSqlError.cpp index c58b5343..401928ed 100644 --- a/qtjava/javalib/qtjava/QSqlError.cpp +++ b/qtjava/javalib/qtjava/QSqlError.cpp @@ -3,26 +3,26 @@ #include #include -#include +#include -class QSqlErrorJBridge : public QSqlError +class TQSqlErrorJBridge : public TQSqlError { public: - QSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3,int arg4) : TQSqlError(arg1,arg2,arg3,arg4) {}; - QSqlErrorJBridge(const TQString& arg1,const TQString& arg2,int arg3) : TQSqlError(arg1,arg2,arg3) {}; - QSqlErrorJBridge(const TQString& arg1,const TQString& arg2) : TQSqlError(arg1,arg2) {}; - QSqlErrorJBridge(const TQString& arg1) : TQSqlError(arg1) {}; - QSqlErrorJBridge() : TQSqlError() {}; - QSqlErrorJBridge(const TQSqlError& arg1) : TQSqlError(arg1) {}; - ~QSqlErrorJBridge() {QtSupport::qtKeyDeleted(this);} + TQSqlErrorJBridge(const TTQString& arg1,const TTQString& arg2,int arg3,int arg4) : TTQSqlError(arg1,arg2,arg3,arg4) {}; + TQSqlErrorJBridge(const TTQString& arg1,const TTQString& arg2,int arg3) : TTQSqlError(arg1,arg2,arg3) {}; + TQSqlErrorJBridge(const TTQString& arg1,const TTQString& arg2) : TTQSqlError(arg1,arg2) {}; + TQSqlErrorJBridge(const TTQString& arg1) : TTQSqlError(arg1) {}; + TQSqlErrorJBridge() : TTQSqlError() {}; + TQSqlErrorJBridge(const TTQSqlError& arg1) : TTQSqlError(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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlError*) QtSupport::getQt(env, obj))->databaseText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -35,16 +35,16 @@ Java_org_kde_qt_QSqlError_dispose(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlError_driverText(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSqlError*) QtSupport::getQt(env, obj))->driverText(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlError*) 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); + delete (TTQSqlError*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,67 +57,67 @@ Java_org_kde_qt_QSqlError_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newQSqlError__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlError_newTQSqlError__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlErrorJBridge()); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText) +Java_org_kde_qt_QSqlError_newTQSqlError__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText) { -static TQString* _qstring_driverText = 0; +static TTQString* _qstring_driverText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, driverText, &_qstring_driverText))); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText) +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; +static TTQString* _qstring_driverText = 0; +static TTQString* _qstring_databaseText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toQString(env, databaseText, &_qstring_databaseText))); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, databaseText, &_qstring_databaseText))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type) +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; +static TTQString* _qstring_driverText = 0; +static TTQString* _qstring_databaseText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toQString(env, databaseText, &_qstring_databaseText), (int) type)); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TTQString&)*(TTQString*) 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_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring driverText, jstring databaseText, jint type, jint number) +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; +static TTQString* _qstring_driverText = 0; +static TTQString* _qstring_databaseText = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlErrorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, driverText, &_qstring_driverText), (const TQString&)*(TQString*) QtSupport::toQString(env, databaseText, &_qstring_databaseText), (int) type, (int) number)); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, driverText, &_qstring_driverText), (const TTQString&)*(TTQString*) 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_newQSqlError__Lorg_kde_qt_QSqlError_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlErrorJBridge((const TQSqlError&)*(const TQSqlError*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlErrorJBridge((const TTQSqlError&)*(const TTQSqlError*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -126,67 +126,67 @@ Java_org_kde_qt_QSqlError_newQSqlError__Lorg_kde_qt_QSqlError_2(JNIEnv* env, job JNIEXPORT jint JNICALL Java_org_kde_qt_QSqlError_number(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSqlError*) QtSupport::getQt(env, obj))->number(); + jint xret = (jint) ((TTQSqlError*) 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::toQString(env, databaseText, &_qstring_databaseText)); +static TTQString* _qstring_databaseText = 0; + ((TTQSqlError*) QtSupport::getQt(env, obj))->setDatabaseText((const TTQString&)*(TTQString*) 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::toQString(env, driverText, &_qstring_driverText)); +static TTQString* _qstring_driverText = 0; + ((TTQSqlError*) QtSupport::getQt(env, obj))->setDriverText((const TTQString&)*(TTQString*) 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); + ((TTQSqlError*) 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); + ((TTQSqlError*) 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(); + ((TTQSqlError*) 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::toQString(env, msg, &_qstring_msg)); +static TTQString* _qstring_msg = 0; + ((TTQSqlError*) QtSupport::getQt(env, obj))->showMessage((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlError*) 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(); + jint xret = (jint) ((TTQSqlError*) QtSupport::getQt(env, obj))->type(); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlError.h b/qtjava/javalib/qtjava/QSqlError.h index 935c881d..3b236201 100644 --- a/qtjava/javalib/qtjava/QSqlError.h +++ b/qtjava/javalib/qtjava/QSqlError.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlError_newQSqlError__Lorg_kde_qt_QSqlError_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlField.cpp b/qtjava/javalib/qtjava/QSqlField.cpp index d617222e..7865ab52 100644 --- a/qtjava/javalib/qtjava/QSqlField.cpp +++ b/qtjava/javalib/qtjava/QSqlField.cpp @@ -4,33 +4,33 @@ #include #include -#include +#include -class QSqlFieldJBridge : public QSqlField +class TQSqlFieldJBridge : public TQSqlField { public: - QSqlFieldJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlField(arg1,arg2) {}; - QSqlFieldJBridge(const TQString& arg1) : TQSqlField(arg1) {}; - QSqlFieldJBridge() : TQSqlField() {}; - QSqlFieldJBridge(const TQSqlField& arg1) : TQSqlField(arg1) {}; + TQSqlFieldJBridge(const TTQString& arg1,TTQVariant::Type arg2) : TTQSqlField(arg1,arg2) {}; + TQSqlFieldJBridge(const TTQString& arg1) : TTQSqlField(arg1) {}; + TQSqlFieldJBridge() : TTQSqlField() {}; + TQSqlFieldJBridge(const TTQSqlField& arg1) : TTQSqlField(arg1) {}; void public_setNull() { - TQSqlField::setNull(); + TTQSqlField::setNull(); return; } - ~QSqlFieldJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSqlFieldJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_clear__(JNIEnv* env, jobject obj) { - ((TQSqlField*) QtSupport::getQt(env, obj))->clear(); + ((TTQSqlField*) 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); + ((TTQSqlField*) QtSupport::getQt(env, obj))->clear((bool) nullify); return; } @@ -45,7 +45,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlField*)QtSupport::getQt(env, obj); + delete (TTQSqlField*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -60,62 +60,62 @@ Java_org_kde_qt_QSqlField_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlField_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlField*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQSqlField*) 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(); + jboolean xret = (jboolean) ((TTQSqlField*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlField*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newQSqlField__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlField_newTQSqlField__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldJBridge()); + QtSupport::setQt(env, obj, new TQSqlFieldJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newQSqlField__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) +Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fieldName) { -static TQString* _qstring_fieldName = 0; +static TTQString* _qstring_fieldName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fieldName, &_qstring_fieldName))); + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newQSqlField__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jint type) +Java_org_kde_qt_QSqlField_newTQSqlField__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fieldName, jint type) { -static TQString* _qstring_fieldName = 0; +static TTQString* _qstring_fieldName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fieldName, &_qstring_fieldName), (TQVariant::Type) type)); + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fieldName, &_qstring_fieldName), (TTQVariant::Type) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlField_newQSqlField__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlFieldJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlFieldJBridge((const TTQSqlField&)*(const TTQSqlField*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -124,50 +124,50 @@ Java_org_kde_qt_QSqlField_newQSqlField__Lorg_kde_qt_QSqlField_2(JNIEnv* env, job 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)); + jboolean xret = (jboolean) ((TTQSqlField*) QtSupport::getQt(env, obj))->operator==((const TTQSqlField&)*(const TTQSqlField*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlField*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_setNull(JNIEnv* env, jobject obj) { - ((QSqlFieldJBridge*) QtSupport::getQt(env, obj))->public_setNull(); + ((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); + ((TTQSqlField*) 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)); + ((TTQSqlField*) QtSupport::getQt(env, obj))->setValue((const TTQVariant&)*(const TTQVariant*) 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(); + jint xret = (jint) ((TTQSqlField*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlField*) QtSupport::getQt(env, obj))->value()), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlField.h b/qtjava/javalib/qtjava/QSqlField.h index 3761787e..2e6da3da 100644 --- a/qtjava/javalib/qtjava/QSqlField.h +++ b/qtjava/javalib/qtjava/QSqlField.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newQSqlField__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newQSqlField__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newQSqlField__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlField_newQSqlField__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlFieldInfo.cpp b/qtjava/javalib/qtjava/QSqlFieldInfo.cpp index 48ec534f..83d969cf 100644 --- a/qtjava/javalib/qtjava/QSqlFieldInfo.cpp +++ b/qtjava/javalib/qtjava/QSqlFieldInfo.cpp @@ -4,32 +4,32 @@ #include #include -#include +#include -class QSqlFieldInfoJBridge : public QSqlFieldInfo +class TQSqlFieldInfoJBridge : public TQSqlFieldInfo { public: - QSqlFieldInfoJBridge(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) {}; - QSqlFieldInfoJBridge(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) {}; - QSqlFieldInfoJBridge(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) {}; - QSqlFieldInfoJBridge(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) {}; - QSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5,const TQVariant& arg6) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4,int arg5) : TQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {}; - QSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3,int arg4) : TQSqlFieldInfo(arg1,arg2,arg3,arg4) {}; - QSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2,int arg3) : TQSqlFieldInfo(arg1,arg2,arg3) {}; - QSqlFieldInfoJBridge(const TQString& arg1,TQVariant::Type arg2) : TQSqlFieldInfo(arg1,arg2) {}; - QSqlFieldInfoJBridge(const TQString& arg1) : TQSqlFieldInfo(arg1) {}; - QSqlFieldInfoJBridge() : TQSqlFieldInfo() {}; - QSqlFieldInfoJBridge(const TQSqlFieldInfo& arg1) : TQSqlFieldInfo(arg1) {}; - QSqlFieldInfoJBridge(const TQSqlField& arg1,bool arg2) : TQSqlFieldInfo(arg1,arg2) {}; - QSqlFieldInfoJBridge(const TQSqlField& arg1) : TQSqlFieldInfo(arg1) {}; - ~QSqlFieldInfoJBridge() {QtSupport::qtKeyDeleted(this);} + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5,const TTQVariant& arg6,int arg7,bool arg8,bool arg9,bool arg10) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5,const TTQVariant& arg6,int arg7,bool arg8,bool arg9) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5,const TTQVariant& arg6,int arg7,bool arg8) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5,const TTQVariant& arg6,int arg7) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5,const TTQVariant& arg6) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4,int arg5) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4,arg5) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3,int arg4) : TTQSqlFieldInfo(arg1,arg2,arg3,arg4) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2,int arg3) : TTQSqlFieldInfo(arg1,arg2,arg3) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1,TTQVariant::Type arg2) : TTQSqlFieldInfo(arg1,arg2) {}; + TQSqlFieldInfoJBridge(const TTQString& arg1) : TTQSqlFieldInfo(arg1) {}; + TQSqlFieldInfoJBridge() : TTQSqlFieldInfo() {}; + TQSqlFieldInfoJBridge(const TTQSqlFieldInfo& arg1) : TTQSqlFieldInfo(arg1) {}; + TQSqlFieldInfoJBridge(const TTQSqlField& arg1,bool arg2) : TTQSqlFieldInfo(arg1,arg2) {}; + TQSqlFieldInfoJBridge(const TTQSqlField& arg1) : TTQSqlFieldInfo(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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->defaultValue()), "org.kde.qt.TTQVariant", TRUE); return xret; } @@ -44,7 +44,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlFieldInfo*)QtSupport::getQt(env, obj); + delete (TTQSqlFieldInfo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -53,7 +53,7 @@ Java_org_kde_qt_QSqlFieldInfo_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isCalculated(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isCalculated(); + jboolean xret = (jboolean) ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->isCalculated(); return xret; } @@ -66,184 +66,184 @@ Java_org_kde_qt_QSqlFieldInfo_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isGenerated(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isGenerated(); + jboolean xret = (jboolean) ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->isGenerated(); return xret; } JNIEXPORT jint JNICALL -Java_org_kde_qt_QSqlFieldInfo_isRequired(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlFieldInfo_isRetquired(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isRequired(); + jint xret = (jint) ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->isRetquired(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlFieldInfo_isTrim(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlFieldInfo*) QtSupport::getQt(env, obj))->isTrim(); + jboolean xret = (jboolean) ((TTQSqlFieldInfo*) 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(); + jint xret = (jint) ((TTQSqlFieldInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge()); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ) +Java_org_kde_qt_QSqlFieldInfo_newTQSqlFieldInfo__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint typ) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint typ, jint required) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::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_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue))); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, defValue))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2I(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, defValue), (int) sqlType)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TTQVariant&)*(const TTQVariant*) 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_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TTQVariant&)*(const TTQVariant*) 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_newQSqlFieldInfo__Ljava_lang_String_2IIIILorg_kde_qt_QVariant_2IZZZ(JNIEnv* env, jobject obj, jstring name, jint typ, jint required, jint len, jint prec, jobject defValue, jint sqlType, jboolean generated, jboolean trim, jboolean calculated) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFieldInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (TQVariant::Type) typ, (int) required, (int) len, (int) prec, (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, defValue), (int) sqlType, (bool) generated, (bool) trim, (bool) calculated)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (TTQVariant::Type) typ, (int) retquired, (int) len, (int) prec, (const TTQVariant&)*(const TTQVariant*) 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_newQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlFieldInfoJBridge((const TQSqlFieldInfo&)*(const TQSqlFieldInfo*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQSqlFieldInfo&)*(const TTQSqlFieldInfo*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQSqlField&)*(const TTQSqlField*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z(JNIEnv* env, jobject obj, jobject other, jboolean generated) +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 QSqlFieldInfoJBridge((const TQSqlField&)*(const TQSqlField*) QtSupport::getQt(env, other), (bool) generated)); + QtSupport::setQt(env, obj, new TQSqlFieldInfoJBridge((const TTQSqlField&)*(const TTQSqlField*) QtSupport::getQt(env, other), (bool) generated)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -252,56 +252,56 @@ Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z(JNIEnv* 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)); + jboolean xret = (jboolean) ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->operator==((const TTQSqlFieldInfo&)*(const TTQSqlFieldInfo*) 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(); + jint xret = (jint) ((TTQSqlFieldInfo*) 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); + ((TTQSqlFieldInfo*) 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); + ((TTQSqlFieldInfo*) 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); + ((TTQSqlFieldInfo*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlField(((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->toField()), "org.kde.qt.TTQSqlField", 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(); + jint xret = (jint) ((TTQSqlFieldInfo*) 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(); + jint xret = (jint) ((TTQSqlFieldInfo*) QtSupport::getQt(env, obj))->type(); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlFieldInfo.h b/qtjava/javalib/qtjava/QSqlFieldInfo.h index c75779ed..885a91b4 100644 --- a/qtjava/javalib/qtjava/QSqlFieldInfo.h +++ b/qtjava/javalib/qtjava/QSqlFieldInfo.h @@ -10,23 +10,23 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__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_newQSqlFieldInfo__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_newQSqlFieldInfo__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_newQSqlFieldInfo__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_newQSqlFieldInfo__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_newQSqlFieldInfo__Ljava_lang_String_2IIII (JNIEnv *env, jobject, jstring, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlFieldInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlFieldInfo_newQSqlFieldInfo__Lorg_kde_qt_QSqlField_2 (JNIEnv *env, jobject, jobject); +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_isRetquired (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); diff --git a/qtjava/javalib/qtjava/QSqlForm.cpp b/qtjava/javalib/qtjava/QSqlForm.cpp index bfe5ae47..11558ff3 100644 --- a/qtjava/javalib/qtjava/QSqlForm.cpp +++ b/qtjava/javalib/qtjava/QSqlForm.cpp @@ -3,118 +3,118 @@ #include #include -#include +#include -class QSqlFormJBridge : public QSqlForm +class TQSqlFormJBridge : public TQSqlForm { public: - QSqlFormJBridge(TQObject* arg1,const char* arg2) : TQSqlForm(arg1,arg2) {}; - QSqlFormJBridge(TQObject* arg1) : TQSqlForm(arg1) {}; - QSqlFormJBridge() : TQSqlForm() {}; + TQSqlFormJBridge(TTQObject* arg1,const char* arg2) : TTQSqlForm(arg1,arg2) {}; + TQSqlFormJBridge(TTQObject* arg1) : TTQSqlForm(arg1) {}; + TQSqlFormJBridge() : TTQSqlForm() {}; void public_readFields() { - TQSqlForm::readFields(); + TTQSqlForm::readFields(); return; } void public_writeFields() { - TQSqlForm::writeFields(); + TTQSqlForm::writeFields(); return; } void public_clear() { - TQSqlForm::clear(); + TTQSqlForm::clear(); return; } void public_clearValues() { - TQSqlForm::clearValues(); + TTQSqlForm::clearValues(); return; } - void protected_insert(TQWidget* arg1,TQSqlField* arg2) { - TQSqlForm::insert(arg1,arg2); + void protected_insert(TTQWidget* arg1,TTQSqlField* arg2) { + TTQSqlForm::insert(arg1,arg2); return; } - void protected_remove(TQWidget* arg1) { - TQSqlForm::remove(arg1); + void protected_remove(TTQWidget* arg1) { + TTQSqlForm::remove(arg1); return; } void protected_clearMap() { - TQSqlForm::clearMap(); + TTQSqlForm::clearMap(); return; } - ~QSqlFormJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQSqlFormJBridge() {QtSupport::qtKeyDeleted(this);} void writeFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","writeFields")) { - TQSqlForm::writeFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSqlForm","writeFields")) { + TTQSqlForm::writeFields(); } return; } - void writeField(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"writeField",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::writeField(arg1); + void writeField(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"writeField",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQSqlForm::writeField(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","clear")) { - TQSqlForm::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSqlForm","clear")) { + TTQSqlForm::clear(); } return; } void readFields() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQSqlForm","readFields")) { - TQSqlForm::readFields(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQSqlForm","readFields")) { + TTQSqlForm::readFields(); } return; } - void remove(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::remove(arg1); + void remove(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQSqlForm::remove(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void setRecord(TQSqlRecord* arg1) { - if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TQSqlRecord")) { - TQSqlForm::setRecord(arg1); + void setRecord(TTQSqlRecord* arg1) { + if (!QtSupport::eventDelegate(this,"setRecord",(void*)arg1,"org.kde.qt.TTQSqlRecord")) { + TTQSqlForm::setRecord(arg1); } return; } - void readField(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"readField",(void*)arg1,"org.kde.qt.TQWidget")) { - TQSqlForm::readField(arg1); + void readField(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"readField",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQSqlForm::readField(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQSqlForm",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQSqlForm",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -125,42 +125,42 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlForm_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQSqlForm*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQSqlForm*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearMap(JNIEnv* env, jobject obj) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_clearMap(); + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_clearMap(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clearValues__(JNIEnv* env, jobject obj) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + ((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); + ((TTQSqlForm*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_clear(JNIEnv* env, jobject obj) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((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(); + jint xret = (jint) ((TTQSqlForm*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -174,15 +174,15 @@ Java_org_kde_qt_QSqlForm_dispose(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlForm*) QtSupport::getQt(env, obj))->fieldToWidget((TTQSqlField*) QtSupport::getQt(env, field)), "org.kde.qt.TTQWidget"); 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQSqlForm*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQSqlForm*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -191,22 +191,22 @@ Java_org_kde_qt_QSqlForm_finalize(JNIEnv* env, jobject obj) 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::toQString(env, field, &_qstring_field)); +static TTQString* _qstring_field = 0; + ((TTQSqlForm*) QtSupport::getQt(env, obj))->insert((TTQWidget*) QtSupport::getQt(env, widget), (const TTQString&)*(TTQString*) 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) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_insert((TQWidget*) QtSupport::getQt(env, widget), (TQSqlField*) QtSupport::getQt(env, field)); + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_insert((TTQWidget*) QtSupport::getQt(env, widget), (TTQSqlField*) 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)); + ((TTQSqlForm*) QtSupport::getQt(env, obj))->installPropertyMap((TTQSqlPropertyMap*) QtSupport::getQt(env, map)); return; } @@ -219,36 +219,36 @@ Java_org_kde_qt_QSqlForm_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlForm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newQSqlForm__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlForm_newTQSqlForm__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFormJBridge()); + QtSupport::setQt(env, obj, new TQSqlFormJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newQSqlForm__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QSqlFormJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQSqlFormJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlForm_newQSqlForm__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlFormJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlFormJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -257,85 +257,85 @@ static TQCString* _qstring_name = 0; 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)); + ((TTQSqlForm*) QtSupport::getQt(env, obj))->readField((TTQWidget*) QtSupport::getQt(env, widget)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_readFields(JNIEnv* env, jobject obj) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->public_readFields(); + ((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::toQString(env, field, &_qstring_field)); +static TTQString* _qstring_field = 0; + ((TTQSqlForm*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) 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) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_remove((TQWidget*) QtSupport::getQt(env, widget)); + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->protected_remove((TTQWidget*) 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)); + ((TTQSqlForm*) QtSupport::getQt(env, obj))->setRecord((TTQSqlRecord*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QSqlFormJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlForm*) QtSupport::getQt(env, obj))->widgetToField((TTQWidget*) QtSupport::getQt(env, widget)), "org.kde.qt.TTQSqlField"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlForm*) QtSupport::getQt(env, obj))->widget((uint) i), "org.kde.qt.TTQWidget"); 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)); + ((TTQSqlForm*) QtSupport::getQt(env, obj))->writeField((TTQWidget*) QtSupport::getQt(env, widget)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_writeFields(JNIEnv* env, jobject obj) { - ((QSqlFormJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); + ((TQSqlFormJBridge*) QtSupport::getQt(env, obj))->public_writeFields(); return; } diff --git a/qtjava/javalib/qtjava/QSqlForm.h b/qtjava/javalib/qtjava/QSqlForm.h index 54e622aa..beb90a0c 100644 --- a/qtjava/javalib/qtjava/QSqlForm.h +++ b/qtjava/javalib/qtjava/QSqlForm.h @@ -12,9 +12,9 @@ extern "C" 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_newQSqlForm__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newQSqlForm__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlForm_newQSqlForm__ (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); diff --git a/qtjava/javalib/qtjava/QSqlIndex.cpp b/qtjava/javalib/qtjava/QSqlIndex.cpp index 5fd554e8..c3799461 100644 --- a/qtjava/javalib/qtjava/QSqlIndex.cpp +++ b/qtjava/javalib/qtjava/QSqlIndex.cpp @@ -5,38 +5,38 @@ #include #include -#include +#include -class QSqlIndexJBridge : public QSqlIndex +class TQSqlIndexJBridge : public TQSqlIndex { public: - QSqlIndexJBridge(const TQString& arg1,const TQString& arg2) : TQSqlIndex(arg1,arg2) {}; - QSqlIndexJBridge(const TQString& arg1) : TQSqlIndex(arg1) {}; - QSqlIndexJBridge() : TQSqlIndex() {}; - QSqlIndexJBridge(const TQSqlIndex& arg1) : TQSqlIndex(arg1) {}; - ~QSqlIndexJBridge() {QtSupport::qtKeyDeleted(this);} + TQSqlIndexJBridge(const TTQString& arg1,const TTQString& arg2) : TTQSqlIndex(arg1,arg2) {}; + TQSqlIndexJBridge(const TTQString& arg1) : TTQSqlIndex(arg1) {}; + TQSqlIndexJBridge() : TTQSqlIndex() {}; + TQSqlIndexJBridge(const TTQSqlIndex& arg1) : TTQSqlIndex(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)); + ((TTQSqlIndex*) QtSupport::getQt(env, obj))->append((const TTQSqlField&)*(const TTQSqlField*) 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); + ((TTQSqlIndex*) QtSupport::getQt(env, obj))->append((const TTQSqlField&)*(const TTQSqlField*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->cursorName(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -50,7 +50,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlIndex*)QtSupport::getQt(env, obj); + delete (TTQSqlIndex*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -60,15 +60,15 @@ 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(QSqlIndexJBridge::fromStringList((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, l, &_qlist_l), (const TQSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.TQSqlIndex", TRUE); +static TTQStringList* _qlist_l = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlIndex(TQSqlIndexJBridge::fromStringList((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, l, &_qlist_l), (const TTQSqlCursor*) QtSupport::getQt(env, cursor))), "org.kde.qt.TTQSqlIndex", 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); + jboolean xret = (jboolean) ((TTQSqlIndex*) QtSupport::getQt(env, obj))->isDescending((int) i); return xret; } @@ -81,49 +81,49 @@ Java_org_kde_qt_QSqlIndex_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QSqlIndex_name(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQSqlIndex*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newQSqlIndex__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge()); + QtSupport::setQt(env, obj, new TQSqlIndexJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName) +Java_org_kde_qt_QSqlIndex_newTQSqlIndex__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName) { -static TQString* _qstring_cursorName = 0; +static TTQString* _qstring_cursorName = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName))); + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring cursorName, jstring name) +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; +static TTQString* _qstring_cursorName = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlIndexJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, cursorName, &_qstring_cursorName), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, cursorName, &_qstring_cursorName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlIndex_newQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlIndexJBridge((const TQSqlIndex&)*(const TQSqlIndex*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlIndexJBridge((const TTQSqlIndex&)*(const TTQSqlIndex*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -132,86 +132,86 @@ Java_org_kde_qt_QSqlIndex_newQSqlIndex__Lorg_kde_qt_QSqlIndex_2(JNIEnv* env, job 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::toQString(env, cursorName, &_qstring_cursorName)); +static TTQString* _qstring_cursorName = 0; + ((TTQSqlIndex*) QtSupport::getQt(env, obj))->setCursorName((const TTQString&)*(TTQString*) 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); + ((TTQSqlIndex*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlIndex*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, prefix, &_qstring_prefix)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_prefix = 0; + _qlist = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, prefix, &_qstring_prefix), (bool) verbose); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_prefix = 0; + _qlist = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toStringList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) verbose); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlIndex*) 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::toQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; + _qstring = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep), (bool) verbose); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TTQSqlIndex*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) 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 index 04b23026..0abe585a 100644 --- a/qtjava/javalib/qtjava/QSqlIndex.h +++ b/qtjava/javalib/qtjava/QSqlIndex.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlIndex_newQSqlIndex__Lorg_kde_qt_QSqlIndex_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlPropertyMap.cpp b/qtjava/javalib/qtjava/QSqlPropertyMap.cpp index 989dbf38..5f42834b 100644 --- a/qtjava/javalib/qtjava/QSqlPropertyMap.cpp +++ b/qtjava/javalib/qtjava/QSqlPropertyMap.cpp @@ -4,20 +4,20 @@ #include #include -#include +#include -class QSqlPropertyMapJBridge : public QSqlPropertyMap +class TQSqlPropertyMapJBridge : public TQSqlPropertyMap { public: - QSqlPropertyMapJBridge() : TQSqlPropertyMap() {}; - ~QSqlPropertyMapJBridge() {QtSupport::qtKeyDeleted(this);} + TQSqlPropertyMapJBridge() : TTQSqlPropertyMap() {}; + ~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*)QSqlPropertyMapJBridge::defaultMap(), "org.kde.qt.TQSqlPropertyMap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQSqlPropertyMapJBridge::defaultMap(), "org.kde.qt.TTQSqlPropertyMap"); return xret; } @@ -32,7 +32,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlPropertyMap*)QtSupport::getQt(env, obj); + delete (TTQSqlPropertyMap*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -41,9 +41,9 @@ Java_org_kde_qt_QSqlPropertyMap_finalize(JNIEnv* env, jobject obj) 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::toQString(env, classname, &_qstring_classname), (const TQString&)*(TQString*) QtSupport::toQString(env, property, &_qstring_property)); +static TTQString* _qstring_classname = 0; +static TTQString* _qstring_property = 0; + ((TTQSqlPropertyMap*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, classname, &_qstring_classname), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, property, &_qstring_property)); return; } @@ -51,7 +51,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_installDefaultMap(JNIEnv* env, jclass cls, jobject map) { (void) cls; - QSqlPropertyMapJBridge::installDefaultMap((TQSqlPropertyMap*) QtSupport::getQt(env, map)); + TQSqlPropertyMapJBridge::installDefaultMap((TTQSqlPropertyMap*) QtSupport::getQt(env, map)); return; } @@ -62,10 +62,10 @@ Java_org_kde_qt_QSqlPropertyMap_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlPropertyMap_newQSqlPropertyMap(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlPropertyMap_newTQSqlPropertyMap(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlPropertyMapJBridge()); + QtSupport::setQt(env, obj, new TQSqlPropertyMapJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -74,22 +74,22 @@ Java_org_kde_qt_QSqlPropertyMap_newQSqlPropertyMap(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlPropertyMap*) QtSupport::getQt(env, obj))->property((TTQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TTQVariant", 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::toQString(env, classname, &_qstring_classname)); +static TTQString* _qstring_classname = 0; + ((TTQSqlPropertyMap*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) 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)); + ((TTQSqlPropertyMap*) QtSupport::getQt(env, obj))->setProperty((TTQWidget*) QtSupport::getQt(env, widget), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, value)); return; } diff --git a/qtjava/javalib/qtjava/QSqlPropertyMap.h b/qtjava/javalib/qtjava/QSqlPropertyMap.h index 8c74a2db..944b566b 100644 --- a/qtjava/javalib/qtjava/QSqlPropertyMap.h +++ b/qtjava/javalib/qtjava/QSqlPropertyMap.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlPropertyMap_newQSqlPropertyMap (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlQuery.cpp b/qtjava/javalib/qtjava/QSqlQuery.cpp index 7466712e..9e8a6022 100644 --- a/qtjava/javalib/qtjava/QSqlQuery.cpp +++ b/qtjava/javalib/qtjava/QSqlQuery.cpp @@ -6,105 +6,105 @@ #include #include -#include +#include -class QSqlQueryJBridge : public QSqlQuery +class TQSqlQueryJBridge : public TQSqlQuery { public: - QSqlQueryJBridge(TQSqlResult* arg1) : TQSqlQuery(arg1) {}; - QSqlQueryJBridge(const TQString& arg1,TQSqlDatabase* arg2) : TQSqlQuery(arg1,arg2) {}; - QSqlQueryJBridge(const TQString& arg1) : TQSqlQuery(arg1) {}; - QSqlQueryJBridge() : TQSqlQuery() {}; - QSqlQueryJBridge(TQSqlDatabase* arg1) : TQSqlQuery(arg1) {}; - QSqlQueryJBridge(const TQSqlQuery& arg1) : TQSqlQuery(arg1) {}; + TQSqlQueryJBridge(TTQSqlResult* arg1) : TTQSqlQuery(arg1) {}; + TQSqlQueryJBridge(const TTQString& arg1,TTQSqlDatabase* arg2) : TTQSqlQuery(arg1,arg2) {}; + TQSqlQueryJBridge(const TTQString& arg1) : TTQSqlQuery(arg1) {}; + TQSqlQueryJBridge() : TTQSqlQuery() {}; + TQSqlQueryJBridge(TTQSqlDatabase* arg1) : TTQSqlQuery(arg1) {}; + TQSqlQueryJBridge(const TTQSqlQuery& arg1) : TTQSqlQuery(arg1) {}; void protected_beforeSeek() { - TQSqlQuery::beforeSeek(); + TTQSqlQuery::beforeSeek(); return; } void protected_afterSeek() { - TQSqlQuery::afterSeek(); + TTQSqlQuery::afterSeek(); return; } - ~QSqlQueryJBridge() {QtSupport::qtKeyDeleted(this);} + ~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)); + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TTQVariant&)*(const TTQVariant*) 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); + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->addBindValue((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::ParameterType) type); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_afterSeek(JNIEnv* env, jobject obj) { - ((QSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_afterSeek(); + ((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(); + jint xret = (jint) ((TTQSqlQuery*) QtSupport::getQt(env, obj))->at(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_beforeSeek(JNIEnv* env, jobject obj) { - ((QSqlQueryJBridge*) QtSupport::getQt(env, obj))->protected_beforeSeek(); + ((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)); + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TTQVariant&)*(const TTQVariant*) 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); + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((int) pos, (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::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::toQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); +static TTQString* _qstring_placeholder = 0; + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TTQVariant&)*(const TTQVariant*) 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::toQString(env, placeholder, &_qstring_placeholder), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val), (TQSql::ParameterType) type); +static TTQString* _qstring_placeholder = 0; + ((TTQSqlQuery*) QtSupport::getQt(env, obj))->bindValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, val), (TTQSql::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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((int) pos)), "org.kde.qt.TTQVariant", 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::toQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TQVariant", TRUE); +static TTQString* _qstring_placeholder = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlQuery*) QtSupport::getQt(env, obj))->boundValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, placeholder, &_qstring_placeholder))), "org.kde.qt.TTQVariant", TRUE); return xret; } @@ -118,38 +118,38 @@ Java_org_kde_qt_QSqlQuery_dispose(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlQuery*) QtSupport::getQt(env, obj))->driver(), "org.kde.qt.TTQSqlDriver"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_exec__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->exec(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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::toQString(env, query, &_qstring_query)); +static TTQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TTQSqlQuery*) QtSupport::getQt(env, obj))->exec((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlQuery*) 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); + delete (TTQSqlQuery*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -158,14 +158,14 @@ Java_org_kde_qt_QSqlQuery_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_first(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->first(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*) QtSupport::getQt(env, obj))->isActive(); return xret; } @@ -178,110 +178,110 @@ Java_org_kde_qt_QSqlQuery_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_isForwardOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->isForwardOnly(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSqlError(((TTQSqlQuery*) QtSupport::getQt(env, obj))->lastError()), "org.kde.qt.TTQSqlError", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlQuery*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*) QtSupport::getQt(env, obj))->last(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlQueryJBridge()); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) +Java_org_kde_qt_QSqlQuery_newTQSqlQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring query) { -static TQString* _qstring_query = 0; +static TTQString* _qstring_query = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, query, &_qstring_query))); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, query, &_qstring_query))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jstring query, jobject db) +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; +static TTQString* _qstring_query = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlQueryJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, query, &_qstring_query), (TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, query, &_qstring_query), (TTQSqlDatabase*) QtSupport::getQt(env, db))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlDatabase_2(JNIEnv* env, jobject obj, jobject db) +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 QSqlQueryJBridge((TQSqlDatabase*) QtSupport::getQt(env, db))); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TTQSqlDatabase*) QtSupport::getQt(env, db))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlQueryJBridge((const TQSqlQuery&)*(const TQSqlQuery*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((const TTQSqlQuery&)*(const TTQSqlQuery*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, jobject obj, jobject r) +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 QSqlQueryJBridge((TQSqlResult*) QtSupport::getQt(env, r))); + QtSupport::setQt(env, obj, new TQSqlQueryJBridge((TTQSqlResult*) QtSupport::getQt(env, r))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -290,71 +290,71 @@ Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlResult_2(JNIEnv* env, jo JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlQuery_next(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlQuery*) QtSupport::getQt(env, obj))->next(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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(); + jint xret = (jint) ((TTQSqlQuery*) 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::toQString(env, query, &_qstring_query)); +static TTQString* _qstring_query = 0; + jboolean xret = (jboolean) ((TTQSqlQuery*) QtSupport::getQt(env, obj))->prepare((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlQuery*) QtSupport::getQt(env, obj))->result(), "org.kde.qt.TTQSqlResult"); 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); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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); + jboolean xret = (jboolean) ((TTQSqlQuery*) 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); + ((TTQSqlQuery*) 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(); + jint xret = (jint) ((TTQSqlQuery*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlQuery*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlQuery.h b/qtjava/javalib/qtjava/QSqlQuery.h index fdeffb6b..13acb74d 100644 --- a/qtjava/javalib/qtjava/QSqlQuery.h +++ b/qtjava/javalib/qtjava/QSqlQuery.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlResult_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__Ljava_lang_String_2Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlDatabase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlQuery_newQSqlQuery__Lorg_kde_qt_QSqlQueryInterface_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlRecord.cpp b/qtjava/javalib/qtjava/QSqlRecord.cpp index e0e6536b..8309f0de 100644 --- a/qtjava/javalib/qtjava/QSqlRecord.cpp +++ b/qtjava/javalib/qtjava/QSqlRecord.cpp @@ -6,64 +6,64 @@ #include #include -#include +#include -class QSqlRecordJBridge : public QSqlRecord +class TQSqlRecordJBridge : public TQSqlRecord { public: - QSqlRecordJBridge() : TQSqlRecord() {}; - QSqlRecordJBridge(const TQSqlRecord& arg1) : TQSqlRecord(arg1) {}; + TQSqlRecordJBridge() : TTQSqlRecord() {}; + TQSqlRecordJBridge(const TTQSqlRecord& arg1) : TTQSqlRecord(arg1) {}; void public_clear() { - TQSqlRecord::clear(); + TTQSqlRecord::clear(); return; } void public_clearValues() { - TQSqlRecord::clearValues(); + TTQSqlRecord::clearValues(); return; } - ~QSqlRecordJBridge() {QtSupport::qtKeyDeleted(this);} + ~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)); + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->append((const TTQSqlField&)*(const TTQSqlField*) QtSupport::getQt(env, field)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clearValues__(JNIEnv* env, jobject obj) { - ((QSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clearValues(); + ((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); + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->clearValues((bool) nullify); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_clear(JNIEnv* env, jobject obj) { - ((QSqlRecordJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlRecord*) QtSupport::getQt(env, obj))->contains((const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQSqlRecord*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -77,23 +77,23 @@ Java_org_kde_qt_QSqlRecord_dispose(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlRecord*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlRecord*) QtSupport::getQt(env, obj))->field((int) i), "org.kde.qt.TTQSqlField"); 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::toQString(env, name, &_qstring_name)), "org.kde.qt.TQSqlField"); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSqlRecord*) QtSupport::getQt(env, obj))->field((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TTQSqlField"); return xret; } @@ -101,7 +101,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQSqlRecord*)QtSupport::getQt(env, obj); + delete (TTQSqlRecord*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -110,7 +110,7 @@ Java_org_kde_qt_QSqlRecord_finalize(JNIEnv* env, jobject obj) 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)); + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->insert((int) pos, (const TTQSqlField&)*(const TTQSqlField*) QtSupport::getQt(env, field)); return; } @@ -123,55 +123,55 @@ Java_org_kde_qt_QSqlRecord_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QSqlRecord_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQSqlRecord*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQSqlRecord*) 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); + jboolean xret = (jboolean) ((TTQSqlRecord*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlRecord*) QtSupport::getQt(env, obj))->isGenerated((const TTQString&)*(TTQString*) 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); + jboolean xret = (jboolean) ((TTQSqlRecord*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQSqlRecord*) QtSupport::getQt(env, obj))->isNull((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_newQSqlRecord__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QSqlRecord_newTQSqlRecord__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QSqlRecordJBridge()); + QtSupport::setQt(env, obj, new TQSqlRecordJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QSqlRecord_newQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env, jobject obj, jobject other) +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 QSqlRecordJBridge((const TQSqlRecord&)*(const TQSqlRecord*) QtSupport::getQt(env, other))); + QtSupport::setQt(env, obj, new TQSqlRecordJBridge((const TTQSqlRecord&)*(const TTQSqlRecord*) QtSupport::getQt(env, other))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -180,119 +180,119 @@ Java_org_kde_qt_QSqlRecord_newQSqlRecord__Lorg_kde_qt_QSqlRecord_2(JNIEnv* env, 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jint xret = (jint) ((TTQSqlRecord*) QtSupport::getQt(env, obj))->position((const TTQString&)*(TTQString*) 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); + ((TTQSqlRecord*) 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); + ((TTQSqlRecord*) 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::toQString(env, name, &_qstring_name), (bool) generated); +static TTQString* _qstring_name = 0; + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->setGenerated((const TTQString&)*(TTQString*) 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); + ((TTQSqlRecord*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->setNull((const TTQString&)*(TTQString*) 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)); + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->setValue((int) i, (const TTQVariant&)*(const TTQVariant*) 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::toQString(env, name, &_qstring_name), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, val)); +static TTQString* _qstring_name = 0; + ((TTQSqlRecord*) QtSupport::getQt(env, obj))->setValue((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQVariant&)*(const TTQVariant*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQSqlRecord*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, prefix, &_qstring_prefix)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_prefix = 0; + _qlist = ((TTQSqlRecord*) QtSupport::getQt(env, obj))->toStringList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQSqlRecord*) 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::toQString(env, prefix, &_qstring_prefix)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; + _qstring = ((TTQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, sep, &_qstring_sep)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_sep = 0; + _qstring = ((TTQSqlRecord*) QtSupport::getQt(env, obj))->toString((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlRecord*) QtSupport::getQt(env, obj))->value((int) i)), "org.kde.qt.TTQVariant", 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::toQString(env, name, &_qstring_name))), "org.kde.qt.TQVariant", TRUE); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQVariant(((TTQSqlRecord*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TTQVariant", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QSqlRecord.h b/qtjava/javalib/qtjava/QSqlRecord.h index 6f487b2d..a7c3fc21 100644 --- a/qtjava/javalib/qtjava/QSqlRecord.h +++ b/qtjava/javalib/qtjava/QSqlRecord.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newQSqlRecord__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QSqlRecord_newQSqlRecord__Lorg_kde_qt_QSqlRecord_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSqlResult.cpp b/qtjava/javalib/qtjava/QSqlResult.cpp index 0304fec2..04ed9140 100644 --- a/qtjava/javalib/qtjava/QSqlResult.cpp +++ b/qtjava/javalib/qtjava/QSqlResult.cpp @@ -2,5 +2,5 @@ #include #include -#include +#include diff --git a/qtjava/javalib/qtjava/QStatusBar.cpp b/qtjava/javalib/qtjava/QStatusBar.cpp index fffbbc75..946a4375 100644 --- a/qtjava/javalib/qtjava/QStatusBar.cpp +++ b/qtjava/javalib/qtjava/QStatusBar.cpp @@ -3,383 +3,383 @@ #include #include -#include +#include -class QStatusBarJBridge : public QStatusBar +class TQStatusBarJBridge : public TQStatusBar { public: - QStatusBarJBridge(TQWidget* arg1,const char* arg2) : TQStatusBar(arg1,arg2) {}; - QStatusBarJBridge(TQWidget* arg1) : TQStatusBar(arg1) {}; - QStatusBarJBridge() : TQStatusBar() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQStatusBar::paintEvent(arg1); + TQStatusBarJBridge(TTQWidget* arg1,const char* arg2) : TTQStatusBar(arg1,arg2) {}; + TQStatusBarJBridge(TTQWidget* arg1) : TTQStatusBar(arg1) {}; + TQStatusBarJBridge() : TTQStatusBar() {}; + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQStatusBar::paintEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQStatusBar::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQStatusBar::resizeEvent(arg1); return; } void protected_reformat() { - TQStatusBar::reformat(); + TTQStatusBar::reformat(); return; } void protected_hideOrShow() { - TQStatusBar::hideOrShow(); + TTQStatusBar::hideOrShow(); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQStatusBar::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQStatusBar::event(arg1); } - ~QStatusBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQStatusBarJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQStatusBar::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQStatusBar::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQStatusBar::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQStatusBar::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void removeWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removeWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQStatusBar::removeWidget(arg1); + void removeWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"removeWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQStatusBar::removeWidget(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQStatusBar",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQStatusBar",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQStatusBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQStatusBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -388,21 +388,21 @@ public: 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)); + ((TTQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + ((TTQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + ((TTQStatusBar*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) QtSupport::getQt(env, arg1), (int) stretch, (bool) arg3); return; } @@ -410,14 +410,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QStatusBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQStatusBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQStatusBar*) 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(); + ((TTQStatusBar*) QtSupport::getQt(env, obj))->clear(); return; } @@ -431,15 +431,15 @@ Java_org_kde_qt_QStatusBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQStatusBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQStatusBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -448,7 +448,7 @@ Java_org_kde_qt_QStatusBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_hideOrShow(JNIEnv* env, jobject obj) { - ((QStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_hideOrShow(); + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_hideOrShow(); return; } @@ -461,59 +461,59 @@ Java_org_kde_qt_QStatusBar_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QStatusBar_isSizeGripEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQStatusBar*) QtSupport::getQt(env, obj))->isSizeGripEnabled(); + jboolean xret = (jboolean) ((TTQStatusBar*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQStatusBar*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (int) arg2); +static TTQString* _qstring_arg1 = 0; + ((TTQStatusBar*) QtSupport::getQt(env, obj))->message((const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStatusBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newQStatusBar__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QStatusBar_newTQStatusBar__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStatusBarJBridge()); + QtSupport::setQt(env, obj, new TQStatusBarJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newQStatusBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQStatusBarJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStatusBar_newQStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQStatusBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -522,56 +522,56 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_reformat(JNIEnv* env, jobject obj) { - ((QStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_reformat(); + ((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)); + ((TTQStatusBar*) QtSupport::getQt(env, obj))->removeWidget((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQStatusBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQStatusBar*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QStatusBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 86478dc2..3ae80233 100644 --- a/qtjava/javalib/qtjava/QStatusBar.h +++ b/qtjava/javalib/qtjava/QStatusBar.h @@ -12,9 +12,9 @@ extern "C" 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_newQStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newQStatusBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStatusBar_newQStatusBar__ (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); diff --git a/qtjava/javalib/qtjava/QStoredDrag.cpp b/qtjava/javalib/qtjava/QStoredDrag.cpp index 8c3d5a07..c88052f6 100644 --- a/qtjava/javalib/qtjava/QStoredDrag.cpp +++ b/qtjava/javalib/qtjava/QStoredDrag.cpp @@ -4,48 +4,48 @@ #include #include -#include +#include -class QStoredDragJBridge : public QStoredDrag +class TQStoredDragJBridge : public TQStoredDrag { public: - QStoredDragJBridge(const char* arg1,TQWidget* arg2,const char* arg3) : TQStoredDrag(arg1,arg2,arg3) {}; - QStoredDragJBridge(const char* arg1,TQWidget* arg2) : TQStoredDrag(arg1,arg2) {}; - QStoredDragJBridge(const char* arg1) : TQStoredDrag(arg1) {}; - ~QStoredDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQStoredDragJBridge(const char* arg1,TTQWidget* arg2,const char* arg3) : TTQStoredDrag(arg1,arg2,arg3) {}; + TQStoredDragJBridge(const char* arg1,TTQWidget* arg2) : TTQStoredDrag(arg1,arg2) {}; + TQStoredDragJBridge(const char* arg1) : TTQStoredDrag(arg1) {}; + ~TQStoredDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQStoredDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQStoredDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -56,7 +56,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QStoredDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQStoredDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQStoredDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -70,17 +70,17 @@ Java_org_kde_qt_QStoredDrag_dispose(JNIEnv* env, jobject obj) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQStoredDrag*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQStoredDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQStoredDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -90,7 +90,7 @@ 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); + _qstring = ((TTQStoredDrag*) QtSupport::getQt(env, obj))->format((int) i); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -103,39 +103,39 @@ Java_org_kde_qt_QStoredDrag_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStoredDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_newQStoredDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType) +Java_org_kde_qt_QStoredDrag_newTQStoredDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType) { -static TQCString* _qstring_mimeType = 0; +static TTQCString* _qstring_mimeType = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType))); + 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_newQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource) +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; +static TTQCString* _qstring_mimeType = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStoredDrag_newQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mimeType, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_mimeType = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQStoredDragJBridge((const char*) QtSupport::toCharString(env, mimeType, &_qstring_mimeType), (TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -144,29 +144,29 @@ static TQCString* _qstring_name = 0; 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::toQByteArray(env, arg1, &_qbyteArray_arg1)); +static TTQByteArray* _qbyteArray_arg1 = 0; + ((TTQStoredDrag*) QtSupport::getQt(env, obj))->setEncodedData((const TTQByteArray&)*(TTQByteArray*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QStoredDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 5487b915..253cb968 100644 --- a/qtjava/javalib/qtjava/QStoredDrag.h +++ b/qtjava/javalib/qtjava/QStoredDrag.h @@ -12,9 +12,9 @@ extern "C" 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_newQStoredDrag__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_newQStoredDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStoredDrag_newQStoredDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QStyle.cpp b/qtjava/javalib/qtjava/QStyle.cpp index d9bf96b2..23c93166 100644 --- a/qtjava/javalib/qtjava/QStyle.cpp +++ b/qtjava/javalib/qtjava/QStyle.cpp @@ -8,312 +8,312 @@ #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(); + _qstring = ((TTQStyle*) 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(); + jint xret = (jint) ((TTQStyle*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControlMask((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQStyleOption&)*(const TTQStyleOption*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) 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); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::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); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::SFlags) how, (TTQStyle::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); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::SFlags) how, (TTQStyle::SCFlags) sub, (TTQStyle::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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawComplexControl((TTQStyle::ComplexControl) control, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::SFlags) how, (TTQStyle::SCFlags) sub, (TTQStyle::SCFlags) subActive, (const TTQStyleOption&)*(const TTQStyleOption*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TTQStyle::ControlElement) element, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawControlMask((TTQStyle::ControlElement) element, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQStyleOption&)*(const TTQStyleOption*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawControl((TTQStyle::ControlElement) element, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) 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); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawControl((TTQStyle::ControlElement) element, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawControl((TTQStyle::ControlElement) element, (TTQPainter*) QtSupport::getQt(env, p), (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::SFlags) how, (const TTQStyleOption&)*(const TTQStyleOption*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQStyle*) QtSupport::getQt(env, obj))->drawItem((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) len); +static TTQString* _qstring_text = 0; + ((TTQStyle*) QtSupport::getQt(env, obj))->drawItem((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) 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::toQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor)); +static TTQString* _qstring_text = 0; + ((TTQStyle*) QtSupport::getQt(env, obj))->drawItem((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TTQColor*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TTQStyle::PrimitiveElement) pe, (TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) 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); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TTQStyle::PrimitiveElement) pe, (TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->drawPrimitive((TTQStyle::PrimitiveElement) pe, (TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (TTQStyle::SFlags) flags, (const TTQStyleOption&)*(const TTQStyleOption*) 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::toQString(env, text, &_qstring_text))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyle*) QtSupport::getQt(env, obj))->itemRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TTQRect", 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::toQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyle*) QtSupport::getQt(env, obj))->itemRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (int) flags, (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TTQStyle::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)); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->pixelMetric((TTQStyle::PixelMetric) metric, (const TTQWidget*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->polishPopupMenu((TTQPopupMenu*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->polish((TTQApplication*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->polish((TTQPalette&)*(TTQPalette*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->polish((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TTQStyle::ComplexControl) control, (const TTQWidget*) QtSupport::getQt(env, widget), (TTQStyle::SubControl) sc)), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyle*) QtSupport::getQt(env, obj))->querySubControlMetrics((TTQStyle::ComplexControl) control, (const TTQWidget*) QtSupport::getQt(env, widget), (TTQStyle::SubControl) sc, (const TTQStyleOption&)*(const TTQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TTQRect", 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)); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->querySubControl((TTQStyle::ComplexControl) control, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQPoint&)*(const TTQPoint*) 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)); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->querySubControl((TTQStyle::ComplexControl) control, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQStyleOption&)*(const TTQStyleOption*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQStyle*) QtSupport::getQt(env, obj))->scrollBarExtent()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TTQStyle::ContentsType) contents, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, contentsSize))), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQStyle*) QtSupport::getQt(env, obj))->sizeFromContents((TTQStyle::ContentsType) contents, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, contentsSize), (const TTQStyleOption&)*(const TTQStyleOption*) QtSupport::getQt(env, arg4))), "org.kde.qt.TTQSize", 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); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->styleHint((TTQStyle::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)); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->styleHint((TTQStyle::StyleHint) stylehint, (const TTQWidget*) 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)); + jint xret = (jint) ((TTQStyle*) QtSupport::getQt(env, obj))->styleHint((TTQStyle::StyleHint) stylehint, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQStyleOption&)*(const TTQStyleOption*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TTQStyle::StylePixmap) stylepixmap)), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TTQStyle::StylePixmap) stylepixmap, (const TTQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQStyle*) QtSupport::getQt(env, obj))->stylePixmap((TTQStyle::StylePixmap) stylepixmap, (const TTQWidget*) QtSupport::getQt(env, widget), (const TTQStyleOption&)*(const TTQStyleOption*) QtSupport::getQt(env, arg3))), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyle*) QtSupport::getQt(env, obj))->subRect((TTQStyle::SubRect) r, (const TTQWidget*) QtSupport::getQt(env, widget))), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -323,7 +323,7 @@ Java_org_kde_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintAr 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); + ((TTQStyle*) QtSupport::getQt(env, obj))->tabbarMetrics((const TTQWidget*) 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); @@ -333,35 +333,35 @@ Java_org_kde_qt_QStyle_tabbarMetrics(JNIEnv* env, jobject obj, jobject t, jintAr JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyle_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = TQStyle::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TTQStyle::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; + TTQString _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::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TTQStyle::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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->unPolish((TTQApplication*) 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)); + ((TTQStyle*) QtSupport::getQt(env, obj))->unPolish((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -369,7 +369,7 @@ 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(TTQStyle::visualRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, logical), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, bounding))), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -377,7 +377,7 @@ 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(TTQStyle::visualRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, logical), (const TTQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TTQRect", TRUE); return xret; } diff --git a/qtjava/javalib/qtjava/QStyleFactory.cpp b/qtjava/javalib/qtjava/QStyleFactory.cpp index 2acd3e2a..17901b60 100644 --- a/qtjava/javalib/qtjava/QStyleFactory.cpp +++ b/qtjava/javalib/qtjava/QStyleFactory.cpp @@ -4,21 +4,21 @@ #include #include -#include +#include -class QStyleFactoryJBridge : public QStyleFactory +class TQStyleFactoryJBridge : public TQStyleFactory { public: - QStyleFactoryJBridge() : TQStyleFactory() {}; - ~QStyleFactoryJBridge() {QtSupport::qtKeyDeleted(this);} + TQStyleFactoryJBridge() : TTQStyleFactory() {}; + ~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*)QStyleFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleFactoryJBridge::create((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQStyle"); return xret; } @@ -33,7 +33,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleFactory*)QtSupport::getQt(env, obj); + delete (TTQStyleFactory*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -48,17 +48,17 @@ Java_org_kde_qt_QStyleFactory_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QStyleFactory_keys(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; - _qlist = QStyleFactoryJBridge::keys(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + _qlist = TQStyleFactoryJBridge::keys(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleFactory_newQStyleFactory(JNIEnv* env, jobject obj) +Java_org_kde_qt_QStyleFactory_newTQStyleFactory(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleFactoryJBridge()); + 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 index 6811906b..5079ac3d 100644 --- a/qtjava/javalib/qtjava/QStyleFactory.h +++ b/qtjava/javalib/qtjava/QStyleFactory.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleFactory_newQStyleFactory (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QStyleOption.cpp b/qtjava/javalib/qtjava/QStyleOption.cpp index d3df380a..9e8c9e1c 100644 --- a/qtjava/javalib/qtjava/QStyleOption.cpp +++ b/qtjava/javalib/qtjava/QStyleOption.cpp @@ -5,52 +5,52 @@ #include #include -#include +#include -class QStyleOptionJBridge : public QStyleOption +class TQStyleOptionJBridge : public TQStyleOption { public: - QStyleOptionJBridge(TQStyleOption::StyleOptionDefault arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge() : TQStyleOption() {}; - QStyleOptionJBridge(int arg1,int arg2) : TQStyleOption(arg1,arg2) {}; - QStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : TQStyleOption(arg1,arg2,arg3,arg4) {}; - QStyleOptionJBridge(TQMenuItem* arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(TQMenuItem* arg1,int arg2) : TQStyleOption(arg1,arg2) {}; - QStyleOptionJBridge(TQMenuItem* arg1,int arg2,int arg3) : TQStyleOption(arg1,arg2,arg3) {}; - QStyleOptionJBridge(const TQColor& arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(TQTab* arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(TQListViewItem* arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(TQCheckListItem* arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(const TQRect& arg1) : TQStyleOption(arg1) {}; - QStyleOptionJBridge(TQWidget* arg1) : TQStyleOption(arg1) {}; - ~QStyleOptionJBridge() {QtSupport::qtKeyDeleted(this);} + TQStyleOptionJBridge(TTQStyleOption::StyleOptionDefault arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge() : TTQStyleOption() {}; + TQStyleOptionJBridge(int arg1,int arg2) : TTQStyleOption(arg1,arg2) {}; + TQStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : TTQStyleOption(arg1,arg2,arg3,arg4) {}; + TQStyleOptionJBridge(TTQMenuItem* arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(TTQMenuItem* arg1,int arg2) : TTQStyleOption(arg1,arg2) {}; + TQStyleOptionJBridge(TTQMenuItem* arg1,int arg2,int arg3) : TTQStyleOption(arg1,arg2,arg3) {}; + TQStyleOptionJBridge(const TTQColor& arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(TTQTab* arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(TTQListViewItem* arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(TTQCheckListItem* arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(const TTQRect& arg1) : TTQStyleOption(arg1) {}; + TQStyleOptionJBridge(TTQWidget* arg1) : TTQStyleOption(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(); + jint xret = (jint) ((TTQStyleOption*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleOption*) QtSupport::getQt(env, obj))->checkListItem(), "org.kde.qt.TTQCheckListItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQStyleOption*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TTQColor"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_day(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->day(); + jint xret = (jint) ((TTQStyleOption*) QtSupport::getQt(env, obj))->day(); return xret; } @@ -65,7 +65,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleOption*)QtSupport::getQt(env, obj); + delete (TTQStyleOption*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -74,28 +74,28 @@ Java_org_kde_qt_QStyleOption_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_frameShadow(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShadow(); + jint xret = (jint) ((TTQStyleOption*) 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(); + jint xret = (jint) ((TTQStyleOption*) 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(); + jint xret = (jint) ((TTQStyleOption*) 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(); + jboolean xret = (jboolean) ((TTQStyleOption*) QtSupport::getQt(env, obj))->isDefault(); return xret; } @@ -108,163 +108,163 @@ Java_org_kde_qt_QStyleOption_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_lineWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->lineWidth(); + jint xret = (jint) ((TTQStyleOption*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleOption*) QtSupport::getQt(env, obj))->listViewItem(), "org.kde.qt.TTQListViewItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_maxIconWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->maxIconWidth(); + jint xret = (jint) ((TTQStyleOption*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleOption*) QtSupport::getQt(env, obj))->menuItem(), "org.kde.qt.TTQMenuItem"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleOption_midLineWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->midLineWidth(); + jint xret = (jint) ((TTQStyleOption*) QtSupport::getQt(env, obj))->midLineWidth(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QStyleOption_newTQStyleOption__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleOptionJBridge()); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QStyleOption_newTQStyleOption__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleOptionJBridge((TQStyleOption::StyleOptionDefault) arg1)); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQStyleOption::StyleOptionDefault) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__II(JNIEnv* env, jobject obj, jint in1, jint in2) +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 QStyleOptionJBridge((int) in1, (int) in2)); + 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_newQStyleOption__IIII(JNIEnv* env, jobject obj, jint in1, jint in2, jint in3, jint in4) +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 QStyleOptionJBridge((int) in1, (int) in2, (int) in3, (int) in4)); + 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_newQStyleOption__Lorg_kde_qt_QCheckListItem_2(JNIEnv* env, jobject obj, jobject i) +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 QStyleOptionJBridge((TQCheckListItem*) QtSupport::getQt(env, i))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQCheckListItem*) QtSupport::getQt(env, i))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject c) +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 QStyleOptionJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, c))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject i) +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 QStyleOptionJBridge((TQListViewItem*) QtSupport::getQt(env, i))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQListViewItem*) QtSupport::getQt(env, i))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2(JNIEnv* env, jobject obj, jobject m) +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 QStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQMenuItem*) QtSupport::getQt(env, m))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2I(JNIEnv* env, jobject obj, jobject m, jint in1) +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 QStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1)); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQMenuItem*) QtSupport::getQt(env, m), (int) in1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2II(JNIEnv* env, jobject obj, jobject m, jint in1, jint in2) +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 QStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1, (int) in2)); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQMenuItem*) 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_newQStyleOption__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) +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 QStyleOptionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject t) +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 QStyleOptionJBridge((TQTab*) QtSupport::getQt(env, t))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQTab*) QtSupport::getQt(env, t))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) +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 QStyleOptionJBridge((TQWidget*) QtSupport::getQt(env, w))); + QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TTQWidget*) QtSupport::getQt(env, w))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -273,28 +273,28 @@ Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QWidget_2(JNIEnv* env, 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQStyleOption*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQStyleOption*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleOption*) QtSupport::getQt(env, obj))->tab(), "org.kde.qt.TTQTab"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleOption*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QStyleOption.h b/qtjava/javalib/qtjava/QStyleOption.h index c27fccaf..4bdd25ca 100644 --- a/qtjava/javalib/qtjava/QStyleOption.h +++ b/qtjava/javalib/qtjava/QStyleOption.h @@ -10,19 +10,19 @@ extern "C" { #endif -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__I (JNIEnv *env, jobject, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__ (JNIEnv *env, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__II (JNIEnv *env, jobject, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2I (JNIEnv *env, jobject, jobject, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QMenuItem_2II (JNIEnv *env, jobject, jobject, jint, jint); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QCheckListItem_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -JNIEXPORT void JNICALL Java_org_kde_qt_QStyleOption_newQStyleOption__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QStyleSheet.cpp b/qtjava/javalib/qtjava/QStyleSheet.cpp index 3be5622f..405db201 100644 --- a/qtjava/javalib/qtjava/QStyleSheet.cpp +++ b/qtjava/javalib/qtjava/QStyleSheet.cpp @@ -5,48 +5,48 @@ #include #include -#include +#include -class QStyleSheetJBridge : public QStyleSheet +class TQStyleSheetJBridge : public TQStyleSheet { public: - QStyleSheetJBridge(TQObject* arg1,const char* arg2) : TQStyleSheet(arg1,arg2) {}; - QStyleSheetJBridge(TQObject* arg1) : TQStyleSheet(arg1) {}; - QStyleSheetJBridge() : TQStyleSheet() {}; - ~QStyleSheetJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQStyleSheetJBridge(TTQObject* arg1,const char* arg2) : TTQStyleSheet(arg1,arg2) {}; + TQStyleSheetJBridge(TTQObject* arg1) : TTQStyleSheet(arg1) {}; + TQStyleSheetJBridge() : TTQStyleSheet() {}; + ~TQStyleSheetJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQStyleSheet",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQStyleSheet",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -57,35 +57,35 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQStyleSheet*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQStyleSheet*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::convertFromPlainText((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QStyleSheetJBridge::convertFromPlainText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQStyleSheetItem::WhiteSpaceMode) mode); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::convertFromPlainText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQStyleSheetItem::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*)QStyleSheetJBridge::defaultSheet(), "org.kde.qt.TQStyleSheet"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQStyleSheetJBridge::defaultSheet(), "org.kde.qt.TTQStyleSheet"); return xret; } @@ -99,26 +99,26 @@ Java_org_kde_qt_QStyleSheet_dispose(JNIEnv* env, jobject obj) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQStyleSheet*) QtSupport::getQt(env, obj))->error((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheet_escape(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QStyleSheetJBridge::escape((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQStyleSheetJBridge::escape((const TTQString&)*(TTQString*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQStyleSheet*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQStyleSheet*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -127,7 +127,7 @@ Java_org_kde_qt_QStyleSheet_finalize(JNIEnv* env, jobject obj) 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)); + ((TTQStyleSheet*) QtSupport::getQt(env, obj))->insert((TTQStyleSheetItem*) QtSupport::getQt(env, item)); return; } @@ -140,15 +140,15 @@ Java_org_kde_qt_QStyleSheet_isDisposed(JNIEnv* env, jobject obj) 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::toQString(env, name, &_qstring_name)), "org.kde.qt.TQStyleSheetItem"); +static TTQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleSheet*) QtSupport::getQt(env, obj))->item((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TTQStyleSheetItem"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleSheet*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } @@ -156,37 +156,37 @@ 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) QStyleSheetJBridge::mightBeRichText((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) TQStyleSheetJBridge::mightBeRichText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newQStyleSheet__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QStyleSheet_newTQStyleSheet__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleSheetJBridge()); + QtSupport::setQt(env, obj, new TQStyleSheetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newQStyleSheet__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QStyleSheetJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQStyleSheetJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheet_newQStyleSheet__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleSheetJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQStyleSheetJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -195,7 +195,7 @@ static TQCString* _qstring_name = 0; 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); + ((TTQStyleSheet*) QtSupport::getQt(env, obj))->scaleFont((TTQFont&)*(TTQFont*) QtSupport::getQt(env, font), (int) logicalSize); return; } @@ -203,28 +203,28 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_setDefaultSheet(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QStyleSheetJBridge::setDefaultSheet((TQStyleSheet*) QtSupport::getQt(env, arg1)); + TQStyleSheetJBridge::setDefaultSheet((TTQStyleSheet*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QStyleSheetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 2d7780b8..ea60cc16 100644 --- a/qtjava/javalib/qtjava/QStyleSheet.h +++ b/qtjava/javalib/qtjava/QStyleSheet.h @@ -12,9 +12,9 @@ extern "C" 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_newQStyleSheet__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newQStyleSheet__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheet_newQStyleSheet__ (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); diff --git a/qtjava/javalib/qtjava/QStyleSheetItem.cpp b/qtjava/javalib/qtjava/QStyleSheetItem.cpp index 6bacb16c..f3c243b7 100644 --- a/qtjava/javalib/qtjava/QStyleSheetItem.cpp +++ b/qtjava/javalib/qtjava/QStyleSheetItem.cpp @@ -4,70 +4,70 @@ #include #include -#include +#include -class QStyleSheetItemJBridge : public QStyleSheetItem +class TQStyleSheetItemJBridge : public TQStyleSheetItem { public: - QStyleSheetItemJBridge(TQStyleSheet* arg1,const TQString& arg2) : TQStyleSheetItem(arg1,arg2) {}; - QStyleSheetItemJBridge(const TQStyleSheetItem& arg1) : TQStyleSheetItem(arg1) {}; - ~QStyleSheetItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQStyleSheetItemJBridge(TTQStyleSheet* arg1,const TTQString& arg2) : TTQStyleSheetItem(arg1,arg2) {}; + TQStyleSheetItemJBridge(const TTQStyleSheetItem& arg1) : TTQStyleSheetItem(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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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)); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->allowedInContext((const TTQStyleSheetItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TTQColor", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->displayMode(); return xret; } @@ -82,7 +82,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQStyleSheetItem*)QtSupport::getQt(env, obj); + delete (TTQStyleSheetItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -91,50 +91,50 @@ Java_org_kde_qt_QStyleSheetItem_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QStyleSheetItem_fontFamily(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->fontFamily(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->isAnchor(); return xret; } @@ -147,62 +147,62 @@ Java_org_kde_qt_QStyleSheetItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_lineSpacing(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->lineSpacing(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) 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); + jint xret = (jint) ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->margin((TTQStyleSheetItem::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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_newQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2(JNIEnv* env, jobject obj, jobject arg1) +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 QStyleSheetItemJBridge((const TQStyleSheetItem&)*(const TQStyleSheetItem*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((const TTQStyleSheetItem&)*(const TTQStyleSheetItem*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QStyleSheetItem_newQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QStyleSheetItemJBridge((TQStyleSheet*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQStyleSheetItemJBridge((TTQStyleSheet*) QtSupport::getQt(env, parent), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -211,177 +211,177 @@ static TQString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_numberOfColumns(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->numberOfColumns(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jboolean xret = (jboolean) ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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)); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setContexts((const TTQString&)*(TTQString*) 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); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setDisplayMode((TTQStyleSheetItem::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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setFontFamily((const TTQString&)*(TTQString*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setListStyle((TTQStyleSheetItem::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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setMargin((TTQStyleSheetItem::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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) 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); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setVerticalAlignment((TTQStyleSheetItem::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); + ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->setWhiteSpaceMode((TTQStyleSheetItem::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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TTQStyleSheet"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QStyleSheetItem_verticalAlignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQStyleSheetItem*) QtSupport::getQt(env, obj))->verticalAlignment(); + jint xret = (jint) ((TTQStyleSheetItem*) 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(); + jint xret = (jint) ((TTQStyleSheetItem*) QtSupport::getQt(env, obj))->whiteSpaceMode(); return xret; } diff --git a/qtjava/javalib/qtjava/QStyleSheetItem.h b/qtjava/javalib/qtjava/QStyleSheetItem.h index 529ace42..d5110810 100644 --- a/qtjava/javalib/qtjava/QStyleSheetItem.h +++ b/qtjava/javalib/qtjava/QStyleSheetItem.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newQStyleSheetItem__Lorg_kde_qt_QStyleSheet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QStyleSheetItem_newQStyleSheetItem__Lorg_kde_qt_QStyleSheetItem_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp b/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp index 8bc42e6d..85ffe766 100644 --- a/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp +++ b/qtjava/javalib/qtjava/QSyntaxHighlighter.cpp @@ -5,55 +5,55 @@ #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(); + jint xret = (jint) ((TTQSyntaxHighlighter*) 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::toQString(env, text, &_qstring_text), (int) endStateOfLastPara); +static TTQString* _qstring_text = 0; + jint xret = (jint) ((TTQSyntaxHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TTQString&)*(TTQString*) 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(); + ((TTQSyntaxHighlighter*) 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)); + ((TTQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TTQColor&)*(const TTQColor*) 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)); + ((TTQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TTQFont&)*(const TTQFont*) 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)); + ((TTQSyntaxHighlighter*) QtSupport::getQt(env, obj))->setFormat((int) start, (int) count, (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, font), (const TTQColor&)*(const TTQColor*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQSyntaxHighlighter*) QtSupport::getQt(env, obj))->textEdit(), "org.kde.qt.TTQTextEdit"); return xret; } diff --git a/qtjava/javalib/qtjava/QTab.cpp b/qtjava/javalib/qtjava/QTab.cpp index 2d9550e4..1c5dd857 100644 --- a/qtjava/javalib/qtjava/QTab.cpp +++ b/qtjava/javalib/qtjava/QTab.cpp @@ -5,16 +5,16 @@ #include #include -#include +#include -class QTabJBridge : public QTab +class TQTabJBridge : public TQTab { public: - QTabJBridge() : TQTab() {}; - QTabJBridge(const TQString& arg1) : TQTab(arg1) {}; - QTabJBridge(const TQIconSet& arg1,const TQString& arg2) : TQTab(arg1,arg2) {}; - QTabJBridge(const TQIconSet& arg1) : TQTab(arg1) {}; - ~QTabJBridge() {QtSupport::qtKeyDeleted(this);} + TQTabJBridge() : TTQTab() {}; + TQTabJBridge(const TTQString& arg1) : TTQTab(arg1) {}; + TQTabJBridge(const TTQIconSet& arg1,const TTQString& arg2) : TTQTab(arg1,arg2) {}; + TQTabJBridge(const TTQIconSet& arg1) : TTQTab(arg1) {}; + ~TQTabJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -28,7 +28,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTab*)QtSupport::getQt(env, obj); + delete (TTQTab*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,14 +37,14 @@ Java_org_kde_qt_QTab_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTab*) QtSupport::getQt(env, obj))->iconSet(), "org.kde.qt.TTQIconSet"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTab_identifier(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTab*) QtSupport::getQt(env, obj))->identifier(); + jint xret = (jint) ((TTQTab*) QtSupport::getQt(env, obj))->identifier(); return xret; } @@ -57,47 +57,47 @@ Java_org_kde_qt_QTab_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTab_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTab*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQTab*) QtSupport::getQt(env, obj))->isEnabled(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newQTab__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTab_newTQTab__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabJBridge()); + QtSupport::setQt(env, obj, new TQTabJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newQTab__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_qt_QTab_newTQTab__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQTabJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newQTab__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject icon) +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 QTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); + QtSupport::setQt(env, obj, new TQTabJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTab_newQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQTabJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -106,51 +106,51 @@ static TQString* _qstring_text = 0; 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQTab*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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); + ((TTQTab*) 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)); + ((TTQTab*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQTab*) 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)); + ((TTQTab*) QtSupport::getQt(env, obj))->setRect((const TTQRect&)*(const TTQRect*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTab*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTab*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QTab.h b/qtjava/javalib/qtjava/QTab.h index 00a07d2c..0491aa4b 100644 --- a/qtjava/javalib/qtjava/QTab.h +++ b/qtjava/javalib/qtjava/QTab.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newQTab__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newQTab__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newQTab__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTab_newQTab__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QTabBar.cpp b/qtjava/javalib/qtjava/QTabBar.cpp index 68d68736..33072b4e 100644 --- a/qtjava/javalib/qtjava/QTabBar.cpp +++ b/qtjava/javalib/qtjava/QTabBar.cpp @@ -8,413 +8,413 @@ #include #include -#include +#include -class QTabBarJBridge : public QTabBar +class TQTabBarJBridge : public TQTabBar { public: - QTabBarJBridge(TQWidget* arg1,const char* arg2) : TQTabBar(arg1,arg2) {}; - QTabBarJBridge(TQWidget* arg1) : TQTabBar(arg1) {}; - QTabBarJBridge() : TQTabBar() {}; + TQTabBarJBridge(TTQWidget* arg1,const char* arg2) : TTQTabBar(arg1,arg2) {}; + TQTabBarJBridge(TTQWidget* arg1) : TTQTabBar(arg1) {}; + TQTabBarJBridge() : TTQTabBar() {}; void public_layoutTabs() { - TQTabBar::layoutTabs(); + TTQTabBar::layoutTabs(); return; } - void protected_paint(TQPainter* arg1,TQTab* arg2,bool arg3) { - TQTabBar::paint(arg1,arg2,arg3); + void protected_paint(TTQPainter* arg1,TTQTab* arg2,bool arg3) { + TTQTabBar::paint(arg1,arg2,arg3); return; } - void protected_paintLabel(TQPainter* arg1,const TQRect& arg2,TQTab* arg3,bool arg4) { - TQTabBar::paintLabel(arg1,arg2,arg3,arg4); + void protected_paintLabel(TTQPainter* arg1,const TTQRect& arg2,TTQTab* arg3,bool arg4) { + TTQTabBar::paintLabel(arg1,arg2,arg3,arg4); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQTabBar::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQTabBar::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQTabBar::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQTabBar::focusOutEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabBar::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQTabBar::resizeEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQTabBar::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQTabBar::paintEvent(arg1); return; } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQTabBar::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQTabBar::mousePressEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQTabBar::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQTabBar::mouseMoveEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQTabBar::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQTabBar::mouseReleaseEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTabBar::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQTabBar::keyPressEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQTabBar::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQTabBar::styleChange(arg1); return; } - void protected_fontChange(const TQFont& arg1) { - TQTabBar::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQTabBar::fontChange(arg1); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQTabBar::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQTabBar::event(arg1); } - ~QTabBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTabBarJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTabBar::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTabBar::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTabBar::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTabBar::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTabBar::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQTabBar::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTabBar::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTabBar::keyPressEvent(arg1); } return; } - void removeTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"removeTab",(void*)arg1,"org.kde.qt.TQTab")) { - TQTabBar::removeTab(arg1); + void removeTab(TTQTab* arg1) { + if (!QtSupport::eventDelegate(this,"removeTab",(void*)arg1,"org.kde.qt.TTQTab")) { + TTQTabBar::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTabBar::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTabBar::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTabBar::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTabBar::mousePressEvent(arg1); } return; } - void setCurrentTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentTab",(void*)arg1,"org.kde.qt.TQTab")) { - TQTabBar::setCurrentTab(arg1); + void setCurrentTab(TTQTab* arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentTab",(void*)arg1,"org.kde.qt.TTQTab")) { + TTQTabBar::setCurrentTab(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTabBar::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTabBar::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } void layoutTabs() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","layoutTabs")) { - TQTabBar::layoutTabs(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","layoutTabs")) { + TTQTabBar::layoutTabs(); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTabBar::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTabBar::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQTabBar",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQTabBar",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -423,7 +423,7 @@ public: 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)); + jint xret = (jint) ((TTQTabBar*) QtSupport::getQt(env, obj))->addTab((TTQTab*) QtSupport::getQt(env, arg1)); return xret; } @@ -431,21 +431,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTabBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTabBar*) 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(); + jint xret = (jint) ((TTQTabBar*) 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(); + jint xret = (jint) ((TTQTabBar*) QtSupport::getQt(env, obj))->currentTab(); return xret; } @@ -459,15 +459,15 @@ Java_org_kde_qt_QTabBar_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabBar_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTabBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -476,42 +476,42 @@ Java_org_kde_qt_QTabBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusInEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_focusOutEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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); + jint xret = (jint) ((TTQTabBar*) 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)); + jint xret = (jint) ((TTQTabBar*) QtSupport::getQt(env, obj))->insertTab((TTQTab*) 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); + jint xret = (jint) ((TTQTabBar*) QtSupport::getQt(env, obj))->insertTab((TTQTab*) QtSupport::getQt(env, arg1), (int) index); return xret; } @@ -524,92 +524,92 @@ Java_org_kde_qt_QTabBar_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQTabBar*) QtSupport::getQt(env, obj))->isTabEnabled((int) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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(); + jint xret = (jint) ((TTQTabBar*) QtSupport::getQt(env, obj))->keyboardFocusTab(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_layoutTabs(JNIEnv* env, jobject obj) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->public_layoutTabs(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTabBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newQTabBar__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTabBar_newTQTabBar__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabBarJBridge()); + QtSupport::setQt(env, obj, new TQTabBarJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newQTabBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTabBarJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabBar_newQTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTabBarJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -618,156 +618,156 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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) { - ((QTabBarJBridge*) 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); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintLabel((TTQPainter*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2), (TTQTab*) 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) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (bool) arg3); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paint((TTQPainter*) QtSupport::getQt(env, arg1), (TTQTab*) 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)); + ((TTQTabBar*) QtSupport::getQt(env, obj))->removeTab((TTQTab*) 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); + ((TTQTabBar*) QtSupport::getQt(env, obj))->removeToolTip((int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabBar*) QtSupport::getQt(env, obj))->selectTab((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p)), "org.kde.qt.TTQTab"); 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); + ((TTQTabBar*) 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)); + ((TTQTabBar*) QtSupport::getQt(env, obj))->setCurrentTab((TTQTab*) 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); + ((TTQTabBar*) QtSupport::getQt(env, obj))->setShape((TTQTabBar::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); + ((TTQTabBar*) 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::toQString(env, tip, &_qstring_tip)); +static TTQString* _qstring_tip = 0; + ((TTQTabBar*) QtSupport::getQt(env, obj))->setToolTip((int) index, (const TTQString&)*(TTQString*) 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(); + jint xret = (jint) ((TTQTabBar*) 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(); + ((TTQTabBar*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTabBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQTabBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabBar*) QtSupport::getQt(env, obj))->tabAt((int) arg1), "org.kde.qt.TTQTab"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabBar*) QtSupport::getQt(env, obj))->tab((int) arg1), "org.kde.qt.TTQTab"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTabBar*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTabBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index d877a8fa..bf21b353 100644 --- a/qtjava/javalib/qtjava/QTabBar.h +++ b/qtjava/javalib/qtjava/QTabBar.h @@ -12,9 +12,9 @@ extern "C" 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_newQTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newQTabBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabBar_newQTabBar__ (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); diff --git a/qtjava/javalib/qtjava/QTabDialog.cpp b/qtjava/javalib/qtjava/QTabDialog.cpp index b6c2b5e2..5d04071d 100644 --- a/qtjava/javalib/qtjava/QTabDialog.cpp +++ b/qtjava/javalib/qtjava/QTabDialog.cpp @@ -7,360 +7,360 @@ #include #include -#include +#include -class QTabDialogJBridge : public QTabDialog +class TQTabDialogJBridge : public TQTabDialog { public: - QTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,Qt::WFlags arg4) : TQTabDialog(arg1,arg2,arg3,arg4) {}; - QTabDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQTabDialog(arg1,arg2,arg3) {}; - QTabDialogJBridge(TQWidget* arg1,const char* arg2) : TQTabDialog(arg1,arg2) {}; - QTabDialogJBridge(TQWidget* arg1) : TQTabDialog(arg1) {}; - QTabDialogJBridge() : TQTabDialog() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - TQTabDialog::paintEvent(arg1); + TQTabDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TTQTabDialog(arg1,arg2,arg3,arg4) {}; + TQTabDialogJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQTabDialog(arg1,arg2,arg3) {}; + TQTabDialogJBridge(TTQWidget* arg1,const char* arg2) : TTQTabDialog(arg1,arg2) {}; + TQTabDialogJBridge(TTQWidget* arg1) : TTQTabDialog(arg1) {}; + TQTabDialogJBridge() : TTQTabDialog() {}; + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQTabDialog::paintEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabDialog::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQTabDialog::resizeEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQTabDialog::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQTabDialog::styleChange(arg1); return; } - void protected_setTabBar(TQTabBar* arg1) { - TQTabDialog::setTabBar(arg1); + void protected_setTabBar(TTQTabBar* arg1) { + TTQTabDialog::setTabBar(arg1); return; } - TQTabBar* protected_tabBar() { - return (TQTabBar*) TQTabDialog::tabBar(); + TTQTabBar* protected_tabBar() { + return (TTQTabBar*) TTQTabDialog::tabBar(); } - ~QTabDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTabDialogJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTabDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTabDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTabDialog::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQTabDialog::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabDialog","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabDialog","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -369,39 +369,39 @@ public: 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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)); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->changeTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->changeTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return; } @@ -409,14 +409,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabDialog_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTabDialog*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTabDialog*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabDialog*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TTQWidget"); return xret; } @@ -430,8 +430,8 @@ Java_org_kde_qt_QTabDialog_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTabDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTabDialog*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -440,81 +440,81 @@ Java_org_kde_qt_QTabDialog_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabDialog_hasApplyButton(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTabDialog*) QtSupport::getQt(env, obj))->hasApplyButton(); + jboolean xret = (jboolean) ((TTQTabDialog*) 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(); + jboolean xret = (jboolean) ((TTQTabDialog*) 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(); + jboolean xret = (jboolean) ((TTQTabDialog*) 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(); + jboolean xret = (jboolean) ((TTQTabDialog*) 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(); + jboolean xret = (jboolean) ((TTQTabDialog*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) index); +static TTQString* _qstring_arg2 = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (int) index); +static TTQString* _qstring_label = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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)); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) 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); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) QtSupport::getQt(env, arg2), (int) index); return; } @@ -527,73 +527,73 @@ Java_org_kde_qt_QTabDialog_isDisposed(JNIEnv* env, jobject obj) 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)); +static TTQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQTabDialog*) 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)); + jboolean xret = (jboolean) ((TTQTabDialog*) QtSupport::getQt(env, obj))->isTabEnabled((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newQTabDialog__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTabDialog_newTQTabDialog__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabDialogJBridge()); + QtSupport::setQt(env, obj, new TQTabDialogJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTabDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTabDialogJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQTabDialogJBridge((TTQWidget*) 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_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQTabDialogJBridge((TTQWidget*) 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; @@ -602,197 +602,197 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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)); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->removePage((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setApplyButton__(JNIEnv* env, jobject obj) { - ((TQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setApplyButton((const TTQString&)*(TTQString*) 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(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setCancelButton((const TTQString&)*(TTQString*) 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(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setDefaultButton((const TTQString&)*(TTQString*) 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)); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, font)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setHelpButton__(JNIEnv* env, jobject obj) { - ((TQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setHelpButton((const TTQString&)*(TTQString*) 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(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setOKButton((const TTQString&)*(TTQString*) 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(); + ((TTQTabDialog*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setOkButton((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_setTabBar(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TTQTabBar*) 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); +static TTQCString* _qstring_arg1 = 0; + ((TTQTabDialog*) 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); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->setTabEnabled((TTQWidget*) 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)); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->showPage((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_show(JNIEnv* env, jobject obj) { - ((TQTabDialog*) QtSupport::getQt(env, obj))->show(); + ((TTQTabDialog*) QtSupport::getQt(env, obj))->show(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabDialog_tabBar(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabDialogJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TTQTabBar"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTabDialog*) QtSupport::getQt(env, obj))->tabLabel((TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTabDialogJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index cd356afa..7b3b7625 100644 --- a/qtjava/javalib/qtjava/QTabDialog.h +++ b/qtjava/javalib/qtjava/QTabDialog.h @@ -12,11 +12,11 @@ extern "C" 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_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newQTabDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabDialog_newQTabDialog__ (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); diff --git a/qtjava/javalib/qtjava/QTabWidget.cpp b/qtjava/javalib/qtjava/QTabWidget.cpp index e76e69b8..4c27c38b 100644 --- a/qtjava/javalib/qtjava/QTabWidget.cpp +++ b/qtjava/javalib/qtjava/QTabWidget.cpp @@ -7,378 +7,378 @@ #include #include -#include +#include -class QTabWidgetJBridge : public QTabWidget +class TQTabWidgetJBridge : public TQTabWidget { public: - QTabWidgetJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQTabWidget(arg1,arg2,arg3) {}; - QTabWidgetJBridge(TQWidget* arg1,const char* arg2) : TQTabWidget(arg1,arg2) {}; - QTabWidgetJBridge(TQWidget* arg1) : TQTabWidget(arg1) {}; - QTabWidgetJBridge() : TQTabWidget() {}; - void protected_showEvent(TQShowEvent* arg1) { - TQTabWidget::showEvent(arg1); + TQTabWidgetJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQTabWidget(arg1,arg2,arg3) {}; + TQTabWidgetJBridge(TTQWidget* arg1,const char* arg2) : TTQTabWidget(arg1,arg2) {}; + TQTabWidgetJBridge(TTQWidget* arg1) : TTQTabWidget(arg1) {}; + TQTabWidgetJBridge() : TTQTabWidget() {}; + void protected_showEvent(TTQShowEvent* arg1) { + TTQTabWidget::showEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTabWidget::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQTabWidget::resizeEvent(arg1); return; } - void protected_setTabBar(TQTabBar* arg1) { - TQTabWidget::setTabBar(arg1); + void protected_setTabBar(TTQTabBar* arg1) { + TTQTabWidget::setTabBar(arg1); return; } - TQTabBar* protected_tabBar() { - return (TQTabBar*) TQTabWidget::tabBar(); + TTQTabBar* protected_tabBar() { + return (TTQTabBar*) TTQTabWidget::tabBar(); } - void protected_styleChange(TQStyle& arg1) { - TQTabWidget::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQTabWidget::styleChange(arg1); return; } void protected_updateMask() { - TQTabWidget::updateMask(); + TTQTabWidget::updateMask(); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQTabWidget::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQTabWidget::eventFilter(arg1,arg2); } - ~QTabWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTabWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::removePage(arg1); + void removePage(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQTabWidget::removePage(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTabWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTabWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQTabWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQTabWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::showPage(arg1); + void showPage(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQTabWidget::showPage(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTabWidget","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTabWidget","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -387,39 +387,39 @@ public: 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->addTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->changeTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->changeTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return; } @@ -427,42 +427,42 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTabWidget_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTabWidget*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTabWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget(), "org.kde.qt.TTQWidget"); 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((Qt::Corner) corner), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabWidget*) QtSupport::getQt(env, obj))->cornerWidget((TQt::Corner) corner), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTabWidget_count(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTabWidget*) QtSupport::getQt(env, obj))->count(); + jint xret = (jint) ((TTQTabWidget*) 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(); + jint xret = (jint) ((TTQTabWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabWidget*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TTQWidget"); return xret; } @@ -476,15 +476,15 @@ Java_org_kde_qt_QTabWidget_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTabWidget_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - jboolean xret = (jboolean) ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTabWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTabWidget*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -493,53 +493,53 @@ Java_org_kde_qt_QTabWidget_finalize(JNIEnv* env, jobject obj) 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)); + jint xret = (jint) ((TTQTabWidget*) QtSupport::getQt(env, obj))->indexOf((TTQWidget*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2), (int) index); +static TTQString* _qstring_arg2 = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label), (int) index); +static TTQString* _qstring_label = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, child), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconset), (const TTQString&)*(TTQString*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) 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); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->insertTab((TTQWidget*) QtSupport::getQt(env, arg1), (TTQTab*) QtSupport::getQt(env, arg2), (int) index); return; } @@ -552,76 +552,76 @@ Java_org_kde_qt_QTabWidget_isDisposed(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQTabWidget*) QtSupport::getQt(env, obj))->isTabEnabled((TTQWidget*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTabWidget*) 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(); + jint xret = (jint) ((TTQTabWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTabWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newQTabWidget__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTabWidget_newTQTabWidget__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabWidgetJBridge()); + QtSupport::setQt(env, obj, new TQTabWidgetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newQTabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTabWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTabWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTabWidget_newQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQTabWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -630,207 +630,207 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTabWidget*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TTQWidget"); 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->removePage((TTQWidget*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->removeTabToolTip((TTQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TTQWidget*) 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), (Qt::Corner) corner); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setCornerWidget((TTQWidget*) 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); + ((TTQTabWidget*) 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); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setMargin((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_setTabBar(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TQTabBar*) QtSupport::getQt(env, arg1)); + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setTabBar((TTQTabBar*) 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); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabEnabled((TTQWidget*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabIconSet((TTQWidget*) QtSupport::getQt(env, w), (const TTQIconSet&)*(const TTQIconSet*) 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::toQString(env, l, &_qstring_l)); +static TTQString* _qstring_l = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabLabel((TTQWidget*) QtSupport::getQt(env, p), (const TTQString&)*(TTQString*) 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); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabPosition((TTQTabWidget::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); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabShape((TTQTabWidget::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::toQString(env, tip, &_qstring_tip)); +static TTQString* _qstring_tip = 0; + ((TTQTabWidget*) QtSupport::getQt(env, obj))->setTabToolTip((TTQWidget*) QtSupport::getQt(env, w), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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)); + ((TTQTabWidget*) QtSupport::getQt(env, obj))->showPage((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTabWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTabWidget_tabBar(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TQTabBar"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBar(), "org.kde.qt.TTQTabBar"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQTabWidget*) QtSupport::getQt(env, obj))->tabIconSet((TTQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TTQIconSet", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTabWidget*) QtSupport::getQt(env, obj))->tabLabel((TTQWidget*) 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(); + jint xret = (jint) ((TTQTabWidget*) 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(); + jint xret = (jint) ((TTQTabWidget*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTabWidget*) QtSupport::getQt(env, obj))->tabToolTip((TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTabWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((TQTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); return; } diff --git a/qtjava/javalib/qtjava/QTabWidget.h b/qtjava/javalib/qtjava/QTabWidget.h index 9f649e8c..ba0e7434 100644 --- a/qtjava/javalib/qtjava/QTabWidget.h +++ b/qtjava/javalib/qtjava/QTabWidget.h @@ -12,10 +12,10 @@ extern "C" 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_newQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newQTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newQTabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTabWidget_newQTabWidget__ (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); diff --git a/qtjava/javalib/qtjava/QTable.cpp b/qtjava/javalib/qtjava/QTable.cpp index 4b0c9a08..19d464d1 100644 --- a/qtjava/javalib/qtjava/QTable.cpp +++ b/qtjava/javalib/qtjava/QTable.cpp @@ -9,635 +9,635 @@ #include #include -#include +#include -class QTableJBridge : public QTable +class TQTableJBridge : public TQTable { public: - QTableJBridge(TQWidget* arg1,const char* arg2) : TQTable(arg1,arg2) {}; - QTableJBridge(TQWidget* arg1) : TQTable(arg1) {}; - QTableJBridge() : TQTable() {}; - QTableJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : TQTable(arg1,arg2,arg3,arg4) {}; - QTableJBridge(int arg1,int arg2,TQWidget* arg3) : TQTable(arg1,arg2,arg3) {}; - QTableJBridge(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); + TQTableJBridge(TTQWidget* arg1,const char* arg2) : TTQTable(arg1,arg2) {}; + TQTableJBridge(TTQWidget* arg1) : TTQTable(arg1) {}; + TQTableJBridge() : TTQTable() {}; + TQTableJBridge(int arg1,int arg2,TTQWidget* arg3,const char* arg4) : TTQTable(arg1,arg2,arg3,arg4) {}; + TQTableJBridge(int arg1,int arg2,TTQWidget* arg3) : TTQTable(arg1,arg2,arg3) {}; + TQTableJBridge(int arg1,int arg2) : TTQTable(arg1,arg2) {}; + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQTable::drawContents(arg1,arg2,arg3,arg4,arg5); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQTable::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQTable::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { + TTQTable::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQTable::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQTable::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQTable::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQTable::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQTable::contentsContextMenuEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTable::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQTable::keyPressEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQTable::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQTable::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQTable::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQTable::focusOutEvent(arg1); return; } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQTable::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TTQResizeEvent* arg1) { + TTQTable::viewportResizeEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQTable::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQTable::showEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQTable::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQTable::paintEvent(arg1); return; } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQTable::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQTable::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQTable::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQTable::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQTable::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQTable::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQTable::contentsDropEvent(arg1); + void protected_contentsDropEvent(TTQDropEvent* arg1) { + TTQTable::contentsDropEvent(arg1); return; } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TQTable::dragObject(); + TTQDragObject* protected_dragObject() { + return (TTQDragObject*) TTQTable::dragObject(); } void protected_startDrag() { - TQTable::startDrag(); + TTQTable::startDrag(); return; } - void protected_paintEmptyArea(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQTable::paintEmptyArea(arg1,arg2,arg3,arg4,arg5); + void protected_paintEmptyArea(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQTable::paintEmptyArea(arg1,arg2,arg3,arg4,arg5); return; } void protected_activateNextCell() { - TQTable::activateNextCell(); + TTQTable::activateNextCell(); return; } - TQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQTable::createEditor(arg1,arg2,arg3); + TTQWidget* protected_createEditor(int arg1,int arg2,bool arg3) { + return (TTQWidget*) TTQTable::createEditor(arg1,arg2,arg3); } void protected_setCellContentFromEditor(int arg1,int arg2) { - TQTable::setCellContentFromEditor(arg1,arg2); + TTQTable::setCellContentFromEditor(arg1,arg2); return; } - TQWidget* protected_beginEdit(int arg1,int arg2,bool arg3) { - return (TQWidget*) TQTable::beginEdit(arg1,arg2,arg3); + TTQWidget* protected_beginEdit(int arg1,int arg2,bool arg3) { + return (TTQWidget*) TTQTable::beginEdit(arg1,arg2,arg3); } void protected_endEdit(int arg1,int arg2,bool arg3,bool arg4) { - TQTable::endEdit(arg1,arg2,arg3,arg4); + TTQTable::endEdit(arg1,arg2,arg3,arg4); return; } void protected_resizeData(int arg1) { - TQTable::resizeData(arg1); + TTQTable::resizeData(arg1); return; } - void protected_insertWidget(int arg1,int arg2,TQWidget* arg3) { - TQTable::insertWidget(arg1,arg2,arg3); + void protected_insertWidget(int arg1,int arg2,TTQWidget* arg3) { + TTQTable::insertWidget(arg1,arg2,arg3); return; } int protected_indexOf(int arg1,int arg2) { - return (int) TQTable::indexOf(arg1,arg2); + return (int) TTQTable::indexOf(arg1,arg2); } void protected_windowActivationChange(bool arg1) { - TQTable::windowActivationChange(arg1); + TTQTable::windowActivationChange(arg1); return; } bool protected_isEditing() { - return (bool) TQTable::isEditing(); + return (bool) TTQTable::isEditing(); } int protected_currEditRow() { - return (int) TQTable::currEditRow(); + return (int) TTQTable::currEditRow(); } int protected_currEditCol() { - return (int) TQTable::currEditCol(); + return (int) TTQTable::currEditCol(); } void protected_columnWidthChanged(int arg1) { - TQTable::columnWidthChanged(arg1); + TTQTable::columnWidthChanged(arg1); return; } void protected_rowHeightChanged(int arg1) { - TQTable::rowHeightChanged(arg1); + TTQTable::rowHeightChanged(arg1); return; } void protected_columnIndexChanged(int arg1,int arg2,int arg3) { - TQTable::columnIndexChanged(arg1,arg2,arg3); + TTQTable::columnIndexChanged(arg1,arg2,arg3); return; } void protected_rowIndexChanged(int arg1,int arg2,int arg3) { - TQTable::rowIndexChanged(arg1,arg2,arg3); + TTQTable::rowIndexChanged(arg1,arg2,arg3); return; } void protected_columnClicked(int arg1) { - TQTable::columnClicked(arg1); + TTQTable::columnClicked(arg1); return; } - ~QTableJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTableJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQScrollView::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseReleaseEvent(arg1); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTable::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTable::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTable::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTable::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTable::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTable::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTable::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQTable::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void activateNextCell() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","activateNextCell")) { - TQTable::activateNextCell(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","activateNextCell")) { + TTQTable::activateNextCell(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTable::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTable::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQTable::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQTable::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void takeItem(TQTableItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQTableItem")) { - TQTable::takeItem(arg1); + void takeItem(TTQTableItem* arg1) { + if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TTQTableItem")) { + TTQTable::takeItem(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTable::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTable::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTable::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTable::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","startDrag")) { - TQTable::startDrag(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","startDrag")) { + TTQTable::startDrag(); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTable::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTable::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTable::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQTable::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTable::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTable::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTable::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQTable::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTable","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTable","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -646,56 +646,56 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QTable_activateNextCell(JNIEnv* env, jobject obj) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_activateNextCell(); + ((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)); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->addSelection((const TTQTableSelection&)*(const TTQTableSelection*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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*)((QTableJBridge*) QtSupport::getQt(env, obj))->protected_beginEdit((int) row, (int) col, (bool) replace), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_beginEdit((int) row, (int) col, (bool) replace), "org.kde.qt.TTQWidget"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQTable*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQTable*) QtSupport::getQt(env, obj))->cellRect((int) row, (int) col)), "org.kde.qt.TTQRect", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTable*) QtSupport::getQt(env, obj))->cellWidget((int) row, (int) col), "org.kde.qt.TTQWidget"); return xret; } @@ -703,189 +703,189 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTable_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTable*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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(); + ((TTQTable*) 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); + ((TTQTable*) 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); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->columnAt((int) x); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnClicked(JNIEnv* env, jobject obj, jint col) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_columnClicked((int) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_columnIndexChanged((int) section, (int) fromIndex, (int) 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(); + jboolean xret = (jboolean) ((TTQTable*) 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); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->columnPos((int) col); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_columnWidthChanged(JNIEnv* env, jobject obj, jint col) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_columnWidthChanged((int) 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); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->columnWidth((int) col); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) 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*)((QTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_createEditor((int) row, (int) col, (bool) initFromCell), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_currEditCol(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditCol(); + 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) ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_currEditRow(); + 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(); + jint xret = (jint) ((TTQTable*) 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(); + jint xret = (jint) ((TTQTable*) 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(); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->currentSelection(); return xret; } @@ -899,64 +899,64 @@ Java_org_kde_qt_QTable_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_dragEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTable*) QtSupport::getQt(env, obj))->dragEnabled(); + jboolean xret = (jboolean) ((TTQTable*) 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*)((QTableJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TTQDragObject"); 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_editCell__II(JNIEnv* env, jobject obj, jint row, jint col) { - ((TQTable*) QtSupport::getQt(env, obj))->editCell((int) row, (int) col); + ((TTQTable*) 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); + ((TTQTable*) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_endEdit((int) row, (int) col, (bool) accept, (bool) 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); + ((TTQTable*) 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)); + jboolean xret = (jboolean) ((TTQTable*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTable*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -965,119 +965,119 @@ Java_org_kde_qt_QTable_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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(); + jint xret = (jint) ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTable*) QtSupport::getQt(env, obj))->horizontalHeader(), "org.kde.qt.TTQHeader"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_indexOf(JNIEnv* env, jobject obj, jint row, jint col) { - jint xret = (jint) ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_indexOf((int) row, (int) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_insertWidget((int) row, (int) col, (TQWidget*) QtSupport::getQt(env, w)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_insertWidget((int) row, (int) col, (TTQWidget*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) QtSupport::getQt(env, obj))->isColumnStretchable((int) col); return xret; } @@ -1090,137 +1090,137 @@ Java_org_kde_qt_QTable_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTable_isEditing(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_isEditing(); + 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(); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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); + jboolean xret = (jboolean) ((TTQTable*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTable*) QtSupport::getQt(env, obj))->item((int) row, (int) col), "org.kde.qt.TTQTableItem"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newQTable__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTable_newTQTable__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableJBridge()); + QtSupport::setQt(env, obj, new TQTableJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newQTable__II(JNIEnv* env, jobject obj, jint numRows, jint numCols) +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 QTableJBridge((int) numRows, (int) numCols)); + 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_newQTable__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent) +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 QTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint numRows, jint numCols, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableJBridge((int) numRows, (int) numCols, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTableJBridge((int) numRows, (int) numCols, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newQTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTableJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTable_newQTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTableJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1229,550 +1229,550 @@ static TQCString* _qstring_name = 0; JNIEXPORT jint JNICALL Java_org_kde_qt_QTable_numCols(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTable*) QtSupport::getQt(env, obj))->numCols(); + jint xret = (jint) ((TTQTable*) 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(); + jint xret = (jint) ((TTQTable*) 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(); + jint xret = (jint) ((TTQTable*) 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); + ((TTQTable*) QtSupport::getQt(env, obj))->paintCell((TTQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TTQRect&)*(const TTQRect*) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->paintCell((TTQPainter*) QtSupport::getQt(env, p), (int) row, (int) col, (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, cr), (bool) selected, (const TTQColorGroup&)*(const TTQColorGroup*) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEmptyArea((TTQPainter*) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->paintFocus((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQTable*) QtSupport::getQt(env, obj))->pixmap((int) row, (int) col)), "org.kde.qt.TTQPixmap", 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->removeSelection((const TTQTableSelection&)*(const TTQTableSelection*) QtSupport::getQt(env, s)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_repaintSelections(JNIEnv* env, jobject obj) { - ((TQTable*) QtSupport::getQt(env, obj))->repaintSelections(); + ((TTQTable*) QtSupport::getQt(env, obj))->repaintSelections(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_resizeData(JNIEnv* env, jobject obj, jint len) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_resizeData((int) 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); + jint xret = (jint) ((TTQTable*) QtSupport::getQt(env, obj))->rowAt((int) y); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_rowHeightChanged(JNIEnv* env, jobject obj, jint row) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_rowHeightChanged((int) 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); + jint xret = (jint) ((TTQTable*) 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) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_rowIndexChanged((int) section, (int) fromIndex, (int) 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(); + jboolean xret = (jboolean) ((TTQTable*) 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); + jint xret = (jint) ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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(); + jint xret = (jint) ((TTQTable*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQTableSelection(((TTQTable*) QtSupport::getQt(env, obj))->selection((int) num)), "org.kde.qt.TTQTableSelection", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_setCellContentFromEditor(JNIEnv* env, jobject obj, jint row, jint col) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_setCellContentFromEditor((int) row, (int) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->setCellWidget((int) row, (int) col, (TTQWidget*) 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::toQStringList(env, labels, &_qlist_labels)); +static TTQStringList* _qlist_labels = 0; + ((TTQTable*) QtSupport::getQt(env, obj))->setColumnLabels((const TTQStringList&)*(TTQStringList*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) QtSupport::getQt(env, obj))->setFocusStyle((TTQTable::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)); + ((TTQTable*) QtSupport::getQt(env, obj))->setItem((int) row, (int) col, (TTQTableItem*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->setPixmap((int) row, (int) col, (const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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::toQStringList(env, labels, &_qlist_labels)); +static TTQStringList* _qlist_labels = 0; + ((TTQTable*) QtSupport::getQt(env, obj))->setRowLabels((const TTQStringList&)*(TTQStringList*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) QtSupport::getQt(env, obj))->setSelectionMode((TTQTable::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); + ((TTQTable*) 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); + ((TTQTable*) 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::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTable*) QtSupport::getQt(env, obj))->setText((int) row, (int) col, (const TTQString&)*(TTQString*) 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); + ((TTQTable*) 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); + ((TTQTable*) QtSupport::getQt(env, obj))->showColumn((int) col); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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(); + jboolean xret = (jboolean) ((TTQTable*) 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); + ((TTQTable*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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(); + jboolean xret = (jboolean) ((TTQTable*) QtSupport::getQt(env, obj))->sorting(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_startDrag(JNIEnv* env, jobject obj) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); + ((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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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); + ((TTQTable*) 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)); + ((TTQTable*) QtSupport::getQt(env, obj))->takeItem((TTQTableItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTable*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTableJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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); + ((TTQTable*) 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(); + ((TTQTable*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTable*) QtSupport::getQt(env, obj))->verticalHeader(), "org.kde.qt.TTQHeader"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTable_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QTableJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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 index af2c28b1..9e67642e 100644 --- a/qtjava/javalib/qtjava/QTable.h +++ b/qtjava/javalib/qtjava/QTable.h @@ -12,12 +12,12 @@ extern "C" 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_newQTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newQTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newQTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newQTable__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newQTable__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTable_newQTable__II (JNIEnv *env, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QTableItem.cpp b/qtjava/javalib/qtjava/QTableItem.cpp index d853782f..c99ebebb 100644 --- a/qtjava/javalib/qtjava/QTableItem.cpp +++ b/qtjava/javalib/qtjava/QTableItem.cpp @@ -7,42 +7,42 @@ #include #include -#include +#include -class QTableItemJBridge : public QTableItem +class TQTableItemJBridge : public TQTableItem { public: - QTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2) : TQTableItem(arg1,arg2) {}; - QTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3) : TQTableItem(arg1,arg2,arg3) {}; - QTableItemJBridge(TQTable* arg1,TQTableItem::EditType arg2,const TQString& arg3,const TQPixmap& arg4) : TQTableItem(arg1,arg2,arg3,arg4) {}; - ~QTableItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQTableItemJBridge(TTQTable* arg1,TTQTableItem::EditType arg2) : TTQTableItem(arg1,arg2) {}; + TQTableItemJBridge(TTQTable* arg1,TTQTableItem::EditType arg2,const TTQString& arg3) : TTQTableItem(arg1,arg2,arg3) {}; + TQTableItemJBridge(TTQTable* arg1,TTQTableItem::EditType arg2,const TTQString& arg3,const TTQPixmap& arg4) : TTQTableItem(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(); + jint xret = (jint) ((TTQTableItem*) 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(); + jint xret = (jint) ((TTQTableItem*) 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(); + jint xret = (jint) ((TTQTableItem*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTableItem*) QtSupport::getQt(env, obj))->createEditor(), "org.kde.qt.TTQWidget"); return xret; } @@ -56,15 +56,15 @@ Java_org_kde_qt_QTableItem_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QTableItem_editType(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTableItem*) QtSupport::getQt(env, obj))->editType(); + jint xret = (jint) ((TTQTableItem*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQTableItem*)(TTQTableItem*)QtSupport::getQt(env, obj))->table() == 0) { + delete (TTQTableItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -79,52 +79,52 @@ Java_org_kde_qt_QTableItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableItem_isEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTableItem*) QtSupport::getQt(env, obj))->isEnabled(); + jboolean xret = (jboolean) ((TTQTableItem*) 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(); + jboolean xret = (jboolean) ((TTQTableItem*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTableItem*) QtSupport::getQt(env, obj))->key(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2I(JNIEnv* env, jobject obj, jobject table, jint et) +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 QTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et)); + QtSupport::setQt(env, obj, new TQTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (TTQTableItem::EditType) et)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (TTQTableItem::EditType) et, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject table, jint et, jstring text, jobject p) +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; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableItemJBridge((TQTable*) QtSupport::getQt(env, table), (TQTableItem::EditType) et, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, p))); + QtSupport::setQt(env, obj, new TQTableItemJBridge((TTQTable*) QtSupport::getQt(env, table), (TTQTableItem::EditType) et, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, p))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -133,135 +133,135 @@ static TQString* _qstring_text = 0; 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); + ((TTQTableItem*) QtSupport::getQt(env, obj))->paint((TTQPainter*) QtSupport::getQt(env, p), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, cg), (const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQTableItem*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TTQPixmap", 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(); + jint xret = (jint) ((TTQTableItem*) 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(); + jint xret = (jint) ((TTQTableItem*) 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(); + jint xret = (jint) ((TTQTableItem*) 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); + ((TTQTableItem*) 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)); + ((TTQTableItem*) QtSupport::getQt(env, obj))->setContentFromEditor((TTQWidget*) 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); + ((TTQTableItem*) 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)); + ((TTQTableItem*) QtSupport::getQt(env, obj))->setPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQTableItem*) 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); + ((TTQTableItem*) 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); + ((TTQTableItem*) 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::toQString(env, t, &_qstring_t)); +static TTQString* _qstring_t = 0; + ((TTQTableItem*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + ((TTQTableItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTableItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTableItem*) QtSupport::getQt(env, obj))->table(), "org.kde.qt.TTQTable"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTableItem*) 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); + ((TTQTableItem*) 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(); + jboolean xret = (jboolean) ((TTQTableItem*) QtSupport::getQt(env, obj))->wordWrap(); return xret; } diff --git a/qtjava/javalib/qtjava/QTableItem.h b/qtjava/javalib/qtjava/QTableItem.h index 634dc4f8..8ea9e4bd 100644 --- a/qtjava/javalib/qtjava/QTableItem.h +++ b/qtjava/javalib/qtjava/QTableItem.h @@ -10,9 +10,9 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableItem_newQTableItem__Lorg_kde_qt_QTable_2ILjava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject); +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); diff --git a/qtjava/javalib/qtjava/QTableSelection.cpp b/qtjava/javalib/qtjava/QTableSelection.cpp index 22a84265..d968765c 100644 --- a/qtjava/javalib/qtjava/QTableSelection.cpp +++ b/qtjava/javalib/qtjava/QTableSelection.cpp @@ -2,34 +2,34 @@ #include #include -#include +#include -class QTableSelectionJBridge : public QTableSelection +class TQTableSelectionJBridge : public TQTableSelection { public: - QTableSelectionJBridge() : TQTableSelection() {}; - QTableSelectionJBridge(int arg1,int arg2,int arg3,int arg4) : TQTableSelection(arg1,arg2,arg3,arg4) {}; - ~QTableSelectionJBridge() {QtSupport::qtKeyDeleted(this);} + TQTableSelectionJBridge() : TTQTableSelection() {}; + TQTableSelectionJBridge(int arg1,int arg2,int arg3,int arg4) : TTQTableSelection(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(); + jint xret = (jint) ((TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) QtSupport::getQt(env, obj))->bottomRow(); return xret; } @@ -43,7 +43,7 @@ Java_org_kde_qt_QTableSelection_dispose(JNIEnv* env, jobject obj) 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); + ((TTQTableSelection*) QtSupport::getQt(env, obj))->expandTo((int) row, (int) col); return; } @@ -51,7 +51,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTableSelection*)QtSupport::getQt(env, obj); + delete (TTQTableSelection*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -60,14 +60,14 @@ Java_org_kde_qt_QTableSelection_finalize(JNIEnv* env, jobject obj) 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); + ((TTQTableSelection*) 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(); + jboolean xret = (jboolean) ((TTQTableSelection*) QtSupport::getQt(env, obj))->isActive(); return xret; } @@ -80,32 +80,32 @@ Java_org_kde_qt_QTableSelection_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTableSelection_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTableSelection*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) QtSupport::getQt(env, obj))->leftCol(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_newQTableSelection__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTableSelection_newTQTableSelection__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTableSelectionJBridge()); + QtSupport::setQt(env, obj, new TQTableSelectionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTableSelection_newQTableSelection__IIII(JNIEnv* env, jobject obj, jint start_row, jint start_col, jint end_row, jint end_col) +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 QTableSelectionJBridge((int) start_row, (int) start_col, (int) end_row, (int) end_col)); + 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; @@ -114,42 +114,42 @@ Java_org_kde_qt_QTableSelection_newQTableSelection__IIII(JNIEnv* env, jobject ob JNIEXPORT jint JNICALL Java_org_kde_qt_QTableSelection_numCols(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTableSelection*) QtSupport::getQt(env, obj))->numCols(); + jint xret = (jint) ((TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) 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)); + jboolean xret = (jboolean) ((TTQTableSelection*) QtSupport::getQt(env, obj))->operator==((const TTQTableSelection&)*(const TTQTableSelection*) 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)); + jboolean xret = (jboolean) ((TTQTableSelection*) QtSupport::getQt(env, obj))->operator!=((const TTQTableSelection&)*(const TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) 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(); + jint xret = (jint) ((TTQTableSelection*) QtSupport::getQt(env, obj))->topRow(); return xret; } diff --git a/qtjava/javalib/qtjava/QTableSelection.h b/qtjava/javalib/qtjava/QTableSelection.h index 5702c740..e4cfd3e8 100644 --- a/qtjava/javalib/qtjava/QTableSelection.h +++ b/qtjava/javalib/qtjava/QTableSelection.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newQTableSelection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTableSelection_newQTableSelection__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QTabletEvent.cpp b/qtjava/javalib/qtjava/QTabletEvent.cpp index 2a5069a8..d48fc090 100644 --- a/qtjava/javalib/qtjava/QTabletEvent.cpp +++ b/qtjava/javalib/qtjava/QTabletEvent.cpp @@ -3,19 +3,19 @@ #include #include -#include +#include JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_accept(JNIEnv* env, jobject obj) { - ((TQTabletEvent*) QtSupport::getQt(env, obj))->accept(); + ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) QtSupport::getQt(env, obj))->device(); return xret; } @@ -30,7 +30,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTabletEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTabletEvent*)QtSupport::getQt(env, obj); + delete (TTQTabletEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -39,35 +39,35 @@ Java_org_kde_qt_QTabletEvent_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQTabletEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_globalX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->globalX(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -80,42 +80,42 @@ Java_org_kde_qt_QTabletEvent_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQTabletEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTabletEvent_pressure(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTabletEvent*) QtSupport::getQt(env, obj))->pressure(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) 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(); + jint xret = (jint) ((TTQTabletEvent*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QTextBrowser.cpp b/qtjava/javalib/qtjava/QTextBrowser.cpp index f0845c1c..681a8f06 100644 --- a/qtjava/javalib/qtjava/QTextBrowser.cpp +++ b/qtjava/javalib/qtjava/QTextBrowser.cpp @@ -3,314 +3,314 @@ #include #include -#include +#include -class QTextBrowserJBridge : public QTextBrowser +class TQTextBrowserJBridge : public TQTextBrowser { public: - QTextBrowserJBridge(TQWidget* arg1,const char* arg2) : TQTextBrowser(arg1,arg2) {}; - QTextBrowserJBridge(TQWidget* arg1) : TQTextBrowser(arg1) {}; - QTextBrowserJBridge() : TQTextBrowser() {}; + TQTextBrowserJBridge(TTQWidget* arg1,const char* arg2) : TTQTextBrowser(arg1,arg2) {}; + TQTextBrowserJBridge(TTQWidget* arg1) : TTQTextBrowser(arg1) {}; + TQTextBrowserJBridge() : TTQTextBrowser() {}; void public_backward() { - TQTextBrowser::backward(); + TTQTextBrowser::backward(); return; } void public_forward() { - TQTextBrowser::forward(); + TTQTextBrowser::forward(); return; } void public_home() { - TQTextBrowser::home(); + TTQTextBrowser::home(); return; } void public_reload() { - TQTextBrowser::reload(); + TTQTextBrowser::reload(); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTextBrowser::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQTextBrowser::keyPressEvent(arg1); return; } - ~QTextBrowserJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTextBrowserJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); + void setColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQTextEdit::setColor(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseReleaseEvent(arg1); } return; } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); + void setMimeSourceFactory(TTQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TTQMimeSourceFactory")) { + TTQTextEdit::setMimeSourceFactory(arg1); } return; } void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomOut")) { - TQTextEdit::zoomOut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","zoomOut")) { + TTQTextEdit::zoomOut(); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","del")) { - TQTextEdit::del(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","del")) { + TTQTextEdit::del(); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTextEdit::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","undo")) { - TQTextEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","undo")) { + TTQTextEdit::undo(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); + void setPaper(const TTQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TTQBrush")) { + TTQTextEdit::setPaper(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","resetFormat")) { - TQTextEdit::resetFormat(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","resetFormat")) { + TTQTextEdit::resetFormat(); } return; } void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","zoomIn")) { - TQTextEdit::zoomIn(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","zoomIn")) { + TTQTextEdit::zoomIn(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","cut")) { - TQTextEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","cut")) { + TTQTextEdit::cut(); } return; } void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","scrollToBottom")) { - TQTextEdit::scrollToBottom(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","scrollToBottom")) { + TTQTextEdit::scrollToBottom(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","clear")) { - TQTextEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","clear")) { + TTQTextEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTextEdit::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } void home() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","home")) { - TQTextBrowser::home(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","home")) { + TTQTextBrowser::home(); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); + void setStyleSheet(TTQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TTQStyleSheet")) { + TTQTextEdit::setStyleSheet(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextBrowser::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTextBrowser::keyPressEvent(arg1); } return; } @@ -318,332 +318,332 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","indent")) { - TQTextEdit::indent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","indent")) { + TTQTextEdit::indent(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTextEdit::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQTextEdit::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","copy")) { - TQTextEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","copy")) { + TTQTextEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTextEdit::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","doChangeInterval")) { - TQTextEdit::doChangeInterval(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","doChangeInterval")) { + TTQTextEdit::doChangeInterval(); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } void backward() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","backward")) { - TQTextBrowser::backward(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","backward")) { + TTQTextBrowser::backward(); } return; } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); + void setCurrentFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setCurrentFont(arg1); } return; } void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","ensureCursorVisible")) { + TTQTextEdit::ensureCursorVisible(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","sync")) { - TQTextEdit::sync(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","sync")) { + TTQTextEdit::sync(); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } void reload() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","reload")) { - TQTextBrowser::reload(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","reload")) { + TTQTextBrowser::reload(); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void forward() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","forward")) { - TQTextBrowser::forward(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","forward")) { + TTQTextBrowser::forward(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","paste")) { - TQTextEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","paste")) { + TTQTextEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","redo")) { - TQTextEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","redo")) { + TTQTextEdit::redo(); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQTextEdit::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextBrowser","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextBrowser","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -652,7 +652,7 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_backward(JNIEnv* env, jobject obj) { - ((QTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_backward(); + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_backward(); return; } @@ -660,7 +660,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTextBrowser*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -674,8 +674,8 @@ Java_org_kde_qt_QTextBrowser_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTextBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTextBrowser*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -684,14 +684,14 @@ Java_org_kde_qt_QTextBrowser_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_forward(JNIEnv* env, jobject obj) { - ((QTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_forward(); + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_forward(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_home(JNIEnv* env, jobject obj) { - ((QTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_home(); + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_home(); return; } @@ -704,43 +704,43 @@ Java_org_kde_qt_QTextBrowser_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newQTextBrowser__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTextBrowser_newTQTextBrowser__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextBrowserJBridge()); + QtSupport::setQt(env, obj, new TQTextBrowserJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newQTextBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTextBrowserJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextBrowser_newQTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextBrowserJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -749,61 +749,61 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_reload(JNIEnv* env, jobject obj) { - ((QTextBrowserJBridge*) QtSupport::getQt(env, obj))->public_reload(); + ((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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQTextBrowser*) QtSupport::getQt(env, obj))->setSource((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context)); +static TTQString* _qstring_txt = 0; +static TTQString* _qstring_context = 0; + ((TTQTextBrowser*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextBrowser_source(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQTextBrowser*) QtSupport::getQt(env, obj))->source(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextBrowser*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTextBrowserJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 2ec72061..43a62f15 100644 --- a/qtjava/javalib/qtjava/QTextBrowser.h +++ b/qtjava/javalib/qtjava/QTextBrowser.h @@ -12,9 +12,9 @@ extern "C" 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_newQTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newQTextBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextBrowser_newQTextBrowser__ (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); diff --git a/qtjava/javalib/qtjava/QTextCodec.cpp b/qtjava/javalib/qtjava/QTextCodec.cpp index 9b4596b0..6a9bd5db 100644 --- a/qtjava/javalib/qtjava/QTextCodec.cpp +++ b/qtjava/javalib/qtjava/QTextCodec.cpp @@ -4,29 +4,29 @@ #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::toQChar(env, arg1, &_qchar_arg1)); +static TTQChar* _qchar_arg1 = 0; + jboolean xret = (jboolean) ((TTQTextCodec*) QtSupport::getQt(env, obj))->canEncode((TTQChar)*(TTQChar*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TTQTextCodec*) QtSupport::getQt(env, obj))->canEncode((const TTQString&)*(TTQString*) 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::toQString(env, str, &_qstring_str), (int) pos); +static TTQString* _qstring_str = 0; + jshort xret = (jshort) ((TTQTextCodec*) QtSupport::getQt(env, obj))->characterFromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) pos); return xret; } @@ -34,7 +34,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForCStrings(), "org.kde.qt.TTQTextCodec"); return xret; } @@ -42,8 +42,8 @@ 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"); +static TTQCString* _qstring_chars = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForContent((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len), "org.kde.qt.TTQTextCodec"); return xret; } @@ -51,7 +51,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForIndex((int) i), "org.kde.qt.TTQTextCodec"); return xret; } @@ -59,7 +59,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForLocale(), "org.kde.qt.TTQTextCodec"); return xret; } @@ -67,7 +67,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForMib((int) mib), "org.kde.qt.TTQTextCodec"); return xret; } @@ -75,8 +75,8 @@ 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"); +static TTQCString* _qstring_hint = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)), "org.kde.qt.TTQTextCodec"); return xret; } @@ -84,8 +84,8 @@ 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"); +static TTQCString* _qstring_hint = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForName((const char*) QtSupport::toCharString(env, hint, &_qstring_hint), (int) accuracy), "org.kde.qt.TTQTextCodec"); return xret; } @@ -93,7 +93,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::codecForTr(), "org.kde.qt.TTQTextCodec"); return xret; } @@ -102,52 +102,52 @@ Java_org_kde_qt_QTextCodec_deleteAllCodecs(JNIEnv* env, jclass cls) { (void) cls; (void) env; - TQTextCodec::deleteAllCodecs(); + TTQTextCodec::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::toQString(env, uc, &_qstring_uc)); - return QtSupport::fromQCString(env, &_qstring); + TTQCString _qstring; +static TTQString* _qstring_uc = 0; + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) 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::toQString(env, uc, &_qstring_uc), (int) from, (int) len); - return QtSupport::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQString* _qstring_uc = 0; + _qbyteArray = ((TTQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) 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; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQTextCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQTextCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -155,8 +155,8 @@ 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::toQString(env, filename, &_qstring_filename)), "org.kde.qt.TQTextCodec"); +static TTQString* _qstring_filename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::loadCharmapFile((TTQString)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TTQTextCodec"); return xret; } @@ -164,7 +164,7 @@ 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TTQTextCodec::loadCharmap((TTQIODevice*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQTextCodec"); return xret; } @@ -173,28 +173,28 @@ Java_org_kde_qt_QTextCodec_locale(JNIEnv* env, jclass cls) { const char* _qstring; (void) cls; - _qstring = TQTextCodec::locale(); + _qstring = TTQTextCodec::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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextCodec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextCodec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TTQTextEncoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQTextCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -202,7 +202,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_mimeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->mimeName(); + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->mimeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -210,7 +210,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -218,7 +218,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForCStrings(JNIEnv* env, jclass cls, jobject c) { (void) cls; - TQTextCodec::setCodecForCStrings((TQTextCodec*) QtSupport::getQt(env, c)); + TTQTextCodec::setCodecForCStrings((TTQTextCodec*) QtSupport::getQt(env, c)); return; } @@ -226,7 +226,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForLocale(JNIEnv* env, jclass cls, jobject c) { (void) cls; - TQTextCodec::setCodecForLocale((TQTextCodec*) QtSupport::getQt(env, c)); + TTQTextCodec::setCodecForLocale((TTQTextCodec*) QtSupport::getQt(env, c)); return; } @@ -234,43 +234,43 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextCodec_setCodecForTr(JNIEnv* env, jclass cls, jobject c) { (void) cls; - TQTextCodec::setCodecForTr((TQTextCodec*) QtSupport::getQt(env, c)); + TTQTextCodec::setCodecForTr((TTQTextCodec*) 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::toQCString(env, arg1, &_qcstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qcstring_arg1 = 0; + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TTQCString&)*(TTQCString*) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQTextCodec*) 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::toQByteArray(env, arg1, &_qbyteArray_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQByteArray* _qbyteArray_arg1 = 0; + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TTQByteArray&)*(TTQByteArray*) 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::toQByteArray(env, arg1, &_qbyteArray_arg1), (int) len); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQByteArray* _qbyteArray_arg1 = 0; + _qstring = ((TTQTextCodec*) QtSupport::getQt(env, obj))->toUnicode((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) len); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QTextDecoder.cpp b/qtjava/javalib/qtjava/QTextDecoder.cpp index af7a9681..263cca36 100644 --- a/qtjava/javalib/qtjava/QTextDecoder.cpp +++ b/qtjava/javalib/qtjava/QTextDecoder.cpp @@ -3,14 +3,14 @@ #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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQTextDecoder*) 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/QTextDrag.cpp b/qtjava/javalib/qtjava/QTextDrag.cpp index cd59b7e0..26224075 100644 --- a/qtjava/javalib/qtjava/QTextDrag.cpp +++ b/qtjava/javalib/qtjava/QTextDrag.cpp @@ -4,51 +4,51 @@ #include #include -#include +#include -class QTextDragJBridge : public QTextDrag +class TQTextDragJBridge : public TQTextDrag { public: - QTextDragJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQTextDrag(arg1,arg2,arg3) {}; - QTextDragJBridge(const TQString& arg1,TQWidget* arg2) : TQTextDrag(arg1,arg2) {}; - QTextDragJBridge(const TQString& arg1) : TQTextDrag(arg1) {}; - QTextDragJBridge(TQWidget* arg1,const char* arg2) : TQTextDrag(arg1,arg2) {}; - QTextDragJBridge(TQWidget* arg1) : TQTextDrag(arg1) {}; - QTextDragJBridge() : TQTextDrag() {}; - ~QTextDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQTextDragJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQTextDrag(arg1,arg2,arg3) {}; + TQTextDragJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQTextDrag(arg1,arg2) {}; + TQTextDragJBridge(const TTQString& arg1) : TTQTextDrag(arg1) {}; + TQTextDragJBridge(TTQWidget* arg1,const char* arg2) : TTQTextDrag(arg1,arg2) {}; + TQTextDragJBridge(TTQWidget* arg1) : TTQTextDrag(arg1) {}; + TQTextDragJBridge() : TTQTextDrag() {}; + ~TQTextDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQTextDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQTextDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -59,7 +59,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextDrag_canDecode(JNIEnv* env, jclass cls, jobject e) { (void) cls; - jboolean xret = (jboolean) QTextDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + jboolean xret = (jboolean) TQTextDragJBridge::canDecode((const TTQMimeSource*) QtSupport::mimeSource(env, e)); return xret; } @@ -67,7 +67,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTextDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -75,9 +75,9 @@ 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) QTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, s, &_qstring_s)); - QtSupport::fromQStringToStringBuffer(env, _qstring_s, s); +static TTQString* _qstring_s = 0; + jboolean xret = (jboolean) TQTextDragJBridge::decode((const TTQMimeSource*) QtSupport::mimeSource(env, e), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); return xret; } @@ -85,14 +85,14 @@ 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; +static TTQString* _qstring_s = 0; +static TTQCString* _qcstring_subtype = 0; if (_qcstring_subtype == 0) { - _qcstring_subtype = new TQCString(); + _qcstring_subtype = new TTQCString(); } - jboolean xret = (jboolean) QTextDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, s, &_qstring_s), (TQCString&)*(TQCString*) _qcstring_subtype); - QtSupport::fromQStringToStringBuffer(env, _qstring_s, s); - QtSupport::fromQCStringToStringBuffer(env, _qcstring_subtype, subtype); + jboolean xret = (jboolean) TQTextDragJBridge::decode((const TTQMimeSource*) QtSupport::mimeSource(env, e), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s), (TTQCString&)*(TTQCString*) _qcstring_subtype); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); + QtSupport::fromTQCStringToStringBuffer(env, _qcstring_subtype, subtype); return xret; } @@ -106,17 +106,17 @@ Java_org_kde_qt_QTextDrag_dispose(JNIEnv* env, jobject obj) 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; +static TTQCString* _qstring_arg1 = 0; + _qbyteArray = ((TTQTextDrag*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQTextDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQTextDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -126,7 +126,7 @@ 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); + _qstring = ((TTQTextDrag*) QtSupport::getQt(env, obj))->format((int) i); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -139,70 +139,70 @@ Java_org_kde_qt_QTextDrag_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newQTextDrag__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTextDrag_newTQTextDrag__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextDragJBridge()); + QtSupport::setQt(env, obj, new TQTextDragJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newQTextDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +Java_org_kde_qt_QTextDrag_newTQTextDrag__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextDragJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))); + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource) +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; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextDragJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1, jobject dragSource, jstring name) +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; +static TTQString* _qstring_arg1 = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextDragJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextDragJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQWidget*) 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_newQTextDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +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 QTextDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQTextDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextDrag_newQTextDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -211,37 +211,37 @@ static TQCString* _qstring_name = 0; 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::toQCString(env, arg1, &_qcstring_arg1)); +static TTQCString* _qcstring_arg1 = 0; + ((TTQTextDrag*) QtSupport::getQt(env, obj))->setSubtype((const TTQCString&)*(TTQCString*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQTextDrag*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTextDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index eaa1563b..bb369b4a 100644 --- a/qtjava/javalib/qtjava/QTextDrag.h +++ b/qtjava/javalib/qtjava/QTextDrag.h @@ -12,12 +12,12 @@ extern "C" 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_newQTextDrag__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_newQTextDrag__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newQTextDrag__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newQTextDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newQTextDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextDrag_newQTextDrag__ (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); diff --git a/qtjava/javalib/qtjava/QTextEdit.cpp b/qtjava/javalib/qtjava/QTextEdit.cpp index a361c41c..b0925893 100644 --- a/qtjava/javalib/qtjava/QTextEdit.cpp +++ b/qtjava/javalib/qtjava/QTextEdit.cpp @@ -13,464 +13,464 @@ #include #include -#include +#include -class QTextEditJBridge : public QTextEdit +class TQTextEditJBridge : public TQTextEdit { public: - QTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextEdit(arg1,arg2,arg3,arg4) {}; - QTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextEdit(arg1,arg2,arg3) {}; - QTextEditJBridge(const TQString& arg1,const TQString& arg2) : TQTextEdit(arg1,arg2) {}; - QTextEditJBridge(const TQString& arg1) : TQTextEdit(arg1) {}; - QTextEditJBridge(TQWidget* arg1,const char* arg2) : TQTextEdit(arg1,arg2) {}; - QTextEditJBridge(TQWidget* arg1) : TQTextEdit(arg1) {}; - QTextEditJBridge() : TQTextEdit() {}; + TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQTextEdit(arg1,arg2,arg3,arg4) {}; + TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQTextEdit(arg1,arg2,arg3) {}; + TQTextEditJBridge(const TTQString& arg1,const TTQString& arg2) : TTQTextEdit(arg1,arg2) {}; + TQTextEditJBridge(const TTQString& arg1) : TTQTextEdit(arg1) {}; + TQTextEditJBridge(TTQWidget* arg1,const char* arg2) : TTQTextEdit(arg1,arg2) {}; + TQTextEditJBridge(TTQWidget* arg1) : TTQTextEdit(arg1) {}; + TQTextEditJBridge() : TTQTextEdit() {}; void public_copy() { - TQTextEdit::copy(); + TTQTextEdit::copy(); return; } void public_selectAll() { - TQTextEdit::selectAll(); + TTQTextEdit::selectAll(); return; } void public_zoomIn() { - TQTextEdit::zoomIn(); + TTQTextEdit::zoomIn(); return; } void public_zoomOut() { - TQTextEdit::zoomOut(); + TTQTextEdit::zoomOut(); return; } void public_sync() { - TQTextEdit::sync(); + TTQTextEdit::sync(); return; } void public_undo() { - TQTextEdit::undo(); + TTQTextEdit::undo(); return; } void public_redo() { - TQTextEdit::redo(); + TTQTextEdit::redo(); return; } void public_cut() { - TQTextEdit::cut(); + TTQTextEdit::cut(); return; } void public_paste() { - TQTextEdit::paste(); + TTQTextEdit::paste(); return; } void public_clear() { - TQTextEdit::clear(); + TTQTextEdit::clear(); return; } void public_del() { - TQTextEdit::del(); + TTQTextEdit::del(); return; } void public_indent() { - TQTextEdit::indent(); + TTQTextEdit::indent(); return; } void public_resetFormat() { - TQTextEdit::resetFormat(); + TTQTextEdit::resetFormat(); return; } void public_ensureCursorVisible() { - TQTextEdit::ensureCursorVisible(); + TTQTextEdit::ensureCursorVisible(); return; } void public_removeSelectedText() { - TQTextEdit::removeSelectedText(); + TTQTextEdit::removeSelectedText(); return; } void public_removeSelection() { - TQTextEdit::removeSelection(); + TTQTextEdit::removeSelection(); return; } void public_scrollToBottom() { - TQTextEdit::scrollToBottom(); + TTQTextEdit::scrollToBottom(); return; } void protected_repaintChanged() { - TQTextEdit::repaintChanged(); + TTQTextEdit::repaintChanged(); return; } void protected_updateStyles() { - TQTextEdit::updateStyles(); + TTQTextEdit::updateStyles(); return; } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5); + void protected_drawContents(TTQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { + TTQTextEdit::drawContents(arg1,arg2,arg3,arg4,arg5); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQTextEdit::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQTextEdit::event(arg1); } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQTextEdit::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQTextEdit::keyPressEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQTextEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQTextEdit::resizeEvent(arg1); return; } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TQTextEdit::viewportResizeEvent(arg1); + void protected_viewportResizeEvent(TTQResizeEvent* arg1) { + TTQTextEdit::viewportResizeEvent(arg1); return; } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMousePressEvent(arg1); + void protected_contentsMousePressEvent(TTQMouseEvent* arg1) { + TTQTextEdit::contentsMousePressEvent(arg1); return; } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseMoveEvent(arg1); + void protected_contentsMouseMoveEvent(TTQMouseEvent* arg1) { + TTQTextEdit::contentsMouseMoveEvent(arg1); return; } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseReleaseEvent(arg1); + void protected_contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + TTQTextEdit::contentsMouseReleaseEvent(arg1); return; } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); + void protected_contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQTextEdit::contentsMouseDoubleClickEvent(arg1); return; } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - TQTextEdit::contentsWheelEvent(arg1); + void protected_contentsWheelEvent(TTQWheelEvent* arg1) { + TTQTextEdit::contentsWheelEvent(arg1); return; } - void protected_imStartEvent(TQIMEvent* arg1) { - TQTextEdit::imStartEvent(arg1); + void protected_imStartEvent(TTQIMEvent* arg1) { + TTQTextEdit::imStartEvent(arg1); return; } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQTextEdit::imComposeEvent(arg1); + void protected_imComposeEvent(TTQIMEvent* arg1) { + TTQTextEdit::imComposeEvent(arg1); return; } - void protected_imEndEvent(TQIMEvent* arg1) { - TQTextEdit::imEndEvent(arg1); + void protected_imEndEvent(TTQIMEvent* arg1) { + TTQTextEdit::imEndEvent(arg1); return; } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TQTextEdit::contentsDragEnterEvent(arg1); + void protected_contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + TTQTextEdit::contentsDragEnterEvent(arg1); return; } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TQTextEdit::contentsDragMoveEvent(arg1); + void protected_contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + TTQTextEdit::contentsDragMoveEvent(arg1); return; } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TQTextEdit::contentsDragLeaveEvent(arg1); + void protected_contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQTextEdit::contentsDragLeaveEvent(arg1); return; } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TQTextEdit::contentsDropEvent(arg1); + void protected_contentsDropEvent(TTQDropEvent* arg1) { + TTQTextEdit::contentsDropEvent(arg1); return; } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TQTextEdit::contentsContextMenuEvent(arg1); + void protected_contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + TTQTextEdit::contentsContextMenuEvent(arg1); return; } bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQTextEdit::focusNextPrevChild(arg1); + return (bool) TTQTextEdit::focusNextPrevChild(arg1); } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) TQTextEdit::createPopupMenu(arg1); + TTQPopupMenu* protected_createPopupMenu(const TTQPoint& arg1) { + return (TTQPopupMenu*) TTQTextEdit::createPopupMenu(arg1); } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) TQTextEdit::createPopupMenu(); + TTQPopupMenu* protected_createPopupMenu() { + return (TTQPopupMenu*) TTQTextEdit::createPopupMenu(); } void protected_drawCursor(bool arg1) { - TQTextEdit::drawCursor(arg1); + TTQTextEdit::drawCursor(arg1); return; } void protected_windowActivationChange(bool arg1) { - TQTextEdit::windowActivationChange(arg1); + TTQTextEdit::windowActivationChange(arg1); return; } void protected_doChangeInterval() { - TQTextEdit::doChangeInterval(); + TTQTextEdit::doChangeInterval(); return; } void protected_sliderReleased() { - TQTextEdit::sliderReleased(); + TTQTextEdit::sliderReleased(); return; } - ~QTextEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTextEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); + void setColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQTextEdit::setColor(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseReleaseEvent(arg1); } return; } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); + void setMimeSourceFactory(TTQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TTQMimeSourceFactory")) { + TTQTextEdit::setMimeSourceFactory(arg1); } return; } void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomOut")) { - TQTextEdit::zoomOut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","zoomOut")) { + TTQTextEdit::zoomOut(); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","del")) { - TQTextEdit::del(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","del")) { + TTQTextEdit::del(); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTextEdit::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","undo")) { - TQTextEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","undo")) { + TTQTextEdit::undo(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); + void setPaper(const TTQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TTQBrush")) { + TTQTextEdit::setPaper(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","resetFormat")) { - TQTextEdit::resetFormat(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","resetFormat")) { + TTQTextEdit::resetFormat(); } return; } void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","zoomIn")) { - TQTextEdit::zoomIn(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","zoomIn")) { + TTQTextEdit::zoomIn(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","cut")) { - TQTextEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","cut")) { + TTQTextEdit::cut(); } return; } void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","scrollToBottom")) { + TTQTextEdit::scrollToBottom(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","clear")) { - TQTextEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","clear")) { + TTQTextEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTextEdit::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); + void setStyleSheet(TTQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TTQStyleSheet")) { + TTQTextEdit::setStyleSheet(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTextEdit::keyPressEvent(arg1); } return; } @@ -478,314 +478,314 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","indent")) { - TQTextEdit::indent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","indent")) { + TTQTextEdit::indent(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTextEdit::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQTextEdit::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","copy")) { - TQTextEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","copy")) { + TTQTextEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTextEdit::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","doChangeInterval")) { - TQTextEdit::doChangeInterval(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","doChangeInterval")) { + TTQTextEdit::doChangeInterval(); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); + void setCurrentFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setCurrentFont(arg1); } return; } void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","ensureCursorVisible")) { + TTQTextEdit::ensureCursorVisible(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","sync")) { - TQTextEdit::sync(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","sync")) { + TTQTextEdit::sync(); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","paste")) { - TQTextEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","paste")) { + TTQTextEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","redo")) { - TQTextEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","redo")) { + TTQTextEdit::redo(); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQTextEdit::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -794,45 +794,45 @@ public: JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_alignment(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->alignment(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->alignment(); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) { - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_anchorAt__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint a) { - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (Qt::AnchorAttribute) a); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->anchorAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TQt::AnchorAttribute) a); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_append(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->append((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->append((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_autoFormatting(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->autoFormatting(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_bold(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->bold(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->bold(); return xret; } @@ -840,7 +840,7 @@ 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); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->charAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int*) _int_para); env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); return xret; } @@ -849,148 +849,148 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clearParagraphBackground(JNIEnv* env, jobject obj, jint para) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->clearParagraphBackground((int) para); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->clearParagraphBackground((int) para); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_clear(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQTextEdit*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TTQColor", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TTQDragMoveEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TTQDropEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TTQWheelEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_context(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->context(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->context(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_copy(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); + ((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*)((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TTQPopupMenu"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_createPopupMenu__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TTQPopupMenu"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_currentFont(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQTextEdit*) QtSupport::getQt(env, obj))->currentFont()), "org.kde.qt.TTQFont", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_cut(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_cut(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_del(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_del(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_del(); return; } @@ -1004,73 +1004,73 @@ Java_org_kde_qt_QTextEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_doChangeInterval(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_doChangeInterval(); + ((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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->doKeyboardAction((TTQTextEdit::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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->documentTitle(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawContents(JNIEnv* env, jobject obj, jobject p, jint cx, jint cy, jint cw, jint ch) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TTQPainter*) QtSupport::getQt(env, p), (int) cx, (int) cy, (int) cw, (int) ch); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_drawCursor(JNIEnv* env, jobject obj, jboolean visible) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((bool) visible); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((bool) visible); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_ensureCursorVisible(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_ensureCursorVisible(); + ((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)); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) QtSupport::getQt(env, e)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) QtSupport::getQt(env, e)); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_family(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->family(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->family(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TQTextEdit*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTextEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -1079,25 +1079,25 @@ Java_org_kde_qt_QTextEdit_finalize(JNIEnv* env, jobject obj) 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::toQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo); +static TTQString* _qstring_expr = 0; + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward) { -static TQString* _qstring_expr = 0; - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward); +static TTQString* _qstring_expr = 0; + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_find__Ljava_lang_String_2ZZZ_3I(JNIEnv* env, jobject obj, jstring expr, jboolean cs, jboolean wo, jboolean forward, jintArray para) { -static TQString* _qstring_expr = 0; +static TTQString* _qstring_expr = 0; int* _int_para = QtSupport::toIntPtr(env, para); - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->find((const TQString&)*(TQString*) QtSupport::toQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para); env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); return xret; } @@ -1105,10 +1105,10 @@ static TQString* _qstring_expr = 0; 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; +static TTQString* _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::toQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para, (int*) _int_index); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->find((const TTQString&)*(TTQString*) QtSupport::toTQString(env, expr, &_qstring_expr), (bool) cs, (bool) wo, (bool) forward, (int*) _int_para, (int*) _int_index); env->SetIntArrayRegion(para, 0, 1, (jint *) _int_para); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return xret; @@ -1117,14 +1117,14 @@ static TQString* _qstring_expr = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) { - jboolean xret = (jboolean) ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQTextEdit*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TTQFont", TRUE); return xret; } @@ -1133,7 +1133,7 @@ Java_org_kde_qt_QTextEdit_getCursorPosition(JNIEnv* env, jobject obj, jintArray { 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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->getCursorPosition( (int*) _int_parag, (int*) _int_index); env->SetIntArrayRegion(parag, 0, 1, (jint *) _int_parag); env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index); return; @@ -1142,7 +1142,7 @@ Java_org_kde_qt_QTextEdit_getCursorPosition(JNIEnv* env, jobject obj, jintArray 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); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->getFormat((int) para, (int) index, (TTQFont*) QtSupport::getQt(env, font), (TTQColor*) QtSupport::getQt(env, color), (TTQTextEdit::VerticalAlignment*) verticalAlignment); return xret; } @@ -1151,7 +1151,7 @@ Java_org_kde_qt_QTextEdit_getParagraphFormat(JNIEnv* env, jobject obj, jint para { 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); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->getParagraphFormat((int) para, (TTQFont*) QtSupport::getQt(env, font), (TTQColor*) QtSupport::getQt(env, color), (TTQTextEdit::VerticalAlignment*) verticalAlignment, (int*) _int_alignment, (TTQStyleSheetItem::DisplayMode*) displayMode, (TTQStyleSheetItem::ListStyle*) listStyle, (int*) _int_listDepth); env->SetIntArrayRegion(alignment, 0, 1, (jint *) _int_alignment); env->SetIntArrayRegion(listDepth, 0, 1, (jint *) _int_listDepth); return xret; @@ -1164,7 +1164,7 @@ Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3I(JNIEnv* env, jobject obj, j 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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo); env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); @@ -1179,7 +1179,7 @@ Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II(JNIEnv* env, jobject obj, 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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->getSelection( (int*) _int_paraFrom, (int*) _int_indexFrom, (int*) _int_paraTo, (int*) _int_indexTo, (int) selNum); env->SetIntArrayRegion(paraFrom, 0, 1, (jint *) _int_paraFrom); env->SetIntArrayRegion(indexFrom, 0, 1, (jint *) _int_indexFrom); env->SetIntArrayRegion(paraTo, 0, 1, (jint *) _int_paraTo); @@ -1190,98 +1190,98 @@ Java_org_kde_qt_QTextEdit_getSelection___3I_3I_3I_3II(JNIEnv* env, jobject obj, JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_hasSelectedText(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->hasSelectedText(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_heightForWidth(JNIEnv* env, jobject obj, jint w) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->heightForWidth((int) w); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->heightForWidth((int) w); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_indent(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_indent(); + ((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::toQString(env, text, &_qstring_text), (int) para, (int) index); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insertAt((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para, (int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insertParagraph(JNIEnv* env, jobject obj, jstring text, jint para) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) para); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insertParagraph((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) para); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint insertionFlags) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (uint) insertionFlags); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) insertionFlags); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean arg2) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) arg2); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_insert__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring text, jboolean arg2, jboolean arg3, jboolean arg4) { -static TQString* _qstring_text = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3, (bool) arg4); +static TTQString* _qstring_text = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->insert((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) arg2, (bool) arg3, (bool) arg4); return; } @@ -1294,189 +1294,189 @@ Java_org_kde_qt_QTextEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isModified(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isModified(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isModified(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isOverwriteMode(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isOverwriteMode(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isReadOnly(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isReadOnly(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isRedoAvailable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isRedoAvailable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoAvailable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isUndoAvailable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_isUndoRedoEnabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->isUndoRedoEnabled(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_italic(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->italic(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->italic(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_length(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->length(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->length(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lineOfChar(JNIEnv* env, jobject obj, jint para, jint chr) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lineOfChar((int) para, (int) chr); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->lineOfChar((int) para, (int) chr); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_linesOfParagraph(JNIEnv* env, jobject obj, jint para) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->linesOfParagraph((int) para); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->linesOfParagraph((int) para); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_lines(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->lines(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->lines(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_linkUnderline(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->linkUnderline(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->linkUnderline(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_mimeSourceFactory(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TQMimeSourceFactory"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.qt.TTQMimeSourceFactory"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_moveCursor(JNIEnv* env, jobject obj, jint action, jboolean select) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TQTextEdit::CursorAction) action, (bool) select); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->moveCursor((TTQTextEdit::CursorAction) action, (bool) select); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTextEdit_newTQTextEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge()); + QtSupport::setQt(env, obj, new TQTextEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_qt_QTextEdit_newTQTextEdit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextEdit_newQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1485,618 +1485,618 @@ static TQCString* _qstring_name = 0; 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQTextEdit*) QtSupport::getQt(env, obj))->paper()), "org.kde.qt.TTQBrush", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphAt(JNIEnv* env, jobject obj, jobject pos) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphBackgroundColor(JNIEnv* env, jobject obj, jint para) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphBackgroundColor((int) para)), "org.kde.qt.TTQColor", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphLength(JNIEnv* env, jobject obj, jint para) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphLength((int) para); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphLength((int) para); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_paragraphRect(JNIEnv* env, jobject obj, jint para) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphRect((int) para)), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_paragraphs(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->paragraphs(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->paragraphs(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_pasteSubType(JNIEnv* env, jobject obj, jstring subtype) { -static TQCString* _qcstring_subtype = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TQCString&)*(TQCString*) QtSupport::toQCString(env, subtype, &_qcstring_subtype)); +static TTQCString* _qcstring_subtype = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->pasteSubType((const TTQCString&)*(TTQCString*) QtSupport::toTQCString(env, subtype, &_qcstring_subtype)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_paste(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_paste(); + ((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)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->placeCursor((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_pointSize(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->pointSize(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->pointSize(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_redo(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_redo(); + ((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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->removeParagraph((int) para); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelectedText__(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelectedText(); + ((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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->removeSelectedText((int) selNum); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_removeSelection__(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_removeSelection(); + ((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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->removeSelection((int) selNum); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_repaintChanged(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintChanged(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintChanged(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resetFormat(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_resetFormat(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_resetFormat(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToAnchor(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->scrollToAnchor((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_scrollToBottom(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_scrollToBottom(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_scrollToBottom(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_selectAll__(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); + ((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); + ((TTQTextEdit*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->selectedText(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAlignment(JNIEnv* env, jobject obj, jint a) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setAlignment((int) a); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setAutoFormatting(JNIEnv* env, jobject obj, jint features) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setAutoFormatting((uint) features); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setBold(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setBold((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setColor(JNIEnv* env, jobject obj, jobject c) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setColor((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, c)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCurrentFont(JNIEnv* env, jobject obj, jobject f) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setCurrentFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, f)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setCursorPosition(JNIEnv* env, jobject obj, jint parag, jint index) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) parag, (int) index); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setCursorPosition((int) parag, (int) index); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFamily(JNIEnv* env, jobject obj, jstring f) { -static TQString* _qstring_f = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TQString&)*(TQString*) QtSupport::toQString(env, f, &_qstring_f)); +static TTQString* _qstring_f = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setFamily((const TTQString&)*(TTQString*) QtSupport::toTQString(env, f, &_qstring_f)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setFont(JNIEnv* env, jobject obj, jobject f) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, f)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setItalic(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setItalic((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setLinkUnderline(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setLinkUnderline((bool) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setMimeSourceFactory(JNIEnv* env, jobject obj, jobject factory) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TQMimeSourceFactory*) QtSupport::getQt(env, factory)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setMimeSourceFactory((TTQMimeSourceFactory*) QtSupport::getQt(env, factory)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setModified(JNIEnv* env, jobject obj, jboolean m) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setModified((bool) m); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setOverwriteMode(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setOverwriteMode((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPalette(JNIEnv* env, jobject obj, jobject arg1) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPaper(JNIEnv* env, jobject obj, jobject pap) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, pap)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setPaper((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, pap)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagType(JNIEnv* env, jobject obj, jint dm, jint listStyle) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TQStyleSheetItem::DisplayMode) dm, (TQStyleSheetItem::ListStyle) listStyle); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setParagType((TTQStyleSheetItem::DisplayMode) dm, (TTQStyleSheetItem::ListStyle) listStyle); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setParagraphBackgroundColor(JNIEnv* env, jobject obj, jint para, jobject bg) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bg)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setParagraphBackgroundColor((int) para, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, bg)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setPointSize(JNIEnv* env, jobject obj, jint s) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setPointSize((int) s); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelectionAttributes(JNIEnv* env, jobject obj, jint selNum, jobject back, jboolean invertText) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, back), (bool) invertText); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelectionAttributes((int) selNum, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, back), (bool) invertText); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setSelection__IIIII(JNIEnv* env, jobject obj, jint parag_from, jint index_from, jint parag_to, jint index_to, jint selNum) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to, (int) selNum); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setSelection((int) parag_from, (int) index_from, (int) parag_to, (int) index_to, (int) selNum); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setStyleSheet(JNIEnv* env, jobject obj, jobject styleSheet) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TQStyleSheet*) QtSupport::getQt(env, styleSheet)); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setStyleSheet((TTQStyleSheet*) QtSupport::getQt(env, styleSheet)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabChangesFocus(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setTabChangesFocus((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTabStopWidth(JNIEnv* env, jobject obj, jint ts) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setTabStopWidth((int) ts); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setTextFormat(JNIEnv* env, jobject obj, jint f) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setTextFormat((Qt::TextFormat) f); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setTextFormat((TQt::TextFormat) f); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) { -static TQString* _qstring_txt = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt, jstring context) { -static TQString* _qstring_txt = 0; -static TQString* _qstring_context = 0; - ((TQTextEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toQString(env, txt, &_qstring_txt), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context)); +static TTQString* _qstring_txt = 0; +static TTQString* _qstring_context = 0; + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUnderline(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setUnderline((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoDepth(JNIEnv* env, jobject obj, jint d) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setUndoDepth((int) d); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setUndoRedoEnabled(JNIEnv* env, jobject obj, jboolean b) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setUndoRedoEnabled((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setVerticalAlignment(JNIEnv* env, jobject obj, jint a) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TQTextEdit::VerticalAlignment) a); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setVerticalAlignment((TTQTextEdit::VerticalAlignment) a); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWordWrap(JNIEnv* env, jobject obj, jint mode) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TQTextEdit::WordWrap) mode); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setWordWrap((TTQTextEdit::WordWrap) mode); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapColumnOrWidth(JNIEnv* env, jobject obj, jint arg1) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setWrapColumnOrWidth((int) arg1); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_setWrapPolicy(JNIEnv* env, jobject obj, jint policy) { - ((TQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TQTextEdit::WrapPolicy) policy); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->setWrapPolicy((TTQTextEdit::WrapPolicy) policy); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTextEdit_sizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQTextEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sliderReleased(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_sliderReleased(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->styleSheet(), "org.kde.qt.TTQStyleSheet"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_sync(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_sync(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextEdit*) QtSupport::getQt(env, obj))->syntaxHighlighter(), "org.kde.qt.TTQSyntaxHighlighter"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_tabChangesFocus(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->tabChangesFocus(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_tabStopWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->tabStopWidth(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_textFormat(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->textFormat(); + jint xret = (jint) ((TTQTextEdit*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->text(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_text__I(JNIEnv* env, jobject obj, jint para) { - TQString _qstring; - _qstring = ((TQTextEdit*) QtSupport::getQt(env, obj))->text((int) para); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextEdit*) QtSupport::getQt(env, obj))->text((int) para); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; + _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextEdit_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; + _qstring = TQTextEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextEdit_underline(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextEdit*) QtSupport::getQt(env, obj))->underline(); + jboolean xret = (jboolean) ((TTQTextEdit*) QtSupport::getQt(env, obj))->underline(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_undoDepth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->undoDepth(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->undoDepth(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_undo(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->public_undo(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_updateStyles(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_updateStyles(); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_updateStyles(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTextEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_windowActivationChange(JNIEnv* env, jobject obj, jboolean arg1) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wordWrap(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapColumnOrWidth(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wrapColumnOrWidth(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextEdit_wrapPolicy(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextEdit*) QtSupport::getQt(env, obj))->wrapPolicy(); + jint xret = (jint) ((TTQTextEdit*) QtSupport::getQt(env, obj))->wrapPolicy(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomIn__(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomIn(); + ((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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->zoomIn((int) range); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_zoomOut__(JNIEnv* env, jobject obj) { - ((QTextEditJBridge*) QtSupport::getQt(env, obj))->public_zoomOut(); + ((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); + ((TTQTextEdit*) 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); + ((TTQTextEdit*) QtSupport::getQt(env, obj))->zoomTo((int) size); return; } diff --git a/qtjava/javalib/qtjava/QTextEdit.h b/qtjava/javalib/qtjava/QTextEdit.h index 6c384efc..36b34653 100644 --- a/qtjava/javalib/qtjava/QTextEdit.h +++ b/qtjava/javalib/qtjava/QTextEdit.h @@ -12,13 +12,13 @@ extern "C" 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_newQTextEdit__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_newQTextEdit__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_newQTextEdit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newQTextEdit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newQTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newQTextEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextEdit_newQTextEdit__ (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); diff --git a/qtjava/javalib/qtjava/QTextEncoder.cpp b/qtjava/javalib/qtjava/QTextEncoder.cpp index f005fdcb..a3fe7790 100644 --- a/qtjava/javalib/qtjava/QTextEncoder.cpp +++ b/qtjava/javalib/qtjava/QTextEncoder.cpp @@ -4,16 +4,16 @@ #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; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTextEncoder*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQTextEncoder*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + return QtSupport::fromTQCString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QTextIStream.cpp b/qtjava/javalib/qtjava/QTextIStream.cpp index f6c10693..b2cb747c 100644 --- a/qtjava/javalib/qtjava/QTextIStream.cpp +++ b/qtjava/javalib/qtjava/QTextIStream.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QTextIStreamJBridge : public QTextIStream +class TQTextIStreamJBridge : public TQTextIStream { public: - QTextIStreamJBridge(const TQString* arg1) : TQTextIStream(arg1) {}; - QTextIStreamJBridge(TQByteArray arg1) : TQTextIStream(arg1) {}; - ~QTextIStreamJBridge() {QtSupport::qtKeyDeleted(this);} + TQTextIStreamJBridge(const TTQString* arg1) : TTQTextIStream(arg1) {}; + TQTextIStreamJBridge(TTQByteArray arg1) : TTQTextIStream(arg1) {}; + ~TQTextIStreamJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextIStream*)QtSupport::getQt(env, obj); + delete (TTQTextIStream*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,22 +37,22 @@ Java_org_kde_qt_QTextIStream_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_newQTextIStream__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) +Java_org_kde_qt_QTextIStream_newTQTextIStream__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) { -static TQString* _qstring_s = 0; +static TTQString* _qstring_s = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextIStreamJBridge((const TQString*) QtSupport::toQString(env, s, &_qstring_s))); + QtSupport::setQt(env, obj, new TQTextIStreamJBridge((const TTQString*) QtSupport::toTQString(env, s, &_qstring_s))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextIStream_newQTextIStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) +Java_org_kde_qt_QTextIStream_newTQTextIStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) { -static TQByteArray* _qbyteArray_ba = 0; +static TTQByteArray* _qbyteArray_ba = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextIStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, ba, &_qbyteArray_ba))); + QtSupport::setQt(env, obj, new TQTextIStreamJBridge((TTQByteArray)*(TTQByteArray*) 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 index 60d4b187..5f327dc6 100644 --- a/qtjava/javalib/qtjava/QTextIStream.h +++ b/qtjava/javalib/qtjava/QTextIStream.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newQTextIStream__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextIStream_newQTextIStream___3B (JNIEnv *env, jobject, jbyteArray); +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); diff --git a/qtjava/javalib/qtjava/QTextOStream.cpp b/qtjava/javalib/qtjava/QTextOStream.cpp index e229fa74..d265fbf0 100644 --- a/qtjava/javalib/qtjava/QTextOStream.cpp +++ b/qtjava/javalib/qtjava/QTextOStream.cpp @@ -3,14 +3,14 @@ #include #include -#include +#include -class QTextOStreamJBridge : public QTextOStream +class TQTextOStreamJBridge : public TQTextOStream { public: - QTextOStreamJBridge(TQString* arg1) : TQTextOStream(arg1) {}; - QTextOStreamJBridge(TQByteArray arg1) : TQTextOStream(arg1) {}; - ~QTextOStreamJBridge() {QtSupport::qtKeyDeleted(this);} + TQTextOStreamJBridge(TTQString* arg1) : TTQTextOStream(arg1) {}; + TQTextOStreamJBridge(TTQByteArray arg1) : TTQTextOStream(arg1) {}; + ~TQTextOStreamJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextOStream*)QtSupport::getQt(env, obj); + delete (TTQTextOStream*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,23 +37,23 @@ Java_org_kde_qt_QTextOStream_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_newQTextOStream__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject s) +Java_org_kde_qt_QTextOStream_newTQTextOStream__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject s) { -static TQString* _qstring_s = 0; +static TTQString* _qstring_s = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextOStreamJBridge((TQString*) QtSupport::toQStringFromStringBuffer(env, s, &_qstring_s))); + QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TTQString*) QtSupport::toTQStringFromStringBuffer(env, s, &_qstring_s))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - QtSupport::fromQStringToStringBuffer(env, _qstring_s, s); + QtSupport::fromTQStringToStringBuffer(env, _qstring_s, s); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextOStream_newQTextOStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) +Java_org_kde_qt_QTextOStream_newTQTextOStream___3B(JNIEnv* env, jobject obj, jbyteArray ba) { -static TQByteArray* _qbyteArray_ba = 0; +static TTQByteArray* _qbyteArray_ba = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextOStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, ba, &_qbyteArray_ba))); + QtSupport::setQt(env, obj, new TQTextOStreamJBridge((TTQByteArray)*(TTQByteArray*) 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 index f4ee666d..07742679 100644 --- a/qtjava/javalib/qtjava/QTextOStream.h +++ b/qtjava/javalib/qtjava/QTextOStream.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newQTextOStream__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextOStream_newQTextOStream___3B (JNIEnv *env, jobject, jbyteArray); +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); diff --git a/qtjava/javalib/qtjava/QTextStream.cpp b/qtjava/javalib/qtjava/QTextStream.cpp index c9b52c0e..f8d5bb98 100644 --- a/qtjava/javalib/qtjava/QTextStream.cpp +++ b/qtjava/javalib/qtjava/QTextStream.cpp @@ -4,36 +4,36 @@ #include #include -#include +#include -class QTextStreamJBridge : public QTextStream +class TQTextStreamJBridge : public TQTextStream { public: - QTextStreamJBridge() : TQTextStream() {}; - QTextStreamJBridge(TQIODevice* arg1) : TQTextStream(arg1) {}; - QTextStreamJBridge(TQString* arg1,int arg2) : TQTextStream(arg1,arg2) {}; - QTextStreamJBridge(TQByteArray arg1,int arg2) : TQTextStream(arg1,arg2) {}; - ~QTextStreamJBridge() {QtSupport::qtKeyDeleted(this);} + TQTextStreamJBridge() : TTQTextStream() {}; + TQTextStreamJBridge(TTQIODevice* arg1) : TTQTextStream(arg1) {}; + TQTextStreamJBridge(TTQString* arg1,int arg2) : TTQTextStream(arg1,arg2) {}; + TQTextStreamJBridge(TTQByteArray arg1,int arg2) : TTQTextStream(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(); + jboolean xret = (jboolean) ((TTQTextStream*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextStream*) QtSupport::getQt(env, obj))->codec(), "org.kde.qt.TTQTextCodec"); 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.QIODeviceInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextStream*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); return xret; } @@ -47,21 +47,21 @@ Java_org_kde_qt_QTextStream_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTextStream_eof(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTextStream*) QtSupport::getQt(env, obj))->eof(); + jboolean xret = (jboolean) ((TTQTextStream*) 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(); + jint xret = (jint) ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) QtSupport::getQt(env, obj))->fill((int) arg1); return xret; } @@ -69,7 +69,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTextStream*)QtSupport::getQt(env, obj); + delete (TTQTextStream*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -78,14 +78,14 @@ Java_org_kde_qt_QTextStream_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_flags__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->flags(); + jint xret = (jint) ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) QtSupport::getQt(env, obj))->flags((int) f); return xret; } @@ -96,43 +96,43 @@ Java_org_kde_qt_QTextStream_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newQTextStream__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTextStream_newTQTextStream__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge()); + QtSupport::setQt(env, obj, new TQTextStreamJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newQTextStream__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) +Java_org_kde_qt_QTextStream_newTQTextStream__Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jobject arg1, jint mode) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge((TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newQTextStream__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject arg1) +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 QTextStreamJBridge((TQIODevice*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TTQIODevice*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextStream_newQTextStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) +Java_org_kde_qt_QTextStream_newTQTextStream___3BI(JNIEnv* env, jobject obj, jbyteArray arg1, jint mode) { -static TQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextStreamJBridge((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); + QtSupport::setQt(env, obj, new TQTextStreamJBridge((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -141,234 +141,234 @@ static TQByteArray* _qbyteArray_arg1 = 0; 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::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); +static TTQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((TTQChar&)*(TTQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((double&) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((float&) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned int&) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned long&) arg1), "org.kde.qt.TTQTextStream"); 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::toQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.TQTextStream"); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQTextStream"); + 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator>>((unsigned short&) arg1), "org.kde.qt.TTQTextStream"); 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::toQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TQTextStream"); +static TTQChar* _qchar_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((TTQChar)*(TTQChar*) QtSupport::toTQChar(env, arg1, &_qchar_arg1)), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((double) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((float) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((unsigned) arg1), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((long) arg1), "org.kde.qt.TTQTextStream"); 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQTextStream"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->operator<<((short) arg1), "org.kde.qt.TTQTextStream"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QTextStream_precision__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTextStream*) QtSupport::getQt(env, obj))->precision(); + jint xret = (jint) ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextStream*) 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->readRawBytes((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TTQTextStream"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQTextStream*) 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(); + ((TTQTextStream*) 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)); + ((TTQTextStream*) QtSupport::getQt(env, obj))->setCodec((TTQTextCodec*) 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)); + ((TTQTextStream*) QtSupport::getQt(env, obj))->setDevice((TTQIODevice*) 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); + ((TTQTextStream*) QtSupport::getQt(env, obj))->setEncoding((TTQTextStream::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); + jint xret = (jint) ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) 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(); + ((TTQTextStream*) 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(); + ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) 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(); + jint xret = (jint) ((TTQTextStream*) 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); + jint xret = (jint) ((TTQTextStream*) 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"); +static TTQCString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &((TTQTextStream*) QtSupport::getQt(env, obj))->writeRawBytes((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (uint) len), "org.kde.qt.TTQTextStream"); return xret; } diff --git a/qtjava/javalib/qtjava/QTextStream.h b/qtjava/javalib/qtjava/QTextStream.h index 802686bd..a243951d 100644 --- a/qtjava/javalib/qtjava/QTextStream.h +++ b/qtjava/javalib/qtjava/QTextStream.h @@ -13,10 +13,10 @@ extern "C" 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_newQTextStream__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream__Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextStream_newQTextStream___3BI (JNIEnv *env, jobject, jbyteArray, jint); +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); diff --git a/qtjava/javalib/qtjava/QTextView.cpp b/qtjava/javalib/qtjava/QTextView.cpp index 76aec2af..89e00584 100644 --- a/qtjava/javalib/qtjava/QTextView.cpp +++ b/qtjava/javalib/qtjava/QTextView.cpp @@ -3,292 +3,292 @@ #include #include -#include +#include -class QTextViewJBridge : public QTextView +class TQTextViewJBridge : public TQTextView { public: - QTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : TQTextView(arg1,arg2,arg3,arg4) {}; - QTextViewJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : TQTextView(arg1,arg2,arg3) {}; - QTextViewJBridge(const TQString& arg1,const TQString& arg2) : TQTextView(arg1,arg2) {}; - QTextViewJBridge(const TQString& arg1) : TQTextView(arg1) {}; - QTextViewJBridge(TQWidget* arg1,const char* arg2) : TQTextView(arg1,arg2) {}; - QTextViewJBridge(TQWidget* arg1) : TQTextView(arg1) {}; - QTextViewJBridge() : TQTextView() {}; - ~QTextViewJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + TQTextViewJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3,const char* arg4) : TTQTextView(arg1,arg2,arg3,arg4) {}; + TQTextViewJBridge(const TTQString& arg1,const TTQString& arg2,TTQWidget* arg3) : TTQTextView(arg1,arg2,arg3) {}; + TQTextViewJBridge(const TTQString& arg1,const TTQString& arg2) : TTQTextView(arg1,arg2) {}; + TQTextViewJBridge(const TTQString& arg1) : TTQTextView(arg1) {}; + TQTextViewJBridge(TTQWidget* arg1,const char* arg2) : TTQTextView(arg1,arg2) {}; + TQTextViewJBridge(TTQWidget* arg1) : TTQTextView(arg1) {}; + TQTextViewJBridge() : TTQTextView() {}; + ~TQTextViewJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void setColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQTextEdit::setColor(arg1); + void setColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQTextEdit::setColor(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } - void contentsMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseReleaseEvent(arg1); + void contentsMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseReleaseEvent(arg1); } return; } - void setMimeSourceFactory(TQMimeSourceFactory* arg1) { - if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TQMimeSourceFactory")) { - TQTextEdit::setMimeSourceFactory(arg1); + void setMimeSourceFactory(TTQMimeSourceFactory* arg1) { + if (!QtSupport::eventDelegate(this,"setMimeSourceFactory",(void*)arg1,"org.kde.qt.TTQMimeSourceFactory")) { + TTQTextEdit::setMimeSourceFactory(arg1); } return; } void zoomOut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomOut")) { - TQTextEdit::zoomOut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","zoomOut")) { + TTQTextEdit::zoomOut(); } return; } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQScrollView::viewportPaintEvent(arg1); + void viewportPaintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQScrollView::viewportPaintEvent(arg1); } return; } - void viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseDoubleClickEvent(arg1); + void viewportMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseDoubleClickEvent(arg1); } return; } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseReleaseEvent(arg1); + void viewportMouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseReleaseEvent(arg1); } return; } void del() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","del")) { - TQTextEdit::del(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","del")) { + TTQTextEdit::del(); } return; } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQTextEdit::contentsDragLeaveEvent(arg1); + void contentsDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQTextEdit::contentsDragLeaveEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","undo")) { - TQTextEdit::undo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","undo")) { + TTQTextEdit::undo(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } - void setPaper(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQTextEdit::setPaper(arg1); + void setPaper(const TTQBrush& arg1) { + if (!QtSupport::eventDelegate(this,"setPaper",(void*)&arg1,"org.kde.qt.TTQBrush")) { + TTQTextEdit::setPaper(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","resetFormat")) { - TQTextEdit::resetFormat(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","resetFormat")) { + TTQTextEdit::resetFormat(); } return; } void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","zoomIn")) { - TQTextEdit::zoomIn(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","zoomIn")) { + TTQTextEdit::zoomIn(); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void viewportResizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTextEdit::viewportResizeEvent(arg1); + void viewportResizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportResizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQTextEdit::viewportResizeEvent(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imStartEvent(arg1); } return; } void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","cut")) { - TQTextEdit::cut(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","cut")) { + TTQTextEdit::cut(); } return; } void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","scrollToBottom")) { - TQTextEdit::scrollToBottom(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","scrollToBottom")) { + TTQTextEdit::scrollToBottom(); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","clear")) { - TQTextEdit::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","clear")) { + TTQTextEdit::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQTextEdit::contentsDropEvent(arg1); + void contentsDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQTextEdit::contentsDropEvent(arg1); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); + void viewportContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::viewportContextMenuEvent(arg1); } return; } - void setStyleSheet(TQStyleSheet* arg1) { - if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TQStyleSheet")) { - TQTextEdit::setStyleSheet(arg1); + void setStyleSheet(TTQStyleSheet* arg1) { + if (!QtSupport::eventDelegate(this,"setStyleSheet",(void*)arg1,"org.kde.qt.TTQStyleSheet")) { + TTQTextEdit::setStyleSheet(arg1); } return; } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); + void viewportDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQScrollView::viewportDragEnterEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTextEdit::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQTextEdit::keyPressEvent(arg1); } return; } @@ -296,314 +296,314 @@ public: return QtSupport::booleanDelegate(this,"customWhatsThis"); } void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","indent")) { - TQTextEdit::indent(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","indent")) { + TTQTextEdit::indent(); } return; } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCornerWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQScrollView::setCornerWidget(arg1); + void setCornerWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setCornerWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQScrollView::setCornerWidget(arg1); } return; } - void contentsDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQTextEdit::contentsDragEnterEvent(arg1); + void contentsDragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQTextEdit::contentsDragEnterEvent(arg1); } return; } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQTextEdit::contentsWheelEvent(arg1); + void contentsWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQTextEdit::contentsWheelEvent(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } void copy() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","copy")) { - TQTextEdit::copy(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","copy")) { + TTQTextEdit::copy(); } return; } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setFont(arg1); + void setFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setFont(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQTextEdit::contentsDragMoveEvent(arg1); + void contentsDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQTextEdit::contentsDragMoveEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(arg1); + void contentsMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseMoveEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void doChangeInterval() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","doChangeInterval")) { - TQTextEdit::doChangeInterval(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","doChangeInterval")) { + TTQTextEdit::doChangeInterval(); } return; } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMousePressEvent(arg1); + void contentsMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMousePressEvent(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imComposeEvent(arg1); } return; } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::viewportWheelEvent(arg1); + void viewportWheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::viewportWheelEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mousePressEvent(arg1); } return; } - void setCurrentFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQTextEdit::setCurrentFont(arg1); + void setCurrentFont(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"setCurrentFont",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQTextEdit::setCurrentFont(arg1); } return; } void ensureCursorVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","ensureCursorVisible")) { - TQTextEdit::ensureCursorVisible(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","ensureCursorVisible")) { + TTQTextEdit::ensureCursorVisible(); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::mouseMoveEvent(arg1); } return; } - void viewportMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMouseMoveEvent(arg1); + void viewportMouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","sync")) { - TQTextEdit::sync(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","sync")) { + TTQTextEdit::sync(); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } - void viewportDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::viewportDropEvent(arg1); + void viewportDropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQScrollView::viewportDropEvent(arg1); } return; } - void viewportDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQScrollView::viewportDragMoveEvent(arg1); + void viewportDragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQScrollView::viewportDragMoveEvent(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQScrollView::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQTextEdit::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQTextEdit::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); + void contentsMouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQTextEdit::contentsMouseDoubleClickEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQScrollView::contextMenuEvent(arg1); } return; } void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","paste")) { - TQTextEdit::paste(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","paste")) { + TTQTextEdit::paste(); } return; } void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","redo")) { - TQTextEdit::redo(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","redo")) { + TTQTextEdit::redo(); } return; } - void viewportDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::viewportDragLeaveEvent(arg1); + void viewportDragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportDragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQScrollView::viewportDragLeaveEvent(arg1); } return; } - void contentsContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQTextEdit::contentsContextMenuEvent(arg1); + void contentsContextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contentsContextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQTextEdit::contentsContextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } - void viewportMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::viewportMousePressEvent(arg1); + void viewportMousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"viewportMousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQScrollView::viewportMousePressEvent(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTextView","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQTextView","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -613,7 +613,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTextView*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTextView*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -627,8 +627,8 @@ Java_org_kde_qt_QTextView_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQTextView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQTextView*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -643,84 +643,84 @@ Java_org_kde_qt_QTextView_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTextView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTextView_newTQTextView__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge()); + QtSupport::setQt(env, obj, new TQTextViewJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) +Java_org_kde_qt_QTextView_newTQTextView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) { -static TQString* _qstring_text = 0; +static TTQString* _qstring_text = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring context) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring context, jobject parent) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__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) +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; +static TTQString* _qstring_text = 0; +static TTQString* _qstring_context = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, context, &_qstring_context), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, context, &_qstring_context), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTextViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTextView_newQTextView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTextViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTextViewJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -729,21 +729,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QTextView_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTextViewJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index d544211f..9912cff2 100644 --- a/qtjava/javalib/qtjava/QTextView.h +++ b/qtjava/javalib/qtjava/QTextView.h @@ -12,13 +12,13 @@ extern "C" 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_newQTextView__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_newQTextView__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_newQTextView__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newQTextView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newQTextView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newQTextView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTextView_newQTextView__ (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); diff --git a/qtjava/javalib/qtjava/QTimeEdit.cpp b/qtjava/javalib/qtjava/QTimeEdit.cpp index 62952bad..b74cf624 100644 --- a/qtjava/javalib/qtjava/QTimeEdit.cpp +++ b/qtjava/javalib/qtjava/QTimeEdit.cpp @@ -5,413 +5,413 @@ #include #include -#include +#include -class QTimeEditJBridge : public QTimeEdit +class TQTimeEditJBridge : public TQTimeEdit { public: - QTimeEditJBridge(TQWidget* arg1,const char* arg2) : QTimeEdit(arg1,arg2) {}; - QTimeEditJBridge(TQWidget* arg1) : QTimeEdit(arg1) {}; - QTimeEditJBridge() : QTimeEdit() {}; - QTimeEditJBridge(const TQTime& arg1,TQWidget* arg2,const char* arg3) : QTimeEdit(arg1,arg2,arg3) {}; - QTimeEditJBridge(const TQTime& arg1,TQWidget* arg2) : QTimeEdit(arg1,arg2) {}; - QTimeEditJBridge(const TQTime& arg1) : QTimeEdit(arg1) {}; - bool protected_event(TQEvent* arg1) { - return (bool) QTimeEdit::event(arg1); + TQTimeEditJBridge(TTQWidget* arg1,const char* arg2) : TQTimeEdit(arg1,arg2) {}; + TQTimeEditJBridge(TTQWidget* arg1) : TQTimeEdit(arg1) {}; + TQTimeEditJBridge() : TQTimeEdit() {}; + TQTimeEditJBridge(const TTQTime& arg1,TTQWidget* arg2,const char* arg3) : TQTimeEdit(arg1,arg2,arg3) {}; + TQTimeEditJBridge(const TTQTime& arg1,TTQWidget* arg2) : TQTimeEdit(arg1,arg2) {}; + TQTimeEditJBridge(const TTQTime& arg1) : TQTimeEdit(arg1) {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TQTimeEdit::event(arg1); } - void protected_timerEvent(TQTimerEvent* arg1) { - QTimeEdit::timerEvent(arg1); + void protected_timerEvent(TTQTimerEvent* arg1) { + TQTimeEdit::timerEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - QTimeEdit::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TQTimeEdit::resizeEvent(arg1); return; } void protected_stepUp() { - QTimeEdit::stepUp(); + TQTimeEdit::stepUp(); return; } void protected_stepDown() { - QTimeEdit::stepDown(); + TQTimeEdit::stepDown(); return; } - TQString protected_sectionFormattedText(int arg1) { - return (TQString) QTimeEdit::sectionFormattedText(arg1); + TTQString protected_sectionFormattedText(int arg1) { + return (TTQString) TQTimeEdit::sectionFormattedText(arg1); } void protected_addNumber(int arg1,int arg2) { - QTimeEdit::addNumber(arg1,arg2); + TQTimeEdit::addNumber(arg1,arg2); return; } void protected_removeLastNumber(int arg1) { - QTimeEdit::removeLastNumber(arg1); + TQTimeEdit::removeLastNumber(arg1); return; } bool protected_setFocusSection(int arg1) { - return (bool) QTimeEdit::setFocusSection(arg1); + return (bool) TQTimeEdit::setFocusSection(arg1); } bool protected_outOfRange(int arg1,int arg2,int arg3) { - return (bool) QTimeEdit::outOfRange(arg1,arg2,arg3); + return (bool) TQTimeEdit::outOfRange(arg1,arg2,arg3); } void protected_setHour(int arg1) { - QTimeEdit::setHour(arg1); + TQTimeEdit::setHour(arg1); return; } void protected_setMinute(int arg1) { - QTimeEdit::setMinute(arg1); + TQTimeEdit::setMinute(arg1); return; } void protected_setSecond(int arg1) { - QTimeEdit::setSecond(arg1); + TQTimeEdit::setSecond(arg1); return; } void protected_updateButtons() { - QTimeEdit::updateButtons(); + TQTimeEdit::updateButtons(); return; } - ~QTimeEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQTimeEditJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - QTimeEdit::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TQTimeEdit::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - QTimeEdit::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TQTimeEdit::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QTimeEdit",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQTimeEdit",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.QTimeEdit","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TQTimeEdit","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -420,14 +420,14 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_addNumber(JNIEnv* env, jobject obj, jint sec, jint num) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_addNumber((int) sec, (int) 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) ((QTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); + jboolean xret = (jboolean) ((TQTimeEdit*) QtSupport::getQt(env, obj))->autoAdvance(); return xret; } @@ -435,14 +435,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QTimeEdit*) QtSupport::getQt(env, obj))->className(); + _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) ((QTimeEdit*) QtSupport::getQt(env, obj))->display(); + jint xret = (jint) ((TQTimeEdit*) QtSupport::getQt(env, obj))->display(); return xret; } @@ -456,15 +456,15 @@ Java_org_kde_qt_QTimeEdit_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_event(JNIEnv* env, jobject obj, jobject e) { - jboolean xret = (jboolean) ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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*)(QTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (QTimeEdit*)QtSupport::getQt(env, obj); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TQTimeEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TQTimeEdit*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -479,93 +479,93 @@ Java_org_kde_qt_QTimeEdit_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_maxValue(JNIEnv* env, jobject obj) { - TQTime _qtime; - _qtime = ((QTimeEdit*) QtSupport::getQt(env, obj))->maxValue(); - return (jobject) QtSupport::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->maxValue(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTimeEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minValue(JNIEnv* env, jobject obj) { - TQTime _qtime; - _qtime = ((QTimeEdit*) QtSupport::getQt(env, obj))->minValue(); - return (jobject) QtSupport::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->minValue(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_minimumSizeHint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((QTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimeEditJBridge()); + QtSupport::setQt(env, obj, new TQTimeEditJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject time) +Java_org_kde_qt_QTimeEdit_newTQTimeEdit__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject time) { -static TQTime* _qtime_time = 0; +static TTQTime* _qtime_time = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimeEditJBridge((const TQTime&)*(TQTime*) QtSupport::toQTime(env, time, &_qtime_time))); + QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject time, jobject parent) +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; +static TTQTime* _qtime_time = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimeEditJBridge((const TQTime&)*(TQTime*) QtSupport::toQTime(env, time, &_qtime_time), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject time, jobject parent, jstring name) +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; +static TTQTime* _qtime_time = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimeEditJBridge((const TQTime&)*(TQTime*) QtSupport::toQTime(env, time, &_qtime_time), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTimeEditJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimeEdit_newQTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimeEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTimeEditJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -574,191 +574,191 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimeEdit_outOfRange(JNIEnv* env, jobject obj, jint h, jint m, jint s) { - jboolean xret = (jboolean) ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_outOfRange((int) h, (int) m, (int) 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) { - ((QTimeEdit*) QtSupport::getQt(env, obj))->removeFirstNumber((int) 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) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_removeLastNumber((int) 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) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimeEdit_sectionFormattedText(JNIEnv* env, jobject obj, jint sec) { - TQString _qstring; - _qstring = ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_sectionFormattedText((int) sec); - return QtSupport::fromQString(env, &_qstring); + TTQString _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 = ((QTimeEdit*) QtSupport::getQt(env, obj))->separator(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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) { - ((QTimeEdit*) QtSupport::getQt(env, obj))->setAutoAdvance((bool) 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) { - ((QTimeEdit*) QtSupport::getQt(env, obj))->setDisplay((uint) 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) ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setFocusSection((int) 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) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setHour((int) 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; - ((QTimeEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TQTime&)*(TQTime*) QtSupport::toQTime(env, d, &_qtime_d)); +static TTQTime* _qtime_d = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMaxValue((const TTQTime&)*(TTQTime*) 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; - ((QTimeEdit*) QtSupport::getQt(env, obj))->setMinValue((const TQTime&)*(TQTime*) QtSupport::toQTime(env, d, &_qtime_d)); +static TTQTime* _qtime_d = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setMinValue((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, d, &_qtime_d)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setMinute(JNIEnv* env, jobject obj, jint m) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setMinute((int) 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; - ((QTimeEdit*) QtSupport::getQt(env, obj))->setRange((const TQTime&)*(TQTime*) QtSupport::toQTime(env, min, &_qtime_min), (const TQTime&)*(TQTime*) QtSupport::toQTime(env, max, &_qtime_max)); +static TTQTime* _qtime_min = 0; +static TTQTime* _qtime_max = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setRange((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, min, &_qtime_min), (const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, max, &_qtime_max)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_setSecond(JNIEnv* env, jobject obj, jint s) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_setSecond((int) 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; - ((QTimeEdit*) QtSupport::getQt(env, obj))->setSeparator((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setSeparator((const TTQString&)*(TTQString*) 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; - ((QTimeEdit*) QtSupport::getQt(env, obj))->setTime((const TQTime&)*(TQTime*) QtSupport::toQTime(env, time, &_qtime_time)); +static TTQTime* _qtime_time = 0; + ((TQTimeEdit*) QtSupport::getQt(env, obj))->setTime((const TTQTime&)*(TTQTime*) 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(((QTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TQTimeEdit*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepDown(JNIEnv* env, jobject obj) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepDown(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_stepUp(JNIEnv* env, jobject obj) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_stepUp(); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QTimeEdit_time(JNIEnv* env, jobject obj) { - TQTime _qtime; - _qtime = ((QTimeEdit*) QtSupport::getQt(env, obj))->time(); - return (jobject) QtSupport::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TQTimeEdit*) QtSupport::getQt(env, obj))->time(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_timerEvent(JNIEnv* env, jobject obj, jobject e) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, e)); + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TTQTimerEvent*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTimeEditJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); + ((TQTimeEditJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); return; } diff --git a/qtjava/javalib/qtjava/QTimeEdit.h b/qtjava/javalib/qtjava/QTimeEdit.h index bbe97794..8ec8cda8 100644 --- a/qtjava/javalib/qtjava/QTimeEdit.h +++ b/qtjava/javalib/qtjava/QTimeEdit.h @@ -12,12 +12,12 @@ extern "C" 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_newQTimeEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newQTimeEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newQTimeEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newQTimeEdit__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_newQTimeEdit__Ljava_util_Date_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimeEdit_newQTimeEdit__Ljava_util_Date_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QTimer.cpp b/qtjava/javalib/qtjava/QTimer.cpp index 833d145a..72b302d8 100644 --- a/qtjava/javalib/qtjava/QTimer.cpp +++ b/qtjava/javalib/qtjava/QTimer.cpp @@ -3,51 +3,51 @@ #include #include -#include +#include -class QTimerJBridge : public QTimer +class TQTimerJBridge : public TQTimer { public: - QTimerJBridge(TQObject* arg1,const char* arg2) : TQTimer(arg1,arg2) {}; - QTimerJBridge(TQObject* arg1) : TQTimer(arg1) {}; - QTimerJBridge() : TQTimer() {}; - bool protected_event(TQEvent* arg1) { - return (bool) TQTimer::event(arg1); + TQTimerJBridge(TTQObject* arg1,const char* arg2) : TTQTimer(arg1,arg2) {}; + TQTimerJBridge(TTQObject* arg1) : TTQTimer(arg1) {}; + TQTimerJBridge() : TTQTimer() {}; + bool protected_event(TTQEvent* arg1) { + return (bool) TTQTimer::event(arg1); } - ~QTimerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + ~TQTimerJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQTimer",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQTimer",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -57,7 +57,7 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_changeInterval(JNIEnv* env, jobject obj, jint msec) { - ((TQTimer*) QtSupport::getQt(env, obj))->changeInterval((int) msec); + ((TTQTimer*) QtSupport::getQt(env, obj))->changeInterval((int) msec); return; } @@ -65,7 +65,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTimer_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTimer*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQTimer*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -79,15 +79,15 @@ Java_org_kde_qt_QTimer_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QTimerJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQTimerJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQTimer*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQTimer*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -96,7 +96,7 @@ Java_org_kde_qt_QTimer_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTimer_isActive(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQTimer*) QtSupport::getQt(env, obj))->isActive(); + jboolean xret = (jboolean) ((TTQTimer*) QtSupport::getQt(env, obj))->isActive(); return xret; } @@ -109,36 +109,36 @@ Java_org_kde_qt_QTimer_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQTimer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newQTimer__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTimer_newTQTimer__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimerJBridge()); + QtSupport::setQt(env, obj, new TQTimerJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newQTimer__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QTimerJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTimerJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimer_newQTimer__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimerJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTimerJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -148,56 +148,56 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_singleShot(JNIEnv* env, jclass cls, jint msec, jobject receiver, jstring member) { (void) cls; - QTimerJBridge::singleShot((int) msec, (TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); + TQTimerJBridge::singleShot((int) msec, (TTQObject*) 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); + jint xret = (jint) ((TTQTimer*) 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); + jint xret = (jint) ((TTQTimer*) 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(); + ((TTQTimer*) 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(); + jint xret = (jint) ((TTQTimer*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTimerJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 3693597e..0202ab36 100644 --- a/qtjava/javalib/qtjava/QTimer.h +++ b/qtjava/javalib/qtjava/QTimer.h @@ -12,9 +12,9 @@ extern "C" 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_newQTimer__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newQTimer__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimer_newQTimer__ (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); diff --git a/qtjava/javalib/qtjava/QTimerEvent.cpp b/qtjava/javalib/qtjava/QTimerEvent.cpp index d6dcafd8..d1f12e0d 100644 --- a/qtjava/javalib/qtjava/QTimerEvent.cpp +++ b/qtjava/javalib/qtjava/QTimerEvent.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QTimerEventJBridge : public QTimerEvent +class TQTimerEventJBridge : public TQTimerEvent { public: - QTimerEventJBridge(int arg1) : TQTimerEvent(arg1) {}; - ~QTimerEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQTimerEventJBridge(int arg1) : TTQTimerEvent(arg1) {}; + ~TQTimerEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTimerEvent*)QtSupport::getQt(env, obj); + delete (TTQTimerEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -35,10 +35,10 @@ Java_org_kde_qt_QTimerEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTimerEvent_newQTimerEvent(JNIEnv* env, jobject obj, jint timerId) +Java_org_kde_qt_QTimerEvent_newTQTimerEvent(JNIEnv* env, jobject obj, jint timerId) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTimerEventJBridge((int) timerId)); + QtSupport::setQt(env, obj, new TQTimerEventJBridge((int) timerId)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -47,7 +47,7 @@ Java_org_kde_qt_QTimerEvent_newQTimerEvent(JNIEnv* env, jobject obj, jint timerI JNIEXPORT jint JNICALL Java_org_kde_qt_QTimerEvent_timerId(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTimerEvent*) QtSupport::getQt(env, obj))->timerId(); + jint xret = (jint) ((TTQTimerEvent*) QtSupport::getQt(env, obj))->timerId(); return xret; } diff --git a/qtjava/javalib/qtjava/QTimerEvent.h b/qtjava/javalib/qtjava/QTimerEvent.h index 6b2ed906..61030922 100644 --- a/qtjava/javalib/qtjava/QTimerEvent.h +++ b/qtjava/javalib/qtjava/QTimerEvent.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTimerEvent_newQTimerEvent (JNIEnv *env, jobject, jint); +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); diff --git a/qtjava/javalib/qtjava/QToolBar.cpp b/qtjava/javalib/qtjava/QToolBar.cpp index b30d75ef..6fa023c9 100644 --- a/qtjava/javalib/qtjava/QToolBar.cpp +++ b/qtjava/javalib/qtjava/QToolBar.cpp @@ -6,395 +6,395 @@ #include #include -#include +#include -class QToolBarJBridge : public QToolBar +class TQToolBarJBridge : public TQToolBar { public: - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,Qt::ToolBarDock arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,Qt::ToolBarDock arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,Qt::ToolBarDock arg3) : TQToolBar(arg1,arg2,arg3) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2) : TQToolBar(arg1,arg2) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5,Qt::WFlags arg6) : TQToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4,const char* arg5) : TQToolBar(arg1,arg2,arg3,arg4,arg5) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3,bool arg4) : TQToolBar(arg1,arg2,arg3,arg4) {}; - QToolBarJBridge(const TQString& arg1,TQMainWindow* arg2,TQWidget* arg3) : TQToolBar(arg1,arg2,arg3) {}; - QToolBarJBridge(TQMainWindow* arg1,const char* arg2) : TQToolBar(arg1,arg2) {}; - QToolBarJBridge(TQMainWindow* arg1) : TQToolBar(arg1) {}; - QToolBarJBridge() : TQToolBar() {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4,const char* arg5) : TTQToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TQt::ToolBarDock arg3,bool arg4) : TTQToolBar(arg1,arg2,arg3,arg4) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TQt::ToolBarDock arg3) : TTQToolBar(arg1,arg2,arg3) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2) : TTQToolBar(arg1,arg2) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TTQWidget* arg3,bool arg4,const char* arg5,TQt::WFlags arg6) : TTQToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TTQWidget* arg3,bool arg4,const char* arg5) : TTQToolBar(arg1,arg2,arg3,arg4,arg5) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TTQWidget* arg3,bool arg4) : TTQToolBar(arg1,arg2,arg3,arg4) {}; + TQToolBarJBridge(const TTQString& arg1,TTQMainWindow* arg2,TTQWidget* arg3) : TTQToolBar(arg1,arg2,arg3) {}; + TQToolBarJBridge(TTQMainWindow* arg1,const char* arg2) : TTQToolBar(arg1,arg2) {}; + TQToolBarJBridge(TTQMainWindow* arg1) : TTQToolBar(arg1) {}; + TQToolBarJBridge() : TTQToolBar() {}; void public_clear() { - TQToolBar::clear(); + TTQToolBar::clear(); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQToolBar::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQToolBar::resizeEvent(arg1); return; } - void protected_styleChange(TQStyle& arg1) { - TQToolBar::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQToolBar::styleChange(arg1); return; } - ~QToolBarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQToolBarJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQToolBar::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQToolBar::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","clear")) { - TQToolBar::clear(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","clear")) { + TTQToolBar::clear(); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQDockWindow::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQDockWindow::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQDockWindow::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","dock")) { - TQDockWindow::dock(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","dock")) { + TTQDockWindow::dock(); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); + void setWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQDockWindow::setWidget(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","undock")) { - TQDockWindow::undock(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","undock")) { + TTQDockWindow::undock(); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDockWindow::contextMenuEvent(arg1); } return; } - void setStretchableWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setStretchableWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQToolBar::setStretchableWidget(arg1); + void setStretchableWidget(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setStretchableWidget",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQToolBar::setStretchableWidget(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBar","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBar","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -403,7 +403,7 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_addSeparator(JNIEnv* env, jobject obj) { - ((TQToolBar*) QtSupport::getQt(env, obj))->addSeparator(); + ((TTQToolBar*) QtSupport::getQt(env, obj))->addSeparator(); return; } @@ -411,14 +411,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQToolBar*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_clear(JNIEnv* env, jobject obj) { - ((QToolBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); return; } @@ -432,15 +432,15 @@ Java_org_kde_qt_QToolBar_dispose(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQToolBar*) QtSupport::getQt(env, obj))->event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQToolBar*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -449,7 +449,7 @@ Java_org_kde_qt_QToolBar_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_hide(JNIEnv* env, jobject obj) { - ((TQToolBar*) QtSupport::getQt(env, obj))->hide(); + ((TTQToolBar*) QtSupport::getQt(env, obj))->hide(); return; } @@ -462,156 +462,156 @@ Java_org_kde_qt_QToolBar_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBar_label(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQToolBar*) QtSupport::getQt(env, obj))->label(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQToolBar*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolBar*) QtSupport::getQt(env, obj))->mainWindow(), "org.kde.qt.TTQMainWindow"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QToolBar_newTQToolBar__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge()); + QtSupport::setQt(env, obj, new TQToolBarJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jstring label, jobject arg2) +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; +static TTQString* _qstring_label = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2))); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3) +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; +static TTQString* _qstring_label = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (Qt::ToolBarDock) arg3)); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2), (TQt::ToolBarDock) arg3)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jstring label, jobject arg2, jint arg3, jboolean newLine) +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; +static TTQString* _qstring_label = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (Qt::ToolBarDock) arg3, (bool) newLine)); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) 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_newQToolBar__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) +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; +static TTQString* _qstring_label = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (Qt::ToolBarDock) arg3, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) 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_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3) +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; +static TTQString* _qstring_label = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3))); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2), (TTQWidget*) QtSupport::getQt(env, arg3))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jstring label, jobject arg2, jobject arg3, jboolean newLine) +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; +static TTQString* _qstring_label = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine)); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2), (TTQWidget*) QtSupport::getQt(env, arg3), (bool) newLine)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__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) +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; +static TTQString* _qstring_label = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2), (TTQWidget*) 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_newQToolBar__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) +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; +static TTQString* _qstring_label = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, label, &_qstring_label), (TQMainWindow*) QtSupport::getQt(env, arg2), (TQWidget*) QtSupport::getQt(env, arg3), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQToolBarJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label), (TTQMainWindow*) QtSupport::getQt(env, arg2), (TTQWidget*) 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_newQToolBar__Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jobject obj, jobject parent) +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 QToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolBarJBridge((TTQMainWindow*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBar_newQToolBar__Lorg_kde_qt_QMainWindow_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolBarJBridge((TTQMainWindow*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -620,71 +620,71 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) { - ((QToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQToolBar*) QtSupport::getQt(env, obj))->setLabel((const TTQString&)*(TTQString*) 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); + ((TTQToolBar*) 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((Qt::Orientation) o); + ((TTQToolBar*) 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)); + ((TTQToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_show(JNIEnv* env, jobject obj) { - ((TQToolBar*) QtSupport::getQt(env, obj))->show(); + ((TTQToolBar*) QtSupport::getQt(env, obj))->show(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQToolBarJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QToolBarJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 1c918aa7..5103f9e6 100644 --- a/qtjava/javalib/qtjava/QToolBar.h +++ b/qtjava/javalib/qtjava/QToolBar.h @@ -12,17 +12,17 @@ extern "C" 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_newQToolBar__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_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jstring, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newQToolBar__Ljava_lang_String_2Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newQToolBar__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_newQToolBar__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_newQToolBar__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_newQToolBar__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_newQToolBar__Lorg_kde_qt_QMainWindow_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newQToolBar__Lorg_kde_qt_QMainWindow_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBar_newQToolBar__ (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); diff --git a/qtjava/javalib/qtjava/QToolBox.cpp b/qtjava/javalib/qtjava/QToolBox.cpp index 88bca52c..e74e9d06 100644 --- a/qtjava/javalib/qtjava/QToolBox.cpp +++ b/qtjava/javalib/qtjava/QToolBox.cpp @@ -6,391 +6,391 @@ #include #include -#include +#include -class QToolBoxJBridge : public QToolBox +class TQToolBoxJBridge : public TQToolBox { public: - QToolBoxJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQToolBox(arg1,arg2,arg3) {}; - QToolBoxJBridge(TQWidget* arg1,const char* arg2) : TQToolBox(arg1,arg2) {}; - QToolBoxJBridge(TQWidget* arg1) : TQToolBox(arg1) {}; - QToolBoxJBridge() : TQToolBox() {}; + TQToolBoxJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQToolBox(arg1,arg2,arg3) {}; + TQToolBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQToolBox(arg1,arg2) {}; + TQToolBoxJBridge(TTQWidget* arg1) : TTQToolBox(arg1) {}; + TQToolBoxJBridge() : TTQToolBox() {}; void protected_itemInserted(int arg1) { - TQToolBox::itemInserted(arg1); + TTQToolBox::itemInserted(arg1); return; } void protected_itemRemoved(int arg1) { - TQToolBox::itemRemoved(arg1); + TTQToolBox::itemRemoved(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQToolBox::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQToolBox::showEvent(arg1); return; } void protected_frameChanged() { - TQToolBox::frameChanged(); + TTQToolBox::frameChanged(); return; } - void protected_styleChange(TQStyle& arg1) { - TQToolBox::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQToolBox::styleChange(arg1); return; } - ~QToolBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQToolBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQToolBox::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQToolBox::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQToolBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQToolBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -399,16 +399,16 @@ public: 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->addItem((TTQWidget*) QtSupport::getQt(env, item), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->addItem((TTQWidget*) QtSupport::getQt(env, item), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconSet), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } @@ -416,28 +416,28 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQToolBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQToolBox*) 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(); + jint xret = (jint) ((TTQToolBox*) 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(); + jint xret = (jint) ((TTQToolBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolBox*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.qt.TTQWidget"); return xret; } @@ -451,8 +451,8 @@ Java_org_kde_qt_QToolBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQToolBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQToolBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -461,30 +461,30 @@ Java_org_kde_qt_QToolBox_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_frameChanged(JNIEnv* env, jobject obj) { - ((QToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((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)); + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->indexOf((TTQWidget*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TTQWidget*) QtSupport::getQt(env, item), (const TTQString&)*(TTQString*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->insertItem((int) index, (TTQWidget*) QtSupport::getQt(env, item), (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, iconSet), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, label, &_qstring_label)); return xret; } @@ -497,98 +497,98 @@ Java_org_kde_qt_QToolBox_isDisposed(JNIEnv* env, jobject obj) 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); + jboolean xret = (jboolean) ((TTQToolBox*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQToolBox*) QtSupport::getQt(env, obj))->itemIconSet((int) index)), "org.kde.qt.TTQIconSet", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_itemInserted(JNIEnv* env, jobject obj, jint index) { - ((QToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemInserted((int) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQToolBox*) 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) { - ((QToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_itemRemoved((int) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQToolBox*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolBox*) QtSupport::getQt(env, obj))->item((int) index), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newQToolBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QToolBox_newTQToolBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBoxJBridge()); + QtSupport::setQt(env, obj, new TQToolBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newQToolBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolBox_newQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQToolBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -597,86 +597,86 @@ static TQCString* _qstring_name = 0; 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)); + jint xret = (jint) ((TTQToolBox*) QtSupport::getQt(env, obj))->removeItem((TTQWidget*) 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); + ((TTQToolBox*) 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)); + ((TTQToolBox*) QtSupport::getQt(env, obj))->setCurrentItem((TTQWidget*) 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); + ((TTQToolBox*) 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)); + ((TTQToolBox*) QtSupport::getQt(env, obj))->setItemIconSet((int) index, (const TTQIconSet&)*(const TTQIconSet*) 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::toQString(env, label, &_qstring_label)); +static TTQString* _qstring_label = 0; + ((TTQToolBox*) QtSupport::getQt(env, obj))->setItemLabel((int) index, (const TTQString&)*(TTQString*) 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::toQString(env, toolTip, &_qstring_toolTip)); +static TTQString* _qstring_toolTip = 0; + ((TTQToolBox*) QtSupport::getQt(env, obj))->setItemToolTip((int) index, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) QtSupport::getQt(env, e)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQToolBoxJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QToolBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index da3c3587..da974a02 100644 --- a/qtjava/javalib/qtjava/QToolBox.h +++ b/qtjava/javalib/qtjava/QToolBox.h @@ -12,10 +12,10 @@ extern "C" 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_newQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newQToolBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newQToolBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolBox_newQToolBox__ (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); diff --git a/qtjava/javalib/qtjava/QToolButton.cpp b/qtjava/javalib/qtjava/QToolButton.cpp index f03d96b2..8668553b 100644 --- a/qtjava/javalib/qtjava/QToolButton.cpp +++ b/qtjava/javalib/qtjava/QToolButton.cpp @@ -7,400 +7,400 @@ #include #include -#include +#include -class QToolButtonJBridge : public QToolButton +class TQToolButtonJBridge : public TQToolButton { public: - QToolButtonJBridge(TQWidget* arg1,const char* arg2) : TQToolButton(arg1,arg2) {}; - QToolButtonJBridge(TQWidget* arg1) : TQToolButton(arg1) {}; - QToolButtonJBridge(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) {}; - QToolButtonJBridge(const TQIconSet& arg1,const TQString& arg2,const TQString& arg3,TQObject* arg4,const char* arg5,TQToolBar* arg6) : TQToolButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - QToolButtonJBridge(Qt::ArrowType arg1,TQWidget* arg2,const char* arg3) : TQToolButton(arg1,arg2,arg3) {}; - QToolButtonJBridge(Qt::ArrowType arg1,TQWidget* arg2) : TQToolButton(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQToolButton::mousePressEvent(arg1); + TQToolButtonJBridge(TTQWidget* arg1,const char* arg2) : TTQToolButton(arg1,arg2) {}; + TQToolButtonJBridge(TTQWidget* arg1) : TTQToolButton(arg1) {}; + TQToolButtonJBridge(const TTQIconSet& arg1,const TTQString& arg2,const TTQString& arg3,TTQObject* arg4,const char* arg5,TTQToolBar* arg6,const char* arg7) : TTQToolButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + TQToolButtonJBridge(const TTQIconSet& arg1,const TTQString& arg2,const TTQString& arg3,TTQObject* arg4,const char* arg5,TTQToolBar* arg6) : TTQToolButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; + TQToolButtonJBridge(TQt::ArrowType arg1,TTQWidget* arg2,const char* arg3) : TTQToolButton(arg1,arg2,arg3) {}; + TQToolButtonJBridge(TQt::ArrowType arg1,TTQWidget* arg2) : TTQToolButton(arg1,arg2) {}; + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQToolButton::mousePressEvent(arg1); return; } - void protected_drawButton(TQPainter* arg1) { - TQToolButton::drawButton(arg1); + void protected_drawButton(TTQPainter* arg1) { + TTQToolButton::drawButton(arg1); return; } - void protected_drawButtonLabel(TQPainter* arg1) { - TQToolButton::drawButtonLabel(arg1); + void protected_drawButtonLabel(TTQPainter* arg1) { + TTQToolButton::drawButtonLabel(arg1); return; } - void protected_enterEvent(TQEvent* arg1) { - TQToolButton::enterEvent(arg1); + void protected_enterEvent(TTQEvent* arg1) { + TTQToolButton::enterEvent(arg1); return; } - void protected_leaveEvent(TQEvent* arg1) { - TQToolButton::leaveEvent(arg1); + void protected_leaveEvent(TTQEvent* arg1) { + TTQToolButton::leaveEvent(arg1); return; } - void protected_moveEvent(TQMoveEvent* arg1) { - TQToolButton::moveEvent(arg1); + void protected_moveEvent(TTQMoveEvent* arg1) { + TTQToolButton::moveEvent(arg1); return; } bool protected_uses3D() { - return (bool) TQToolButton::uses3D(); + return (bool) TTQToolButton::uses3D(); } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQToolButton::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQToolButton::eventFilter(arg1,arg2); } - void protected_paletteChange(const TQPalette& arg1) { - TQToolButton::paletteChange(arg1); + void protected_paletteChange(const TTQPalette& arg1) { + TTQToolButton::paletteChange(arg1); return; } - ~QToolButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQToolButtonJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQButton::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TQToolButton::setIconSet(arg1); + void setIconSet(const TTQIconSet& arg1) { + if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TTQIconSet")) { + TTQToolButton::setIconSet(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQToolButton::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQToolButton::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(arg1); + void setAccel(const TTQKeySequence& arg1) { + if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TTQKeySequence")) { + TTQButton::setAccel(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQToolButton::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQToolButton::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQToolButton::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQToolButton::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQToolButton::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQToolButton::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQButton::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); + void setPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQButton::setPixmap(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQButton::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQButton::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQToolButton","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQToolButton","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -409,7 +409,7 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolButton_autoRaise(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQToolButton*) QtSupport::getQt(env, obj))->autoRaise(); + jboolean xret = (jboolean) ((TTQToolButton*) QtSupport::getQt(env, obj))->autoRaise(); return xret; } @@ -417,7 +417,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolButton_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQToolButton*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQToolButton*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -431,36 +431,36 @@ Java_org_kde_qt_QToolButton_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TTQPainter*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_enterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TTQEvent*) 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) ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); + jboolean xret = (jboolean) ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, o), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQToolButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQToolButton*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -469,14 +469,14 @@ Java_org_kde_qt_QToolButton_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQToolButton*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TTQIconSet", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQToolButton*) QtSupport::getQt(env, obj))->iconSet((bool) on)), "org.kde.qt.TTQIconSet", TRUE); return xret; } @@ -489,100 +489,100 @@ Java_org_kde_qt_QToolButton_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TTQEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQToolButton*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_moveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TTQMoveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newQToolButton__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jobject parent) +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 QToolButtonJBridge((Qt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolButtonJBridge((Qt::ArrowType) type, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TQt::ArrowType) type, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newQToolButton__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) +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; +static TTQString* _qstring_textLabel = 0; +static TTQString* _qstring_grouptext = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toQString(env, grouptext, &_qstring_grouptext), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQToolBar*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolButtonJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, s), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TTQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TTQToolBar*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newQToolButton__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) +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; +static TTQString* _qstring_textLabel = 0; +static TTQString* _qstring_grouptext = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, s), (const TQString&)*(TQString*) QtSupport::toQString(env, textLabel, &_qstring_textLabel), (const TQString&)*(TQString*) QtSupport::toQString(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::setQt(env, obj, new TQToolButtonJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, s), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, textLabel, &_qstring_textLabel), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, grouptext, &_qstring_grouptext), (TTQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TTQToolBar*) QtSupport::getQt(env, 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_newQToolButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolButton_newQToolButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolButtonJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -591,221 +591,221 @@ static TQCString* _qstring_name = 0; 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQToolButton*) QtSupport::getQt(env, obj))->offIconSet()), "org.kde.qt.TTQIconSet", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQToolButton*) QtSupport::getQt(env, obj))->onIconSet()), "org.kde.qt.TTQIconSet", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_openPopup(JNIEnv* env, jobject obj) { - ((TQToolButton*) QtSupport::getQt(env, obj))->openPopup(); + ((TTQToolButton*) QtSupport::getQt(env, obj))->openPopup(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + ((TQToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TTQPalette&)*(const TTQPalette*) 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(); + jint xret = (jint) ((TTQToolButton*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TTQPopupMenu"); 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); + ((TTQToolButton*) 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)); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setIconSet((const TTQIconSet&)*(const TTQIconSet*) 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)); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setOffIconSet((const TTQIconSet&)*(const TTQIconSet*) 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)); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setOnIconSet((const TTQIconSet&)*(const TTQIconSet*) 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); + ((TTQToolButton*) 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); + ((TTQToolButton*) 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)); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setPopup((TTQPopupMenu*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (bool) arg2); +static TTQString* _qstring_arg1 = 0; + ((TTQToolButton*) QtSupport::getQt(env, obj))->setTextLabel((const TTQString&)*(TTQString*) 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); + ((TTQToolButton*) QtSupport::getQt(env, obj))->setTextPosition((TTQToolButton::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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQToolButton*) QtSupport::getQt(env, obj))->setText((const TTQString&)*(TTQString*) 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); + ((TTQToolButton*) 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); + ((TTQToolButton*) 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); + ((TTQToolButton*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQToolButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQToolButton*) 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(); + jint xret = (jint) ((TTQToolButton*) 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(); + ((TTQToolButton*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QToolButtonJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) ((QToolButtonJBridge*) QtSupport::getQt(env, obj))->protected_uses3D(); + 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(); + jboolean xret = (jboolean) ((TTQToolButton*) 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(); + jboolean xret = (jboolean) ((TTQToolButton*) QtSupport::getQt(env, obj))->usesTextLabel(); return xret; } diff --git a/qtjava/javalib/qtjava/QToolButton.h b/qtjava/javalib/qtjava/QToolButton.h index 08d2789e..a9926a48 100644 --- a/qtjava/javalib/qtjava/QToolButton.h +++ b/qtjava/javalib/qtjava/QToolButton.h @@ -12,12 +12,12 @@ extern "C" 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_newQToolButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newQToolButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newQToolButton__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_newQToolButton__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_newQToolButton__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolButton_newQToolButton__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, 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); diff --git a/qtjava/javalib/qtjava/QToolTip.cpp b/qtjava/javalib/qtjava/QToolTip.cpp index 60bdec13..81958b43 100644 --- a/qtjava/javalib/qtjava/QToolTip.cpp +++ b/qtjava/javalib/qtjava/QToolTip.cpp @@ -7,14 +7,14 @@ #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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + TTQToolTip::add((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } @@ -22,9 +22,9 @@ 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::toQString(env, arg2, &_qstring_arg2), (TQToolTipGroup*) QtSupport::getQt(env, arg3), (const TQString&)*(TQString*) QtSupport::toQString(env, arg4, &_qstring_arg4)); +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg4 = 0; + TTQToolTip::add((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TTQToolTipGroup*) QtSupport::getQt(env, arg3), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4)); return; } @@ -32,8 +32,8 @@ 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::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg3 = 0; + TTQToolTip::add((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3)); return; } @@ -41,9 +41,9 @@ 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::toQString(env, arg3, &_qstring_arg3), (TQToolTipGroup*) QtSupport::getQt(env, arg4), (const TQString&)*(TQString*) QtSupport::toQString(env, arg5, &_qstring_arg5)); +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg5 = 0; + TTQToolTip::add((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TTQToolTipGroup*) QtSupport::getQt(env, arg4), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5)); return; } @@ -52,7 +52,7 @@ Java_org_kde_qt_QToolTip_enabled(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) TQToolTip::enabled(); + jboolean xret = (jboolean) TTQToolTip::enabled(); return xret; } @@ -60,14 +60,14 @@ 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(TTQToolTip::font()), "org.kde.qt.TTQFont", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolTip*) QtSupport::getQt(env, obj))->group(), "org.kde.qt.TTQToolTipGroup"); return xret; } @@ -76,7 +76,7 @@ Java_org_kde_qt_QToolTip_hide(JNIEnv* env, jclass cls) { (void) cls; (void) env; - TQToolTip::hide(); + TTQToolTip::hide(); return; } @@ -85,7 +85,7 @@ Java_org_kde_qt_QToolTip_isGloballyEnabled(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) TQToolTip::isGloballyEnabled(); + jboolean xret = (jboolean) TTQToolTip::isGloballyEnabled(); return xret; } @@ -93,14 +93,14 @@ 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(TTQToolTip::palette()), "org.kde.qt.TTQPalette", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolTip*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TTQWidget"); return xret; } @@ -108,7 +108,7 @@ 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)); + TTQToolTip::remove((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -116,7 +116,7 @@ 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)); + TTQToolTip::remove((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2)); return; } @@ -125,7 +125,7 @@ Java_org_kde_qt_QToolTip_setEnabled(JNIEnv* env, jclass cls, jboolean enable) { (void) cls; (void) env; - TQToolTip::setEnabled((bool) enable); + TTQToolTip::setEnabled((bool) enable); return; } @@ -133,7 +133,7 @@ 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)); + TTQToolTip::setFont((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1)); return; } @@ -142,7 +142,7 @@ Java_org_kde_qt_QToolTip_setGloballyEnabled(JNIEnv* env, jclass cls, jboolean ar { (void) cls; (void) env; - TQToolTip::setGloballyEnabled((bool) arg1); + TTQToolTip::setGloballyEnabled((bool) arg1); return; } @@ -150,7 +150,7 @@ 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)); + TTQToolTip::setPalette((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1)); return; } @@ -159,25 +159,25 @@ Java_org_kde_qt_QToolTip_setWakeUpDelay(JNIEnv* env, jclass cls, jint arg1) { (void) cls; (void) env; - TQToolTip::setWakeUpDelay((int) arg1); + TTQToolTip::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; + TTQString _qstring; (void) cls; - _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromQString(env, &_qstring); + _qstring = TTQToolTip::textFor((TTQWidget*) 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; + TTQString _qstring; (void) cls; - _qstring = TQToolTip::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromQString(env, &_qstring); + _qstring = TTQToolTip::textFor((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QToolTipGroup.cpp b/qtjava/javalib/qtjava/QToolTipGroup.cpp index 144a2365..3da7f988 100644 --- a/qtjava/javalib/qtjava/QToolTipGroup.cpp +++ b/qtjava/javalib/qtjava/QToolTipGroup.cpp @@ -3,47 +3,47 @@ #include #include -#include +#include -class QToolTipGroupJBridge : public QToolTipGroup +class TQToolTipGroupJBridge : public TQToolTipGroup { public: - QToolTipGroupJBridge(TQObject* arg1,const char* arg2) : TQToolTipGroup(arg1,arg2) {}; - QToolTipGroupJBridge(TQObject* arg1) : TQToolTipGroup(arg1) {}; - ~QToolTipGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQToolTipGroupJBridge(TTQObject* arg1,const char* arg2) : TTQToolTipGroup(arg1,arg2) {}; + TQToolTipGroupJBridge(TTQObject* arg1) : TTQToolTipGroup(arg1) {}; + ~TQToolTipGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQToolTipGroup",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQToolTipGroup",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -54,14 +54,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QToolTipGroup_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQToolTipGroup*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQToolTipGroup*) 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(); + jboolean xret = (jboolean) ((TTQToolTipGroup*) QtSupport::getQt(env, obj))->delay(); return xret; } @@ -75,15 +75,15 @@ Java_org_kde_qt_QToolTipGroup_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QToolTipGroup_enabled(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQToolTipGroup*) QtSupport::getQt(env, obj))->enabled(); + jboolean xret = (jboolean) ((TTQToolTipGroup*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQToolTipGroup*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQToolTipGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -98,26 +98,26 @@ Java_org_kde_qt_QToolTipGroup_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQToolTipGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_newQToolTipGroup__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QToolTipGroupJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQToolTipGroupJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QToolTipGroup_newQToolTipGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QToolTipGroupJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQToolTipGroupJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -126,35 +126,35 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_setDelay(JNIEnv* env, jobject obj, jboolean arg1) { - ((TQToolTipGroup*) QtSupport::getQt(env, obj))->setDelay((bool) arg1); + ((TTQToolTipGroup*) 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); + ((TTQToolTipGroup*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QToolTipGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 29baa709..3f9e9084 100644 --- a/qtjava/javalib/qtjava/QToolTipGroup.h +++ b/qtjava/javalib/qtjava/QToolTipGroup.h @@ -12,8 +12,8 @@ extern "C" 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_newQToolTipGroup__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QToolTipGroup_newQToolTipGroup__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QTranslator.cpp b/qtjava/javalib/qtjava/QTranslator.cpp index 39d43434..69d6d39c 100644 --- a/qtjava/javalib/qtjava/QTranslator.cpp +++ b/qtjava/javalib/qtjava/QTranslator.cpp @@ -3,48 +3,48 @@ #include #include -#include +#include -class QTranslatorJBridge : public QTranslator +class TQTranslatorJBridge : public TQTranslator { public: - QTranslatorJBridge(TQObject* arg1,const char* arg2) : QTranslator(arg1,arg2) {}; - QTranslatorJBridge(TQObject* arg1) : QTranslator(arg1) {}; - QTranslatorJBridge() : QTranslator() {}; - ~QTranslatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQTranslatorJBridge(TTQObject* arg1,const char* arg2) : TQTranslator(arg1,arg2) {}; + TQTranslatorJBridge(TTQObject* arg1) : TQTranslator(arg1) {}; + TQTranslatorJBridge() : TQTranslator() {}; + ~TQTranslatorJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QTranslator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQTranslator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -55,33 +55,33 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QTranslator*) QtSupport::getQt(env, obj))->className(); + _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) { - ((QTranslator*) QtSupport::getQt(env, obj))->clear(); + ((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) ((QTranslator*) QtSupport::getQt(env, obj))->contains((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) ((QTranslator*) 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)); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; +static TTQCString* _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; } @@ -95,8 +95,8 @@ Java_org_kde_qt_QTranslator_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_finalize(JNIEnv* env, jobject obj) { - if (QtSupport::allocatedInJavaWorld(env, obj) && ((QTranslator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (QTranslator*)QtSupport::getQt(env, 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; @@ -105,57 +105,57 @@ Java_org_kde_qt_QTranslator_finalize(JNIEnv* env, jobject obj) 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 QTranslatorMessage(((QTranslator*) QtSupport::getQt(env, obj))->findMessage((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2))), "org.kde.qt.QTranslatorMessage", TRUE); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 QTranslatorMessage(((QTranslator*) 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.QTranslatorMessage", TRUE); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg2 = 0; +static TTQCString* _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 = ((QTranslator*) QtSupport::getQt(env, obj))->find((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_context = 0; +static TTQCString* _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 = ((QTranslator*) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_sourceText = 0; +static TTQCString* _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; - ((QTranslator*) 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::toQString(env, translation, &_qstring_translation)); +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_sourceText = 0; +static TTQString* _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 TTQString&)*(TTQString*) 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) { - ((QTranslator*) QtSupport::getQt(env, obj))->insert((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, arg1)); + ((TQTranslator*) QtSupport::getQt(env, obj))->insert((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); return; } @@ -168,89 +168,89 @@ Java_org_kde_qt_QTranslator_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslator_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QTranslator*) QtSupport::getQt(env, obj))->isEmpty(); + 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) ((QTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename)); +static TTQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) 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) ((QTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toQString(env, directory, &_qstring_directory)); +static TTQString* _qstring_filename = 0; +static TTQString* _qstring_directory = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TTQString&)*(TTQString*) 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) ((QTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toQString(env, search_delimiters, &_qstring_search_delimiters)); +static TTQString* _qstring_filename = 0; +static TTQString* _qstring_directory = 0; +static TTQString* _qstring_search_delimiters = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TTQString&)*(TTQString*) 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) ((QTranslator*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toQString(env, directory, &_qstring_directory), (const TQString&)*(TQString*) QtSupport::toQString(env, search_delimiters, &_qstring_search_delimiters), (const TQString&)*(TQString*) QtSupport::toQString(env, suffix, &_qstring_suffix)); +static TTQString* _qstring_filename = 0; +static TTQString* _qstring_directory = 0; +static TTQString* _qstring_search_delimiters = 0; +static TTQString* _qstring_suffix = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, search_delimiters, &_qstring_search_delimiters), (const TTQString&)*(TTQString*) 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) ((QTranslator*) QtSupport::getQt(env, obj))->load((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) len); +static TTQByteArray* _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*)((QTranslator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQTranslator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newQTranslator__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTranslator_newTQTranslator__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTranslatorJBridge()); + QtSupport::setQt(env, obj, new TQTranslatorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newQTranslator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QTranslatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQTranslatorJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslator_newQTranslator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTranslatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQTranslatorJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -259,74 +259,74 @@ static TQCString* _qstring_name = 0; 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; - ((QTranslator*) QtSupport::getQt(env, obj))->remove((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText)); +static TTQCString* _qstring_context = 0; +static TTQCString* _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) { - ((QTranslator*) QtSupport::getQt(env, obj))->remove((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename)); +static TTQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) 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) ((QTranslator*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename), (QTranslator::SaveMode) mode); +static TTQString* _qstring_filename = 0; + jboolean xret = (jboolean) ((TQTranslator*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQTranslator::SaveMode) mode); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__(JNIEnv* env, jobject obj) { - ((QTranslator*) QtSupport::getQt(env, obj))->squeeze(); + ((TQTranslator*) QtSupport::getQt(env, obj))->squeeze(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_squeeze__I(JNIEnv* env, jobject obj, jint arg1) { - ((QTranslator*) QtSupport::getQt(env, obj))->squeeze((QTranslator::SaveMode) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QTranslatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QTranslator*) QtSupport::getQt(env, obj))->unsqueeze(); + ((TQTranslator*) QtSupport::getQt(env, obj))->unsqueeze(); return; } diff --git a/qtjava/javalib/qtjava/QTranslator.h b/qtjava/javalib/qtjava/QTranslator.h index 1c6eed02..65e4363d 100644 --- a/qtjava/javalib/qtjava/QTranslator.h +++ b/qtjava/javalib/qtjava/QTranslator.h @@ -12,9 +12,9 @@ extern "C" 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_newQTranslator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newQTranslator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslator_newQTranslator__ (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); diff --git a/qtjava/javalib/qtjava/QTranslatorMessage.cpp b/qtjava/javalib/qtjava/QTranslatorMessage.cpp index a8640edd..68eac995 100644 --- a/qtjava/javalib/qtjava/QTranslatorMessage.cpp +++ b/qtjava/javalib/qtjava/QTranslatorMessage.cpp @@ -4,31 +4,31 @@ #include #include -#include +#include -class QTranslatorMessageJBridge : public QTranslatorMessage +class TQTranslatorMessageJBridge : public TQTranslatorMessage { public: - QTranslatorMessageJBridge() : QTranslatorMessage() {}; - QTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3,const TQString& arg4) : QTranslatorMessage(arg1,arg2,arg3,arg4) {}; - QTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3) : QTranslatorMessage(arg1,arg2,arg3) {}; - QTranslatorMessageJBridge(TQDataStream& arg1) : QTranslatorMessage(arg1) {}; - QTranslatorMessageJBridge(const QTranslatorMessage& arg1) : QTranslatorMessage(arg1) {}; - ~QTranslatorMessageJBridge() {QtSupport::qtKeyDeleted(this);} + TQTranslatorMessageJBridge() : TQTranslatorMessage() {}; + TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3,const TTQString& arg4) : TQTranslatorMessage(arg1,arg2,arg3,arg4) {}; + TQTranslatorMessageJBridge(const char* arg1,const char* arg2,const char* arg3) : TQTranslatorMessage(arg1,arg2,arg3) {}; + TQTranslatorMessageJBridge(TTQDataStream& 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 = ((QTranslatorMessage*) QtSupport::getQt(env, obj))->comment(); + _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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->commonPrefix((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, arg1)); + jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->commonPrefix((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, arg1)); return xret; } @@ -36,7 +36,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_context(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QTranslatorMessage*) QtSupport::getQt(env, obj))->context(); + _qstring = ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->context(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -51,7 +51,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QTranslatorMessage*)QtSupport::getQt(env, obj); + delete (TQTranslatorMessage*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -60,7 +60,7 @@ Java_org_kde_qt_QTranslatorMessage_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QTranslatorMessage_hash(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->hash(); + jint xret = (jint) ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->hash(); return xret; } @@ -71,57 +71,57 @@ Java_org_kde_qt_QTranslatorMessage_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTranslatorMessage_newTQTranslatorMessage__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTranslatorMessageJBridge()); + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring comment) +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; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_sourceText = 0; +static TTQCString* _qstring_comment = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTranslatorMessageJBridge((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::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_newQTranslatorMessage__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) +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; +static TTQCString* _qstring_context = 0; +static TTQCString* _qstring_sourceText = 0; +static TTQCString* _qstring_comment = 0; +static TTQString* _qstring_translation = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTranslatorMessageJBridge((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::toQString(env, translation, &_qstring_translation))); + 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 TTQString&)*(TTQString*) QtSupport::toTQString(env, translation, &_qstring_translation))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject arg1) +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 QTranslatorMessageJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2(JNIEnv* env, jobject obj, jobject m) +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 QTranslatorMessageJBridge((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, m))); + QtSupport::setQt(env, obj, new TQTranslatorMessageJBridge((const TQTranslatorMessage&)*(const TQTranslatorMessage*) QtSupport::getQt(env, m))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -130,50 +130,50 @@ Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__Lorg_kde_qt_QTranslato JNIEXPORT jboolean JNICALL Java_org_kde_qt_QTranslatorMessage_op_1equals(JNIEnv* env, jobject obj, jobject m) { - jboolean xret = (jboolean) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator==((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator>((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator>=((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator<((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator<=((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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) ((QTranslatorMessage*) QtSupport::getQt(env, obj))->operator!=((const QTranslatorMessage&)*(const QTranslatorMessage*) QtSupport::getQt(env, 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; - ((QTranslatorMessage*) QtSupport::getQt(env, obj))->setTranslation((const TQString&)*(TQString*) QtSupport::toQString(env, translation, &_qstring_translation)); +static TTQString* _qstring_translation = 0; + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->setTranslation((const TTQString&)*(TTQString*) QtSupport::toTQString(env, translation, &_qstring_translation)); return; } @@ -181,36 +181,36 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTranslatorMessage_sourceText(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QTranslatorMessage*) QtSupport::getQt(env, obj))->sourceText(); + _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 = ((QTranslatorMessage*) QtSupport::getQt(env, obj))->translation(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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) { - ((QTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TTQDataStream&)*(TTQDataStream*) 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) { - ((QTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip); + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TTQDataStream&)*(TTQDataStream*) 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) { - ((QTranslatorMessage*) QtSupport::getQt(env, obj))->write((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (bool) strip, (QTranslatorMessage::Prefix) prefix); + ((TQTranslatorMessage*) QtSupport::getQt(env, obj))->write((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s), (bool) strip, (TQTranslatorMessage::Prefix) prefix); return; } diff --git a/qtjava/javalib/qtjava/QTranslatorMessage.h b/qtjava/javalib/qtjava/QTranslatorMessage.h index e37eae20..8a8087f1 100644 --- a/qtjava/javalib/qtjava/QTranslatorMessage.h +++ b/qtjava/javalib/qtjava/QTranslatorMessage.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__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_newQTranslatorMessage__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_newQTranslatorMessage__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QTranslatorMessage_newQTranslatorMessage__Lorg_kde_qt_QTranslatorMessage_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QTsciiCodec.cpp b/qtjava/javalib/qtjava/QTsciiCodec.cpp index 91a28f90..06e254fd 100644 --- a/qtjava/javalib/qtjava/QTsciiCodec.cpp +++ b/qtjava/javalib/qtjava/QTsciiCodec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QTsciiCodecJBridge : public QTsciiCodec +class TQTsciiCodecJBridge : public TQTsciiCodec { public: - QTsciiCodecJBridge() : TQTsciiCodec() {}; - ~QTsciiCodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQTsciiCodecJBridge() : TTQTsciiCodec() {}; + ~TQTsciiCodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QTsciiCodec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQTsciiCodec*)QtSupport::getQt(env, obj); + delete (TTQTsciiCodec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,27 +33,27 @@ Java_org_kde_qt_QTsciiCodec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQTsciiCodec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQTsciiCodec*) 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)); +static TTQCString* _qstring_hint = 0; + jint xret = (jint) ((TTQTsciiCodec*) QtSupport::getQt(env, obj))->heuristicNameMatch((const char*) QtSupport::toCharString(env, hint, &_qstring_hint)); return xret; } @@ -66,7 +66,7 @@ Java_org_kde_qt_QTsciiCodec_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QTsciiCodec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQTsciiCodec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQTsciiCodec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -74,15 +74,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQTsciiCodec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQTsciiCodec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QTsciiCodec_newQTsciiCodec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QTsciiCodec_newTQTsciiCodec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QTsciiCodecJBridge()); + QtSupport::setQt(env, obj, new TQTsciiCodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -91,9 +91,9 @@ Java_org_kde_qt_QTsciiCodec_newQTsciiCodec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQTsciiCodec*) 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 index c8c1d3ae..761c1865 100644 --- a/qtjava/javalib/qtjava/QTsciiCodec.h +++ b/qtjava/javalib/qtjava/QTsciiCodec.h @@ -16,7 +16,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QTsciiCodec_fromUnicode (JNIEnv 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_newQTsciiCodec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QUriDrag.cpp b/qtjava/javalib/qtjava/QUriDrag.cpp index bb0eb9bf..27e91caa 100644 --- a/qtjava/javalib/qtjava/QUriDrag.cpp +++ b/qtjava/javalib/qtjava/QUriDrag.cpp @@ -6,51 +6,51 @@ #include #include -#include +#include -class QUriDragJBridge : public QUriDrag +class TQUriDragJBridge : public TQUriDrag { public: - QUriDragJBridge(TQStrList arg1,TQWidget* arg2,const char* arg3) : TQUriDrag(arg1,arg2,arg3) {}; - QUriDragJBridge(TQStrList arg1,TQWidget* arg2) : TQUriDrag(arg1,arg2) {}; - QUriDragJBridge(TQStrList arg1) : TQUriDrag(arg1) {}; - QUriDragJBridge(TQWidget* arg1,const char* arg2) : TQUriDrag(arg1,arg2) {}; - QUriDragJBridge(TQWidget* arg1) : TQUriDrag(arg1) {}; - QUriDragJBridge() : TQUriDrag() {}; - ~QUriDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQUriDragJBridge(TTQStrList arg1,TTQWidget* arg2,const char* arg3) : TTQUriDrag(arg1,arg2,arg3) {}; + TQUriDragJBridge(TTQStrList arg1,TTQWidget* arg2) : TTQUriDrag(arg1,arg2) {}; + TQUriDragJBridge(TTQStrList arg1) : TTQUriDrag(arg1) {}; + TQUriDragJBridge(TTQWidget* arg1,const char* arg2) : TTQUriDrag(arg1,arg2) {}; + TQUriDragJBridge(TTQWidget* arg1) : TTQUriDrag(arg1) {}; + TQUriDragJBridge() : TTQUriDrag() {}; + ~TQUriDragJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQUriDrag",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQUriDrag",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -61,7 +61,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUriDrag_canDecode(JNIEnv* env, jclass cls, jobject e) { (void) cls; - jboolean xret = (jboolean) QUriDragJBridge::canDecode((const TQMimeSource*) QtSupport::mimeSource(env, e)); + jboolean xret = (jboolean) TQUriDragJBridge::canDecode((const TTQMimeSource*) QtSupport::mimeSource(env, e)); return xret; } @@ -69,7 +69,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQUriDrag*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQUriDrag*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -83,8 +83,8 @@ Java_org_kde_qt_QUriDrag_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQUriDrag*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQUriDrag*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -99,80 +99,80 @@ Java_org_kde_qt_QUriDrag_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QUriDrag_localFileToUri(JNIEnv* env, jclass cls, jstring arg1) { - TQCString _qstring; + TTQCString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QUriDragJBridge::localFileToUri((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQCString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::localFileToUri((const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUriDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newQUriDrag__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUriDrag_newTQUriDrag__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUriDragJBridge()); + QtSupport::setQt(env, obj, new TQUriDragJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newQUriDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) +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 QUriDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQUriDragJBridge((TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newQUriDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUriDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQUriDragJBridge((TTQWidget*) 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_newQUriDrag___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris) +Java_org_kde_qt_QUriDrag_newTQUriDrag___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris) { -static TQStrList* _qlist_uris = 0; +static TTQStrList* _qlist_uris = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toQStrList(env, uris, &_qlist_uris))); + QtSupport::setQt(env, obj, new TQUriDragJBridge((TTQStrList)*(TTQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource) +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; +static TTQStrList* _qlist_uris = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toQStrList(env, uris, &_qlist_uris), (TQWidget*) QtSupport::getQt(env, dragSource))); + QtSupport::setQt(env, obj, new TQUriDragJBridge((TTQStrList)*(TTQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (TTQWidget*) QtSupport::getQt(env, dragSource))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUriDrag_newQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray uris, jobject dragSource, jstring name) +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; +static TTQStrList* _qlist_uris = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUriDragJBridge((TQStrList)*(TQStrList*) QtSupport::toQStrList(env, uris, &_qlist_uris), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQUriDragJBridge((TTQStrList)*(TTQStrList*) QtSupport::toTQStrList(env, uris, &_qlist_uris), (TTQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -181,122 +181,122 @@ static TQCString* _qstring_name = 0; 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::toQStringList(env, fnames, &_qlist_fnames)); +static TTQStringList* _qlist_fnames = 0; + ((TTQUriDrag*) QtSupport::getQt(env, obj))->setFileNames((const TTQStringList&)*(TTQStringList*) 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::toQStringList(env, fnames, &_qlist_fnames)); +static TTQStringList* _qlist_fnames = 0; + ((TTQUriDrag*) QtSupport::getQt(env, obj))->setFilenames((const TTQStringList&)*(TTQStringList*) 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::toQStringList(env, uuris, &_qlist_uuris)); +static TTQStringList* _qlist_uuris = 0; + ((TTQUriDrag*) QtSupport::getQt(env, obj))->setUnicodeUris((const TTQStringList&)*(TTQStringList*) 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::toQStrList(env, uris, &_qlist_uris)); +static TTQStrList* _qlist_uris = 0; + ((TTQUriDrag*) QtSupport::getQt(env, obj))->setUris((TTQStrList)*(TTQStrList*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QUriDragJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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; + TTQCString _qstring; (void) cls; -static TQString* _qstring_arg1 = 0; - _qstring = QUriDragJBridge::unicodeUriToUri((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQCString(env, &_qstring); +static TTQString* _qstring_arg1 = 0; + _qstring = TQUriDragJBridge::unicodeUriToUri((const TTQString&)*(TTQString*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QUriDragJBridge::uriToLocalFile((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QUriDragJBridge::uriToUnicodeUri((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; +static TTQStrList * _qlist_i = 0; if (_qlist_i == 0) { - _qlist_i = new TQStrList(); + _qlist_i = new TTQStrList(); } (void) cls; - jboolean result = (jboolean) QUriDragJBridge::decode(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithQStrList(env, _qlist_i, i); + 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; +static TTQStringList * _qlist_i = 0; if (_qlist_i == 0) { - _qlist_i = new TQStringList(); + _qlist_i = new TTQStringList(); } (void) cls; - jboolean result = (jboolean) QUriDragJBridge::decodeToUnicodeUris(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithQStringList(env, _qlist_i, i); + 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; +static TTQStringList * _qlist_i = 0; if (_qlist_i == 0) { - _qlist_i = new TQStringList(); + _qlist_i = new TTQStringList(); } (void) cls; - jboolean result = (jboolean) QUriDragJBridge::decodeLocalFiles(QtSupport::mimeSource(env, e), *_qlist_i); - QtSupport::arrayWithQStringList(env, _qlist_i, i); + 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 index 3cdaa043..28ea2fce 100644 --- a/qtjava/javalib/qtjava/QUriDrag.h +++ b/qtjava/javalib/qtjava/QUriDrag.h @@ -12,12 +12,12 @@ extern "C" 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_newQUriDrag___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_newQUriDrag___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newQUriDrag___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newQUriDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newQUriDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUriDrag_newQUriDrag__ (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); diff --git a/qtjava/javalib/qtjava/QUrl.cpp b/qtjava/javalib/qtjava/QUrl.cpp index 664eaba4..7a44aeab 100644 --- a/qtjava/javalib/qtjava/QUrl.cpp +++ b/qtjava/javalib/qtjava/QUrl.cpp @@ -3,38 +3,38 @@ #include #include -#include +#include -class QUrlJBridge : public QUrl +class TQUrlJBridge : public TQUrl { public: - QUrlJBridge() : TQUrl() {}; - QUrlJBridge(const TQString& arg1) : TQUrl(arg1) {}; - QUrlJBridge(const TQUrl& arg1) : TQUrl(arg1) {}; - QUrlJBridge(const TQUrl& arg1,const TQString& arg2,bool arg3) : TQUrl(arg1,arg2,arg3) {}; - QUrlJBridge(const TQUrl& arg1,const TQString& arg2) : TQUrl(arg1,arg2) {}; + TQUrlJBridge() : TTQUrl() {}; + TQUrlJBridge(const TTQString& arg1) : TTQUrl(arg1) {}; + TQUrlJBridge(const TTQUrl& arg1) : TTQUrl(arg1) {}; + TQUrlJBridge(const TTQUrl& arg1,const TTQString& arg2,bool arg3) : TTQUrl(arg1,arg2,arg3) {}; + TQUrlJBridge(const TTQUrl& arg1,const TTQString& arg2) : TTQUrl(arg1,arg2) {}; void protected_reset() { - TQUrl::reset(); + TTQUrl::reset(); return; } - bool protected_parse(const TQString& arg1) { - return (bool) TQUrl::parse(arg1); + bool protected_parse(const TTQString& arg1) { + return (bool) TTQUrl::parse(arg1); } - ~QUrlJBridge() {QtSupport::qtKeyDeleted(this);} + ~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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->addPath((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) QtSupport::getQt(env, obj))->cdUp(); return xret; } @@ -42,18 +42,18 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_decode(JNIEnv* env, jclass cls, jobject url) { (void) cls; -static TQString* _qstring_url = 0; - QUrlJBridge::decode((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromQStringToStringBuffer(env, _qstring_url, url); +static TTQString* _qstring_url = 0; + TQUrlJBridge::decode((TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -67,33 +67,33 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_encode(JNIEnv* env, jclass cls, jobject url) { (void) cls; -static TQString* _qstring_url = 0; - QUrlJBridge::encode((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromQStringToStringBuffer(env, _qstring_url, url); +static TTQString* _qstring_url = 0; + TQUrlJBridge::encode((TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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); + delete (TTQUrl*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -102,51 +102,51 @@ Java_org_kde_qt_QUrl_finalize(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_hasHost(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->hasHost(); + jboolean xret = (jboolean) ((TTQUrl*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) QtSupport::getQt(env, obj))->host(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL @@ -158,7 +158,7 @@ Java_org_kde_qt_QUrl_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrl_isLocalFile(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQUrl*) QtSupport::getQt(env, obj))->isLocalFile(); + jboolean xret = (jboolean) ((TTQUrl*) QtSupport::getQt(env, obj))->isLocalFile(); return xret; } @@ -166,66 +166,66 @@ 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) QUrlJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) TQUrlJBridge::isRelativeUrl((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQUrl*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newQUrl__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUrl_newTQUrl__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlJBridge()); + QtSupport::setQt(env, obj, new TQUrlJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newQUrl__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) +Java_org_kde_qt_QUrl_newTQUrl__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) { -static TQString* _qstring_url = 0; +static TTQString* _qstring_url = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url))); + QtSupport::setQt(env, obj, new TQUrlJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, url, &_qstring_url))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject url) +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 QUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url))); + QtSupport::setQt(env, obj, new TQUrlJBridge((const TTQUrl&)*(const TTQUrl*) QtSupport::getQt(env, url))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) +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; +static TTQString* _qstring_relUrl = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl))); + QtSupport::setQt(env, obj, new TQUrlJBridge((const TTQUrl&)*(const TTQUrl*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) +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; +static TTQString* _qstring_relUrl = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); + QtSupport::setQt(env, obj, new TQUrlJBridge((const TTQUrl&)*(const TTQUrl*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -234,196 +234,196 @@ static TQString* _qstring_relUrl = 0; 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::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TTQUrl*) QtSupport::getQt(env, obj))->operator==((const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQUrl*) QtSupport::getQt(env, obj))->operator==((const TTQUrl&)*(const TTQUrl*) 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) ((QUrlJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrlJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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(); + jint xret = (jint) ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) QtSupport::getQt(env, obj))->ref(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_reset(JNIEnv* env, jobject obj) { - ((QUrlJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + ((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::toQString(env, enc, &_qstring_enc)); +static TTQString* _qstring_enc = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setFileName((const TTQString&)*(TTQString*) 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::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_user = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setHost((const TTQString&)*(TTQString*) 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::toQString(env, pass, &_qstring_pass)); +static TTQString* _qstring_pass = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setPassword((const TTQString&)*(TTQString*) 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) 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); + ((TTQUrl*) 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::toQString(env, protocol, &_qstring_protocol)); +static TTQString* _qstring_protocol = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setProtocol((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setQuery((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setRef((const TTQString&)*(TTQString*) 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::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_user = 0; + ((TTQUrl*) QtSupport::getQt(env, obj))->setUser((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*) QtSupport::getQt(env, obj))->user(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QUrl.h b/qtjava/javalib/qtjava/QUrl.h index c1831c20..aeff6f65 100644 --- a/qtjava/javalib/qtjava/QUrl.h +++ b/qtjava/javalib/qtjava/QUrl.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newQUrl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newQUrl__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrl_newQUrl__Lorg_kde_qt_QUrlInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QUrlInfo.cpp b/qtjava/javalib/qtjava/QUrlInfo.cpp index 5ea5c083..d4f9a3f4 100644 --- a/qtjava/javalib/qtjava/QUrlInfo.cpp +++ b/qtjava/javalib/qtjava/QUrlInfo.cpp @@ -7,17 +7,17 @@ #include #include -#include +#include -class QUrlInfoJBridge : public QUrlInfo +class TQUrlInfoJBridge : public TQUrlInfo { public: - QUrlInfoJBridge() : TQUrlInfo() {}; - QUrlInfoJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlInfo(arg1,arg2) {}; - QUrlInfoJBridge(const TQUrlInfo& arg1) : TQUrlInfo(arg1) {}; - QUrlInfoJBridge(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) {}; - QUrlInfoJBridge(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) {}; - ~QUrlInfoJBridge() {QtSupport::qtKeyDeleted(this);} + TQUrlInfoJBridge() : TTQUrlInfo() {}; + TQUrlInfoJBridge(const TTQUrlOperator& arg1,const TTQString& arg2) : TTQUrlInfo(arg1,arg2) {}; + TQUrlInfoJBridge(const TTQUrlInfo& arg1) : TTQUrlInfo(arg1) {}; + TQUrlInfoJBridge(const TTQString& arg1,int arg2,const TTQString& arg3,const TTQString& arg4,TTQIODevice::Offset arg5,const TTQDateTime& arg6,const TTQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TTQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; + TQUrlInfoJBridge(const TTQUrl& arg1,int arg2,const TTQString& arg3,const TTQString& arg4,TTQIODevice::Offset arg5,const TTQDateTime& arg6,const TTQDateTime& arg7,bool arg8,bool arg9,bool arg10,bool arg11,bool arg12,bool arg13) : TTQUrlInfo(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) {}; + ~TQUrlInfoJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -31,7 +31,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_equal(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) { (void) cls; - jboolean xret = (jboolean) QUrlInfoJBridge::equal((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + jboolean xret = (jboolean) TQUrlInfoJBridge::equal((const TTQUrlInfo&)*(const TTQUrlInfo*) QtSupport::getQt(env, i1), (const TTQUrlInfo&)*(const TTQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); return xret; } @@ -39,7 +39,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUrlInfo*)QtSupport::getQt(env, obj); + delete (TTQUrlInfo*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -49,22 +49,22 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_greaterThan(JNIEnv* env, jclass cls, jobject i1, jobject i2, jint sortBy) { (void) cls; - jboolean xret = (jboolean) QUrlInfoJBridge::greaterThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + jboolean xret = (jboolean) TQUrlInfoJBridge::greaterThan((const TTQUrlInfo&)*(const TTQUrlInfo*) QtSupport::getQt(env, i1), (const TTQUrlInfo&)*(const TTQUrlInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) QtSupport::getQt(env, obj))->isDir(); return xret; } @@ -77,132 +77,132 @@ Java_org_kde_qt_QUrlInfo_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlInfo_isExecutable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQUrlInfo*) QtSupport::getQt(env, obj))->isExecutable(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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(); + jboolean xret = (jboolean) ((TTQUrlInfo*) 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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQUrlInfo*) QtSupport::getQt(env, obj))->lastModified(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQUrlInfo*) QtSupport::getQt(env, obj))->lastRead(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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) QUrlInfoJBridge::lessThan((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i1), (const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, i2), (int) sortBy); + jboolean xret = (jboolean) TQUrlInfoJBridge::lessThan((const TTQUrlInfo&)*(const TTQUrlInfo*) QtSupport::getQt(env, i1), (const TTQUrlInfo&)*(const TTQUrlInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrlInfo*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newQUrlInfo__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUrlInfo_newTQUrlInfo__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlInfoJBridge()); + QtSupport::setQt(env, obj, new TQUrlInfoJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newQUrlInfo__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) +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; +static TTQString* _qstring_name = 0; +static TTQString* _qstring_owner = 0; +static TTQString* _qstring_group = 0; +static TTQDateTime* _qdate_lastModified = 0; +static TTQDateTime* _qdate_lastRead = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlInfoJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) permissions, (const TQString&)*(TQString*) QtSupport::toQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) permissions, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, group, &_qstring_group), (TTQIODevice::Offset) size, (const TTQDateTime&)*(TTQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TTQDateTime&)*(TTQDateTime*) 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_newQUrlInfo__Lorg_kde_qt_QUrlInfo_2(JNIEnv* env, jobject obj, jobject ui) +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 QUrlInfoJBridge((const TQUrlInfo&)*(const TQUrlInfo*) QtSupport::getQt(env, ui))); + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TTQUrlInfo&)*(const TTQUrlInfo*) QtSupport::getQt(env, ui))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlInfo_newQUrlInfo__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) +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; +static TTQString* _qstring_owner = 0; +static TTQString* _qstring_group = 0; +static TTQDateTime* _qdate_lastModified = 0; +static TTQDateTime* _qdate_lastRead = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlInfoJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, url), (int) permissions, (const TQString&)*(TQString*) QtSupport::toQString(env, owner, &_qstring_owner), (const TQString&)*(TQString*) QtSupport::toQString(env, group, &_qstring_group), (TQIODevice::Offset) size, (const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, lastModified, &_qdate_lastModified), (const TQDateTime&)*(TQDateTime*) QtSupport::toQDateTime(env, lastRead, &_qdate_lastRead), (bool) isDir, (bool) isFile, (bool) isSymLink, (bool) isWritable, (bool) isReadable, (bool) isExecutable)); + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TTQUrl&)*(const TTQUrl*) QtSupport::getQt(env, url), (int) permissions, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, owner, &_qstring_owner), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, group, &_qstring_group), (TTQIODevice::Offset) size, (const TTQDateTime&)*(TTQDateTime*) QtSupport::toTQDateTime(env, lastModified, &_qdate_lastModified), (const TTQDateTime&)*(TTQDateTime*) 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_newQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring file) +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; +static TTQString* _qstring_file = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlInfoJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file))); + QtSupport::setQt(env, obj, new TQUrlInfoJBridge((const TTQUrlOperator&)*(const TTQUrlOperator*) QtSupport::getQt(env, path), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -211,110 +211,110 @@ static TQString* _qstring_file = 0; 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)); + jboolean xret = (jboolean) ((TTQUrlInfo*) QtSupport::getQt(env, obj))->operator==((const TTQUrlInfo&)*(const TTQUrlInfo*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrlInfo*) 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(); + jint xret = (jint) ((TTQUrlInfo*) 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); + ((TTQUrlInfo*) 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); + ((TTQUrlInfo*) 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::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TTQUrlInfo*) QtSupport::getQt(env, obj))->setGroup((const TTQString&)*(TTQString*) 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::toQDateTime(env, dt, &_qdate_dt)); +static TTQDateTime* _qdate_dt = 0; + ((TTQUrlInfo*) QtSupport::getQt(env, obj))->setLastModified((const TTQDateTime&)*(TTQDateTime*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((TTQUrlInfo*) QtSupport::getQt(env, obj))->setName((const TTQString&)*(TTQString*) 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::toQString(env, s, &_qstring_s)); +static TTQString* _qstring_s = 0; + ((TTQUrlInfo*) QtSupport::getQt(env, obj))->setOwner((const TTQString&)*(TTQString*) 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); + ((TTQUrlInfo*) 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); + ((TTQUrlInfo*) 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); + ((TTQUrlInfo*) QtSupport::getQt(env, obj))->setSize((TTQIODevice::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); + ((TTQUrlInfo*) 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); + ((TTQUrlInfo*) 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(); + jlong xret = (jlong) ((TTQUrlInfo*) QtSupport::getQt(env, obj))->size(); return xret; } diff --git a/qtjava/javalib/qtjava/QUrlInfo.h b/qtjava/javalib/qtjava/QUrlInfo.h index bdd043ff..93469280 100644 --- a/qtjava/javalib/qtjava/QUrlInfo.h +++ b/qtjava/javalib/qtjava/QUrlInfo.h @@ -10,11 +10,11 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newQUrlInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newQUrlInfo__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newQUrlInfo__Lorg_kde_qt_QUrlInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlInfo_newQUrlInfo__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_newQUrlInfo__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_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); diff --git a/qtjava/javalib/qtjava/QUrlOperator.cpp b/qtjava/javalib/qtjava/QUrlOperator.cpp index 53e68a69..3633986a 100644 --- a/qtjava/javalib/qtjava/QUrlOperator.cpp +++ b/qtjava/javalib/qtjava/QUrlOperator.cpp @@ -7,92 +7,92 @@ #include #include -#include +#include -class QUrlOperatorJBridge : public QUrlOperator +class TQUrlOperatorJBridge : public TQUrlOperator { public: - QUrlOperatorJBridge() : TQUrlOperator() {}; - QUrlOperatorJBridge(const TQString& arg1) : TQUrlOperator(arg1) {}; - QUrlOperatorJBridge(const TQUrlOperator& arg1) : TQUrlOperator(arg1) {}; - QUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2,bool arg3) : TQUrlOperator(arg1,arg2,arg3) {}; - QUrlOperatorJBridge(const TQUrlOperator& arg1,const TQString& arg2) : TQUrlOperator(arg1,arg2) {}; + TQUrlOperatorJBridge() : TTQUrlOperator() {}; + TQUrlOperatorJBridge(const TTQString& arg1) : TTQUrlOperator(arg1) {}; + TQUrlOperatorJBridge(const TTQUrlOperator& arg1) : TTQUrlOperator(arg1) {}; + TQUrlOperatorJBridge(const TTQUrlOperator& arg1,const TTQString& arg2,bool arg3) : TTQUrlOperator(arg1,arg2,arg3) {}; + TQUrlOperatorJBridge(const TTQUrlOperator& arg1,const TTQString& arg2) : TTQUrlOperator(arg1,arg2) {}; void public_stop() { - TQUrlOperator::stop(); + TTQUrlOperator::stop(); return; } void protected_reset() { - TQUrlOperator::reset(); + TTQUrlOperator::reset(); return; } - bool protected_parse(const TQString& arg1) { - return (bool) TQUrlOperator::parse(arg1); + bool protected_parse(const TTQString& arg1) { + return (bool) TTQUrlOperator::parse(arg1); } bool protected_checkValid() { - return (bool) TQUrlOperator::checkValid(); + return (bool) TTQUrlOperator::checkValid(); } void protected_clearEntries() { - TQUrlOperator::clearEntries(); + TTQUrlOperator::clearEntries(); return; } void protected_getNetworkProtocol() { - TQUrlOperator::getNetworkProtocol(); + TTQUrlOperator::getNetworkProtocol(); return; } void protected_deleteNetworkProtocol() { - TQUrlOperator::deleteNetworkProtocol(); + TTQUrlOperator::deleteNetworkProtocol(); return; } - ~QUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);} + ~TQUrlOperatorJBridge() {QtSupport::qtKeyDeleted(this);} void clearEntries() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","clearEntries")) { - TQUrlOperator::clearEntries(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQUrlOperator","clearEntries")) { + TTQUrlOperator::clearEntries(); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::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); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQUrlOperator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQUrlOperator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } } void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQUrlOperator","stop")) { - TQUrlOperator::stop(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQUrlOperator","stop")) { + TTQUrlOperator::stop(); } return; } @@ -104,22 +104,22 @@ public: 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->addPath((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQUrlOperator*) QtSupport::getQt(env, obj))->cdUp(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_checkValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkValid(); + jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkValid(); return xret; } @@ -127,32 +127,32 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QUrlOperator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQUrlOperator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQUrlOperator*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_clearEntries(JNIEnv* env, jobject obj) { - ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_clearEntries(); + ((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::toQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toQString(env, dest, &_qstring_dest)); +static TTQStringList* _qlist_files = 0; +static TTQString* _qstring_dest = 0; + ((TTQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TTQString&)*(TTQString*) 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::toQStringList(env, files, &_qlist_files), (const TQString&)*(TQString*) QtSupport::toQString(env, dest, &_qstring_dest), (bool) move); +static TTQStringList* _qlist_files = 0; +static TTQString* _qstring_dest = 0; + ((TTQUrlOperator*) QtSupport::getQt(env, obj))->copy((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) move); return; } @@ -160,25 +160,25 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_decode(JNIEnv* env, jclass cls, jobject url) { (void) cls; -static TQString* _qstring_url = 0; - QUrlOperatorJBridge::decode((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromQStringToStringBuffer(env, _qstring_url, url); +static TTQString* _qstring_url = 0; + TQUrlOperatorJBridge::decode((TTQString&)*(TTQString*) 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) { - ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_deleteNetworkProtocol(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->dirPath(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -192,33 +192,33 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_encode(JNIEnv* env, jclass cls, jobject url) { (void) cls; -static TQString* _qstring_url = 0; - QUrlOperatorJBridge::encode((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, url, &_qstring_url)); - QtSupport::fromQStringToStringBuffer(env, _qstring_url, url); +static TTQString* _qstring_url = 0; + TQUrlOperatorJBridge::encode((TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQUrlOperator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQUrlOperator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -227,87 +227,87 @@ Java_org_kde_qt_QUrlOperator_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_getNetworkProtocol(JNIEnv* env, jobject obj) { - ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_getNetworkProtocol(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->get(), "org.kde.qt.TTQNetworkOperation"); 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::toQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); +static TTQString* _qstring_location = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->get((const TTQString&)*(TTQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TTQNetworkOperation"); 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::toQString(env, entry, &_qstring_entry))), "org.kde.qt.TQUrlInfo", TRUE); +static TTQString* _qstring_entry = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQUrlInfo(((TTQUrlOperator*) QtSupport::getQt(env, obj))->info((const TTQString&)*(TTQString*) QtSupport::toTQString(env, entry, &_qstring_entry))), "org.kde.qt.TTQUrlInfo", 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(); + jboolean xret = (jboolean) ((TTQUrlOperator*) QtSupport::getQt(env, obj))->isDir(); return xret; } @@ -315,7 +315,7 @@ 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); + jboolean xret = (jboolean) ((TTQUrlOperator*) QtSupport::getQt(env, obj))->isDir( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -329,7 +329,7 @@ Java_org_kde_qt_QUrlOperator_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUrlOperator_isLocalFile(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQUrl*)(TQUrlOperator*) QtSupport::getQt(env, obj))->isLocalFile(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->isLocalFile(); return xret; } @@ -337,96 +337,96 @@ 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) QUrlOperatorJBridge::isRelativeUrl((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) TQUrlOperatorJBridge::isRelativeUrl((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->listChildren(), "org.kde.qt.TTQNetworkOperation"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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::toQString(env, dirname, &_qstring_dirname)), "org.kde.qt.TQNetworkOperation"); +static TTQString* _qstring_dirname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->mkdir((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)), "org.kde.qt.TTQNetworkOperation"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrlOperator*) QtSupport::getQt(env, obj))->nameFilter(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newQUrlOperator__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlOperatorJBridge()); + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newQUrlOperator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring urL) +Java_org_kde_qt_QUrlOperator_newTQUrlOperator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring urL) { -static TQString* _qstring_urL = 0; +static TTQString* _qstring_urL = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlOperatorJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, urL, &_qstring_urL))); + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, urL, &_qstring_urL))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2(JNIEnv* env, jobject obj, jobject url) +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 QUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url))); + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TTQUrlOperator&)*(const TTQUrlOperator*) QtSupport::getQt(env, url))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring relUrl) +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; +static TTQString* _qstring_relUrl = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl))); + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TTQUrlOperator&)*(const TTQUrlOperator*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring relUrl, jboolean checkSlash) +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; +static TTQString* _qstring_relUrl = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUrlOperatorJBridge((const TQUrlOperator&)*(const TQUrlOperator*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); + QtSupport::setQt(env, obj, new TQUrlOperatorJBridge((const TTQUrlOperator&)*(const TTQUrlOperator*) QtSupport::getQt(env, url), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl), (bool) checkSlash)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -435,266 +435,266 @@ static TQString* _qstring_relUrl = 0; 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::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->operator==((const TTQUrl&)*(const TTQUrl*) 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) ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toQString(env, url, &_qstring_url)); +static TTQString* _qstring_url = 0; + jboolean xret = (jboolean) ((TQUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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(); + jint xret = (jint) ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::toQByteArray(env, data, &_qbyteArray_data)), "org.kde.qt.TQNetworkOperation"); +static TTQByteArray* _qbyteArray_data = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->put((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.qt.TTQNetworkOperation"); 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::toQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toQString(env, location, &_qstring_location)), "org.kde.qt.TQNetworkOperation"); +static TTQByteArray* _qbyteArray_data = 0; +static TTQString* _qstring_location = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->put((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, location, &_qstring_location)), "org.kde.qt.TTQNetworkOperation"); 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::toQString(env, filename, &_qstring_filename)), "org.kde.qt.TQNetworkOperation"); +static TTQString* _qstring_filename = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->remove((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.qt.TTQNetworkOperation"); 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::toQString(env, oldname, &_qstring_oldname), (const TQString&)*(TQString*) QtSupport::toQString(env, newname, &_qstring_newname)), "org.kde.qt.TQNetworkOperation"); +static TTQString* _qstring_oldname = 0; +static TTQString* _qstring_newname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUrlOperator*) QtSupport::getQt(env, obj))->rename((const TTQString&)*(TTQString*) QtSupport::toTQString(env, oldname, &_qstring_oldname), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, newname, &_qstring_newname)), "org.kde.qt.TTQNetworkOperation"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_reset(JNIEnv* env, jobject obj) { - ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->protected_reset(); + ((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::toQString(env, enc, &_qstring_enc)); +static TTQString* _qstring_enc = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setFileName((const TTQString&)*(TTQString*) 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::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_user = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setHost((const TTQString&)*(TTQString*) 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::toQString(env, nameFilter, &_qstring_nameFilter)); +static TTQString* _qstring_nameFilter = 0; + ((TTQUrlOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TTQString&)*(TTQString*) 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::toQString(env, pass, &_qstring_pass)); +static TTQString* _qstring_pass = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setPassword((const TTQString&)*(TTQString*) 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::toQString(env, path, &_qstring_path)); +static TTQString* _qstring_path = 0; + ((TTQUrlOperator*) QtSupport::getQt(env, obj))->setPath((const TTQString&)*(TTQString*) 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); + ((TTQUrl*)(TTQUrlOperator*) 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::toQString(env, protocol, &_qstring_protocol)); +static TTQString* _qstring_protocol = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setProtocol((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setQuery((const TTQString&)*(TTQString*) 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::toQString(env, txt, &_qstring_txt)); +static TTQString* _qstring_txt = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setRef((const TTQString&)*(TTQString*) 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::toQString(env, user, &_qstring_user)); +static TTQString* _qstring_user = 0; + ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->setUser((const TTQString&)*(TTQString*) QtSupport::toTQString(env, user, &_qstring_user)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_stop(JNIEnv* env, jobject obj) { - ((QUrlOperatorJBridge*) QtSupport::getQt(env, obj))->public_stop(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QUrlOperatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQUrl*)(TTQUrlOperator*) QtSupport::getQt(env, obj))->user(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QUrlOperator.h b/qtjava/javalib/qtjava/QUrlOperator.h index 6af432b7..2abaeea3 100644 --- a/qtjava/javalib/qtjava/QUrlOperator.h +++ b/qtjava/javalib/qtjava/QUrlOperator.h @@ -12,11 +12,11 @@ extern "C" 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_newQUrlOperator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newQUrlOperator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUrlOperator_newQUrlOperator__Lorg_kde_qt_QUrlOperator_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QUtf16Codec.cpp b/qtjava/javalib/qtjava/QUtf16Codec.cpp index 70c8b93c..4c1c9a67 100644 --- a/qtjava/javalib/qtjava/QUtf16Codec.cpp +++ b/qtjava/javalib/qtjava/QUtf16Codec.cpp @@ -2,13 +2,13 @@ #include #include -#include +#include -class QUtf16CodecJBridge : public QUtf16Codec +class TQUtf16CodecJBridge : public TQUtf16Codec { public: - QUtf16CodecJBridge() : TQUtf16Codec() {}; - ~QUtf16CodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQUtf16CodecJBridge() : TTQUtf16Codec() {}; + ~TQUtf16CodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -22,7 +22,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUtf16Codec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUtf16Codec*)QtSupport::getQt(env, obj); + delete (TTQUtf16Codec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -31,8 +31,8 @@ Java_org_kde_qt_QUtf16Codec_finalize(JNIEnv* env, jobject obj) 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQUtf16Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); return xret; } @@ -45,21 +45,21 @@ Java_org_kde_qt_QUtf16Codec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUtf16Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUtf16Codec*) QtSupport::getQt(env, obj))->makeEncoder(), "org.kde.qt.TTQTextEncoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf16Codec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQUtf16Codec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQUtf16Codec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -67,15 +67,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf16Codec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQUtf16Codec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQUtf16Codec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf16Codec_newQUtf16Codec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUtf16Codec_newTQUtf16Codec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUtf16CodecJBridge()); + 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 index 171144cf..8161a5a6 100644 --- a/qtjava/javalib/qtjava/QUtf16Codec.h +++ b/qtjava/javalib/qtjava/QUtf16Codec.h @@ -15,7 +15,7 @@ extern JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf16Codec_name (JNIEnv *env, 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_newQUtf16Codec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QUtf8Codec.cpp b/qtjava/javalib/qtjava/QUtf8Codec.cpp index 3ac0d8c8..bf4b2f05 100644 --- a/qtjava/javalib/qtjava/QUtf8Codec.cpp +++ b/qtjava/javalib/qtjava/QUtf8Codec.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QUtf8CodecJBridge : public QUtf8Codec +class TQUtf8CodecJBridge : public TQUtf8Codec { public: - QUtf8CodecJBridge() : TQUtf8Codec() {}; - ~QUtf8CodecJBridge() {QtSupport::qtKeyDeleted(this);} + TQUtf8CodecJBridge() : TTQUtf8Codec() {}; + ~TQUtf8CodecJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUtf8Codec_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQUtf8Codec*)QtSupport::getQt(env, obj); + delete (TTQUtf8Codec*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -33,19 +33,19 @@ Java_org_kde_qt_QUtf8Codec_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_fromUnicode(JNIEnv* env, jobject obj, jstring uc, jintArray lenInOut) { - TQCString _qstring; -static TQString* _qstring_uc = 0; + TTQCString _qstring; +static TTQString* _qstring_uc = 0; int* _int_lenInOut = QtSupport::toIntPtr(env, lenInOut); - _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TQString&)*(TQString*) QtSupport::toQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); + _qstring = ((TTQUtf8Codec*) QtSupport::getQt(env, obj))->fromUnicode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uc, &_qstring_uc), (int&) *_int_lenInOut); env->SetIntArrayRegion(lenInOut, 0, 1, (jint *) _int_lenInOut); - return QtSupport::fromQCString(env, &_qstring); + 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); +static TTQCString* _qstring_chars = 0; + jint xret = (jint) ((TTQUtf8Codec*) QtSupport::getQt(env, obj))->heuristicContentMatch((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len); return xret; } @@ -58,14 +58,14 @@ Java_org_kde_qt_QUtf8Codec_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQUtf8Codec*) QtSupport::getQt(env, obj))->makeDecoder(), "org.kde.qt.TTQTextDecoder"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QUtf8Codec_mibEnum(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQUtf8Codec*) QtSupport::getQt(env, obj))->mibEnum(); + jint xret = (jint) ((TTQUtf8Codec*) QtSupport::getQt(env, obj))->mibEnum(); return xret; } @@ -73,15 +73,15 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QUtf8Codec_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQUtf8Codec*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TTQUtf8Codec*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QUtf8Codec_newQUtf8Codec(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUtf8Codec_newTQUtf8Codec(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUtf8CodecJBridge()); + QtSupport::setQt(env, obj, new TQUtf8CodecJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -90,9 +90,9 @@ Java_org_kde_qt_QUtf8Codec_newQUtf8Codec(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; +static TTQCString* _qstring_chars = 0; + _qstring = ((TTQUtf8Codec*) 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 index 5c788b39..5234d5a0 100644 --- a/qtjava/javalib/qtjava/QUtf8Codec.h +++ b/qtjava/javalib/qtjava/QUtf8Codec.h @@ -16,7 +16,7 @@ extern JNIEXPORT jobject JNICALL Java_org_kde_qt_QUtf8Codec_makeDecoder (JNIEnv 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_newQUtf8Codec (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QUuid.cpp b/qtjava/javalib/qtjava/QUuid.cpp index ab5d636b..a30844b0 100644 --- a/qtjava/javalib/qtjava/QUuid.cpp +++ b/qtjava/javalib/qtjava/QUuid.cpp @@ -3,23 +3,23 @@ #include #include -#include +#include -class QUuidJBridge : public QUuid +class TQUuidJBridge : public TQUuid { public: - QUuidJBridge() : QUuid() {}; - QUuidJBridge(uint arg1,ushort arg2,ushort arg3,uchar arg4,uchar arg5,uchar arg6,uchar arg7,uchar arg8,uchar arg9,uchar arg10,uchar arg11) : QUuid(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - QUuidJBridge(const QUuid& arg1) : QUuid(arg1) {}; - QUuidJBridge(const TQString& arg1) : QUuid(arg1) {}; - ~QUuidJBridge() {QtSupport::qtKeyDeleted(this);} + 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 TTQString& 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 QUuid(QUuidJBridge::createUuid()), "org.kde.qt.QUuid", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQUuid(TQUuidJBridge::createUuid()), "org.kde.qt.TQUuid", TRUE); return xret; } @@ -34,7 +34,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (QUuid*)QtSupport::getQt(env, obj); + delete (TQUuid*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -49,46 +49,46 @@ Java_org_kde_qt_QUuid_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QUuid*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TQUuid*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newQUuid__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QUuid_newTQUuid__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUuidJBridge()); + QtSupport::setQt(env, obj, new TQUuidJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newQUuid__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) +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 QUuidJBridge((uint) l, (ushort) w1, (ushort) w2, (uchar) b1, (uchar) b2, (uchar) b3, (uchar) b4, (uchar) b5, (uchar) b6, (uchar) b7, (uchar) b8)); + 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_newQUuid__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +Java_org_kde_qt_QUuid_newTQUuid__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QUuidJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))); + QtSupport::setQt(env, obj, new TQUuidJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QUuid_newQUuid__Lorg_kde_qt_QUuid_2(JNIEnv* env, jobject obj, jobject uuid) +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 QUuidJBridge((const QUuid&)*(const QUuid*) QtSupport::getQt(env, uuid))); + QtSupport::setQt(env, obj, new TQUuidJBridge((const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, uuid))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -97,50 +97,50 @@ Java_org_kde_qt_QUuid_newQUuid__Lorg_kde_qt_QUuid_2(JNIEnv* env, jobject obj, jo JNIEXPORT jboolean JNICALL Java_org_kde_qt_QUuid_op_1equals(JNIEnv* env, jobject obj, jobject orig) { - jboolean xret = (jboolean) ((QUuid*) QtSupport::getQt(env, obj))->operator==((const QUuid&)*(const QUuid*) QtSupport::getQt(env, 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) ((QUuid*) QtSupport::getQt(env, obj))->operator>((const QUuid&)*(const QUuid*) QtSupport::getQt(env, 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) ((QUuid*) QtSupport::getQt(env, obj))->operator<((const QUuid&)*(const QUuid*) QtSupport::getQt(env, 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) ((QUuid*) QtSupport::getQt(env, obj))->operator!=((const QUuid&)*(const QUuid*) QtSupport::getQt(env, 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 = ((QUuid*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _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) ((QUuid*) QtSupport::getQt(env, obj))->variant(); + 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) ((QUuid*) QtSupport::getQt(env, obj))->version(); + 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 index 8e9c5eb8..fd3e8410 100644 --- a/qtjava/javalib/qtjava/QUuid.h +++ b/qtjava/javalib/qtjava/QUuid.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newQUuid__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newQUuid__ISSSSSSSSSS (JNIEnv *env, jobject, jint, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newQUuid__Lorg_kde_qt_QUuid_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QUuid_newQUuid__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QVBox.cpp b/qtjava/javalib/qtjava/QVBox.cpp index d9bdb7b2..ef679b53 100644 --- a/qtjava/javalib/qtjava/QVBox.cpp +++ b/qtjava/javalib/qtjava/QVBox.cpp @@ -4,371 +4,371 @@ #include #include -#include +#include -class QVBoxJBridge : public QVBox +class TQVBoxJBridge : public TQVBox { public: - QVBoxJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQVBox(arg1,arg2,arg3) {}; - QVBoxJBridge(TQWidget* arg1,const char* arg2) : TQVBox(arg1,arg2) {}; - QVBoxJBridge(TQWidget* arg1) : TQVBox(arg1) {}; - QVBoxJBridge() : TQVBox() {}; - ~QVBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + TQVBoxJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQVBox(arg1,arg2,arg3) {}; + TQVBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQVBox(arg1,arg2) {}; + TQVBoxJBridge(TTQWidget* arg1) : TTQVBox(arg1) {}; + TQVBoxJBridge() : TTQVBox() {}; + ~TQVBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQFrame::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQVBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQVBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -378,7 +378,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQVBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -392,8 +392,8 @@ Java_org_kde_qt_QVBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQVBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQVBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -408,47 +408,47 @@ Java_org_kde_qt_QVBox_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQVBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newQVBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVBox_newTQVBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxJBridge()); + QtSupport::setQt(env, obj, new TQVBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newQVBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBox_newQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQVBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -457,21 +457,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QVBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index a039b409..e934b47e 100644 --- a/qtjava/javalib/qtjava/QVBox.h +++ b/qtjava/javalib/qtjava/QVBox.h @@ -12,10 +12,10 @@ extern "C" 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_newQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newQVBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newQVBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBox_newQVBox__ (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); diff --git a/qtjava/javalib/qtjava/QVBoxLayout.cpp b/qtjava/javalib/qtjava/QVBoxLayout.cpp index 709c92e6..de24892c 100644 --- a/qtjava/javalib/qtjava/QVBoxLayout.cpp +++ b/qtjava/javalib/qtjava/QVBoxLayout.cpp @@ -3,55 +3,55 @@ #include #include -#include +#include -class QVBoxLayoutJBridge : public QVBoxLayout +class TQVBoxLayoutJBridge : public TQVBoxLayout { public: - QVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3,const char* arg4) : TQVBoxLayout(arg1,arg2,arg3,arg4) {}; - QVBoxLayoutJBridge(TQWidget* arg1,int arg2,int arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; - QVBoxLayoutJBridge(TQWidget* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; - QVBoxLayoutJBridge(TQWidget* arg1) : TQVBoxLayout(arg1) {}; - QVBoxLayoutJBridge(TQLayout* arg1,int arg2,const char* arg3) : TQVBoxLayout(arg1,arg2,arg3) {}; - QVBoxLayoutJBridge(TQLayout* arg1,int arg2) : TQVBoxLayout(arg1,arg2) {}; - QVBoxLayoutJBridge(TQLayout* arg1) : TQVBoxLayout(arg1) {}; - QVBoxLayoutJBridge(int arg1,const char* arg2) : TQVBoxLayout(arg1,arg2) {}; - QVBoxLayoutJBridge(int arg1) : TQVBoxLayout(arg1) {}; - QVBoxLayoutJBridge() : TQVBoxLayout() {}; - ~QVBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQVBoxLayoutJBridge(TTQWidget* arg1,int arg2,int arg3,const char* arg4) : TTQVBoxLayout(arg1,arg2,arg3,arg4) {}; + TQVBoxLayoutJBridge(TTQWidget* arg1,int arg2,int arg3) : TTQVBoxLayout(arg1,arg2,arg3) {}; + TQVBoxLayoutJBridge(TTQWidget* arg1,int arg2) : TTQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(TTQWidget* arg1) : TTQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge(TTQLayout* arg1,int arg2,const char* arg3) : TTQVBoxLayout(arg1,arg2,arg3) {}; + TQVBoxLayoutJBridge(TTQLayout* arg1,int arg2) : TTQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(TTQLayout* arg1) : TTQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge(int arg1,const char* arg2) : TTQVBoxLayout(arg1,arg2) {}; + TQVBoxLayoutJBridge(int arg1) : TTQVBoxLayout(arg1) {}; + TQVBoxLayoutJBridge() : TTQVBoxLayout() {}; + ~TQVBoxLayoutJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void setMenuBar(TQMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TQMenuBar")) { - TQLayout::setMenuBar(arg1); + void setMenuBar(TTQMenuBar* arg1) { + if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.TTQMenuBar")) { + TTQLayout::setMenuBar(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQLayout::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQLayout::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } @@ -61,7 +61,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVBoxLayout*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQVBoxLayout*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -75,8 +75,8 @@ Java_org_kde_qt_QVBoxLayout_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQVBoxLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQVBoxLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQVBoxLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQVBoxLayout*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -91,108 +91,108 @@ Java_org_kde_qt_QVBoxLayout_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQVBoxLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxLayoutJBridge()); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__I(JNIEnv* env, jobject obj, jint spacing) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxLayoutJBridge((int) spacing)); + 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_newQVBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) +Java_org_kde_qt_QVBoxLayout_newTQVBoxLayout__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint spacing, jstring name) { -static TQCString* _qstring_name = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxLayoutJBridge((int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + 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_newQVBoxLayout__Lorg_kde_qt_QLayout_2(JNIEnv* env, jobject obj, jobject parentLayout) +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 QVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout))); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing) +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 QVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxLayoutJBridge((TQLayout*) QtSupport::getQt(env, parentLayout), (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQLayout*) 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_newQVBoxLayout__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint border) +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 QVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border)); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQWidget*) QtSupport::getQt(env, parent), (int) border)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing) +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 QVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing)); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQWidget*) 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_newQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint border, jint spacing, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVBoxLayoutJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVBoxLayoutJBridge((TTQWidget*) 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; @@ -201,21 +201,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QVBoxLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QVBoxLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 33d92aaa..48eba4b6 100644 --- a/qtjava/javalib/qtjava/QVBoxLayout.h +++ b/qtjava/javalib/qtjava/QVBoxLayout.h @@ -12,16 +12,16 @@ extern "C" 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_newQVBoxLayout__Lorg_kde_qt_QWidget_2IILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QLayout_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QLayout_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__Lorg_kde_qt_QLayout_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVBoxLayout_newQVBoxLayout__ (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); diff --git a/qtjava/javalib/qtjava/QVButtonGroup.cpp b/qtjava/javalib/qtjava/QVButtonGroup.cpp index 4704b8d4..024c6de9 100644 --- a/qtjava/javalib/qtjava/QVButtonGroup.cpp +++ b/qtjava/javalib/qtjava/QVButtonGroup.cpp @@ -3,373 +3,373 @@ #include #include -#include +#include -class QVButtonGroupJBridge : public QVButtonGroup +class TQVButtonGroupJBridge : public TQVButtonGroup { public: - QVButtonGroupJBridge(TQWidget* arg1,const char* arg2) : TQVButtonGroup(arg1,arg2) {}; - QVButtonGroupJBridge(TQWidget* arg1) : TQVButtonGroup(arg1) {}; - QVButtonGroupJBridge() : TQVButtonGroup() {}; - QVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVButtonGroup(arg1,arg2,arg3) {}; - QVButtonGroupJBridge(const TQString& arg1,TQWidget* arg2) : TQVButtonGroup(arg1,arg2) {}; - QVButtonGroupJBridge(const TQString& arg1) : TQVButtonGroup(arg1) {}; - ~QVButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + TQVButtonGroupJBridge(TTQWidget* arg1,const char* arg2) : TTQVButtonGroup(arg1,arg2) {}; + TQVButtonGroupJBridge(TTQWidget* arg1) : TTQVButtonGroup(arg1) {}; + TQVButtonGroupJBridge() : TTQVButtonGroup() {}; + TQVButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQVButtonGroup(arg1,arg2,arg3) {}; + TQVButtonGroupJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQVButtonGroup(arg1,arg2) {}; + TQVButtonGroupJBridge(const TTQString& arg1) : TTQVButtonGroup(arg1) {}; + ~TQVButtonGroupJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQVButtonGroup",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQVButtonGroup",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVButtonGroup","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVButtonGroup","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -379,7 +379,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVButtonGroup*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQVButtonGroup*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -393,8 +393,8 @@ Java_org_kde_qt_QVButtonGroup_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQVButtonGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQVButtonGroup*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,70 +409,70 @@ Java_org_kde_qt_QVButtonGroup_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQVButtonGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVButtonGroupJBridge()); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QVButtonGroup_newTQVButtonGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVButtonGroupJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QVButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVButtonGroupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVButtonGroupJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -481,21 +481,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QVButtonGroup_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QVButtonGroupJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 1f34da8e..bded593d 100644 --- a/qtjava/javalib/qtjava/QVButtonGroup.h +++ b/qtjava/javalib/qtjava/QVButtonGroup.h @@ -12,12 +12,12 @@ extern "C" 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_newQVButtonGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__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_newQVButtonGroup__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVButtonGroup_newQVButtonGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QVGroupBox.cpp b/qtjava/javalib/qtjava/QVGroupBox.cpp index 6e56928b..e4a69964 100644 --- a/qtjava/javalib/qtjava/QVGroupBox.cpp +++ b/qtjava/javalib/qtjava/QVGroupBox.cpp @@ -3,373 +3,373 @@ #include #include -#include +#include -class QVGroupBoxJBridge : public QVGroupBox +class TQVGroupBoxJBridge : public TQVGroupBox { public: - QVGroupBoxJBridge(TQWidget* arg1,const char* arg2) : TQVGroupBox(arg1,arg2) {}; - QVGroupBoxJBridge(TQWidget* arg1) : TQVGroupBox(arg1) {}; - QVGroupBoxJBridge() : TQVGroupBox() {}; - QVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : TQVGroupBox(arg1,arg2,arg3) {}; - QVGroupBoxJBridge(const TQString& arg1,TQWidget* arg2) : TQVGroupBox(arg1,arg2) {}; - QVGroupBoxJBridge(const TQString& arg1) : TQVGroupBox(arg1) {}; - ~QVGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + TQVGroupBoxJBridge(TTQWidget* arg1,const char* arg2) : TTQVGroupBox(arg1,arg2) {}; + TQVGroupBoxJBridge(TTQWidget* arg1) : TTQVGroupBox(arg1) {}; + TQVGroupBoxJBridge() : TTQVGroupBox() {}; + TQVGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2,const char* arg3) : TTQVGroupBox(arg1,arg2,arg3) {}; + TQVGroupBoxJBridge(const TTQString& arg1,TTQWidget* arg2) : TTQVGroupBox(arg1,arg2) {}; + TQVGroupBoxJBridge(const TTQString& arg1) : TTQVGroupBox(arg1) {}; + ~TQVGroupBoxJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQGroupBox::resizeEvent(arg1); } return; } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); + void setFrameRect(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQFrame::setFrameRect(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQGroupBox::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQGroupBox::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQGroupBox::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQGroupBox::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQGroupBox::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQVGroupBox",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQVGroupBox",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","frameChanged")) { - TQFrame::frameChanged(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","frameChanged")) { + TTQFrame::frameChanged(); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQVGroupBox","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQVGroupBox","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -379,7 +379,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVGroupBox*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQVGroupBox*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -393,8 +393,8 @@ Java_org_kde_qt_QVGroupBox_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQVGroupBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQVGroupBox*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -409,70 +409,70 @@ Java_org_kde_qt_QVGroupBox_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQVGroupBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVGroupBoxJBridge()); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) +Java_org_kde_qt_QVGroupBox_newTQVGroupBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) { -static TQString* _qstring_title = 0; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title))); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) +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; +static TTQString* _qstring_title = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) +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; +static TTQString* _qstring_title = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVGroupBoxJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, title, &_qstring_title), (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QVGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVGroupBox_newQVGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVGroupBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQVGroupBoxJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -481,21 +481,21 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QVGroupBox_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QVGroupBoxJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index f9800451..24e25f0d 100644 --- a/qtjava/javalib/qtjava/QVGroupBox.h +++ b/qtjava/javalib/qtjava/QVGroupBox.h @@ -12,12 +12,12 @@ extern "C" 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_newQVGroupBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newQVGroupBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newQVGroupBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newQVGroupBox__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_newQVGroupBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVGroupBox_newQVGroupBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); +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); diff --git a/qtjava/javalib/qtjava/QValidator.cpp b/qtjava/javalib/qtjava/QValidator.cpp index 87bfd502..b75d4b32 100644 --- a/qtjava/javalib/qtjava/QValidator.cpp +++ b/qtjava/javalib/qtjava/QValidator.cpp @@ -3,56 +3,56 @@ #include #include -#include +#include -class QValidatorJBridge : public QValidator +class TQValidatorJBridge : public TQValidator { public: - QValidatorJBridge(TQObject* arg1,const char* arg2) : TQValidator(arg1,arg2) {}; - QValidatorJBridge(TQObject* arg1) : TQValidator(arg1) {}; - ~QValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + TQValidatorJBridge(TTQObject* arg1,const char* arg2) : TTQValidator(arg1,arg2) {}; + TQValidatorJBridge(TTQObject* arg1) : TTQValidator(arg1) {}; + ~TQValidatorJBridge() {QtSupport::qtKeyDeleted(this);} + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - TQValidator::State validate(TQString& input,int& pos) const + TTQValidator::State validate(TTQString& input,int& pos) const { - return (TQValidator::State) QtSupport::validateDelegate((TQValidator*)this,input,pos); + return (TTQValidator::State) QtSupport::validateDelegate((TTQValidator*)this,input,pos); } - void fixup(TQString& input) const + void fixup(TTQString& input) const { - QtSupport::fixupDelegate((TQValidator*) this, input); + QtSupport::fixupDelegate((TTQValidator*) this, input); return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQValidator",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQValidator",object,event)) { + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -63,7 +63,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQValidator*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQValidator*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -77,8 +77,8 @@ Java_org_kde_qt_QValidator_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQValidator*)QtSupport::getQt(env, obj))->parent() == 0) { + delete (TTQValidator*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -87,9 +87,9 @@ Java_org_kde_qt_QValidator_finalize(JNIEnv* env, jobject obj) 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::toQStringFromStringBuffer(env, arg1, &_qstring_arg1)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); +static TTQString* _qstring_arg1 = 0; + ((TTQValidator*) QtSupport::getQt(env, obj))->fixup((TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); return; } @@ -102,26 +102,26 @@ Java_org_kde_qt_QValidator_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_newQValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) +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 QValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QValidator_newQValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQValidatorJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -130,31 +130,31 @@ static TQCString* _qstring_name = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QValidator_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QValidatorJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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; +static TTQString* _qstring_arg1 = 0; int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((TQValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg1, arg1); + jint xret = (jint) ((TTQValidator*) QtSupport::getQt(env, obj))->validate((TTQString&)*(TTQString*) 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 index 0d5bd2f0..5ebb5560 100644 --- a/qtjava/javalib/qtjava/QValidator.h +++ b/qtjava/javalib/qtjava/QValidator.h @@ -12,8 +12,8 @@ extern "C" 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_newQValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QValidator_newQValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, 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); diff --git a/qtjava/javalib/qtjava/QVariant.cpp b/qtjava/javalib/qtjava/QVariant.cpp index 050215ce..fac0f7ca 100644 --- a/qtjava/javalib/qtjava/QVariant.cpp +++ b/qtjava/javalib/qtjava/QVariant.cpp @@ -26,272 +26,272 @@ #include #include -#include +#include -class QVariantJBridge : public QVariant +class TQVariantJBridge : public TQVariant { public: - QVariantJBridge() : TQVariant() {}; - QVariantJBridge(const TQVariant& arg1) : TQVariant(arg1) {}; - QVariantJBridge(TQDataStream& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQString& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQStringList& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQFont& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPixmap& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQImage& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQBrush& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPoint& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQRect& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQSize& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQColor& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPalette& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQColorGroup& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQIconSet& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPointArray& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQRegion& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQBitmap& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQCursor& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQDate& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQTime& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQByteArray& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQKeySequence& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPen& arg1) : TQVariant(arg1) {}; - QVariantJBridge(int arg1) : TQVariant(arg1) {}; - QVariantJBridge(Q_LLONG arg1) : TQVariant(arg1) {}; - QVariantJBridge(bool arg1,int arg2) : TQVariant(arg1,arg2) {}; - QVariantJBridge(double arg1) : TQVariant(arg1) {}; - QVariantJBridge(TQSizePolicy arg1) : TQVariant(arg1) {}; - ~QVariantJBridge() {QtSupport::qtKeyDeleted(this);} + TQVariantJBridge() : TTQVariant() {}; + TQVariantJBridge(const TTQVariant& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(TTQDataStream& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQString& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQStringList& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQFont& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPixmap& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQImage& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQBrush& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPoint& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQRect& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQSize& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQColor& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPalette& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQColorGroup& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQIconSet& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPointArray& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQRegion& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQBitmap& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQCursor& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQDate& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQTime& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQByteArray& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQKeySequence& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPen& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(int arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(Q_LLONG arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(bool arg1,int arg2) : TTQVariant(arg1,arg2) {}; + TQVariantJBridge(double arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(TTQSizePolicy arg1) : TTQVariant(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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBitmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TTQBitmap"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->asBool(); + jboolean xret = (jboolean) ((TTQVariant*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TTQBrush"); 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQVariant*) 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::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQVariant*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TTQColorGroup"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQCursor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TTQCursor"); 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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDate(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->asDouble(); + jdouble xret = (jdouble) ((TTQVariant*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQFont *) &((TTQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TTQFont"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQIconSet *) &((TTQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TTQIconSet"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TTQImage"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asInt(); + jint xret = (jint) ((TTQVariant*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQKeySequence *) &((TTQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TTQKeySequence"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPalette *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TTQPalette"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPen *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TTQPen"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TTQPixmap"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPointArray *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TTQPointArray"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TTQPoint"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TTQRect"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TTQRegion"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSizePolicy *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TTQSizePolicy"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TTQSize"); 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->asStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQVariant*) 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::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->asTime(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asUInt(); + jint xret = (jint) ((TTQVariant*) 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); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->canCast((TTQVariant::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); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->cast((TTQVariant::Type) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj) { - ((TQVariant*) QtSupport::getQt(env, obj))->clear(); + ((TTQVariant*) QtSupport::getQt(env, obj))->clear(); return; } @@ -306,7 +306,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQVariant*)QtSupport::getQt(env, obj); + delete (TTQVariant*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -321,21 +321,21 @@ Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQVariant*) 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(); + jboolean xret = (jboolean) ((TTQVariant*) 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)); + ((TTQVariant*) QtSupport::getQt(env, obj))->load((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1)); return; } @@ -343,311 +343,311 @@ 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) QVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TTQCString* _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_newQVariant__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVariant_newTQVariant__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge()); + QtSupport::setQt(env, obj, new TQVariantJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) +Java_org_kde_qt_QVariant_newTQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((double) arg1)); + 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_newQVariant__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QVariant_newTQVariant__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((int) arg1)); + 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_newQVariant__J(JNIEnv* env, jobject obj, jlong arg1) +Java_org_kde_qt_QVariant_newTQVariant__J(JNIEnv* env, jobject obj, jlong arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((Q_LLONG) arg1)); + 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_newQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) { -static TQDate* _qdate_arg1 = 0; +static TTQDate* _qdate_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQDate&)*(TQDate*) QtSupport::toQDate(env, arg1, &_qdate_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) { -static TQTime* _qtime_arg1 = 0; +static TTQTime* _qtime_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQTime&)*(TQTime*) QtSupport::toQTime(env, arg1, &_qtime_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, arg1, &_qtime_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) +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 QVariantJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s))); + QtSupport::setQt(env, obj, new TQVariantJBridge((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPen&)*(const TTQPen*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((TTQSizePolicy)*(TTQSizePolicy*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1) +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 QVariantJBridge((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) +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 QVariantJBridge((bool) arg1, (int) arg2)); + 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_newQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +Java_org_kde_qt_QVariant_newTQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) { -static TQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) { -static TQStringList* _qlist_arg1 = 0; +static TTQStringList* _qlist_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -656,102 +656,102 @@ static TQStringList* _qlist_arg1 = 0; 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)); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator==((const TTQVariant&)*(const TTQVariant*) 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)); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator!=((const TTQVariant&)*(const TTQVariant*) 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)); + ((TTQVariant*) QtSupport::getQt(env, obj))->save((TTQDataStream&)*(TTQDataStream*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TTQBitmap", 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(); + jboolean xret = (jboolean) ((TTQVariant*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TTQBrush", 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::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQVariant*) 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::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQVariant*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColorGroup(((TTQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TTQColorGroup", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TTQColor", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQCursor(((TTQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TTQCursor", 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::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_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::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDate(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble(); + jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble(); return xret; } @@ -759,7 +759,7 @@ 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); + jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -767,28 +767,28 @@ Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray o 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TTQFont", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TTQIconSet", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TTQImage", 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(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt(); return xret; } @@ -796,7 +796,7 @@ 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); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -804,14 +804,14 @@ Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TTQKeySequence", 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(); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong(); return xret; } @@ -819,7 +819,7 @@ 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); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -827,94 +827,94 @@ Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(((TTQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TTQPalette", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPen(((TTQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TTQPen", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TTQPixmap", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TTQRegion", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSizePolicy(((TTQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TTQSizePolicy", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TTQSize", 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQVariant*) 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::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->toTime(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt(); return xret; } @@ -922,7 +922,7 @@ 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); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -930,7 +930,7 @@ Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj) { - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong(); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong(); return xret; } @@ -938,7 +938,7 @@ 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); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -947,7 +947,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->typeName(); + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->typeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -956,14 +956,14 @@ Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ) { const char* _qstring; (void) cls; - _qstring = QVariantJBridge::typeToName((TQVariant::Type) typ); + _qstring = TQVariantJBridge::typeToName((TTQVariant::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(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->type(); return xret; } diff --git a/qtjava/javalib/qtjava/QVariant.h b/qtjava/javalib/qtjava/QVariant.h index 4958d41d..1860debd 100644 --- a/qtjava/javalib/qtjava/QVariant.h +++ b/qtjava/javalib/qtjava/QVariant.h @@ -10,36 +10,36 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QDataStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBrush_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPointArray_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRegion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPen_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QWMatrix.cpp b/qtjava/javalib/qtjava/QWMatrix.cpp index a59b0445..38f9431c 100644 --- a/qtjava/javalib/qtjava/QWMatrix.cpp +++ b/qtjava/javalib/qtjava/QWMatrix.cpp @@ -6,20 +6,20 @@ #include #include -#include +#include -class QWMatrixJBridge : public QWMatrix +class TQWMatrixJBridge : public TQWMatrix { public: - QWMatrixJBridge() : TQWMatrix() {}; - QWMatrixJBridge(double arg1,double arg2,double arg3,double arg4,double arg5,double arg6) : TQWMatrix(arg1,arg2,arg3,arg4,arg5,arg6) {}; - ~QWMatrixJBridge() {QtSupport::qtKeyDeleted(this);} + TQWMatrixJBridge() : TTQWMatrix() {}; + TQWMatrixJBridge(double arg1,double arg2,double arg3,double arg4,double arg5,double arg6) : TTQWMatrix(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(); + jdouble xret = (jdouble) ((TTQWMatrix*) QtSupport::getQt(env, obj))->det(); return xret; } @@ -33,14 +33,14 @@ Java_org_kde_qt_QWMatrix_dispose(JNIEnv* env, jobject obj) JNIEXPORT jdouble JNICALL Java_org_kde_qt_QWMatrix_dx(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQWMatrix*) QtSupport::getQt(env, obj))->dx(); + jdouble xret = (jdouble) ((TTQWMatrix*) 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(); + jdouble xret = (jdouble) ((TTQWMatrix*) QtSupport::getQt(env, obj))->dy(); return xret; } @@ -48,7 +48,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWMatrix*)QtSupport::getQt(env, obj); + delete (TTQWMatrix*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,7 +57,7 @@ Java_org_kde_qt_QWMatrix_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQWMatrix(((TTQWMatrix*) QtSupport::getQt(env, obj))->invert()), "org.kde.qt.TTQWMatrix", TRUE); return xret; } @@ -65,7 +65,7 @@ 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQWMatrix(((TTQWMatrix*) QtSupport::getQt(env, obj))->invert( (bool*) _bool_arg1)), "org.kde.qt.TTQWMatrix", TRUE); env->SetBooleanArrayRegion(arg1, 0, 1, (jboolean*) _bool_arg1); return xret; } @@ -79,63 +79,63 @@ Java_org_kde_qt_QWMatrix_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWMatrix_isIdentity(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWMatrix*) QtSupport::getQt(env, obj))->isIdentity(); + jboolean xret = (jboolean) ((TTQWMatrix*) 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(); + jboolean xret = (jboolean) ((TTQWMatrix*) 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(); + jdouble xret = (jdouble) ((TTQWMatrix*) 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(); + jdouble xret = (jdouble) ((TTQWMatrix*) 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(); + jdouble xret = (jdouble) ((TTQWMatrix*) 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(); + jdouble xret = (jdouble) ((TTQWMatrix*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWMatrix*) QtSupport::getQt(env, obj))->mapRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQWMatrix*) QtSupport::getQt(env, obj))->mapToPolygon((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWMatrix*) QtSupport::getQt(env, obj))->mapToRegion((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRegion", TRUE); return xret; } @@ -144,7 +144,7 @@ Java_org_kde_qt_QWMatrix_map__DD_3D_3D(JNIEnv* env, jobject obj, jdouble x, jdou { 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); + ((TTQWMatrix*) 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; @@ -155,7 +155,7 @@ Java_org_kde_qt_QWMatrix_map__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, { 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); + ((TTQWMatrix*) 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; @@ -164,46 +164,46 @@ Java_org_kde_qt_QWMatrix_map__II_3I_3I(JNIEnv* env, jobject obj, jint x, jint y, 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQWMatrix*) QtSupport::getQt(env, obj))->map((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWMatrix*) QtSupport::getQt(env, obj))->map((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWMatrix*) QtSupport::getQt(env, obj))->map((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWMatrix*) QtSupport::getQt(env, obj))->map((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, r))), "org.kde.qt.TTQRegion", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_newQWMatrix__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QWMatrix_newTQWMatrix__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWMatrixJBridge()); + QtSupport::setQt(env, obj, new TQWMatrixJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWMatrix_newQWMatrix__DDDDDD(JNIEnv* env, jobject obj, jdouble m11, jdouble m12, jdouble m21, jdouble m22, jdouble dx, jdouble dy) +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 QWMatrixJBridge((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy)); + 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; @@ -212,77 +212,77 @@ Java_org_kde_qt_QWMatrix_newQWMatrix__DDDDDD(JNIEnv* env, jobject obj, jdouble m 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)); + jboolean xret = (jboolean) ((TTQWMatrix*) QtSupport::getQt(env, obj))->operator==((const TTQWMatrix&)*(const TTQWMatrix*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQWMatrix*) QtSupport::getQt(env, obj))->operator*=((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQWMatrix"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, a))), "org.kde.qt.TTQPointArray", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWMatrix*) QtSupport::getQt(env, obj))->operator*((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQRegion", 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)); + jboolean xret = (jboolean) ((TTQWMatrix*) QtSupport::getQt(env, obj))->operator!=((const TTQWMatrix&)*(const TTQWMatrix*) 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(); + ((TTQWMatrix*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQWMatrix*) QtSupport::getQt(env, obj))->rotate((double) a), "org.kde.qt.TTQWMatrix"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQWMatrix*) QtSupport::getQt(env, obj))->scale((double) sx, (double) sy), "org.kde.qt.TTQWMatrix"); 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); + ((TTQWMatrix*) QtSupport::getQt(env, obj))->setMatrix((double) m11, (double) m12, (double) m21, (double) m22, (double) dx, (double) dy); return; } @@ -291,14 +291,14 @@ Java_org_kde_qt_QWMatrix_setTransformationMode(JNIEnv* env, jclass cls, jint m) { (void) cls; (void) env; - QWMatrixJBridge::setTransformationMode((TQWMatrix::TransformationMode) m); + TQWMatrixJBridge::setTransformationMode((TTQWMatrix::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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQWMatrix*) QtSupport::getQt(env, obj))->shear((double) sh, (double) sv), "org.kde.qt.TTQWMatrix"); return xret; } @@ -307,14 +307,14 @@ Java_org_kde_qt_QWMatrix_transformationMode(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jint xret = (jint) QWMatrixJBridge::transformationMode(); + 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQWMatrix *) &((TTQWMatrix*) QtSupport::getQt(env, obj))->translate((double) dx, (double) dy), "org.kde.qt.TTQWMatrix"); return xret; } diff --git a/qtjava/javalib/qtjava/QWMatrix.h b/qtjava/javalib/qtjava/QWMatrix.h index 2d8bcec2..e05351cc 100644 --- a/qtjava/javalib/qtjava/QWMatrix.h +++ b/qtjava/javalib/qtjava/QWMatrix.h @@ -10,8 +10,8 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newQWMatrix__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWMatrix_newQWMatrix__DDDDDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jdouble, jdouble); +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); diff --git a/qtjava/javalib/qtjava/QWhatsThis.cpp b/qtjava/javalib/qtjava/QWhatsThis.cpp index 3b73beb5..0663d234 100644 --- a/qtjava/javalib/qtjava/QWhatsThis.cpp +++ b/qtjava/javalib/qtjava/QWhatsThis.cpp @@ -5,29 +5,29 @@ #include #include -#include +#include -class QWhatsThisJBridge : public QWhatsThis +class TQWhatsThisJBridge : public TQWhatsThis { public: - QWhatsThisJBridge(TQWidget* arg1) : TQWhatsThis(arg1) {}; - ~QWhatsThisJBridge() {QtSupport::qtKeyDeleted(this);} + TQWhatsThisJBridge(TTQWidget* arg1) : TTQWhatsThis(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; - QWhatsThisJBridge::add((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + TQWhatsThisJBridge::add((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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::toQString(env, href, &_qstring_href)); +static TTQString* _qstring_href = 0; + jboolean xret = (jboolean) ((TTQWhatsThis*) QtSupport::getQt(env, obj))->clicked((const TTQString&)*(TTQString*) QtSupport::toTQString(env, href, &_qstring_href)); return xret; } @@ -35,8 +35,8 @@ 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; - QWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } @@ -44,8 +44,8 @@ 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; - QWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); +static TTQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return; } @@ -53,8 +53,8 @@ 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; - QWhatsThisJBridge::display((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); +static TTQString* _qstring_text = 0; + TQWhatsThisJBridge::display((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TTQWidget*) QtSupport::getQt(env, w)); return; } @@ -70,7 +70,7 @@ Java_org_kde_qt_QWhatsThis_enterWhatsThisMode(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QWhatsThisJBridge::enterWhatsThisMode(); + TQWhatsThisJBridge::enterWhatsThisMode(); return; } @@ -78,7 +78,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWhatsThis*)QtSupport::getQt(env, obj); + delete (TTQWhatsThis*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -89,7 +89,7 @@ Java_org_kde_qt_QWhatsThis_inWhatsThisMode(JNIEnv* env, jclass cls) { (void) cls; (void) env; - jboolean xret = (jboolean) QWhatsThisJBridge::inWhatsThisMode(); + jboolean xret = (jboolean) TQWhatsThisJBridge::inWhatsThisMode(); return xret; } @@ -104,7 +104,7 @@ Java_org_kde_qt_QWhatsThis_leaveWhatsThisMode__(JNIEnv* env, jclass cls) { (void) cls; (void) env; - QWhatsThisJBridge::leaveWhatsThisMode(); + TQWhatsThisJBridge::leaveWhatsThisMode(); return; } @@ -112,8 +112,8 @@ 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; - QWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); return; } @@ -121,8 +121,8 @@ 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; - QWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); +static TTQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos)); return; } @@ -130,16 +130,16 @@ 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; - QWhatsThisJBridge::leaveWhatsThisMode((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQWidget*) QtSupport::getQt(env, w)); +static TTQString* _qstring_arg1 = 0; + TQWhatsThisJBridge::leaveWhatsThisMode((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (TTQWidget*) QtSupport::getQt(env, w)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWhatsThis_newQWhatsThis(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QWhatsThis_newTQWhatsThis(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWhatsThisJBridge((TQWidget*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQWhatsThisJBridge((TTQWidget*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -149,7 +149,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_remove(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QWhatsThisJBridge::remove((TQWidget*) QtSupport::getQt(env, arg1)); + TQWhatsThisJBridge::remove((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -157,50 +157,50 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_setFont(JNIEnv* env, jclass cls, jobject font) { (void) cls; - QWhatsThisJBridge::setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); + TQWhatsThisJBridge::setFont((const TTQFont&)*(const TTQFont*) 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; + TTQString _qstring; (void) cls; - _qstring = QWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQWhatsThisJBridge::textFor((TTQWidget*) 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; + TTQString _qstring; (void) cls; - _qstring = QWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQWhatsThisJBridge::textFor((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) 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; + TTQString _qstring; (void) cls; - _qstring = QWhatsThisJBridge::textFor((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (bool) includeParents); - return QtSupport::fromQString(env, &_qstring); + _qstring = TQWhatsThisJBridge::textFor((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQWhatsThis*) QtSupport::getQt(env, obj))->text((const TTQPoint&)*(const TTQPoint*) 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*)QWhatsThisJBridge::whatsThisButton((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TQToolButton"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWhatsThisJBridge::whatsThisButton((TTQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TTQToolButton"); return xret; } diff --git a/qtjava/javalib/qtjava/QWhatsThis.h b/qtjava/javalib/qtjava/QWhatsThis.h index fb5d417f..82aaf893 100644 --- a/qtjava/javalib/qtjava/QWhatsThis.h +++ b/qtjava/javalib/qtjava/QWhatsThis.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWhatsThis_newQWhatsThis (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QWheelEvent.cpp b/qtjava/javalib/qtjava/QWheelEvent.cpp index 7f5c520f..b224e86c 100644 --- a/qtjava/javalib/qtjava/QWheelEvent.cpp +++ b/qtjava/javalib/qtjava/QWheelEvent.cpp @@ -4,29 +4,29 @@ #include #include -#include +#include -class QWheelEventJBridge : public QWheelEvent +class TQWheelEventJBridge : public TQWheelEvent { public: - QWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3,Qt::Orientation arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; - QWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3) : TQWheelEvent(arg1,arg2,arg3) {}; - QWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,Qt::Orientation arg5) : TQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; - QWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; - ~QWheelEventJBridge() {QtSupport::qtKeyDeleted(this);} + TQWheelEventJBridge(const TTQPoint& arg1,int arg2,int arg3,TQt::Orientation arg4) : TTQWheelEvent(arg1,arg2,arg3,arg4) {}; + TQWheelEventJBridge(const TTQPoint& arg1,int arg2,int arg3) : TTQWheelEvent(arg1,arg2,arg3) {}; + TQWheelEventJBridge(const TTQPoint& arg1,const TTQPoint& arg2,int arg3,int arg4,TQt::Orientation arg5) : TTQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; + TQWheelEventJBridge(const TTQPoint& arg1,const TTQPoint& arg2,int arg3,int arg4) : TTQWheelEvent(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(); + ((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->delta(); return xret; } @@ -41,7 +41,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQWheelEvent*)QtSupport::getQt(env, obj); + delete (TTQWheelEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -50,35 +50,35 @@ Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalX(); + jint xret = (jint) ((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQWheelEvent*) 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(); + ((TTQWheelEvent*) 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(); + jboolean xret = (jboolean) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -89,40 +89,40 @@ Java_org_kde_qt_QWheelEvent_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state) +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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) 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_newQWheelEvent__Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state, jint orient) +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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (Qt::Orientation) orient)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) 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_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state) +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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) 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_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state, jint orient) +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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (Qt::Orientation) orient)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (TQt::Orientation) orient)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -131,35 +131,35 @@ Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoi JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TTQWheelEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_state(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->state(); + jint xret = (jint) ((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->y(); return xret; } diff --git a/qtjava/javalib/qtjava/QWheelEvent.h b/qtjava/javalib/qtjava/QWheelEvent.h index ad135b53..9b26af45 100644 --- a/qtjava/javalib/qtjava/QWheelEvent.h +++ b/qtjava/javalib/qtjava/QWheelEvent.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newQWheelEvent__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_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II (JNIEnv *env, jobject, jobject, jobject, jint, jint); +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); diff --git a/qtjava/javalib/qtjava/QWidget.cpp b/qtjava/javalib/qtjava/QWidget.cpp index eb608cc9..5e7dafb1 100644 --- a/qtjava/javalib/qtjava/QWidget.cpp +++ b/qtjava/javalib/qtjava/QWidget.cpp @@ -20,621 +20,621 @@ #include #include -#include +#include -class QWidgetJBridge : public QWidget +class TQWidgetJBridge : public TQWidget { public: - QWidgetJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQWidget(arg1,arg2,arg3) {}; - QWidgetJBridge(TQWidget* arg1,const char* arg2) : TQWidget(arg1,arg2) {}; - QWidgetJBridge(TQWidget* arg1) : TQWidget(arg1) {}; - QWidgetJBridge() : TQWidget() {}; + TQWidgetJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQWidget(arg1,arg2,arg3) {}; + TQWidgetJBridge(TTQWidget* arg1,const char* arg2) : TTQWidget(arg1,arg2) {}; + TQWidgetJBridge(TTQWidget* arg1) : TTQWidget(arg1) {}; + TQWidgetJBridge() : TTQWidget() {}; void public_unsetCursor() { - TQWidget::unsetCursor(); + TTQWidget::unsetCursor(); return; } void public_setActiveWindow() { - TQWidget::setActiveWindow(); + TTQWidget::setActiveWindow(); return; } void public_setFocus() { - TQWidget::setFocus(); + TTQWidget::setFocus(); return; } void public_show() { - TQWidget::show(); + TTQWidget::show(); return; } void public_hide() { - TQWidget::hide(); + TTQWidget::hide(); return; } void public_showMinimized() { - TQWidget::showMinimized(); + TTQWidget::showMinimized(); return; } void public_showMaximized() { - TQWidget::showMaximized(); + TTQWidget::showMaximized(); return; } void public_showNormal() { - TQWidget::showNormal(); + TTQWidget::showNormal(); return; } void public_polish() { - TQWidget::polish(); + TTQWidget::polish(); return; } void public_adjustSize() { - TQWidget::adjustSize(); + TTQWidget::adjustSize(); return; } - bool protected_event(TQEvent* arg1) { - return (bool) TQWidget::event(arg1); + bool protected_event(TTQEvent* arg1) { + return (bool) TTQWidget::event(arg1); } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TQWidget::mousePressEvent(arg1); + void protected_mousePressEvent(TTQMouseEvent* arg1) { + TTQWidget::mousePressEvent(arg1); return; } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TQWidget::mouseReleaseEvent(arg1); + void protected_mouseReleaseEvent(TTQMouseEvent* arg1) { + TTQWidget::mouseReleaseEvent(arg1); return; } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - TQWidget::mouseDoubleClickEvent(arg1); + void protected_mouseDoubleClickEvent(TTQMouseEvent* arg1) { + TTQWidget::mouseDoubleClickEvent(arg1); return; } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TQWidget::mouseMoveEvent(arg1); + void protected_mouseMoveEvent(TTQMouseEvent* arg1) { + TTQWidget::mouseMoveEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQWidget::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQWidget::wheelEvent(arg1); return; } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TQWidget::keyPressEvent(arg1); + void protected_keyPressEvent(TTQKeyEvent* arg1) { + TTQWidget::keyPressEvent(arg1); return; } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TQWidget::keyReleaseEvent(arg1); + void protected_keyReleaseEvent(TTQKeyEvent* arg1) { + TTQWidget::keyReleaseEvent(arg1); return; } - void protected_focusInEvent(TQFocusEvent* arg1) { - TQWidget::focusInEvent(arg1); + void protected_focusInEvent(TTQFocusEvent* arg1) { + TTQWidget::focusInEvent(arg1); return; } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TQWidget::focusOutEvent(arg1); + void protected_focusOutEvent(TTQFocusEvent* arg1) { + TTQWidget::focusOutEvent(arg1); return; } - void protected_enterEvent(TQEvent* arg1) { - TQWidget::enterEvent(arg1); + void protected_enterEvent(TTQEvent* arg1) { + TTQWidget::enterEvent(arg1); return; } - void protected_leaveEvent(TQEvent* arg1) { - TQWidget::leaveEvent(arg1); + void protected_leaveEvent(TTQEvent* arg1) { + TTQWidget::leaveEvent(arg1); return; } - void protected_paintEvent(TQPaintEvent* arg1) { - TQWidget::paintEvent(arg1); + void protected_paintEvent(TTQPaintEvent* arg1) { + TTQWidget::paintEvent(arg1); return; } - void protected_moveEvent(TQMoveEvent* arg1) { - TQWidget::moveEvent(arg1); + void protected_moveEvent(TTQMoveEvent* arg1) { + TTQWidget::moveEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWidget::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQWidget::resizeEvent(arg1); return; } - void protected_closeEvent(TQCloseEvent* arg1) { - TQWidget::closeEvent(arg1); + void protected_closeEvent(TTQCloseEvent* arg1) { + TTQWidget::closeEvent(arg1); return; } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TQWidget::contextMenuEvent(arg1); + void protected_contextMenuEvent(TTQContextMenuEvent* arg1) { + TTQWidget::contextMenuEvent(arg1); return; } - void protected_imStartEvent(TQIMEvent* arg1) { - TQWidget::imStartEvent(arg1); + void protected_imStartEvent(TTQIMEvent* arg1) { + TTQWidget::imStartEvent(arg1); return; } - void protected_imComposeEvent(TQIMEvent* arg1) { - TQWidget::imComposeEvent(arg1); + void protected_imComposeEvent(TTQIMEvent* arg1) { + TTQWidget::imComposeEvent(arg1); return; } - void protected_imEndEvent(TQIMEvent* arg1) { - TQWidget::imEndEvent(arg1); + void protected_imEndEvent(TTQIMEvent* arg1) { + TTQWidget::imEndEvent(arg1); return; } - void protected_tabletEvent(TQTabletEvent* arg1) { - TQWidget::tabletEvent(arg1); + void protected_tabletEvent(TTQTabletEvent* arg1) { + TTQWidget::tabletEvent(arg1); return; } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TQWidget::dragEnterEvent(arg1); + void protected_dragEnterEvent(TTQDragEnterEvent* arg1) { + TTQWidget::dragEnterEvent(arg1); return; } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - TQWidget::dragMoveEvent(arg1); + void protected_dragMoveEvent(TTQDragMoveEvent* arg1) { + TTQWidget::dragMoveEvent(arg1); return; } - void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) { - TQWidget::dragLeaveEvent(arg1); + void protected_dragLeaveEvent(TTQDragLeaveEvent* arg1) { + TTQWidget::dragLeaveEvent(arg1); return; } - void protected_dropEvent(TQDropEvent* arg1) { - TQWidget::dropEvent(arg1); + void protected_dropEvent(TTQDropEvent* arg1) { + TTQWidget::dropEvent(arg1); return; } - void protected_showEvent(TQShowEvent* arg1) { - TQWidget::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQWidget::showEvent(arg1); return; } - void protected_hideEvent(TQHideEvent* arg1) { - TQWidget::hideEvent(arg1); + void protected_hideEvent(TTQHideEvent* arg1) { + TTQWidget::hideEvent(arg1); return; } void protected_updateMask() { - TQWidget::updateMask(); + TTQWidget::updateMask(); return; } - void protected_styleChange(TQStyle& arg1) { - TQWidget::styleChange(arg1); + void protected_styleChange(TTQStyle& arg1) { + TTQWidget::styleChange(arg1); return; } void protected_enabledChange(bool arg1) { - TQWidget::enabledChange(arg1); + TTQWidget::enabledChange(arg1); return; } - void protected_paletteChange(const TQPalette& arg1) { - TQWidget::paletteChange(arg1); + void protected_paletteChange(const TTQPalette& arg1) { + TTQWidget::paletteChange(arg1); return; } - void protected_fontChange(const TQFont& arg1) { - TQWidget::fontChange(arg1); + void protected_fontChange(const TTQFont& arg1) { + TTQWidget::fontChange(arg1); return; } void protected_windowActivationChange(bool arg1) { - TQWidget::windowActivationChange(arg1); + TTQWidget::windowActivationChange(arg1); return; } int protected_metric(int arg1) { - return (int) TQWidget::metric(arg1); + return (int) TTQWidget::metric(arg1); } void protected_resetInputContext() { - TQWidget::resetInputContext(); + TTQWidget::resetInputContext(); return; } void protected_create(WId arg1,bool arg2,bool arg3) { - TQWidget::create(arg1,arg2,arg3); + TTQWidget::create(arg1,arg2,arg3); return; } void protected_create(WId arg1,bool arg2) { - TQWidget::create(arg1,arg2); + TTQWidget::create(arg1,arg2); return; } void protected_create(WId arg1) { - TQWidget::create(arg1); + TTQWidget::create(arg1); return; } void protected_create() { - TQWidget::create(); + TTQWidget::create(); return; } void protected_destroy(bool arg1,bool arg2) { - TQWidget::destroy(arg1,arg2); + TTQWidget::destroy(arg1,arg2); return; } void protected_destroy(bool arg1) { - TQWidget::destroy(arg1); + TTQWidget::destroy(arg1); return; } void protected_destroy() { - TQWidget::destroy(); + TTQWidget::destroy(); return; } uint protected_getWState() { - return (uint) TQWidget::getWState(); + return (uint) TTQWidget::getWState(); } void protected_setWState(uint arg1) { - TQWidget::setWState(arg1); + TTQWidget::setWState(arg1); return; } void protected_clearWState(uint arg1) { - TQWidget::clearWState(arg1); + TTQWidget::clearWState(arg1); return; } - Qt::WFlags protected_getWFlags() { - return (Qt::WFlags) TQWidget::getWFlags(); + TQt::WFlags protected_getWFlags() { + return (TQt::WFlags) TTQWidget::getWFlags(); } - void protected_setWFlags(Qt::WFlags arg1) { - TQWidget::setWFlags(arg1); + void protected_setWFlags(TQt::WFlags arg1) { + TTQWidget::setWFlags(arg1); return; } - void protected_clearWFlags(Qt::WFlags arg1) { - TQWidget::clearWFlags(arg1); + void protected_clearWFlags(TQt::WFlags arg1) { + TTQWidget::clearWFlags(arg1); return; } bool protected_focusNextPrevChild(bool arg1) { - return (bool) TQWidget::focusNextPrevChild(arg1); + return (bool) TTQWidget::focusNextPrevChild(arg1); } - TQFocusData* protected_focusData() { - return (TQFocusData*) TQWidget::focusData(); + TTQFocusData* protected_focusData() { + return (TTQFocusData*) TTQWidget::focusData(); } void protected_setKeyCompression(bool arg1) { - TQWidget::setKeyCompression(arg1); + TTQWidget::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); + void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5,TTQFont* arg6) { + TTQWidget::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); + TTQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5); return; } void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4) { - TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4); + TTQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4); return; } - ~QWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) { - return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4); + ~TQWidgetJBridge() {QtSupport::qtKeyDeleted(this);} + int protected_fontMet(TTQFont* arg1,int arg2,const char* arg3,int arg4) { + return (int) TTQPaintDevice::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(TTQFont* arg1,int arg2,const char* arg3) { + return (int) TTQPaintDevice::fontMet(arg1,arg2,arg3); } - int protected_fontMet(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontMet(arg1,arg2); + int protected_fontMet(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::fontMet(arg1,arg2); } - int protected_fontInf(TQFont* arg1,int arg2) { - return (int) TQPaintDevice::fontInf(arg1,arg2); + int protected_fontInf(TTQFont* arg1,int arg2) { + return (int) TTQPaintDevice::fontInf(arg1,arg2); } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidget::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQWidget",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQWidget",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidget","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidget","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -643,120 +643,120 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_acceptDrops(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->acceptDrops(); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->acceptDrops(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_adjustSize(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_adjustSize(); + ((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(); + jboolean xret = (jboolean) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQWidget*) QtSupport::getQt(env, obj))->backgroundBrush(), "org.kde.qt.TTQBrush"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQWidget*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.TTQColor"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_backgroundMode(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundMode(); + jint xret = (jint) ((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->backgroundOffset()), "org.kde.qt.TTQPoint", 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(); + jint xret = (jint) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->backgroundPixmap(), "org.kde.qt.TTQPixmap"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->baseSize()), "org.kde.qt.TTQSize", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, (bool) includeThis), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->childAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->childAt((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (bool) includeThis), "org.kde.qt.TTQWidget"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidget*) QtSupport::getQt(env, obj))->childrenRect()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWidget*) QtSupport::getQt(env, obj))->childrenRegion()), "org.kde.qt.TTQRegion", TRUE); return xret; } @@ -764,154 +764,154 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQWidget*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQWidget*) 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(); + ((TTQWidget*) 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(); + ((TTQWidget*) QtSupport::getQt(env, obj))->clearMask(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_clearWFlags(JNIEnv* env, jobject obj, jint n) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWFlags((Qt::WFlags) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWState((uint) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQWidget*) QtSupport::getQt(env, obj))->clipRegion()), "org.kde.qt.TTQRegion", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_closeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TTQCloseEvent*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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); + jboolean xret = (jboolean) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQWidget*) QtSupport::getQt(env, obj))->colorGroup(), "org.kde.qt.TTQColorGroup"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_constPolish(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->constPolish(); + ((TTQWidget*) QtSupport::getQt(env, obj))->constPolish(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TTQContextMenuEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_create__J(JNIEnv* env, jobject obj, jlong arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQCursor *) &((TTQWidget*) QtSupport::getQt(env, obj))->cursor(), "org.kde.qt.TTQCursor"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_customWhatsThis(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->customWhatsThis(); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->customWhatsThis(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_destroy__Z(JNIEnv* env, jobject obj, jboolean destroyWindow) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow, (bool) 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(); + jint xret = (jint) ((TTQPaintDevice*)(TTQWidget*) QtSupport::getQt(env, obj))->devType(); return xret; } @@ -925,115 +925,115 @@ Java_org_kde_qt_QWidget_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TTQDragEnterEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TTQDragLeaveEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TTQDragMoveEvent*) 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::toQString(env, arg3, &_qstring_arg3)); +static TTQString* _qstring_arg3 = 0; + ((TTQWidget*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TTQString&)*(TTQString*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQWidget*) QtSupport::getQt(env, obj))->drawText((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TTQDropEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_enabledChange(JNIEnv* env, jobject obj, jboolean oldEnabled) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TTQEvent*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQWidget*) QtSupport::getQt(env, obj))->eraseColor(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->erasePixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_erase__(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->erase(); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->erase((const TTQRect&)*(const TTQRect*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->erase((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_event(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQWidget*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -1043,290 +1043,290 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_find(JNIEnv* env, jclass cls, jlong arg1) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QWidgetJBridge::find((WId) arg1), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::find((WId) arg1), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_focusData(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.kde.qt.TQFocusData"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.kde.qt.TTQFocusData"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TTQFocusEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) { - jboolean xret = (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TTQFocusEvent*) 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(); + jint xret = (jint) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->focusProxy(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_fontChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TTQFont&)*(const TTQFont*) 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) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TTQFont*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFontInfo(((TTQWidget*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.TTQFontInfo", 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) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2); + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3)); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4); +static TTQCString* _qstring_arg3 = 0; + jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TTQFont*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFontMetrics(((TTQWidget*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.TTQFontMetrics", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQWidget*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TTQFont", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQWidget*) QtSupport::getQt(env, obj))->foregroundColor(), "org.kde.qt.TTQColor"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidget*) QtSupport::getQt(env, obj))->frameGeometry()), "org.kde.qt.TTQRect", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->frameSize()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQWidget*) QtSupport::getQt(env, obj))->geometry(), "org.kde.qt.TTQRect"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_getWFlags(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWFlags(); + 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) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWState(); + 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(); + ((TTQWidget*) 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(); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->grabMouse((const TTQCursor&)*(const TTQCursor*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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); + jint xret = (jint) ((TTQWidget*) 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(); + jint xret = (jint) ((TTQWidget*) QtSupport::getQt(env, obj))->height(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hideEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TTQHideEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_hide(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_hide(); + ((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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_iconify(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->iconify(); + ((TTQWidget*) QtSupport::getQt(env, obj))->iconify(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imEndEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TTQIMEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_imStartEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TTQIMEvent*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->isDialog(); return xret; } @@ -1339,140 +1339,140 @@ Java_org_kde_qt_QWidget_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_isEnabledToTLW(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledToTLW(); + jboolean xret = (jboolean) ((TTQWidget*) 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)); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->isEnabledTo((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQPaintDevice*)(TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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)); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->isVisibleTo((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->isVisible(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TTQKeyEvent*) QtSupport::getQt(env, arg1)); return; } @@ -1480,147 +1480,147 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_keyboardGrabber(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QWidgetJBridge::keyboardGrabber(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::keyboardGrabber(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.TTQLayout"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TTQEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_lower(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->lower(); + ((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapFromGlobal((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapFromParent((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapFrom((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapToGlobal((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapToParent((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQPoint", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->mapTo((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg2))), "org.kde.qt.TTQPoint", 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(); + jint xret = (jint) ((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWidget_metric(JNIEnv* env, jobject obj, jint arg1) { - jint xret = (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidget*) QtSupport::getQt(env, obj))->microFocusHint()), "org.kde.qt.TTQRect", 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(); + jint xret = (jint) ((TTQWidget*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", 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(); + jint xret = (jint) ((TTQWidget*) QtSupport::getQt(env, obj))->minimumWidth(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } @@ -1628,89 +1628,89 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QWidget_mouseGrabber(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QWidgetJBridge::mouseGrabber(), "org.kde.qt.TQWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::mouseGrabber(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TTQMouseEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_moveEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TTQMoveEvent*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->move((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newQWidget__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QWidget_newTQWidget__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetJBridge()); + QtSupport::setQt(env, obj, new TQWidgetJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQWidgetJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -1719,704 +1719,704 @@ static TQCString* _qstring_name = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidget_ownCursor(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownCursor(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) 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(); + jboolean xret = (jboolean) ((TTQWidget*) QtSupport::getQt(env, obj))->ownPalette(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TTQPaintEvent*) 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(); + jboolean xret = (jboolean) ((TTQPaintDevice*)(TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundColor(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->paletteBackgroundPixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_paletteChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TTQPalette&)*(const TTQPalette*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQWidget*) QtSupport::getQt(env, obj))->paletteForegroundColor(), "org.kde.qt.TTQColor"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPalette *) &((TTQWidget*) QtSupport::getQt(env, obj))->palette(), "org.kde.qt.TTQPalette"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->parentWidget(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->parentWidget((bool) sameWindow), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_polish(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_polish(); + ((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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQWidget*) QtSupport::getQt(env, obj))->pos()), "org.kde.qt.TTQPoint", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_raise(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->raise(); + ((TTQWidget*) 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), (Qt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); + ((TTQWidget*) QtSupport::getQt(env, obj))->recreate((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TTQPoint&)*(const TTQPoint*) 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), (Qt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt); + ((TTQWidget*) QtSupport::getQt(env, obj))->recreate((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TTQPoint&)*(const TTQPoint*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidget*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_releaseKeyboard(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->releaseKeyboard(); + ((TTQWidget*) 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(); + ((TTQWidget*) 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(); + ((TTQWidget*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->repaint((const TTQRect&)*(const TTQRect*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->repaint((const TTQRect&)*(const TTQRect*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->repaint((const TTQRegion&)*(const TTQRegion*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->repaint((const TTQRegion&)*(const TTQRegion*) 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); + ((TTQWidget*) 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), (Qt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3)); + ((TTQWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TTQPoint&)*(const TTQPoint*) 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), (Qt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3), (bool) showIt); + ((TTQWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TTQPoint&)*(const TTQPoint*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (const TTQPoint&)*(const TTQPoint*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->reparent((TTQWidget*) QtSupport::getQt(env, parent), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg2), (bool) showIt); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resetInputContext(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resetInputContext(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resetInputContext(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->resize((const TTQSize&)*(const TTQSize*) 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(); + jint xret = (jint) ((TTQPaintDevice*)(TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy, (const TTQRect&)*(const TTQRect*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) on); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setActiveWindow(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_setActiveWindow(); + ((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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setBackgroundColor((const TTQColor&)*(const TTQColor*) 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((Qt::BackgroundMode) arg1); + ((TTQWidget*) 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((Qt::BackgroundMode) arg1, (Qt::BackgroundMode) arg2); + ((TTQWidget*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setBackgroundOrigin((TTQWidget::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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setBaseSize((const TTQSize&)*(const TTQSize*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQWidget*) QtSupport::getQt(env, obj))->setCaption((const TTQString&)*(TTQString*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setCursor((const TTQCursor&)*(const TTQCursor*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setEraseColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setErasePixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setFixedSize((const TTQSize&)*(const TTQSize*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setFocusPolicy((TTQWidget::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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setFocusProxy((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setFocus(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus(); + ((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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + ((TTQWidget*) 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::toQString(env, arg1, &_qstring_arg1)); +static TTQString* _qstring_arg1 = 0; + ((TTQWidget*) QtSupport::getQt(env, obj))->setIconText((const TTQString&)*(TTQString*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setIcon((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setInputMethodEnabled((bool) b); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setKeyCompression(JNIEnv* env, jobject obj, jboolean arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setKeyCompression((bool) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setMask((const TTQBitmap&)*(const TTQBitmap*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setMask((const TTQRegion&)*(const TTQRegion*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((const TTQSize&)*(const TTQSize*) 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); + ((TTQWidget*) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text, (TQFont*) QtSupport::getQt(env, f)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text, (TTQFont*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((const TTQSize&)*(const TTQSize*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); +static TTQCString* _qstring_name = 0; + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TTQPixmap&)*(const TTQPixmap*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setPaletteForegroundColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setPalette((const TTQPalette&)*(const TTQPalette*) 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); + ((TTQPaintDevice*)(TTQWidget*) 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); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((const TTQSize&)*(const TTQSize*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy::SizeType) hor, (TTQSizePolicy::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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TTQSizePolicy)*(TTQSizePolicy*) 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::toQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TQStyle"); +static TTQString* _qstring_arg1 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->setStyle((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.kde.qt.TTQStyle"); 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->setStyle((TTQStyle*) QtSupport::getQt(env, arg1)); return; } @@ -2424,307 +2424,307 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setTabOrder(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - QWidgetJBridge::setTabOrder((TQWidget*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2)); + TQWidgetJBridge::setTabOrder((TTQWidget*) QtSupport::getQt(env, arg1), (TTQWidget*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_setWFlags(JNIEnv* env, jobject obj, jint arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWFlags((Qt::WFlags) 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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWState((uint) 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); + ((TTQWidget*) 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); + ((TTQWidget*) QtSupport::getQt(env, obj))->setWindowState((uint) windowState); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showFullScreen(JNIEnv* env, jobject obj) { - ((TQWidget*) QtSupport::getQt(env, obj))->showFullScreen(); + ((TTQWidget*) QtSupport::getQt(env, obj))->showFullScreen(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMaximized(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showMinimized(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_showNormal(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_show(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_show(); + ((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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->sizeIncrement()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSizePolicy(((TTQWidget*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TTQSizePolicy", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidget*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->stackUnder((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQStyle *) &((TTQWidget*) QtSupport::getQt(env, obj))->style(), "org.kde.qt.TTQStyle"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_tabletEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabletEvent((TQTabletEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabletEvent((TTQTabletEvent*) 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((Qt::WFlags) f); + jint xret = (jint) ((TTQWidget*) 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((Qt::WState) s); + jint xret = (jint) ((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidget*) QtSupport::getQt(env, obj))->topLevelWidget(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->public_unsetCursor(); + ((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(); + ((TTQWidget*) 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(); + ((TTQWidget*) 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(); + ((TTQWidget*) QtSupport::getQt(env, obj))->updateGeometry(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_updateMask(JNIEnv* env, jobject obj) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); + ((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(); + ((TTQWidget*) 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); + ((TTQWidget*) 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)); + ((TTQWidget*) QtSupport::getQt(env, obj))->update((const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidget*) QtSupport::getQt(env, obj))->visibleRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) 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(); + jint xret = (jint) ((TTQWidget*) 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(); + jlong xret = (jlong) ((TTQWidget*) QtSupport::getQt(env, obj))->winId(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean oldActive) { - ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) 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(); + jdouble xret = (jdouble) ((TTQWidget*) 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(); + jint xret = (jint) ((TTQWidget*) 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(); + jint xret = (jint) ((TTQWidget*) 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(); + jint xret = (jint) ((TTQWidget*) 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); + return (jlong) (TTQPaintDevice*)(TTQWidget*) QtSupport::getQt(env, obj); } diff --git a/qtjava/javalib/qtjava/QWidget.h b/qtjava/javalib/qtjava/QWidget.h index 0892baaa..ecde511d 100644 --- a/qtjava/javalib/qtjava/QWidget.h +++ b/qtjava/javalib/qtjava/QWidget.h @@ -12,10 +12,10 @@ extern "C" 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_newQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidget_newQWidget__ (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); diff --git a/qtjava/javalib/qtjava/QWidgetItem.cpp b/qtjava/javalib/qtjava/QWidgetItem.cpp index a2e04565..6b511576 100644 --- a/qtjava/javalib/qtjava/QWidgetItem.cpp +++ b/qtjava/javalib/qtjava/QWidgetItem.cpp @@ -5,13 +5,13 @@ #include #include -#include +#include -class QWidgetItemJBridge : public QWidgetItem +class TQWidgetItemJBridge : public TQWidgetItem { public: - QWidgetItemJBridge(TQWidget* arg1) : TQWidgetItem(arg1) {}; - ~QWidgetItemJBridge() {QtSupport::qtKeyDeleted(this);} + TQWidgetItemJBridge(TTQWidget* arg1) : TTQWidgetItem(arg1) {}; + ~TQWidgetItemJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,15 +24,15 @@ Java_org_kde_qt_QWidgetItem_dispose(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QWidgetItem_expanding(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQWidgetItem*) QtSupport::getQt(env, obj))->expanding(); + jint xret = (jint) ((TTQWidgetItem*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQLayoutItem*)(TTQWidgetItem*)QtSupport::getQt(env, obj))->layout() == 0 && ((TTQLayoutItem*)(TTQWidgetItem*)QtSupport::getQt(env, obj))->widget() == 0 && ((TTQLayoutItem*)(TTQWidgetItem*)QtSupport::getQt(env, obj))->spacerItem() == 0) { + delete (TTQWidgetItem*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -41,21 +41,21 @@ Java_org_kde_qt_QWidgetItem_finalize(JNIEnv* env, jobject obj) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQWidgetItem*) QtSupport::getQt(env, obj))->geometry()), "org.kde.qt.TTQRect", 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(); + jboolean xret = (jboolean) ((TTQWidgetItem*) 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); + jint xret = (jint) ((TTQWidgetItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1); return xret; } @@ -68,29 +68,29 @@ Java_org_kde_qt_QWidgetItem_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWidgetItem_isEmpty(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQWidgetItem*) QtSupport::getQt(env, obj))->isEmpty(); + jboolean xret = (jboolean) ((TTQWidgetItem*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidgetItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.TTQSize", 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidgetItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetItem_newQWidgetItem(JNIEnv* env, jobject obj, jobject w) +Java_org_kde_qt_QWidgetItem_newTQWidgetItem(JNIEnv* env, jobject obj, jobject w) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetItemJBridge((TQWidget*) QtSupport::getQt(env, w))); + QtSupport::setQt(env, obj, new TQWidgetItemJBridge((TTQWidget*) QtSupport::getQt(env, w))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -99,21 +99,21 @@ Java_org_kde_qt_QWidgetItem_newQWidgetItem(JNIEnv* env, jobject obj, jobject w) 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)); + ((TTQWidgetItem*) QtSupport::getQt(env, obj))->setGeometry((const TTQRect&)*(const TTQRect*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidgetItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidgetItem*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QWidgetItem.h b/qtjava/javalib/qtjava/QWidgetItem.h index 5f56e9ff..5729cecd 100644 --- a/qtjava/javalib/qtjava/QWidgetItem.h +++ b/qtjava/javalib/qtjava/QWidgetItem.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetItem_newQWidgetItem (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QWidgetStack.cpp b/qtjava/javalib/qtjava/QWidgetStack.cpp index 7a9bad8a..bb98c111 100644 --- a/qtjava/javalib/qtjava/QWidgetStack.cpp +++ b/qtjava/javalib/qtjava/QWidgetStack.cpp @@ -6,381 +6,381 @@ #include #include -#include +#include -class QWidgetStackJBridge : public QWidgetStack +class TQWidgetStackJBridge : public TQWidgetStack { public: - QWidgetStackJBridge(TQWidget* arg1,const char* arg2) : TQWidgetStack(arg1,arg2) {}; - QWidgetStackJBridge(TQWidget* arg1) : TQWidgetStack(arg1) {}; - QWidgetStackJBridge() : TQWidgetStack() {}; - QWidgetStackJBridge(TQWidget* arg1,const char* arg2,Qt::WFlags arg3) : TQWidgetStack(arg1,arg2,arg3) {}; + TQWidgetStackJBridge(TTQWidget* arg1,const char* arg2) : TTQWidgetStack(arg1,arg2) {}; + TQWidgetStackJBridge(TTQWidget* arg1) : TTQWidgetStack(arg1) {}; + TQWidgetStackJBridge() : TTQWidgetStack() {}; + TQWidgetStackJBridge(TTQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TTQWidgetStack(arg1,arg2,arg3) {}; void protected_frameChanged() { - TQWidgetStack::frameChanged(); + TTQWidgetStack::frameChanged(); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWidgetStack::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQWidgetStack::resizeEvent(arg1); return; } void protected_setChildGeometries() { - TQWidgetStack::setChildGeometries(); + TTQWidgetStack::setChildGeometries(); return; } - void protected_childEvent(TQChildEvent* arg1) { - TQWidgetStack::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQWidgetStack::childEvent(arg1); return; } - ~QWidgetStackJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); + ~TQWidgetStackJBridge() {QtSupport::qtKeyDeleted(this);} + void drawContents(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawContents(arg1); } return; } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidgetStack::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWidgetStack::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setChildGeometries() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","setChildGeometries")) { - TQWidgetStack::setChildGeometries(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","setChildGeometries")) { + TTQWidgetStack::setChildGeometries(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); + void drawFrame(TTQPainter* arg1) { + if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TTQPainter")) { + TTQFrame::drawFrame(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","hide")) { + TTQWidget::hide(); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQFrame::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQWidgetStack::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQWidgetStack::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQWidgetStack",object,event)) { - return TQObject::eventFilter(object,event); + bool eventFilter(TTQObject* object,TTQEvent* event) { + if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TTQWidgetStack",object,event)) { + return TTQObject::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); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWidgetStack","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWidgetStack","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -389,21 +389,21 @@ public: 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)); + jint xret = (jint) ((TTQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) 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); + jint xret = (jint) ((TTQWidgetStack*) QtSupport::getQt(env, obj))->addWidget((TTQWidget*) QtSupport::getQt(env, arg1), (int) arg2); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) QtSupport::getQt(env, arg1)); return; } @@ -411,7 +411,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQWidgetStack*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQWidgetStack*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -425,8 +425,8 @@ Java_org_kde_qt_QWidgetStack_dispose(JNIEnv* env, jobject obj) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQWidgetStack*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQWidgetStack*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -435,14 +435,14 @@ Java_org_kde_qt_QWidgetStack_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_frameChanged(JNIEnv* env, jobject obj) { - ((QWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged(); + ((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)); + jint xret = (jint) ((TTQWidgetStack*) QtSupport::getQt(env, obj))->id((TTQWidget*) QtSupport::getQt(env, arg1)); return xret; } @@ -455,54 +455,54 @@ Java_org_kde_qt_QWidgetStack_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidgetStack*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidgetStack*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newQWidgetStack__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QWidgetStack_newTQWidgetStack__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetStackJBridge()); + QtSupport::setQt(env, obj, new TQWidgetStackJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newQWidgetStack__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQWidgetStackJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQWidgetStackJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWidgetStack_newQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWidgetStackJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQWidgetStackJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -511,91 +511,91 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_raiseWidget__I(JNIEnv* env, jobject obj, jint arg1) { - ((TQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((int) arg1); + ((TTQWidgetStack*) 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)); + ((TTQWidgetStack*) QtSupport::getQt(env, obj))->raiseWidget((TTQWidget*) 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)); + ((TTQWidgetStack*) QtSupport::getQt(env, obj))->removeWidget((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_setChildGeometries(JNIEnv* env, jobject obj) { - ((QWidgetStackJBridge*) QtSupport::getQt(env, obj))->protected_setChildGeometries(); + ((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)); + ((TTQWidgetStack*) QtSupport::getQt(env, obj))->setFrameRect((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_show(JNIEnv* env, jobject obj) { - ((TQWidgetStack*) QtSupport::getQt(env, obj))->show(); + ((TTQWidgetStack*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWidgetStack*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QWidgetStack_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QWidgetStackJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidgetStack*) QtSupport::getQt(env, obj))->visibleWidget(), "org.kde.qt.TTQWidget"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWidgetStack*) QtSupport::getQt(env, obj))->widget((int) arg1), "org.kde.qt.TTQWidget"); return xret; } diff --git a/qtjava/javalib/qtjava/QWidgetStack.h b/qtjava/javalib/qtjava/QWidgetStack.h index db5a401b..7e783e56 100644 --- a/qtjava/javalib/qtjava/QWidgetStack.h +++ b/qtjava/javalib/qtjava/QWidgetStack.h @@ -12,10 +12,10 @@ extern "C" 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_newQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newQWidgetStack__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newQWidgetStack__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWidgetStack_newQWidgetStack__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); +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); diff --git a/qtjava/javalib/qtjava/QWizard.cpp b/qtjava/javalib/qtjava/QWizard.cpp index 05933c1d..46936a5e 100644 --- a/qtjava/javalib/qtjava/QWizard.cpp +++ b/qtjava/javalib/qtjava/QWizard.cpp @@ -5,403 +5,403 @@ #include #include -#include +#include -class QWizardJBridge : public QWizard +class TQWizardJBridge : public TQWizard { public: - QWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3,Qt::WFlags arg4) : TQWizard(arg1,arg2,arg3,arg4) {}; - QWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TQWizard(arg1,arg2,arg3) {}; - QWizardJBridge(TQWidget* arg1,const char* arg2) : TQWizard(arg1,arg2) {}; - QWizardJBridge(TQWidget* arg1) : TQWizard(arg1) {}; - QWizardJBridge() : TQWizard() {}; - void protected_layOutButtonRow(TQHBoxLayout* arg1) { - TQWizard::layOutButtonRow(arg1); + TQWizardJBridge(TTQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : TTQWizard(arg1,arg2,arg3,arg4) {}; + TQWizardJBridge(TTQWidget* arg1,const char* arg2,bool arg3) : TTQWizard(arg1,arg2,arg3) {}; + TQWizardJBridge(TTQWidget* arg1,const char* arg2) : TTQWizard(arg1,arg2) {}; + TQWizardJBridge(TTQWidget* arg1) : TTQWizard(arg1) {}; + TQWizardJBridge() : TTQWizard() {}; + void protected_layOutButtonRow(TTQHBoxLayout* arg1) { + TTQWizard::layOutButtonRow(arg1); return; } - void protected_layOutTitleRow(TQHBoxLayout* arg1,const TQString& arg2) { - TQWizard::layOutTitleRow(arg1,arg2); + void protected_layOutTitleRow(TTQHBoxLayout* arg1,const TTQString& arg2) { + TTQWizard::layOutTitleRow(arg1,arg2); return; } void protected_back() { - TQWizard::back(); + TTQWizard::back(); return; } void protected_next() { - TQWizard::next(); + TTQWizard::next(); return; } void protected_help() { - TQWizard::help(); + TTQWizard::help(); return; } - ~QWizardJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQWizardJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::removePage(arg1); + void removePage(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWizard::removePage(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQDialog::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","accept")) { - TQDialog::accept(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","accept")) { + TTQDialog::accept(); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); + void styleChange(TTQStyle& arg1) { + if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TTQStyle")) { + TTQWidget::styleChange(arg1); } return; } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); + void setPaletteBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setPaletteBackgroundColor(arg1); } return; } void next() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","next")) { - TQWizard::next(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","next")) { + TTQWizard::next(); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWidget::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWidget::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQDialog::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); + void setPaletteBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setPaletteBackgroundPixmap(arg1); } return; } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQDialog::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQDialog::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } void back() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","back")) { - TQWizard::back(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","back")) { + TTQWizard::back(); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::showPage(arg1); + void showPage(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWizard::showPage(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWidget::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","reject")) { - TQDialog::reject(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","reject")) { + TTQDialog::reject(); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQDialog::contextMenuEvent(arg1); } return; } void help() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","help")) { - TQWizard::help(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","help")) { + TTQWizard::help(); } return; } - void layOutButtonRow(TQHBoxLayout* arg1) { - if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TQHBoxLayout")) { - TQWizard::layOutButtonRow(arg1); + void layOutButtonRow(TTQHBoxLayout* arg1) { + if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TTQHBoxLayout")) { + TTQWizard::layOutButtonRow(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWizard","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWizard","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -410,36 +410,36 @@ public: 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQWizard*) QtSupport::getQt(env, obj))->addPage((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQWizard*) QtSupport::getQt(env, obj))->appropriate((TTQWidget*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->backButton(), "org.kde.qt.TTQPushButton"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_back(JNIEnv* env, jobject obj) { - ((QWizardJBridge*) QtSupport::getQt(env, obj))->protected_back(); + ((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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->cancelButton(), "org.kde.qt.TTQPushButton"); return xret; } @@ -447,14 +447,14 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QWizard_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQWizard*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQWizard*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->currentPage(), "org.kde.qt.TTQWidget"); return xret; } @@ -468,15 +468,15 @@ Java_org_kde_qt_QWizard_dispose(JNIEnv* env, jobject obj) 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)); + jboolean xret = (jboolean) ((TTQWizard*) QtSupport::getQt(env, obj))->eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQWizard*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQWizard*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -485,36 +485,36 @@ Java_org_kde_qt_QWizard_finalize(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->finishButton(), "org.kde.qt.TTQPushButton"); 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->helpButton(), "org.kde.qt.TTQPushButton"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_help(JNIEnv* env, jobject obj) { - ((QWizardJBridge*) QtSupport::getQt(env, obj))->protected_help(); + ((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)); + jint xret = (jint) ((TTQWizard*) QtSupport::getQt(env, obj))->indexOf((TTQWidget*) 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::toQString(env, arg2, &_qstring_arg2), (int) arg3); +static TTQString* _qstring_arg2 = 0; + ((TTQWizard*) QtSupport::getQt(env, obj))->insertPage((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) arg3); return; } @@ -527,73 +527,73 @@ Java_org_kde_qt_QWizard_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_layOutButtonRow(JNIEnv* env, jobject obj, jobject arg1) { - ((QWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutButtonRow((TQHBoxLayout*) QtSupport::getQt(env, arg1)); + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutButtonRow((TTQHBoxLayout*) 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; - ((QWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutTitleRow((TQHBoxLayout*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TQWizardJBridge*) QtSupport::getQt(env, obj))->protected_layOutTitleRow((TTQHBoxLayout*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newQWizard__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QWizard_newTQWizard__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWizardJBridge()); + QtSupport::setQt(env, obj, new TQWizardJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QWizardJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQWizardJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQWizardJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); + QtSupport::setQt(env, obj, new TQWizardJBridge((TTQWidget*) 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_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (Qt::WFlags) f)); + QtSupport::setQt(env, obj, new TQWizardJBridge((TTQWidget*) 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; @@ -602,149 +602,149 @@ static TQCString* _qstring_name = 0; 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->nextButton(), "org.kde.qt.TTQPushButton"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_next(JNIEnv* env, jobject obj) { - ((QWizardJBridge*) QtSupport::getQt(env, obj))->protected_next(); + ((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(); + jint xret = (jint) ((TTQWizard*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWizard*) QtSupport::getQt(env, obj))->page((int) arg1), "org.kde.qt.TTQWidget"); 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)); + ((TTQWizard*) QtSupport::getQt(env, obj))->removePage((TTQWidget*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setAppropriate((TTQWidget*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setBackEnabled((TTQWidget*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setFinishEnabled((TTQWidget*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setFinish((TTQWidget*) 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)); + ((TTQWizard*) QtSupport::getQt(env, obj))->setFont((const TTQFont&)*(const TTQFont*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setHelpEnabled((TTQWidget*) 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); + ((TTQWizard*) QtSupport::getQt(env, obj))->setNextEnabled((TTQWidget*) 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)); + ((TTQWizard*) QtSupport::getQt(env, obj))->setTitleFont((const TTQFont&)*(const TTQFont*) 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::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg2 = 0; + ((TTQWizard*) QtSupport::getQt(env, obj))->setTitle((TTQWidget*) QtSupport::getQt(env, arg1), (const TTQString&)*(TTQString*) 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)); + ((TTQWizard*) QtSupport::getQt(env, obj))->showPage((TTQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_show(JNIEnv* env, jobject obj) { - ((TQWizard*) QtSupport::getQt(env, obj))->show(); + ((TTQWizard*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQWizard*) QtSupport::getQt(env, obj))->titleFont()), "org.kde.qt.TTQFont", 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQWizard*) QtSupport::getQt(env, obj))->title((TTQWidget*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QWizardJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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 index 33b950c0..c4b7ef8b 100644 --- a/qtjava/javalib/qtjava/QWizard.h +++ b/qtjava/javalib/qtjava/QWizard.h @@ -12,11 +12,11 @@ extern "C" 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_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newQWizard__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWizard_newQWizard__ (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); diff --git a/qtjava/javalib/qtjava/QWorkspace.cpp b/qtjava/javalib/qtjava/QWorkspace.cpp index a127c512..a7cca89e 100644 --- a/qtjava/javalib/qtjava/QWorkspace.cpp +++ b/qtjava/javalib/qtjava/QWorkspace.cpp @@ -8,360 +8,360 @@ #include #include -#include +#include -class QWorkspaceJBridge : public QWorkspace +class TQWorkspaceJBridge : public TQWorkspace { public: - QWorkspaceJBridge(TQWidget* arg1,const char* arg2) : TQWorkspace(arg1,arg2) {}; - QWorkspaceJBridge(TQWidget* arg1) : TQWorkspace(arg1) {}; - QWorkspaceJBridge() : TQWorkspace() {}; - void protected_styleChange(TQStyle& arg1) { - TQWorkspace::styleChange(arg1); + TQWorkspaceJBridge(TTQWidget* arg1,const char* arg2) : TTQWorkspace(arg1,arg2) {}; + TQWorkspaceJBridge(TTQWidget* arg1) : TTQWorkspace(arg1) {}; + TQWorkspaceJBridge() : TTQWorkspace() {}; + void protected_styleChange(TTQStyle& arg1) { + TTQWorkspace::styleChange(arg1); return; } - void protected_childEvent(TQChildEvent* arg1) { - TQWorkspace::childEvent(arg1); + void protected_childEvent(TTQChildEvent* arg1) { + TTQWorkspace::childEvent(arg1); return; } - void protected_resizeEvent(TQResizeEvent* arg1) { - TQWorkspace::resizeEvent(arg1); + void protected_resizeEvent(TTQResizeEvent* arg1) { + TTQWorkspace::resizeEvent(arg1); return; } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TQWorkspace::eventFilter(arg1,arg2); + bool protected_eventFilter(TTQObject* arg1,TTQEvent* arg2) { + return (bool) TTQWorkspace::eventFilter(arg1,arg2); } - void protected_showEvent(TQShowEvent* arg1) { - TQWorkspace::showEvent(arg1); + void protected_showEvent(TTQShowEvent* arg1) { + TTQWorkspace::showEvent(arg1); return; } - void protected_hideEvent(TQHideEvent* arg1) { - TQWorkspace::hideEvent(arg1); + void protected_hideEvent(TTQHideEvent* arg1) { + TTQWorkspace::hideEvent(arg1); return; } - void protected_wheelEvent(TQWheelEvent* arg1) { - TQWorkspace::wheelEvent(arg1); + void protected_wheelEvent(TTQWheelEvent* arg1) { + TTQWorkspace::wheelEvent(arg1); return; } - ~QWorkspaceJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); + ~TQWorkspaceJBridge() {QtSupport::qtKeyDeleted(this);} + void dragLeaveEvent(TTQDragLeaveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TTQDragLeaveEvent")) { + TTQWidget::dragLeaveEvent(arg1); } return; } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); + void setMask(const TTQRegion& arg1) { + if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TTQRegion")) { + TTQWidget::setMask(arg1); } return; } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWorkspace::resizeEvent(arg1); + void resizeEvent(TTQResizeEvent* arg1) { + if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TTQResizeEvent")) { + TTQWorkspace::resizeEvent(arg1); } return; } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); + void mouseDoubleClickEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseDoubleClickEvent(arg1); } return; } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); + void paletteChange(const TTQPalette& arg1) { + if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TTQPalette")) { + TTQWidget::paletteChange(arg1); } return; } void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","setActiveWindow")) { - TQWidget::setActiveWindow(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","setActiveWindow")) { + TTQWidget::setActiveWindow(); } return; } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); + void dragEnterEvent(TTQDragEnterEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TTQDragEnterEvent")) { + TTQWidget::dragEnterEvent(arg1); } return; } void show() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","show")) { - TQWidget::show(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","show")) { + TTQWidget::show(); } return; } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); + void focusOutEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusOutEvent(arg1); } return; } void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","setFocus")) { - TQWidget::setFocus(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","setFocus")) { + TTQWidget::setFocus(); } return; } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); + void dragMoveEvent(TTQDragMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TTQDragMoveEvent")) { + TTQWidget::dragMoveEvent(arg1); } return; } void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","hide")) { - TQWidget::hide(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","hide")) { + TTQWidget::hide(); } return; } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); + void setEraseColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setEraseColor(arg1); } return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); + void paintEvent(TTQPaintEvent* arg1) { + if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TTQPaintEvent")) { + TTQWidget::paintEvent(arg1); } return; } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); + void imStartEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imStartEvent(arg1); } return; } void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","unsetCursor")) { - TQWidget::unsetCursor(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","unsetCursor")) { + TTQWidget::unsetCursor(); } return; } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWorkspace::hideEvent(arg1); + void hideEvent(TTQHideEvent* arg1) { + if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TTQHideEvent")) { + TTQWorkspace::hideEvent(arg1); } return; } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); + void moveEvent(TTQMoveEvent* arg1) { + if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TTQMoveEvent")) { + TTQWidget::moveEvent(arg1); } return; } void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","polish")) { - TQWidget::polish(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","polish")) { + TTQWidget::polish(); } return; } void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","showMaximized")) { - TQWidget::showMaximized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","showMaximized")) { + TTQWidget::showMaximized(); } return; } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); + void setBackgroundPixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setBackgroundPixmap(arg1); } return; } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWorkspace::showEvent(arg1); + void showEvent(TTQShowEvent* arg1) { + if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TTQShowEvent")) { + TTQWorkspace::showEvent(arg1); } return; } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); + void keyPressEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::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); + void setCursor(const TTQCursor& arg1) { + if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TTQCursor")) { + TTQWidget::setCursor(arg1); } return; } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - TQWidget::closeEvent(arg1); + void closeEvent(TTQCloseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TTQCloseEvent")) { + TTQWidget::closeEvent(arg1); } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); + void enterEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::enterEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseReleaseEvent(arg1); + void mouseReleaseEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseReleaseEvent(arg1); } return; } - void setErasePixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setErasePixmap(arg1); + void setErasePixmap(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setErasePixmap(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQWorkspace::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQWorkspace::childEvent(arg1); } return; } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); + void dropEvent(TTQDropEvent* arg1) { + if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TTQDropEvent")) { + TTQWidget::dropEvent(arg1); } return; } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); + void leaveEvent(TTQEvent* arg1) { + if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TTQEvent")) { + TTQWidget::leaveEvent(arg1); } return; } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); + void setIcon(const TTQPixmap& arg1) { + if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TTQPixmap")) { + TTQWidget::setIcon(arg1); } return; } void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","updateMask")) { - TQWidget::updateMask(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","updateMask")) { + TTQWidget::updateMask(); } return; } void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","showNormal")) { - TQWidget::showNormal(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","showNormal")) { + TTQWidget::showNormal(); } return; } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); + void imComposeEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imComposeEvent(arg1); } return; } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); + void mousePressEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mousePressEvent(arg1); } return; } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); + void mouseMoveEvent(TTQMouseEvent* arg1) { + if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TTQMouseEvent")) { + TTQWidget::mouseMoveEvent(arg1); } return; } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); + void setFocusProxy(TTQWidget* arg1) { + if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TTQWidget")) { + TTQWidget::setFocusProxy(arg1); } return; } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); + void fontChange(const TTQFont& arg1) { + if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TTQFont")) { + TTQWidget::fontChange(arg1); } return; } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); + void setBackgroundColor(const TTQColor& arg1) { + if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TTQColor")) { + TTQWidget::setBackgroundColor(arg1); } return; } void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","adjustSize")) { - TQWidget::adjustSize(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","adjustSize")) { + TTQWidget::adjustSize(); } return; } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWorkspace::wheelEvent(arg1); + void wheelEvent(TTQWheelEvent* arg1) { + if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TTQWheelEvent")) { + TTQWorkspace::wheelEvent(arg1); } return; } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); + void imEndEvent(TTQIMEvent* arg1) { + if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TTQIMEvent")) { + TTQWidget::imEndEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); + void focusInEvent(TTQFocusEvent* arg1) { + if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TTQFocusEvent")) { + TTQWidget::focusInEvent(arg1); } return; } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); + void tabletEvent(TTQTabletEvent* arg1) { + if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TTQTabletEvent")) { + TTQWidget::tabletEvent(arg1); } return; } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); + void keyReleaseEvent(TTQKeyEvent* arg1) { + if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TTQKeyEvent")) { + TTQWidget::keyReleaseEvent(arg1); } return; } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); + void contextMenuEvent(TTQContextMenuEvent* arg1) { + if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TTQContextMenuEvent")) { + TTQWidget::contextMenuEvent(arg1); } return; } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); + void setGeometry(const TTQRect& arg1) { + if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TTQRect")) { + TTQWidget::setGeometry(arg1); } return; } void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.qt.TQWorkspace","showMinimized")) { - TQWidget::showMinimized(); + if (!QtSupport::voidDelegate(this,"org.kde.qt.TTQWorkspace","showMinimized")) { + TTQWidget::showMinimized(); } return; } @@ -370,35 +370,35 @@ public: JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_activateNextWindow(JNIEnv* env, jobject obj) { - ((TQWorkspace*) QtSupport::getQt(env, obj))->activateNextWindow(); + ((TTQWorkspace*) 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(); + ((TTQWorkspace*) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWorkspace*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.qt.TTQWidget"); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_cascade(JNIEnv* env, jobject obj) { - ((TQWorkspace*) QtSupport::getQt(env, obj))->cascade(); + ((TTQWorkspace*) QtSupport::getQt(env, obj))->cascade(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_childEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, arg1)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TTQChildEvent*) QtSupport::getQt(env, arg1)); return; } @@ -406,21 +406,21 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QWorkspace_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQWorkspace*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TTQWorkspace*) 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(); + ((TTQWorkspace*) 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(); + ((TTQWorkspace*) QtSupport::getQt(env, obj))->closeAllWindows(); return; } @@ -434,15 +434,15 @@ Java_org_kde_qt_QWorkspace_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWorkspace_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) { - jboolean xret = (jboolean) ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TTQObject*) QtSupport::getQt(env, arg1), (TTQEvent*) 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); + if (QtSupport::allocatedInJavaWorld(env, obj) && ((TTQWidget*)(TTQWorkspace*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { + delete (TTQWorkspace*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -451,7 +451,7 @@ Java_org_kde_qt_QWorkspace_finalize(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_hideEvent(JNIEnv* env, jobject obj, jobject e) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TTQHideEvent*) QtSupport::getQt(env, e)); return; } @@ -464,36 +464,36 @@ Java_org_kde_qt_QWorkspace_isDisposed(JNIEnv* env, jobject obj) 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"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQWorkspace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newQWorkspace__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QWorkspace_newTQWorkspace__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWorkspaceJBridge()); + QtSupport::setQt(env, obj, new TQWorkspaceJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newQWorkspace__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) +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 QWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new TQWorkspaceJBridge((TTQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QWorkspace_newQWorkspace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) +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; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QWorkspaceJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQWorkspaceJBridge((TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -502,107 +502,107 @@ static TQCString* _qstring_name = 0; JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TTQResizeEvent*) 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(); + jboolean xret = (jboolean) ((TTQWorkspace*) 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)); + ((TTQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TTQColor&)*(const TTQColor*) 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)); + ((TTQWorkspace*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TTQPixmap&)*(const TTQPixmap*) 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); + ((TTQWorkspace*) QtSupport::getQt(env, obj))->setScrollBarsEnabled((bool) enable); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_showEvent(JNIEnv* env, jobject obj, jobject e) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TTQShowEvent*) 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); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQWorkspace*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_styleChange(JNIEnv* env, jobject obj, jobject arg1) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TTQStyle&)*(TTQStyle*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_tile(JNIEnv* env, jobject obj) { - ((TQWorkspace*) QtSupport::getQt(env, obj))->tile(); + ((TTQWorkspace*) 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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; - _qstring = QWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _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; + TTQString _qstring; (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = QWorkspaceJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromQString(env, &_qstring); +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _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) { - ((QWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); + ((TQWorkspaceJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TTQWheelEvent*) 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::arrayWithQWidgetList(env, (TQWidgetList*) &_qlist); + TTQWidgetList _qlist; + _qlist = ((TTQWorkspace*) QtSupport::getQt(env, obj))->windowList(); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TTQWidgetList*) &_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::arrayWithQWidgetList(env, (TQWidgetList*) &_qlist); + TTQWidgetList _qlist; + _qlist = ((TTQWorkspace*) QtSupport::getQt(env, obj))->windowList((TTQWorkspace::WindowOrder) order); + return (jobject) QtSupport::arrayWithTQWidgetList(env, (TTQWidgetList*) &_qlist); } diff --git a/qtjava/javalib/qtjava/QWorkspace.h b/qtjava/javalib/qtjava/QWorkspace.h index 8d7ca6db..3a88baac 100644 --- a/qtjava/javalib/qtjava/QWorkspace.h +++ b/qtjava/javalib/qtjava/QWorkspace.h @@ -12,9 +12,9 @@ extern "C" 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_newQWorkspace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newQWorkspace__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QWorkspace_newQWorkspace__ (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); diff --git a/qtjava/javalib/qtjava/QXmlAttributes.cpp b/qtjava/javalib/qtjava/QXmlAttributes.cpp index 19a83fef..66552474 100644 --- a/qtjava/javalib/qtjava/QXmlAttributes.cpp +++ b/qtjava/javalib/qtjava/QXmlAttributes.cpp @@ -3,37 +3,37 @@ #include #include -#include +#include -class QXmlAttributesJBridge : public QXmlAttributes +class TQXmlAttributesJBridge : public TQXmlAttributes { public: - QXmlAttributesJBridge() : TQXmlAttributes() {}; - ~QXmlAttributesJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlAttributesJBridge() : TTQXmlAttributes() {}; + ~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::toQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toQString(env, localPart, &_qstring_localPart), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_qName = 0; +static TTQString* _qstring_uri = 0; +static TTQString* _qstring_localPart = 0; +static TTQString* _qstring_value = 0; + ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->append((const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart), (const TTQString&)*(TTQString*) 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(); + ((TTQXmlAttributes*) 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(); + jint xret = (jint) ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -48,7 +48,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlAttributes*)QtSupport::getQt(env, obj); + delete (TTQXmlAttributes*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -57,17 +57,17 @@ Java_org_kde_qt_QXmlAttributes_finalize(JNIEnv* env, jobject obj) 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::toQString(env, qName, &_qstring_qName)); +static TTQString* _qstring_qName = 0; + jint xret = (jint) ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TTQString&)*(TTQString*) 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::toQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toQString(env, localPart, &_qstring_localPart)); +static TTQString* _qstring_uri = 0; +static TTQString* _qstring_localPart = 0; + jint xret = (jint) ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->index((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localPart, &_qstring_localPart)); return xret; } @@ -80,23 +80,23 @@ Java_org_kde_qt_QXmlAttributes_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlAttributes_length(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQXmlAttributes*) QtSupport::getQt(env, obj))->length(); + jint xret = (jint) ((TTQXmlAttributes*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->localName((int) index); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlAttributes_newQXmlAttributes(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlAttributes_newTQXmlAttributes(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlAttributesJBridge()); + QtSupport::setQt(env, obj, new TQXmlAttributesJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -105,70 +105,70 @@ Java_org_kde_qt_QXmlAttributes_newQXmlAttributes(JNIEnv* env, jobject obj) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlAttributes*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlAttributes*) 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::toQString(env, qName, &_qstring_qName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_qName = 0; + _qstring = ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TTQString&)*(TTQString*) 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::toQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_uri = 0; +static TTQString* _qstring_localName = 0; + _qstring = ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->type((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlAttributes*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlAttributes*) 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::toQString(env, qName, &_qstring_qName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_qName = 0; + _qstring = ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) 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::toQString(env, uri, &_qstring_uri), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_uri = 0; +static TTQString* _qstring_localName = 0; + _qstring = ((TTQXmlAttributes*) QtSupport::getQt(env, obj))->value((const TTQString&)*(TTQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TTQString&)*(TTQString*) 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 index 48ab084a..d29d02f5 100644 --- a/qtjava/javalib/qtjava/QXmlAttributes.h +++ b/qtjava/javalib/qtjava/QXmlAttributes.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlAttributes_newQXmlAttributes (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QXmlContentHandler.cpp b/qtjava/javalib/qtjava/QXmlContentHandler.cpp index 64ab8946..3f7df853 100644 --- a/qtjava/javalib/qtjava/QXmlContentHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlContentHandler.cpp @@ -3,104 +3,104 @@ #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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->characters((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQXmlContentHandler*) 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::toQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName)); +static TTQString* _qstring_namespaceURI = 0; +static TTQString* _qstring_localName = 0; +static TTQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->endElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix)); +static TTQString* _qstring_prefix = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlContentHandler*) 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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TTQString&)*(TTQString*) 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::toQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data)); +static TTQString* _qstring_target = 0; +static TTQString* _qstring_data = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TTQString&)*(TTQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TTQString&)*(TTQString*) 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)); + ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TTQXmlLocator*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQXmlContentHandler*) 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::toQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); +static TTQString* _qstring_namespaceURI = 0; +static TTQString* _qstring_localName = 0; +static TTQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->startElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQXmlAttributes&)*(const TTQXmlAttributes*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, uri, &_qstring_uri)); +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_uri = 0; + jboolean xret = (jboolean) ((TTQXmlContentHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlDTDHandler.cpp b/qtjava/javalib/qtjava/QXmlDTDHandler.cpp index 21b0490d..de988828 100644 --- a/qtjava/javalib/qtjava/QXmlDTDHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlDTDHandler.cpp @@ -3,34 +3,34 @@ #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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlDTDHandler*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDTDHandler*) QtSupport::getQt(env, obj))->notationDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toQString(env, notationName, &_qstring_notationName)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; +static TTQString* _qstring_notationName = 0; + jboolean xret = (jboolean) ((TTQXmlDTDHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, notationName, &_qstring_notationName)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlDeclHandler.cpp b/qtjava/javalib/qtjava/QXmlDeclHandler.cpp index f92fada6..987cd2f0 100644 --- a/qtjava/javalib/qtjava/QXmlDeclHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlDeclHandler.cpp @@ -3,44 +3,44 @@ #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::toQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_eName = 0; +static TTQString* _qstring_aName = 0; +static TTQString* _qstring_type = 0; +static TTQString* _qstring_valueDefault = 0; +static TTQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TTQXmlDeclHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlDeclHandler*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDeclHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TTQXmlDeclHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, value, &_qstring_value)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp b/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp index 3a28a313..3455a1f7 100644 --- a/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlDefaultHandler.cpp @@ -3,40 +3,40 @@ #include #include -#include +#include -class QXmlDefaultHandlerJBridge : public QXmlDefaultHandler +class TQXmlDefaultHandlerJBridge : public TQXmlDefaultHandler { public: - QXmlDefaultHandlerJBridge() : TQXmlDefaultHandler() {}; - ~QXmlDefaultHandlerJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlDefaultHandlerJBridge() : TTQXmlDefaultHandler() {}; + ~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::toQString(env, eName, &_qstring_eName), (const TQString&)*(TQString*) QtSupport::toQString(env, aName, &_qstring_aName), (const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toQString(env, valueDefault, &_qstring_valueDefault), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_eName = 0; +static TTQString* _qstring_aName = 0; +static TTQString* _qstring_type = 0; +static TTQString* _qstring_valueDefault = 0; +static TTQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->attributeDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, eName, &_qstring_eName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, aName, &_qstring_aName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, valueDefault, &_qstring_valueDefault), (const TTQString&)*(TTQString*) 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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->characters((const TTQString&)*(TTQString*) 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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->comment((const TTQString&)*(TTQString*) QtSupport::toTQString(env, ch, &_qstring_ch)); return xret; } @@ -50,79 +50,79 @@ Java_org_kde_qt_QXmlDefaultHandler_dispose(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlDefaultHandler_endCDATA(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endCDATA(); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) 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(); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) 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(); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) 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::toQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName)); +static TTQString* _qstring_namespaceURI = 0; +static TTQString* _qstring_localName = 0; +static TTQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endEntity((const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix)); +static TTQString* _qstring_prefix = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->endPrefixMapping((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlDefaultHandler*) 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)); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->error((const TTQXmlParseException&)*(const TTQXmlParseException*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->externalEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->fatalError((const TTQXmlParseException&)*(const TTQXmlParseException*) QtSupport::getQt(env, exception)); return xret; } @@ -130,7 +130,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlDefaultHandler*)QtSupport::getQt(env, obj); + delete (TTQXmlDefaultHandler*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -139,17 +139,17 @@ Java_org_kde_qt_QXmlDefaultHandler_finalize(JNIEnv* env, jobject obj) 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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->ignorableWhitespace((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_value = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->internalEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, value, &_qstring_value)); return xret; } @@ -160,10 +160,10 @@ Java_org_kde_qt_QXmlDefaultHandler_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlDefaultHandler_newQXmlDefaultHandler(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlDefaultHandler_newTQXmlDefaultHandler(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlDefaultHandlerJBridge()); + QtSupport::setQt(env, obj, new TQXmlDefaultHandlerJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -172,112 +172,112 @@ Java_org_kde_qt_QXmlDefaultHandler_newQXmlDefaultHandler(JNIEnv* env, jobject ob 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->notationDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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::toQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toQString(env, data, &_qstring_data)); +static TTQString* _qstring_target = 0; +static TTQString* _qstring_data = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->processingInstruction((const TTQString&)*(TTQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TTQString&)*(TTQString*) 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::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->resolveEntity((const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TTQXmlInputSource*&)*(TTQXmlInputSource*) 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)); + ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->setDocumentLocator((TTQXmlLocator*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->skippedEntity((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startDTD((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) 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::toQString(env, namespaceURI, &_qstring_namespaceURI), (const TQString&)*(TQString*) QtSupport::toQString(env, localName, &_qstring_localName), (const TQString&)*(TQString*) QtSupport::toQString(env, qName, &_qstring_qName), (const TQXmlAttributes&)*(const TQXmlAttributes*) QtSupport::getQt(env, atts)); +static TTQString* _qstring_namespaceURI = 0; +static TTQString* _qstring_localName = 0; +static TTQString* _qstring_qName = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startElement((const TTQString&)*(TTQString*) QtSupport::toTQString(env, namespaceURI, &_qstring_namespaceURI), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, localName, &_qstring_localName), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TTQXmlAttributes&)*(const TTQXmlAttributes*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startEntity((const TTQString&)*(TTQString*) 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::toQString(env, prefix, &_qstring_prefix), (const TQString&)*(TQString*) QtSupport::toQString(env, uri, &_qstring_uri)); +static TTQString* _qstring_prefix = 0; +static TTQString* _qstring_uri = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->startPrefixMapping((const TTQString&)*(TTQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId), (const TQString&)*(TQString*) QtSupport::toQString(env, notationName, &_qstring_notationName)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; +static TTQString* _qstring_notationName = 0; + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->unparsedEntityDecl((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (const TTQString&)*(TTQString*) 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)); + jboolean xret = (jboolean) ((TTQXmlDefaultHandler*) QtSupport::getQt(env, obj))->warning((const TTQXmlParseException&)*(const TTQXmlParseException*) QtSupport::getQt(env, exception)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlDefaultHandler.h b/qtjava/javalib/qtjava/QXmlDefaultHandler.h index 8b77847a..b00a996d 100644 --- a/qtjava/javalib/qtjava/QXmlDefaultHandler.h +++ b/qtjava/javalib/qtjava/QXmlDefaultHandler.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlDefaultHandler_newQXmlDefaultHandler (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QXmlEntityResolver.cpp b/qtjava/javalib/qtjava/QXmlEntityResolver.cpp index 471e2847..13072260 100644 --- a/qtjava/javalib/qtjava/QXmlEntityResolver.cpp +++ b/qtjava/javalib/qtjava/QXmlEntityResolver.cpp @@ -3,22 +3,22 @@ #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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlEntityResolver*) 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::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId), (TQXmlInputSource*&)*(TQXmlInputSource*) QtSupport::getQt(env, ret)); +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlEntityResolver*) QtSupport::getQt(env, obj))->resolveEntity((const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, systemId, &_qstring_systemId), (TTQXmlInputSource*&)*(TTQXmlInputSource*) QtSupport::getQt(env, ret)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlErrorHandler.cpp b/qtjava/javalib/qtjava/QXmlErrorHandler.cpp index c13ec2de..dfa930d7 100644 --- a/qtjava/javalib/qtjava/QXmlErrorHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlErrorHandler.cpp @@ -3,34 +3,34 @@ #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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlErrorHandler*) 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)); + jboolean xret = (jboolean) ((TTQXmlErrorHandler*) QtSupport::getQt(env, obj))->error((const TTQXmlParseException&)*(const TTQXmlParseException*) 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)); + jboolean xret = (jboolean) ((TTQXmlErrorHandler*) QtSupport::getQt(env, obj))->fatalError((const TTQXmlParseException&)*(const TTQXmlParseException*) 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)); + jboolean xret = (jboolean) ((TTQXmlErrorHandler*) QtSupport::getQt(env, obj))->warning((const TTQXmlParseException&)*(const TTQXmlParseException*) QtSupport::getQt(env, exception)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlInputSource.cpp b/qtjava/javalib/qtjava/QXmlInputSource.cpp index 2f130872..de152619 100644 --- a/qtjava/javalib/qtjava/QXmlInputSource.cpp +++ b/qtjava/javalib/qtjava/QXmlInputSource.cpp @@ -6,38 +6,38 @@ #include #include -#include +#include -class QXmlInputSourceJBridge : public QXmlInputSource +class TQXmlInputSourceJBridge : public TQXmlInputSource { public: - QXmlInputSourceJBridge() : TQXmlInputSource() {}; - QXmlInputSourceJBridge(TQIODevice* arg1) : TQXmlInputSource(arg1) {}; - QXmlInputSourceJBridge(TQFile& arg1) : TQXmlInputSource(arg1) {}; - QXmlInputSourceJBridge(TQTextStream& arg1) : TQXmlInputSource(arg1) {}; + TQXmlInputSourceJBridge() : TTQXmlInputSource() {}; + TQXmlInputSourceJBridge(TTQIODevice* arg1) : TTQXmlInputSource(arg1) {}; + TQXmlInputSourceJBridge(TTQFile& arg1) : TTQXmlInputSource(arg1) {}; + TQXmlInputSourceJBridge(TTQTextStream& arg1) : TTQXmlInputSource(arg1) {}; void public_fetchData() { - TQXmlInputSource::fetchData(); + TTQXmlInputSource::fetchData(); return; } void public_reset() { - TQXmlInputSource::reset(); + TTQXmlInputSource::reset(); return; } - TQString protected_fromRawData(const TQByteArray& arg1,bool arg2) { - return (TQString) TQXmlInputSource::fromRawData(arg1,arg2); + TTQString protected_fromRawData(const TTQByteArray& arg1,bool arg2) { + return (TTQString) TTQXmlInputSource::fromRawData(arg1,arg2); } - TQString protected_fromRawData(const TQByteArray& arg1) { - return (TQString) TQXmlInputSource::fromRawData(arg1); + TTQString protected_fromRawData(const TTQByteArray& arg1) { + return (TTQString) TTQXmlInputSource::fromRawData(arg1); } - ~QXmlInputSourceJBridge() {QtSupport::qtKeyDeleted(this);} + ~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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlInputSource*) QtSupport::getQt(env, obj))->data(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -50,7 +50,7 @@ Java_org_kde_qt_QXmlInputSource_dispose(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_fetchData(JNIEnv* env, jobject obj) { - ((QXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_fetchData(); + ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_fetchData(); return; } @@ -58,7 +58,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlInputSource*)QtSupport::getQt(env, obj); + delete (TTQXmlInputSource*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -67,19 +67,19 @@ Java_org_kde_qt_QXmlInputSource_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlInputSource_fromRawData___3B(JNIEnv* env, jobject obj, jbyteArray data) { - TQString _qstring; -static TQByteArray* _qbyteArray_data = 0; - _qstring = ((QXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQByteArray* _qbyteArray_data = 0; + _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TTQByteArray&)*(TTQByteArray*) 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 = ((QXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (bool) beginning); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQByteArray* _qbyteArray_data = 0; + _qstring = ((TQXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->protected_fromRawData((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) beginning); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jboolean JNICALL @@ -89,40 +89,40 @@ Java_org_kde_qt_QXmlInputSource_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlInputSource_newTQXmlInputSource__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlInputSourceJBridge()); + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QFile_2(JNIEnv* env, jobject obj, jobject file) +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 QXmlInputSourceJBridge((TQFile&)*(TQFile*) QtSupport::getQt(env, file))); + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TTQFile&)*(TTQFile*) QtSupport::getQt(env, file))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) +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 QXmlInputSourceJBridge((TQIODevice*) QtSupport::getQt(env, dev))); + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TTQIODevice*) QtSupport::getQt(env, dev))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QTextStream_2(JNIEnv* env, jobject obj, jobject stream) +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 QXmlInputSourceJBridge((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, stream))); + QtSupport::setQt(env, obj, new TQXmlInputSourceJBridge((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, stream))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -131,31 +131,31 @@ Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QTextStream_2(JN 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::fromQChar(env, (TQChar*) &_qchar); + TTQChar _qchar; + _qchar = ((TTQXmlInputSource*) QtSupport::getQt(env, obj))->next(); + return (jchar) QtSupport::fromTQChar(env, (TTQChar*) &_qchar); } JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_reset(JNIEnv* env, jobject obj) { - ((QXmlInputSourceJBridge*) QtSupport::getQt(env, obj))->public_reset(); + ((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::toQString(env, dat, &_qstring_dat)); +static TTQString* _qstring_dat = 0; + ((TTQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TTQString&)*(TTQString*) 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::toQByteArray(env, dat, &_qbyteArray_dat)); +static TTQByteArray* _qbyteArray_dat = 0; + ((TTQXmlInputSource*) QtSupport::getQt(env, obj))->setData((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, dat, &_qbyteArray_dat)); return; } diff --git a/qtjava/javalib/qtjava/QXmlInputSource.h b/qtjava/javalib/qtjava/QXmlInputSource.h index 28f5f707..068a4add 100644 --- a/qtjava/javalib/qtjava/QXmlInputSource.h +++ b/qtjava/javalib/qtjava/QXmlInputSource.h @@ -10,10 +10,10 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlInputSource_newQXmlInputSource__Lorg_kde_qt_QTextStream_2 (JNIEnv *env, jobject, jobject); +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); diff --git a/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp b/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp index 5d962893..06f9ac39 100644 --- a/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp +++ b/qtjava/javalib/qtjava/QXmlLexicalHandler.cpp @@ -3,68 +3,68 @@ #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::toQString(env, ch, &_qstring_ch)); +static TTQString* _qstring_ch = 0; + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->comment((const TTQString&)*(TTQString*) 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(); + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) 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(); + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->endEntity((const TTQString&)*(TTQString*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlLexicalHandler*) 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(); + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) 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::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, publicId, &_qstring_publicId), (const TQString&)*(TQString*) QtSupport::toQString(env, systemId, &_qstring_systemId)); +static TTQString* _qstring_name = 0; +static TTQString* _qstring_publicId = 0; +static TTQString* _qstring_systemId = 0; + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startDTD((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, publicId, &_qstring_publicId), (const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlLexicalHandler*) QtSupport::getQt(env, obj))->startEntity((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlLocator.cpp b/qtjava/javalib/qtjava/QXmlLocator.cpp index 89d6691f..e569776c 100644 --- a/qtjava/javalib/qtjava/QXmlLocator.cpp +++ b/qtjava/javalib/qtjava/QXmlLocator.cpp @@ -2,19 +2,19 @@ #include #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(); + jint xret = (jint) ((TTQXmlLocator*) 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(); + jint xret = (jint) ((TTQXmlLocator*) QtSupport::getQt(env, obj))->lineNumber(); return xret; } diff --git a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp index 3a129977..439d2e84 100644 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp +++ b/qtjava/javalib/qtjava/QXmlNamespaceSupport.cpp @@ -4,13 +4,13 @@ #include #include -#include +#include -class QXmlNamespaceSupportJBridge : public QXmlNamespaceSupport +class TQXmlNamespaceSupportJBridge : public TQXmlNamespaceSupport { public: - QXmlNamespaceSupportJBridge() : TQXmlNamespaceSupport() {}; - ~QXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlNamespaceSupportJBridge() : TTQXmlNamespaceSupport() {}; + ~TQXmlNamespaceSupportJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL @@ -24,7 +24,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlNamespaceSupport*)QtSupport::getQt(env, obj); + delete (TTQXmlNamespaceSupport*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -37,10 +37,10 @@ Java_org_kde_qt_QXmlNamespaceSupport_isDisposed(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlNamespaceSupport_newQXmlNamespaceSupport(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlNamespaceSupport_newTQXmlNamespaceSupport(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlNamespaceSupportJBridge()); + QtSupport::setQt(env, obj, new TQXmlNamespaceSupportJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -49,89 +49,89 @@ Java_org_kde_qt_QXmlNamespaceSupport_newQXmlNamespaceSupport(JNIEnv* env, jobjec JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_popContext(JNIEnv* env, jobject obj) { - ((TQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->popContext(); + ((TTQXmlNamespaceSupport*) 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::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; + _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefix((const TTQString&)*(TTQString*) 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::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1)); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; +static TTQString* _qstring_arg1 = 0; + _qlist = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->prefixes((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_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::toQString(env, arg1, &_qstring_arg1), (bool) arg2, (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg4, &_qstring_arg4)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg3, arg3); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg4, arg4); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg3 = 0; +static TTQString* _qstring_arg4 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->processName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2, (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg3, &_qstring_arg3), (TTQString&)*(TTQString*) 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(); + ((TTQXmlNamespaceSupport*) 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(); + ((TTQXmlNamespaceSupport*) 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::toQString(env, arg1, &_qstring_arg1), (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->setPrefix((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (const TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, arg3, &_qstring_arg3)); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg2, arg2); - QtSupport::fromQStringToStringBuffer(env, _qstring_arg3, arg3); +static TTQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg2 = 0; +static TTQString* _qstring_arg3 = 0; + ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->splitName((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, arg2, &_qstring_arg2), (TTQString&)*(TTQString*) 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::toQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; +static TTQString* _qstring_arg1 = 0; + _qstring = ((TTQXmlNamespaceSupport*) QtSupport::getQt(env, obj))->uri((const TTQString&)*(TTQString*) 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 index 04d2f5b7..b692e287 100644 --- a/qtjava/javalib/qtjava/QXmlNamespaceSupport.h +++ b/qtjava/javalib/qtjava/QXmlNamespaceSupport.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlNamespaceSupport_newQXmlNamespaceSupport (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QXmlParseException.cpp b/qtjava/javalib/qtjava/QXmlParseException.cpp index 3f773b6f..4f3113a2 100644 --- a/qtjava/javalib/qtjava/QXmlParseException.cpp +++ b/qtjava/javalib/qtjava/QXmlParseException.cpp @@ -3,24 +3,24 @@ #include #include -#include +#include -class QXmlParseExceptionJBridge : public QXmlParseException +class TQXmlParseExceptionJBridge : public TQXmlParseException { public: - QXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4,const TQString& arg5) : TQXmlParseException(arg1,arg2,arg3,arg4,arg5) {}; - QXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3,const TQString& arg4) : TQXmlParseException(arg1,arg2,arg3,arg4) {}; - QXmlParseExceptionJBridge(const TQString& arg1,int arg2,int arg3) : TQXmlParseException(arg1,arg2,arg3) {}; - QXmlParseExceptionJBridge(const TQString& arg1,int arg2) : TQXmlParseException(arg1,arg2) {}; - QXmlParseExceptionJBridge(const TQString& arg1) : TQXmlParseException(arg1) {}; - QXmlParseExceptionJBridge() : TQXmlParseException() {}; - ~QXmlParseExceptionJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlParseExceptionJBridge(const TTQString& arg1,int arg2,int arg3,const TTQString& arg4,const TTQString& arg5) : TTQXmlParseException(arg1,arg2,arg3,arg4,arg5) {}; + TQXmlParseExceptionJBridge(const TTQString& arg1,int arg2,int arg3,const TTQString& arg4) : TTQXmlParseException(arg1,arg2,arg3,arg4) {}; + TQXmlParseExceptionJBridge(const TTQString& arg1,int arg2,int arg3) : TTQXmlParseException(arg1,arg2,arg3) {}; + TQXmlParseExceptionJBridge(const TTQString& arg1,int arg2) : TTQXmlParseException(arg1,arg2) {}; + TQXmlParseExceptionJBridge(const TTQString& arg1) : TTQXmlParseException(arg1) {}; + TQXmlParseExceptionJBridge() : TTQXmlParseException() {}; + ~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(); + jint xret = (jint) ((TTQXmlParseException*) QtSupport::getQt(env, obj))->columnNumber(); return xret; } @@ -35,7 +35,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlParseException*)QtSupport::getQt(env, obj); + delete (TTQXmlParseException*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -50,81 +50,81 @@ Java_org_kde_qt_QXmlParseException_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QXmlParseException_lineNumber(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQXmlParseException*) QtSupport::getQt(env, obj))->lineNumber(); + jint xret = (jint) ((TTQXmlParseException*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlParseException*) QtSupport::getQt(env, obj))->message(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newQXmlParseException__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge()); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c) +Java_org_kde_qt_QXmlParseException_newTQXmlParseException__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint c) { -static TQString* _qstring_name = 0; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) c)); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TTQString&)*(TTQString*) 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_newQXmlParseException__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint c, jint l) +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; +static TTQString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) c, (int) l)); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TTQString&)*(TTQString*) 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_newQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p) +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; +static TTQString* _qstring_name = 0; +static TTQString* _qstring_p = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toQString(env, p, &_qstring_p))); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, p, &_qstring_p))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jint c, jint l, jstring p, jstring s) +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; +static TTQString* _qstring_name = 0; +static TTQString* _qstring_p = 0; +static TTQString* _qstring_s = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlParseExceptionJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (int) c, (int) l, (const TQString&)*(TQString*) QtSupport::toQString(env, p, &_qstring_p), (const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s))); + QtSupport::setQt(env, obj, new TQXmlParseExceptionJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) c, (int) l, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, p, &_qstring_p), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, s, &_qstring_s))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -133,16 +133,16 @@ static TQString* _qstring_s = 0; JNIEXPORT jstring JNICALL Java_org_kde_qt_QXmlParseException_publicId(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQXmlParseException*) QtSupport::getQt(env, obj))->publicId(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlParseException*) 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::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQXmlParseException*) QtSupport::getQt(env, obj))->systemId(); + return QtSupport::fromTQString(env, &_qstring); } diff --git a/qtjava/javalib/qtjava/QXmlParseException.h b/qtjava/javalib/qtjava/QXmlParseException.h index 6b836a86..79dcf2ab 100644 --- a/qtjava/javalib/qtjava/QXmlParseException.h +++ b/qtjava/javalib/qtjava/QXmlParseException.h @@ -10,12 +10,12 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newQXmlParseException__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_newQXmlParseException__Ljava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newQXmlParseException__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlParseException_newQXmlParseException__ (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/QXmlReader.cpp b/qtjava/javalib/qtjava/QXmlReader.cpp index 869df20e..1b90a8f8 100644 --- a/qtjava/javalib/qtjava/QXmlReader.cpp +++ b/qtjava/javalib/qtjava/QXmlReader.cpp @@ -3,57 +3,57 @@ #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.QXmlDTDHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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.QXmlContentHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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.QXmlDeclHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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.QXmlEntityResolverInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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.QXmlErrorHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlReader*) QtSupport::getQt(env, obj))->feature((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_name = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((TQXmlReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool*) _bool_ok); + jboolean xret = (jboolean) ((TTQXmlReader*) QtSupport::getQt(env, obj))->feature((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -61,80 +61,80 @@ static TQString* _qstring_name = 0; 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlReader*) QtSupport::getQt(env, obj))->hasFeature((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlReader*) QtSupport::getQt(env, obj))->hasProperty((const TTQString&)*(TTQString*) 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.QXmlLexicalHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlReader*) 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)); + jboolean xret = (jboolean) ((TTQXmlReader*) QtSupport::getQt(env, obj))->parse((const TTQXmlInputSource&)*(const TTQXmlInputSource*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setContentHandler((TTQXmlContentHandler*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setDTDHandler((TTQXmlDTDHandler*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setDeclHandler((TTQXmlDeclHandler*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setEntityResolver((TTQXmlEntityResolver*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setErrorHandler((TTQXmlErrorHandler*) 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::toQString(env, name, &_qstring_name), (bool) value); +static TTQString* _qstring_name = 0; + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setFeature((const TTQString&)*(TTQString*) 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)); + ((TTQXmlReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TTQXmlLexicalHandler*) QtSupport::getQt(env, handler)); return; } diff --git a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp b/qtjava/javalib/qtjava/QXmlSimpleReader.cpp index 14b87187..b45e1f79 100644 --- a/qtjava/javalib/qtjava/QXmlSimpleReader.cpp +++ b/qtjava/javalib/qtjava/QXmlSimpleReader.cpp @@ -3,33 +3,33 @@ #include #include -#include +#include -class QXmlSimpleReaderJBridge : public QXmlSimpleReader +class TQXmlSimpleReaderJBridge : public TQXmlSimpleReader { public: - QXmlSimpleReaderJBridge() : TQXmlSimpleReader() {}; - ~QXmlSimpleReaderJBridge() {QtSupport::qtKeyDeleted(this);} + TQXmlSimpleReaderJBridge() : TTQXmlSimpleReader() {}; + ~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.QXmlDTDHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) 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.QXmlContentHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) 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.QXmlDeclHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->declHandler(), "org.kde.qt.TQXmlDeclHandlerInterface"); return xret; } @@ -43,31 +43,31 @@ Java_org_kde_qt_QXmlSimpleReader_dispose(JNIEnv* env, jobject obj) 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.QXmlEntityResolverInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) 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.QXmlErrorHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TTQString&)*(TTQString*) 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; +static TTQString* _qstring_name = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (bool*) _bool_ok); + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->feature((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQXmlSimpleReader*)QtSupport::getQt(env, obj); + delete (TTQXmlSimpleReader*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -85,16 +85,16 @@ Java_org_kde_qt_QXmlSimpleReader_finalize(JNIEnv* env, jobject obj) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasFeature((const TTQString&)*(TTQString*) 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::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->hasProperty((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return xret; } @@ -107,15 +107,15 @@ Java_org_kde_qt_QXmlSimpleReader_isDisposed(JNIEnv* env, jobject obj) 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.QXmlLexicalHandlerInterface"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->lexicalHandler(), "org.kde.qt.TQXmlLexicalHandlerInterface"); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QXmlSimpleReader_newQXmlSimpleReader(JNIEnv* env, jobject obj) +Java_org_kde_qt_QXmlSimpleReader_newTQXmlSimpleReader(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QXmlSimpleReaderJBridge()); + QtSupport::setQt(env, obj, new TQXmlSimpleReaderJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -124,71 +124,71 @@ Java_org_kde_qt_QXmlSimpleReader_newQXmlSimpleReader(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QXmlSimpleReader_parseContinue(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQXmlSimpleReader*) QtSupport::getQt(env, obj))->parseContinue(); + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) 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)); + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TTQXmlInputSource&)*(const TTQXmlInputSource*) 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); + jboolean xret = (jboolean) ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->parse((const TTQXmlInputSource*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setContentHandler((TTQXmlContentHandler*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDTDHandler((TTQXmlDTDHandler*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setDeclHandler((TTQXmlDeclHandler*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setEntityResolver((TTQXmlEntityResolver*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setErrorHandler((TTQXmlErrorHandler*) 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::toQString(env, name, &_qstring_name), (bool) value); +static TTQString* _qstring_name = 0; + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setFeature((const TTQString&)*(TTQString*) 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)); + ((TTQXmlSimpleReader*) QtSupport::getQt(env, obj))->setLexicalHandler((TTQXmlLexicalHandler*) QtSupport::getQt(env, handler)); return; } diff --git a/qtjava/javalib/qtjava/QXmlSimpleReader.h b/qtjava/javalib/qtjava/QXmlSimpleReader.h index c0ff65f8..63874703 100644 --- a/qtjava/javalib/qtjava/QXmlSimpleReader.h +++ b/qtjava/javalib/qtjava/QXmlSimpleReader.h @@ -10,7 +10,7 @@ extern "C" { #endif -extern JNIEXPORT void JNICALL Java_org_kde_qt_QXmlSimpleReader_newQXmlSimpleReader (JNIEnv *env, jobject); +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); diff --git a/qtjava/javalib/qtjava/Qt.cpp b/qtjava/javalib/qtjava/Qt.cpp index f306dbb8..b7784593 100644 --- a/qtjava/javalib/qtjava/Qt.cpp +++ b/qtjava/javalib/qtjava/Qt.cpp @@ -52,7 +52,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_bin(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::bin((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::bin((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -60,7 +60,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src)); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src)); return; } @@ -68,7 +68,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx); return; } @@ -76,7 +76,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy); return; } @@ -84,7 +84,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2III(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); return; } @@ -92,7 +92,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2IIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); return; } @@ -100,7 +100,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QImage_2IILorg_kde_qt_QImage_2IIIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh, jint conversion_flags) { (void) cls; - ::bitBlt((TQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversion_flags); + ::bitBlt((TTQImage*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversion_flags); return; } @@ -108,7 +108,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src)); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src)); return; } @@ -116,7 +116,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx); return; } @@ -124,7 +124,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy); return; } @@ -132,7 +132,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2III(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); return; } @@ -140,7 +140,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2IIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); return; } @@ -148,7 +148,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QImage_2IIIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh, jint conversion_flags) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversion_flags); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQImage*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (int) conversion_flags); return; } @@ -156,7 +156,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src)); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src)); return; } @@ -164,7 +164,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2I(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx); return; } @@ -172,7 +172,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2II(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy); return; } @@ -180,7 +180,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2III(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw); return; } @@ -188,7 +188,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2IIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh); return; } @@ -196,7 +196,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2IIIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh, jint arg9) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (Qt::RasterOp) arg9); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (TQt::RasterOp) arg9); return; } @@ -204,7 +204,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2IILorg_kde_qt_QPaintDeviceInterface_2IIIIIZ(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh, jint arg9, jboolean ignoreMask) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (Qt::RasterOp) arg9, (bool) ignoreMask); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (int) dx, (int) dy, (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (int) sx, (int) sy, (int) sw, (int) sh, (TQt::RasterOp) arg9, (bool) ignoreMask); return; } @@ -212,7 +212,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPaintDeviceInterface_2(JNIEnv* env, jclass cls, jobject dst, jobject dp, jobject src) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, dp), (const TQPaintDevice*) QtSupport::paintDevice(env, src)); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, dp), (const TTQPaintDevice*) QtSupport::paintDevice(env, src)); return; } @@ -220,7 +220,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject dst, jobject dp, jobject src, jobject sr) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, dp), (const TQPaintDevice*) QtSupport::paintDevice(env, src), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr)); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, dp), (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, sr)); return; } @@ -228,7 +228,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jclass cls, jobject dst, jobject dp, jobject src, jobject sr, jint rop) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, dp), (const TQPaintDevice*) QtSupport::paintDevice(env, src), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr), (Qt::RasterOp) rop); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, dp), (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, sr), (TQt::RasterOp) rop); return; } @@ -236,7 +236,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_bitBlt__Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPaintDeviceInterface_2Lorg_kde_qt_QRect_2IZ(JNIEnv* env, jclass cls, jobject dst, jobject dp, jobject src, jobject sr, jint rop, jboolean ignoreMask) { (void) cls; - ::bitBlt((TQPaintDevice*) QtSupport::paintDevice(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, dp), (const TQPaintDevice*) QtSupport::paintDevice(env, src), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, sr), (Qt::RasterOp) rop, (bool) ignoreMask); + ::bitBlt((TTQPaintDevice*) QtSupport::paintDevice(env, dst), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, dp), (const TTQPaintDevice*) QtSupport::paintDevice(env, src), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, sr), (TQt::RasterOp) rop, (bool) ignoreMask); return; } @@ -244,7 +244,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_copyBlt__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src) { (void) cls; - ::copyBlt((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQPixmap*) QtSupport::getQt(env, src)); + ::copyBlt((TTQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQPixmap*) QtSupport::getQt(env, src)); return; } @@ -252,7 +252,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_copyBlt__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QPixmap_2I(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx) { (void) cls; - ::copyBlt((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQPixmap*) QtSupport::getQt(env, src), (int) sx); + ::copyBlt((TTQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQPixmap*) QtSupport::getQt(env, src), (int) sx); return; } @@ -260,7 +260,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_copyBlt__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QPixmap_2II(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy) { (void) cls; - ::copyBlt((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy); + ::copyBlt((TTQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy); return; } @@ -268,7 +268,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_copyBlt__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QPixmap_2III(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw) { (void) cls; - ::copyBlt((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); + ::copyBlt((TTQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw); return; } @@ -276,7 +276,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_copyBlt__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jclass cls, jobject dst, jint dx, jint dy, jobject src, jint sx, jint sy, jint sw, jint sh) { (void) cls; - ::copyBlt((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); + ::copyBlt((TTQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TTQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh); return; } @@ -284,7 +284,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_dec(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::dec((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::dec((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -299,7 +299,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_endl(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::endl((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::endl((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -317,7 +317,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_flush(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::flush((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::flush((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -325,7 +325,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_hex(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::hex((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::hex((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -349,7 +349,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_oct(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::oct((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::oct((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -357,7 +357,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1div__Lorg_kde_qt_QPoint_2D(JNIEnv* env, jclass cls, jobject p, jdouble c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator/((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (double) c)), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator/((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (double) c)), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -365,7 +365,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1div__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jclass cls, jobject p, jint c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator/((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (int) c)), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator/((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (int) c)), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -373,7 +373,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1div__Lorg_kde_qt_QSize_2D(JNIEnv* env, jclass cls, jobject s, jdouble c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator/((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (double) c)), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator/((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (double) c)), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -381,7 +381,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1div__Lorg_kde_qt_QSize_2I(JNIEnv* env, jclass cls, jobject s, jint c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator/((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (int) c)), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator/((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (int) c)), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -389,7 +389,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1equals__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jboolean xret = (jboolean) ::operator==((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, arg1), (const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ::operator==((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, arg1), (const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, arg2)); return xret; } @@ -397,7 +397,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1equals__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject p1, jobject p2) { (void) cls; - jboolean xret = (jboolean) ::operator==((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2)); + jboolean xret = (jboolean) ::operator==((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2)); return xret; } @@ -405,7 +405,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1equals__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jboolean xret = (jboolean) ::operator==((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ::operator==((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2)); return xret; } @@ -413,7 +413,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1equals__Lorg_kde_qt_QSize_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject s1, jobject s2) { (void) cls; - jboolean xret = (jboolean) ::operator==((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s1), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s2)); + jboolean xret = (jboolean) ::operator==((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s1), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s2)); return xret; } @@ -421,7 +421,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1minus__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator-((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator-((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -429,7 +429,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1minus__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject p1, jobject p2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator-((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2))), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator-((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2))), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -437,7 +437,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1minus__Lorg_kde_qt_QSize_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject s1, jobject s2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator-((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s1), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s2))), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator-((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s1), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s2))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -445,7 +445,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__DLorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jdouble c, jobject p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator*((double) c, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator*((double) c, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -453,7 +453,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__DLorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jdouble c, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator*((double) c, (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator*((double) c, (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -461,7 +461,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__ILorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jint c, jobject p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator*((int) c, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator*((int) c, (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -469,7 +469,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__ILorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jint c, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator*((int) c, (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator*((int) c, (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -477,7 +477,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__Lorg_kde_qt_QPoint_2D(JNIEnv* env, jclass cls, jobject p, jdouble c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator*((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (double) c)), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator*((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (double) c)), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -485,7 +485,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jclass cls, jobject p, jint c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator*((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (int) c)), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator*((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p), (int) c)), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -493,7 +493,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__Lorg_kde_qt_QSize_2D(JNIEnv* env, jclass cls, jobject s, jdouble c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator*((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (double) c)), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator*((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (double) c)), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -501,7 +501,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__Lorg_kde_qt_QSize_2I(JNIEnv* env, jclass cls, jobject s, jint c) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator*((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (int) c)), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator*((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (int) c)), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -509,7 +509,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1mult__Lorg_kde_qt_QWMatrix_2Lorg_kde_qt_QWMatrix_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQWMatrix(::operator*((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg1), (const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg2))), "org.kde.qt.TQWMatrix", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQWMatrix(::operator*((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg1), (const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg2))), "org.kde.qt.TTQWMatrix", TRUE); return xret; } @@ -517,7 +517,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1not_1equals__Lorg_kde_qt_QGLFormat_2Lorg_kde_qt_QGLFormat_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jboolean xret = (jboolean) ::operator!=((const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, arg1), (const TQGLFormat&)*(const TQGLFormat*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ::operator!=((const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, arg1), (const TTQGLFormat&)*(const TTQGLFormat*) QtSupport::getQt(env, arg2)); return xret; } @@ -525,7 +525,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1not_1equals__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject p1, jobject p2) { (void) cls; - jboolean xret = (jboolean) ::operator!=((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2)); + jboolean xret = (jboolean) ::operator!=((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2)); return xret; } @@ -533,7 +533,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1not_1equals__Lorg_kde_qt_QRect_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jboolean xret = (jboolean) ::operator!=((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); + jboolean xret = (jboolean) ::operator!=((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2)); return xret; } @@ -541,7 +541,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_qt_Qt_op_1not_1equals__Lorg_kde_qt_QSize_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject s1, jobject s2) { (void) cls; - jboolean xret = (jboolean) ::operator!=((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s1), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s2)); + jboolean xret = (jboolean) ::operator!=((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s1), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s2)); return xret; } @@ -549,7 +549,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1plus__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject p1, jobject p2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(::operator+((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2))), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(::operator+((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2))), "org.kde.qt.TTQPoint", TRUE); return xret; } @@ -557,7 +557,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1plus__Lorg_kde_qt_QSize_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject s1, jobject s2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(::operator+((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s1), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, s2))), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(::operator+((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s1), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s2))), "org.kde.qt.TTQSize", TRUE); return xret; } @@ -565,7 +565,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQVariant::Type&) p), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s), (TTQVariant::Type&) p), "org.kde.qt.TTQDataStream"); return xret; } @@ -573,8 +573,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Ljava_util_Calendar_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; -static TQDate* _qdate_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQDate&)*(TQDate*) QtSupport::toQDate(env, arg2, &_qdate_arg2)), "org.kde.qt.TQDataStream"); +static TTQDate* _qdate_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -582,8 +582,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Ljava_util_Date_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; -static TQTime* _qtime_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQTime&)*(TQTime*) QtSupport::toQTime(env, arg2, &_qtime_arg2)), "org.kde.qt.TQDataStream"); +static TTQTime* _qtime_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, arg2, &_qtime_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -591,7 +591,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQBrush&)*(TQBrush*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQBrush&)*(TTQBrush*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -599,7 +599,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQColorGroup&)*(TQColorGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQColorGroup&)*(TTQColorGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -607,7 +607,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQColor&)*(TQColor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQColor&)*(TTQColor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -615,7 +615,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QCursor_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQCursor&)*(TQCursor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQCursor&)*(TTQCursor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -623,7 +623,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQFont&)*(TQFont*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQFont&)*(TTQFont*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -631,7 +631,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQImage&)*(TQImage*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQImage&)*(TTQImage*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -639,7 +639,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQKeySequence&)*(TQKeySequence*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQKeySequence&)*(TTQKeySequence*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -647,7 +647,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPalette_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPalette&)*(TQPalette*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPalette&)*(TTQPalette*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -655,7 +655,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPen_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPen&)*(TQPen*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPen&)*(TTQPen*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -663,7 +663,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPicture&)*(TQPicture*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPicture&)*(TTQPicture*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -671,7 +671,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPixmap&)*(TTQPixmap*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -679,7 +679,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPointArray_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPointArray&)*(TQPointArray*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPointArray&)*(TTQPointArray*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -687,7 +687,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQPoint&)*(TQPoint*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQPoint&)*(TTQPoint*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -695,7 +695,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQRect&)*(TQRect*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQRect&)*(TTQRect*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -703,7 +703,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QRegion_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQRegion&)*(TQRegion*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQRegion&)*(TTQRegion*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -711,7 +711,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQSize&)*(TQSize*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQSize&)*(TTQSize*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -719,7 +719,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QUuid_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (QUuid&)*(QUuid*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TQUuid&)*(TQUuid*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -727,7 +727,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jclass cls, jobject s, jobject p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQVariant&)*(TQVariant*) QtSupport::getQt(env, p)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s), (TTQVariant&)*(TTQVariant*) QtSupport::getQt(env, p)), "org.kde.qt.TTQDataStream"); return xret; } @@ -735,7 +735,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QWMatrix_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQWMatrix&)*(TQWMatrix*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQWMatrix&)*(TTQWMatrix*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -743,8 +743,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobjectArray arg2) { (void) cls; -static TQStringList* _qlist_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)), "org.kde.qt.TQDataStream"); +static TTQStringList* _qlist_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator>>((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -752,7 +752,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QDockArea_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator>>((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (TQDockArea&)*(TQDockArea*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator>>((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (TTQDockArea&)*(TTQDockArea*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -760,7 +760,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator>>((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (TQMainWindow&)*(TQMainWindow*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator>>((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (TTQMainWindow&)*(TTQMainWindow*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -768,7 +768,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1read__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QSplitter_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator>>((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (TQSplitter&)*(TQSplitter*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator>>((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (TTQSplitter&)*(TTQSplitter*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -776,7 +776,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const TQVariant::Type) p), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s), (const TTQVariant::Type) p), "org.kde.qt.TTQDataStream"); return xret; } @@ -784,8 +784,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Ljava_util_Calendar_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; -static TQDate* _qdate_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQDate&)*(TQDate*) QtSupport::toQDate(env, arg2, &_qdate_arg2)), "org.kde.qt.TQDataStream"); +static TTQDate* _qdate_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -793,8 +793,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Ljava_util_Date_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; -static TQTime* _qtime_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQTime&)*(TQTime*) QtSupport::toQTime(env, arg2, &_qtime_arg2)), "org.kde.qt.TQDataStream"); +static TTQTime* _qtime_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, arg2, &_qtime_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -802,7 +802,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -810,7 +810,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -818,7 +818,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -826,7 +826,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QCursor_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -834,7 +834,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -842,7 +842,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -850,7 +850,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -858,7 +858,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPalette_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -866,7 +866,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPen_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPen&)*(const TTQPen*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -874,7 +874,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPicture&)*(const TTQPicture*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -882,7 +882,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -890,7 +890,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPointArray_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -898,7 +898,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -906,7 +906,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -914,7 +914,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QRegion_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -922,7 +922,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QSize_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -930,7 +930,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QUuid_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const QUuid&)*(const QUuid*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TQUuid&)*(const TQUuid*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -938,7 +938,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jclass cls, jobject s, jobject p) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, p)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s), (const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, p)), "org.kde.qt.TTQDataStream"); return xret; } @@ -946,7 +946,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_qt_QWMatrix_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -954,8 +954,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject arg1, jobjectArray arg2) { (void) cls; -static TQStringList* _qlist_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg2, &_qlist_arg2)), "org.kde.qt.TQDataStream"); +static TTQStringList* _qlist_arg2 = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQDataStream *) &::operator<<((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2)), "org.kde.qt.TTQDataStream"); return xret; } @@ -963,7 +963,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QDockArea_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator<<((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (const TQDockArea&)*(const TQDockArea*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator<<((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (const TTQDockArea&)*(const TTQDockArea*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -971,7 +971,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QDomNode_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator<<((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (const TQDomNode&)*(const TQDomNode*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator<<((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (const TTQDomNode&)*(const TTQDomNode*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -979,7 +979,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QMainWindow_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator<<((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (const TQMainWindow&)*(const TQMainWindow*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator<<((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (const TTQMainWindow&)*(const TTQMainWindow*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -987,7 +987,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_op_1write__Lorg_kde_qt_QTextStream_2Lorg_kde_qt_QSplitter_2(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::operator<<((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, arg1), (const TQSplitter&)*(const TQSplitter*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::operator<<((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, arg1), (const TTQSplitter&)*(const TTQSplitter*) QtSupport::getQt(env, arg2)), "org.kde.qt.TTQTextStream"); return xret; } @@ -996,7 +996,7 @@ Java_org_kde_qt_Qt_qAlpha(JNIEnv* env, jclass cls, jint rgb) { (void) cls; (void) env; - jint xret = (jint) ::qAlpha((QRgb) rgb); + jint xret = (jint) ::qAlpha((TQRgb) rgb); return xret; } @@ -1014,35 +1014,35 @@ Java_org_kde_qt_Qt_qBlue(JNIEnv* env, jclass cls, jint rgb) { (void) cls; (void) env; - jint xret = (jint) ::qBlue((QRgb) rgb); + jint xret = (jint) ::qBlue((TQRgb) rgb); return xret; } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_Qt_qCompress___3B(JNIEnv* env, jclass cls, jbyteArray data) { - TQByteArray _qbyteArray; + TTQByteArray _qbyteArray; (void) cls; -static TQByteArray* _qbyteArray_data = 0; - _qbyteArray = ::qCompress((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); - return QtSupport::fromQByteArray(env, &_qbyteArray); +static TTQByteArray* _qbyteArray_data = 0; + _qbyteArray = ::qCompress((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_Qt_qCompress___3CI(JNIEnv* env, jclass cls, jcharArray data, jint nbytes) { - TQByteArray _qbyteArray; + TTQByteArray _qbyteArray; (void) cls; -static TQByteArray* _qbytearray_data = 0; +static TTQByteArray* _qbytearray_data = 0; _qbyteArray = ::qCompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes); - return QtSupport::fromQByteArray(env, &_qbyteArray); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawArrow(JNIEnv* env, jclass cls, jobject p, jint type, jint style, jboolean down, jint x, jint y, jint w, jint h, jobject g, jboolean enabled) { (void) cls; - ::qDrawArrow((TQPainter*) QtSupport::getQt(env, p), (Qt::ArrowType) type, (Qt::GUIStyle) style, (bool) down, (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled); + ::qDrawArrow((TTQPainter*) QtSupport::getQt(env, p), (TQt::ArrowType) type, (TQt::GUIStyle) style, (bool) down, (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled); return; } @@ -1050,8 +1050,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawItem__Lorg_kde_qt_QPainter_2IIIIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject p, jint gs, jint x, jint y, jint w, jint h, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text) { (void) cls; -static TQString* _qstring_text = 0; - ::qDrawItem((TQPainter*) QtSupport::getQt(env, p), (Qt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text)); +static TTQString* _qstring_text = 0; + ::qDrawItem((TTQPainter*) QtSupport::getQt(env, p), (TQt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text)); return; } @@ -1059,8 +1059,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawItem__Lorg_kde_qt_QPainter_2IIIIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject p, jint gs, jint x, jint y, jint w, jint h, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len) { (void) cls; -static TQString* _qstring_text = 0; - ::qDrawItem((TQPainter*) QtSupport::getQt(env, p), (Qt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) len); +static TTQString* _qstring_text = 0; + ::qDrawItem((TTQPainter*) QtSupport::getQt(env, p), (TQt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len); return; } @@ -1068,8 +1068,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawItem__Lorg_kde_qt_QPainter_2IIIIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QPixmap_2Ljava_lang_String_2ILorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject p, jint gs, jint x, jint y, jint w, jint h, jint flags, jobject g, jboolean enabled, jobject pixmap, jstring text, jint len, jobject penColor) { (void) cls; -static TQString* _qstring_text = 0; - ::qDrawItem((TQPainter*) QtSupport::getQt(env, p), (Qt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) len, (const TQColor*) QtSupport::getQt(env, penColor)); +static TTQString* _qstring_text = 0; + ::qDrawItem((TTQPainter*) QtSupport::getQt(env, p), (TQt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len, (const TTQColor*) QtSupport::getQt(env, penColor)); return; } @@ -1077,7 +1077,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg6)); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg6)); return; } @@ -1085,7 +1085,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jint lineWidth) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg6), (int) lineWidth); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg6), (int) lineWidth); return; } @@ -1093,7 +1093,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColor_2ILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jint lineWidth, jobject fill) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg6), (int) lineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg6), (int) lineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1101,7 +1101,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg3)); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg3)); return; } @@ -1109,7 +1109,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jint lineWidth) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg3), (int) lineWidth); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg3), (int) lineWidth); return; } @@ -1117,7 +1117,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawPlainRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColor_2ILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jint lineWidth, jobject fill) { (void) cls; - ::qDrawPlainRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg3), (int) lineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawPlainRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg3), (int) lineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1125,7 +1125,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x1, jint y1, jint x2, jint y2, jobject g) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g)); return; } @@ -1133,7 +1133,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x1, jint y1, jint x2, jint y2, jobject g, jboolean sunken) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); return; } @@ -1141,7 +1141,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jint x1, jint y1, jint x2, jint y2, jobject g, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth); return; } @@ -1149,7 +1149,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZII(JNIEnv* env, jclass cls, jobject p, jint x1, jint y1, jint x2, jint y2, jobject g, jboolean sunken, jint lineWidth, jint midLineWidth) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth, (int) midLineWidth); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (int) x1, (int) y1, (int) x2, (int) y2, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth, (int) midLineWidth); return; } @@ -1157,7 +1157,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject p1, jobject p2, jobject g) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g)); return; } @@ -1165,7 +1165,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject p1, jobject p2, jobject g, jboolean sunken) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); return; } @@ -1173,7 +1173,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jobject p1, jobject p2, jobject g, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth); return; } @@ -1181,7 +1181,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeLine__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QColorGroup_2ZII(JNIEnv* env, jclass cls, jobject p, jobject p1, jobject p2, jobject g, jboolean sunken, jint lineWidth, jint midLineWidth) { (void) cls; - ::qDrawShadeLine((TQPainter*) QtSupport::getQt(env, p), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p2), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth, (int) midLineWidth); + ::qDrawShadeLine((TTQPainter*) QtSupport::getQt(env, p), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p1), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, p2), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (int) lineWidth, (int) midLineWidth); return; } @@ -1189,7 +1189,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6)); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6)); return; } @@ -1197,7 +1197,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); return; } @@ -1205,7 +1205,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth); return; } @@ -1213,7 +1213,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jint lineWidth, jobject fill) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1221,7 +1221,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3)); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3)); return; } @@ -1229,7 +1229,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); return; } @@ -1237,7 +1237,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth); return; } @@ -1245,7 +1245,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadePanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jint lineWidth, jobject fill) { (void) cls; - ::qDrawShadePanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawShadePanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1253,7 +1253,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6)); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6)); return; } @@ -1261,7 +1261,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); return; } @@ -1269,7 +1269,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth); return; } @@ -1277,7 +1277,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZII(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jint lineWidth, jint midLineWidth) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (int) midLineWidth); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (int) midLineWidth); return; } @@ -1285,7 +1285,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZIILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jint lineWidth, jint midLineWidth, jobject fill) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (int) midLineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (int) lineWidth, (int) midLineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1293,7 +1293,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3)); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3)); return; } @@ -1301,7 +1301,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); return; } @@ -1309,7 +1309,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZI(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jint lineWidth) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth); return; } @@ -1317,7 +1317,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZII(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jint lineWidth, jint midLineWidth) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (int) midLineWidth); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (int) midLineWidth); return; } @@ -1325,7 +1325,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawShadeRect__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZIILorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jint lineWidth, jint midLineWidth, jobject fill) { (void) cls; - ::qDrawShadeRect((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (int) midLineWidth, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawShadeRect((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (int) lineWidth, (int) midLineWidth, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1333,7 +1333,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g)); return; } @@ -1341,7 +1341,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); return; } @@ -1349,7 +1349,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken, jobject fill) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1357,7 +1357,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g)); return; } @@ -1365,7 +1365,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); return; } @@ -1373,7 +1373,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken, jobject fill) { (void) cls; - ::qDrawWinButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawWinButton((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1381,7 +1381,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6)); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6)); return; } @@ -1389,7 +1389,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken); return; } @@ -1397,7 +1397,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject arg6, jboolean sunken, jobject fill) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg6), (bool) sunken, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1405,7 +1405,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3)); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3)); return; } @@ -1413,7 +1413,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken); return; } @@ -1421,7 +1421,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDrawWinPanel__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject arg3, jboolean sunken, jobject fill) { (void) cls; - ::qDrawWinPanel((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); + ::qDrawWinPanel((TTQPainter*) QtSupport::getQt(env, p), (const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, r), (const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg3), (bool) sunken, (const TTQBrush*) QtSupport::getQt(env, fill)); return; } @@ -1439,7 +1439,7 @@ Java_org_kde_qt_Qt_qGray__I(JNIEnv* env, jclass cls, jint rgb) { (void) cls; (void) env; - jint xret = (jint) ::qGray((QRgb) rgb); + jint xret = (jint) ::qGray((TQRgb) rgb); return xret; } @@ -1457,7 +1457,7 @@ Java_org_kde_qt_Qt_qGreen(JNIEnv* env, jclass cls, jint rgb) { (void) cls; (void) env; - jint xret = (jint) ::qGreen((QRgb) rgb); + jint xret = (jint) ::qGreen((TQRgb) rgb); return xret; } @@ -1555,8 +1555,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_qItemRect__Lorg_kde_qt_QPainter_2IIIIIIZLorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject p, jint gs, jint x, jint y, jint w, jint h, jint flags, jboolean enabled, jobject pixmap, jstring text) { (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(::qItemRect((TQPainter*) QtSupport::getQt(env, p), (Qt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text))), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(::qItemRect((TTQPainter*) QtSupport::getQt(env, p), (TQt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -1564,8 +1564,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_qItemRect__Lorg_kde_qt_QPainter_2IIIIIIZLorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject p, jint gs, jint x, jint y, jint w, jint h, jint flags, jboolean enabled, jobject pixmap, jstring text, jint len) { (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(::qItemRect((TQPainter*) QtSupport::getQt(env, p), (Qt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (bool) enabled, (const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TQRect", TRUE); +static TTQString* _qstring_text = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(::qItemRect((TTQPainter*) QtSupport::getQt(env, p), (TQt::GUIStyle) gs, (int) x, (int) y, (int) w, (int) h, (int) flags, (bool) enabled, (const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) len)), "org.kde.qt.TTQRect", TRUE); return xret; } @@ -1573,7 +1573,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring message) { (void) cls; -static TQCString* _qstring_message = 0; +static TTQCString* _qstring_message = 0; ::qObsolete((const char*) QtSupport::toCharString(env, message, &_qstring_message)); return; } @@ -1582,8 +1582,8 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring oldfunc) { (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_oldfunc = 0; +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_oldfunc = 0; ::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc)); return; } @@ -1592,9 +1592,9 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring oldfunc, jstring newfunc) { (void) cls; -static TQCString* _qstring_arg1 = 0; -static TQCString* _qstring_oldfunc = 0; -static TQCString* _qstring_newfunc = 0; +static TTQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_oldfunc = 0; +static TTQCString* _qstring_newfunc = 0; ::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc), (const char*) QtSupport::toCharString(env, newfunc, &_qstring_newfunc)); return; } @@ -1604,7 +1604,7 @@ Java_org_kde_qt_Qt_qRed(JNIEnv* env, jclass cls, jint rgb) { (void) cls; (void) env; - jint xret = (jint) ::qRed((QRgb) rgb); + jint xret = (jint) ::qRed((TQRgb) rgb); return xret; } @@ -1678,7 +1678,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { (void) cls; -static TQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg1 = 0; ::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return; } @@ -1687,7 +1687,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring arg1, jint code) { (void) cls; -static TQCString* _qstring_arg1 = 0; +static TTQCString* _qstring_arg1 = 0; ::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) code); return; } @@ -1695,21 +1695,21 @@ static TQCString* _qstring_arg1 = 0; JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_Qt_qUncompress___3B(JNIEnv* env, jclass cls, jbyteArray data) { - TQByteArray _qbyteArray; + TTQByteArray _qbyteArray; (void) cls; -static TQByteArray* _qbyteArray_data = 0; - _qbyteArray = ::qUncompress((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)); - return QtSupport::fromQByteArray(env, &_qbyteArray); +static TTQByteArray* _qbyteArray_data = 0; + _qbyteArray = ::qUncompress((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_Qt_qUncompress___3CI(JNIEnv* env, jclass cls, jcharArray data, jint nbytes) { - TQByteArray _qbyteArray; + TTQByteArray _qbyteArray; (void) cls; -static TQByteArray* _qbytearray_data = 0; +static TTQByteArray* _qbytearray_data = 0; _qbyteArray = ::qUncompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes); - return QtSupport::fromQByteArray(env, &_qbyteArray); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT jstring JNICALL @@ -1725,7 +1725,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_reset(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::reset((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::reset((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -1733,7 +1733,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_ws(JNIEnv* env, jclass cls, jobject s) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQTextStream *) &::ws((TQTextStream&)*(TQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TQTextStream"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQTextStream *) &::ws((TTQTextStream&)*(TTQTextStream*) QtSupport::getQt(env, s)), "org.kde.qt.TTQTextStream"); return xret; } @@ -1745,258 +1745,258 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_color0(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::color0, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::color0, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_color1(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::color1, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::color1, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_black(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::black, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::black, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_white(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::white, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::white, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkGray(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkGray, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkGray, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_lightGray(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::lightGray, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::lightGray, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_gray(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::gray, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::gray, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_red(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::red, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::red, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_green(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::green, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::green, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_blue(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::blue, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::blue, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_cyan(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::cyan, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::cyan, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_magenta(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::magenta, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::magenta, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_yellow(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::yellow, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::yellow, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkRed(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkRed, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkRed, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkGreen(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkGreen, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkGreen, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkBlue(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkBlue, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkBlue, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkCyan(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkCyan, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkCyan, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkMagenta(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkMagenta, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkMagenta, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_darkYellow(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::darkYellow, "org.kde.qt.TQColor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::darkYellow, "org.kde.qt.TTQColor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_arrowCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::arrowCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::arrowCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_upArrowCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::upArrowCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::upArrowCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_crossCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::crossCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::crossCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_waitCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::waitCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::waitCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_ibeamCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::ibeamCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::ibeamCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_sizeVerCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::sizeVerCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::sizeVerCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_sizeHorCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::sizeHorCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::sizeHorCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_sizeBDiagCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::sizeBDiagCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::sizeBDiagCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_sizeFDiagCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::sizeFDiagCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::sizeFDiagCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_sizeAllCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::sizeAllCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::sizeAllCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_blankCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::blankCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::blankCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_splitVCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::splitVCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::splitVCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_splitHCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::splitHCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::splitHCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_pointingHandCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::pointingHandCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::pointingHandCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_forbiddenCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::forbiddenCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::forbiddenCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_whatsThisCursor(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, (void*)&Qt::whatsThisCursor, "org.kde.qt.TQCursor"); + return (jobject) QtSupport::objectForQtKey(env, (void*)&TQt::whatsThisCursor, "org.kde.qt.TTQCursor"); } JNIEXPORT jobject JNICALL Java_org_kde_qt_Qt_qApp(JNIEnv* env, jclass cls) { (void) cls; - return (jobject) QtSupport::objectForQtKey(env, qApp, "org.kde.qt.TQApplication"); + return (jobject) QtSupport::objectForQtKey(env, qApp, "org.kde.qt.TTQApplication"); } JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qDebug(JNIEnv* env, jclass cls, jstring message) { -static TQCString * _qstring_message = 0; +static TTQCString * _qstring_message = 0; (void) cls; qDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; @@ -2005,7 +2005,7 @@ static TQCString * _qstring_message = 0; JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qWarning(JNIEnv* env, jclass cls, jstring message) { -static TQCString * _qstring_message = 0; +static TTQCString * _qstring_message = 0; (void) cls; qWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; @@ -2014,7 +2014,7 @@ static TQCString * _qstring_message = 0; JNIEXPORT void JNICALL Java_org_kde_qt_Qt_qFatal(JNIEnv* env, jclass cls, jstring message) { -static TQCString * _qstring_message = 0; +static TTQCString * _qstring_message = 0; (void) cls; qFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; diff --git a/qtjava/javalib/qtjava/QtSupport.cpp b/qtjava/javalib/qtjava/QtSupport.cpp index 05116638..eb83f559 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; @@ -47,7 +47,7 @@ QtSupport::registerJVM(JNIEnv * env) // Test for the endianess of the unicode string returned by GetStringChars() testString = env->NewStringUTF("A"); _jchar_str = env->GetStringChars(testString, 0); - TQString temp((TQChar*)_jchar_str, env->GetStringLength(testString)); + TTQString temp((TTQChar*)_jchar_str, env->GetStringLength(testString)); env->ReleaseStringChars(testString, _jchar_str); _bigEndianUnicode = strcmp((const char *) temp, "A") == 0; env->DeleteLocalRef(testString); @@ -65,66 +65,66 @@ QtSupport::GetEnv() } const char * -QtSupport::eventTypeToEventClassName(TQEvent::Type eventType) +QtSupport::eventTypeToEventClassName(TTQEvent::Type eventType) { switch (eventType) { - case TQEvent::ChildInserted: - case TQEvent::ChildRemoved: - return "org.kde.qt.TQChildEvent"; - case TQEvent::Close: - return "org.kde.qt.TQCloseEvent"; - case TQEvent::ContextMenu: - return "org.kde.qt.TQContextMenuEvent"; - case TQEvent::User: - return "org.kde.qt.TQCustomEvent"; - case TQEvent::DragEnter: - return "org.kde.qt.TQDragEnterEvent"; - case TQEvent::DragLeave: - return "org.kde.qt.TQDragLeaveEvent"; - case TQEvent::DragMove: - return "org.kde.qt.TQDragMoveEvent"; - case TQEvent::DragResponse: - return "org.kde.qt.TQDragResponseEvent"; - case TQEvent::Drop: - return "org.kde.qt.TQDropEvent"; - case TQEvent::FocusIn: - case TQEvent::FocusOut: - return "org.kde.qt.TQFocusEvent"; - case TQEvent::Hide: - return "org.kde.qt.TQHideEvent"; - case TQEvent::KeyPress: - case TQEvent::KeyRelease: - return "org.kde.qt.TQKeyEvent"; - case TQEvent::IMStart: - case TQEvent::IMCompose: - case TQEvent::IMEnd: - return "org.kde.qt.TQIMEvent"; - case TQEvent::MouseButtonPress: - case TQEvent::MouseButtonRelease: - case TQEvent::MouseButtonDblClick: - case TQEvent::MouseMove: - return "org.kde.qt.TQMouseEvent"; - case TQEvent::Move: - return "org.kde.qt.TQMoveEvent"; - case TQEvent::Paint: - return "org.kde.qt.TQPaintEvent"; - case TQEvent::Resize: - return "org.kde.qt.TQResizeEvent"; - case TQEvent::Show: - return "org.kde.qt.TQShowEvent"; -// case TQEvent::Tablet: -// return "org.kde.qt.TQTabletEvent"; - case TQEvent::Timer: - return "org.kde.qt.TQTimerEvent"; - case TQEvent::Wheel: - return "org.kde.qt.TQWheelEvent"; + case TTQEvent::ChildInserted: + case TTQEvent::ChildRemoved: + return "org.kde.qt.TTQChildEvent"; + case TTQEvent::Close: + return "org.kde.qt.TTQCloseEvent"; + case TTQEvent::ContextMenu: + return "org.kde.qt.TTQContextMenuEvent"; + case TTQEvent::User: + return "org.kde.qt.TTQCustomEvent"; + case TTQEvent::DragEnter: + return "org.kde.qt.TTQDragEnterEvent"; + case TTQEvent::DragLeave: + return "org.kde.qt.TTQDragLeaveEvent"; + case TTQEvent::DragMove: + return "org.kde.qt.TTQDragMoveEvent"; + case TTQEvent::DragResponse: + return "org.kde.qt.TTQDragResponseEvent"; + case TTQEvent::Drop: + return "org.kde.qt.TTQDropEvent"; + case TTQEvent::FocusIn: + case TTQEvent::FocusOut: + return "org.kde.qt.TTQFocusEvent"; + case TTQEvent::Hide: + return "org.kde.qt.TTQHideEvent"; + case TTQEvent::KeyPress: + case TTQEvent::KeyRelease: + return "org.kde.qt.TTQKeyEvent"; + case TTQEvent::IMStart: + case TTQEvent::IMCompose: + case TTQEvent::IMEnd: + return "org.kde.qt.TTQIMEvent"; + case TTQEvent::MouseButtonPress: + case TTQEvent::MouseButtonRelease: + case TTQEvent::MouseButtonDblClick: + case TTQEvent::MouseMove: + return "org.kde.qt.TTQMouseEvent"; + case TTQEvent::Move: + return "org.kde.qt.TTQMoveEvent"; + case TTQEvent::Paint: + return "org.kde.qt.TTQPaintEvent"; + case TTQEvent::Resize: + return "org.kde.qt.TTQResizeEvent"; + case TTQEvent::Show: + return "org.kde.qt.TTQShowEvent"; +// case TTQEvent::Tablet: +// return "org.kde.qt.TTQTabletEvent"; + case TTQEvent::Timer: + return "org.kde.qt.TTQTimerEvent"; + case TTQEvent::Wheel: + return "org.kde.qt.TTQWheelEvent"; default: - return "org.kde.qt.TQEvent"; + return "org.kde.qt.TTQEvent"; } } bool -QtSupport::eventFilterDelegate(TQObject * object, const char * objectType, TQObject * filteredObject, TQEvent * event) +QtSupport::eventFilterDelegate(TTQObject * object, const char * objectType, TTQObject * filteredObject, TTQEvent * event) { JNIEnv * env; jclass cls; @@ -150,7 +150,7 @@ QtSupport::eventFilterDelegate(TQObject * object, const char * objectType, TQObj return FALSE; } - objectTypeString = env->NewStringUTF("org.kde.qt.TQObject"); + objectTypeString = env->NewStringUTF("org.kde.qt.TTQObject"); eventNameString = env->NewStringUTF(QtSupport::eventTypeToEventClassName(event->type())); eventMethodString = env->NewStringUTF("eventFilter"); @@ -170,7 +170,7 @@ QtSupport::eventFilterDelegate(TQObject * object, const char * objectType, TQObj } bool -QtSupport::eventDelegate(TQObject * object, const char * eventType, void * event, const char * eventName) +QtSupport::eventDelegate(TTQObject * object, const char * eventType, void * event, const char * eventName) { JNIEnv * env; jclass cls; @@ -243,7 +243,7 @@ QtSupport::voidDelegate(void * object, const char * className, const char * meth } bool -QtSupport::booleanDelegate(TQObject * object, const char * methodName) +QtSupport::booleanDelegate(TTQObject * object, const char * methodName) { JNIEnv * env; jclass cls; @@ -275,14 +275,14 @@ QtSupport::booleanDelegate(TQObject * object, const char * methodName) } int -QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) +QtSupport::validateDelegate(TTQValidator * object, TTQString & input, int & pos) { JNIEnv * env; jclass cls; jmethodID mid; jobject validator; jstring inputString; - TQString * inputPtr; + TTQString * inputPtr; jstring resultString; jobject buffer; jmethodID bufferConstructor; @@ -295,7 +295,7 @@ QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) env->PushLocalFrame(10); // Allocate a java StringBuffer to hold the input string - inputString = QtSupport::fromQString(env, (TQString *) &input); + inputString = QtSupport::fromTQString(env, (TTQString *) &input); bufferClass = env->FindClass("java/lang/StringBuffer"); bufferConstructor = env->GetMethodID(bufferClass, "", "(Ljava/lang/String;)V"); if (bufferConstructor == 0) { @@ -307,7 +307,7 @@ QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) positionArray = QtSupport::fromIntPtr(env, &pos); // Obtain the validate() method id, and call the method - validator = (jobject) QtSupport::objectForQtKey(env, object, "org.kde.qt.TQValidator"); + validator = (jobject) QtSupport::objectForQtKey(env, object, "org.kde.qt.TTQValidator"); cls = env->GetObjectClass(validator); if (cls == 0) { return 0; @@ -319,7 +319,7 @@ QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) } result = (int) env->CallIntMethod(validator, mid, buffer, positionArray); - // Copy the java result string back into the 'input' QString + // Copy the java result string back into the 'input' TQString bufferToString = env->GetMethodID(bufferClass, "toString", "()Ljava/lang/String;"); if (bufferToString == 0) { env->PopLocalFrame(0); @@ -327,7 +327,7 @@ QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) } resultString = (jstring) env->CallObjectMethod(buffer, bufferToString); inputPtr = &input; - QtSupport::toQString(env, resultString, &inputPtr); + QtSupport::toTQString(env, resultString, &inputPtr); pos = *(QtSupport::toIntPtr(env, positionArray)); env->PopLocalFrame(0); @@ -336,14 +336,14 @@ QtSupport::validateDelegate(TQValidator * object, TQString & input, int & pos) } void -QtSupport::fixupDelegate(TQValidator * object, TQString & input) +QtSupport::fixupDelegate(TTQValidator * object, TTQString & input) { JNIEnv * env; jclass cls; jmethodID mid; jobject fixer; jstring inputString; - TQString * inputPtr; + TTQString * inputPtr; jstring resultString; jobject buffer; jmethodID bufferConstructor; @@ -354,7 +354,7 @@ QtSupport::fixupDelegate(TQValidator * object, TQString & input) env->PushLocalFrame(10); // Allocate a java StringBuffer to hold the input string - inputString = QtSupport::fromQString(env, (TQString *) &input); + inputString = QtSupport::fromTQString(env, (TTQString *) &input); bufferClass = env->FindClass("java/lang/StringBuffer"); bufferConstructor = env->GetMethodID(bufferClass, "", "(Ljava/lang/String;)V"); if (bufferConstructor == 0) { @@ -363,7 +363,7 @@ QtSupport::fixupDelegate(TQValidator * object, TQString & input) buffer = env->NewObject(bufferClass, bufferConstructor, inputString); // Obtain the fixup() method id and call the method - fixer = (jobject) QtSupport::objectForQtKey(env, object, "org.kde.qt.TQValidator"); + fixer = (jobject) QtSupport::objectForQtKey(env, object, "org.kde.qt.TTQValidator"); cls = env->GetObjectClass(fixer); if (cls == 0) { return; @@ -374,7 +374,7 @@ QtSupport::fixupDelegate(TQValidator * object, TQString & input) } env->CallVoidMethod(fixer, mid, buffer); - // Copy the java result string back into the 'input' QString + // Copy the java result string back into the 'input' TQString bufferToString = env->GetMethodID(bufferClass, "toString", "()Ljava/lang/String;"); if (bufferToString == 0) { env->PopLocalFrame(0); @@ -382,7 +382,7 @@ QtSupport::fixupDelegate(TQValidator * object, TQString & input) } resultString = (jstring) env->CallObjectMethod(buffer, bufferToString); inputPtr = &input; - QtSupport::toQString(env, resultString, &inputPtr); + QtSupport::toTQString(env, resultString, &inputPtr); env->PopLocalFrame(0); return; @@ -513,24 +513,24 @@ jboolean QtSupport::connect(JNIEnv * env, jobject sender, jstring signal, jobject receiver, jstring slot) { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, slot); - TQMetaObject * smeta = ((TQObject *) QtSupport::getQt(env, sender))->metaObject(); - QString qtSignalName(javaSlot->javaToQtSignalName(env, signal, smeta)); + TTQMetaObject * smeta = ((TTQObject *) QtSupport::getQt(env, sender))->metaObject(); + TQString qtSignalName(javaSlot->javaToQtSignalName(env, signal, smeta)); // Attempt to connect from the signal on the underlying C++ object first, // otherwise assume that the connection is for a Java signal. if (!qtSignalName.isEmpty()) { - TQMetaObject * smetaTarget = ((TQObject *) QtSupport::getQt(env, receiver))->metaObject(); - QString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, smetaTarget)); + TTQMetaObject * smetaTarget = ((TTQObject *) QtSupport::getQt(env, receiver))->metaObject(); + TQString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, smetaTarget)); if (!qtTargetSignalName.isEmpty()) { // The sender is a C++ signal, and the target is also a C++ signal - return (jboolean) TQObject::connect( (TQObject*) QtSupport::getQt(env, sender), + return (jboolean) TTQObject::connect( (TTQObject*) QtSupport::getQt(env, sender), (const char *) qtSignalName, - (TQObject*) QtSupport::getQt(env, receiver), + (TTQObject*) QtSupport::getQt(env, receiver), (const char *) qtTargetSignalName ); } else { // The sender is a C++ signal, and the target is a java slot - return (jboolean) TQObject::connect( (TQObject*) QtSupport::getQt(env, sender), + return (jboolean) TTQObject::connect( (TTQObject*) QtSupport::getQt(env, sender), (const char *) qtSignalName, javaSlot, javaSlot->javaToQtSlotName(env, slot, qtSignalName) ); @@ -538,7 +538,7 @@ QtSupport::connect(JNIEnv * env, jobject sender, jstring signal, jobject receive } else { // The sender is a java signal, and the target is either a java slot or a java signal // Java signals are always of type jobjectArray - return (jboolean) TQObject::connect( QtSupport::signalForSender(env, QtSupport::getQt(env, sender), signal), + return (jboolean) TTQObject::connect( QtSupport::signalForSender(env, QtSupport::getQt(env, sender), signal), "2signalJava(jobjectArray)", javaSlot, "1invoke(jobjectArray)" ); @@ -549,24 +549,24 @@ jboolean QtSupport::disconnect(JNIEnv * env, jobject sender, jstring signal, jobject receiver, jstring slot) { JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, slot); - TQMetaObject * smeta = ((TQObject *) QtSupport::getQt(env, sender))->metaObject(); - QString qtSignalName(javaSlot->javaToQtSignalName(env, signal, smeta)); + TTQMetaObject * smeta = ((TTQObject *) QtSupport::getQt(env, sender))->metaObject(); + TQString qtSignalName(javaSlot->javaToQtSignalName(env, signal, smeta)); // Attempt to disconnect from the signal on the underlying C++ object first, // otherwise assume that the connection is for a Java signal. if (!qtSignalName.isEmpty()) { - TQMetaObject * smetaTarget = ((TQObject *) QtSupport::getQt(env, receiver))->metaObject(); - QString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, smetaTarget)); + TTQMetaObject * smetaTarget = ((TTQObject *) QtSupport::getQt(env, receiver))->metaObject(); + TQString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, smetaTarget)); if (!qtTargetSignalName.isEmpty()) { // The sender is a C++ signal, and the target is also a C++ signal - return (jboolean) TQObject::disconnect( (TQObject*) QtSupport::getQt(env, sender), + return (jboolean) TTQObject::disconnect( (TTQObject*) QtSupport::getQt(env, sender), (const char *) qtSignalName, - (TQObject*) QtSupport::getQt(env, receiver), + (TTQObject*) QtSupport::getQt(env, receiver), (const char *) qtTargetSignalName ); } else { // The sender is a C++ signal, and the target is a java slot - return (jboolean) TQObject::disconnect( (TQObject*) QtSupport::getQt(env, sender), + return (jboolean) TTQObject::disconnect( (TTQObject*) QtSupport::getQt(env, sender), (const char *) qtSignalName, javaSlot, javaSlot->javaToQtSlotName(env, slot, qtSignalName) ); @@ -574,7 +574,7 @@ QtSupport::disconnect(JNIEnv * env, jobject sender, jstring signal, jobject rece } else { // The sender is a java signal, and the target is either a java slot or a java signal // Java signals are always of type jobjectArray - return (jboolean) TQObject::disconnect( QtSupport::signalForSender(env, QtSupport::getQt(env, sender), signal), + return (jboolean) TTQObject::disconnect( QtSupport::signalForSender(env, QtSupport::getQt(env, sender), signal), "2signalJava(jobjectArray)", javaSlot, "1invoke(jobjectArray)" ); @@ -612,7 +612,7 @@ QtSupport::slotForReceiver(JNIEnv * env, jobject receiver, jstring slot) jmethodID mid; cls = env->FindClass("org/kde/qt/qtjava"); - mid = env->GetStaticMethodID(cls, "slotForReceiver", "(JLorg/kde/qt/QObject;Ljava/lang/String;)J"); + mid = env->GetStaticMethodID(cls, "slotForReceiver", "(JLorg/kde/qt/TQObject;Ljava/lang/String;)J"); if (mid == 0) { return 0; } @@ -622,7 +622,7 @@ QtSupport::slotForReceiver(JNIEnv * env, jobject receiver, jstring slot) return result; } -TQPaintDevice * +TTQPaintDevice * QtSupport::paintDevice(JNIEnv * env, jobject obj) { jclass cls; @@ -635,10 +635,10 @@ QtSupport::paintDevice(JNIEnv * env, jobject obj) } env->DeleteLocalRef(cls); - return (TQPaintDevice *) env->CallLongMethod(obj, mid); + return (TTQPaintDevice *) env->CallLongMethod(obj, mid); } -TQMimeSource * +TTQMimeSource * QtSupport::mimeSource(JNIEnv * env, jobject obj) { jclass cls; @@ -651,7 +651,7 @@ QtSupport::mimeSource(JNIEnv * env, jobject obj) } env->DeleteLocalRef(cls); - return (TQMimeSource *) env->CallLongMethod(obj, mid); + return (TTQMimeSource *) env->CallLongMethod(obj, mid); } bool @@ -749,7 +749,7 @@ QtSupport::fromShortPtr(JNIEnv * env, short * arg) } -jobject QtSupport::fromQDateTime(JNIEnv * env, TQDateTime* qdate) +jobject QtSupport::fromTQDateTime(JNIEnv * env, TTQDateTime* qdate) { jclass cls; jmethodID cid; @@ -775,7 +775,7 @@ jobject QtSupport::fromQDateTime(JNIEnv * env, TQDateTime* qdate) } jobject -QtSupport::fromQDate(JNIEnv * env, TQDate* qdate) +QtSupport::fromTQDate(JNIEnv * env, TTQDate* qdate) { jclass cls; jmethodID cid; @@ -799,7 +799,7 @@ QtSupport::fromQDate(JNIEnv * env, TQDate* qdate) } jobject -QtSupport::fromQTime(JNIEnv * env, TQTime* qtime) +QtSupport::fromTQTime(JNIEnv * env, TTQTime* qtime) { jclass cls; jmethodID cid; @@ -845,20 +845,20 @@ QtSupport::fromQTime(JNIEnv * env, TQTime* qtime) } -TQDateTime * -QtSupport::toQDateTime(JNIEnv * env, jobject jdate, TQDateTime** qdatetime) +TTQDateTime * +QtSupport::toTQDateTime(JNIEnv * env, jobject jdate, TTQDateTime** qdatetime) { -static TQDate * qdate = 0; -static TQTime * qtime = 0; +static TTQDate * qdate = 0; +static TTQTime * qtime = 0; if (*qdatetime == 0) { - *qdatetime = new TQDateTime(); - qdate = new TQDate(); - qtime = new TQTime(); + *qdatetime = new TTQDateTime(); + qdate = new TTQDate(); + qtime = new TTQTime(); } - QtSupport::toQDate(env, jdate, &qdate); - QtSupport::toQTime(env, jdate, &qtime); + QtSupport::toTQDate(env, jdate, &qdate); + QtSupport::toTQTime(env, jdate, &qtime); (*qdatetime)->setDate(*qdate); (*qdatetime)->setTime(*qtime); @@ -869,8 +869,8 @@ static TQTime * qtime = 0; #define JAVA_YEAR 1 #define JAVA_MONTH 2 #define JAVA_DAY_OF_MONTH 5 -TQDate * -QtSupport::toQDate(JNIEnv * env, jobject jdate, TQDate** qdate) +TTQDate * +QtSupport::toTQDate(JNIEnv * env, jobject jdate, TTQDate** qdate) { jclass cls; jmethodID mid; @@ -879,7 +879,7 @@ QtSupport::toQDate(JNIEnv * env, jobject jdate, TQDate** qdate) jint day; if (*qdate == 0) { - *qdate = new TQDate(); + *qdate = new TTQDate(); } cls = env->FindClass("java/util/Calendar"); @@ -899,8 +899,8 @@ QtSupport::toQDate(JNIEnv * env, jobject jdate, TQDate** qdate) return *qdate; } -TQTime * -QtSupport::toQTime(JNIEnv * env, jobject jtime, TQTime** qtime) +TTQTime * +QtSupport::toTQTime(JNIEnv * env, jobject jtime, TTQTime** qtime) { jclass cls; jmethodID mid; @@ -909,7 +909,7 @@ QtSupport::toQTime(JNIEnv * env, jobject jtime, TQTime** qtime) jint second; if (*qtime == 0) { - *qtime = new TQTime(); + *qtime = new TTQTime(); } cls = env->FindClass("java/util/Date"); @@ -942,7 +942,7 @@ QtSupport::toQTime(JNIEnv * env, jobject jtime, TQTime** qtime) } jstring -QtSupport::fromQString(JNIEnv * env, TQString * qstring) +QtSupport::fromTQString(JNIEnv * env, TTQString * qstring) { if (qstring == 0) { return 0; @@ -951,10 +951,10 @@ QtSupport::fromQString(JNIEnv * env, TQString * qstring) if (_bigEndianUnicode) { return env->NewString((const jchar *) qstring->unicode(), (long) qstring->length()); } else { -static TQString * temp = 0L; +static TTQString * temp = 0L; if (temp == 0L) { - temp = new TQString(); + temp = new TTQString(); } // Hack to change the big endian unicode in 'qstring' to little endian in 'temp'. @@ -964,7 +964,7 @@ static TQString * temp = 0L; } jstring -QtSupport::fromQCString(JNIEnv * env, TQCString * qcstring) +QtSupport::fromTQCString(JNIEnv * env, TTQCString * qcstring) { jstring result = 0; jbyteArray bytes = 0; @@ -1006,23 +1006,23 @@ QtSupport::fromCharString(JNIEnv * env, char * qcstring) return result; } -TQString * -QtSupport::toQString(JNIEnv * env, jstring str, TQString ** qstring) +TTQString * +QtSupport::toTQString(JNIEnv * env, jstring str, TTQString ** qstring) { const jchar * _jchar_str; if (str == 0L) { - return (TQString*) &TQString::null; + return (TTQString*) &TTQString::null; } if (*qstring == 0L) { - *qstring = new TQString(); + *qstring = new TTQString(); } _jchar_str = env->GetStringChars(str, 0); if (_bigEndianUnicode) { - (*qstring)->setUnicode((TQChar *) _jchar_str, env->GetStringLength(str)); + (*qstring)->setUnicode((TTQChar *) _jchar_str, env->GetStringLength(str)); } else { (*qstring)->setUnicodeCodes((const ushort *) _jchar_str, env->GetStringLength(str)); } @@ -1031,8 +1031,8 @@ QtSupport::toQString(JNIEnv * env, jstring str, TQString ** qstring) return *qstring; } -TQCString * -QtSupport::toQCString(JNIEnv * env, jstring str, TQCString ** qcstring) +TTQCString * +QtSupport::toTQCString(JNIEnv * env, jstring str, TTQCString ** qcstring) { jbyteArray bytes = 0; jthrowable exc; @@ -1054,7 +1054,7 @@ QtSupport::toQCString(JNIEnv * env, jstring str, TQCString ** qcstring) len = env->GetArrayLength(bytes); if (*qcstring == 0) { - *qcstring = new TQCString(len + 1); + *qcstring = new TTQCString(len + 1); } else { (*qcstring)->resize(len + 1); } @@ -1067,19 +1067,19 @@ QtSupport::toQCString(JNIEnv * env, jstring str, TQCString ** qcstring) } char * -QtSupport::toCharString(JNIEnv * env, jstring str, TQCString ** qcstring) +QtSupport::toCharString(JNIEnv * env, jstring str, TTQCString ** qcstring) { if (str == 0) { return 0; } - (void) QtSupport::toQCString(env, str, qcstring); + (void) QtSupport::toTQCString(env, str, qcstring); return (*qcstring)->data(); } void -QtSupport::fromQStringToStringBuffer(JNIEnv * env, TQString * qstring, jobject buffer) +QtSupport::fromTQStringToStringBuffer(JNIEnv * env, TTQString * qstring, jobject buffer) { jclass cls; jmethodID mid; @@ -1106,13 +1106,13 @@ QtSupport::fromQStringToStringBuffer(JNIEnv * env, TQString * qstring, jobject b return; } - (void) env->CallObjectMethod(buffer, appendMid, QtSupport::fromQString(env, qstring)); + (void) env->CallObjectMethod(buffer, appendMid, QtSupport::fromTQString(env, qstring)); env->DeleteLocalRef(cls); return; } -TQString * -QtSupport::toQStringFromStringBuffer(JNIEnv * env, jobject buffer, TQString ** qstring) +TTQString * +QtSupport::toTQStringFromStringBuffer(JNIEnv * env, jobject buffer, TTQString ** qstring) { jclass cls; jmethodID mid; @@ -1134,10 +1134,10 @@ QtSupport::toQStringFromStringBuffer(JNIEnv * env, jobject buffer, TQString ** q str = (jstring) env->CallObjectMethod(buffer, mid); env->DeleteLocalRef(cls); - return QtSupport::toQString(env, str, qstring); + return QtSupport::toTQString(env, str, qstring); } void -QtSupport::fromQCStringToStringBuffer(JNIEnv * env, TQCString * qcstring, jobject buffer) +QtSupport::fromTQCStringToStringBuffer(JNIEnv * env, TTQCString * qcstring, jobject buffer) { jclass cls; jmethodID mid; @@ -1164,20 +1164,20 @@ QtSupport::fromQCStringToStringBuffer(JNIEnv * env, TQCString * qcstring, jobjec return; } - (void) env->CallObjectMethod(buffer, appendMid, QtSupport::fromQCString(env, qcstring)); + (void) env->CallObjectMethod(buffer, appendMid, QtSupport::fromTQCString(env, qcstring)); env->DeleteLocalRef(cls); return; } jchar -QtSupport::fromQChar(JNIEnv * env, TQChar * qchar) +QtSupport::fromTQChar(JNIEnv * env, TTQChar * qchar) { (void) env; return (jchar) qchar->unicode(); } -TQChar * -QtSupport::toQChar(JNIEnv * env, jchar unichar, TQChar ** qchar) +TTQChar * +QtSupport::toTQChar(JNIEnv * env, jchar unichar, TTQChar ** qchar) { (void) env; @@ -1185,12 +1185,12 @@ QtSupport::toQChar(JNIEnv * env, jchar unichar, TQChar ** qchar) delete *qchar; } - *qchar = new TQChar((ushort) unichar); + *qchar = new TTQChar((ushort) unichar); return *qchar; } jbyteArray -QtSupport::fromQByteArray(JNIEnv * env, TQByteArray * qbyteArray) +QtSupport::fromTQByteArray(JNIEnv * env, TTQByteArray * qbyteArray) { jbyteArray result = 0; int len; @@ -1201,8 +1201,8 @@ QtSupport::fromQByteArray(JNIEnv * env, TQByteArray * qbyteArray) return result; } -TQByteArray * -QtSupport::toQByteArray(JNIEnv * env, jbyteArray bytes, TQByteArray ** qbyteArray) +TTQByteArray * +QtSupport::toTQByteArray(JNIEnv * env, jbyteArray bytes, TTQByteArray ** qbyteArray) { if (bytes == 0) { return 0; @@ -1210,7 +1210,7 @@ QtSupport::toQByteArray(JNIEnv * env, jbyteArray bytes, TQByteArray ** qbyteArra jsize len = env->GetArrayLength(bytes); if (*qbyteArray == 0) { - *qbyteArray = new TQByteArray(len); + *qbyteArray = new TTQByteArray(len); } else { (*qbyteArray)->resize(len); } @@ -1221,7 +1221,7 @@ QtSupport::toQByteArray(JNIEnv * env, jbyteArray bytes, TQByteArray ** qbyteArra } uchar * -QtSupport::toUcharArray(JNIEnv * env, jcharArray bytes, TQByteArray ** qbyteArray) +QtSupport::toUcharArray(JNIEnv * env, jcharArray bytes, TTQByteArray ** qbyteArray) { uchar * data; unsigned short * ptr; @@ -1232,7 +1232,7 @@ QtSupport::toUcharArray(JNIEnv * env, jcharArray bytes, TQByteArray ** qbyteArra jsize len = env->GetArrayLength(bytes); if (*qbyteArray == 0) { - *qbyteArray = new TQByteArray(len*2); + *qbyteArray = new TTQByteArray(len*2); } else { (*qbyteArray)->resize(len*2); } @@ -1251,8 +1251,8 @@ QtSupport::toUcharArray(JNIEnv * env, jcharArray bytes, TQByteArray ** qbyteArra return (uchar*) (*qbyteArray)->data(); } -TQValueList -QtSupport::toQIntValueList(JNIEnv * env, jintArray ints, TQValueList ** qintArray) +TTQValueList +QtSupport::toTQIntValueList(JNIEnv * env, jintArray ints, TTQValueList ** qintArray) { int len; jint * carr; @@ -1271,7 +1271,7 @@ QtSupport::toQIntValueList(JNIEnv * env, jintArray ints, TQValueList ** qin } jintArray -QtSupport::fromQIntValueList(JNIEnv * env, TQValueList * qintArray) +QtSupport::fromTQIntValueList(JNIEnv * env, TTQValueList * qintArray) { jintArray result = 0; int len; @@ -1343,16 +1343,16 @@ QtSupport::toStringArray(JNIEnv * env, jobjectArray stringList) return argv; } -TQStrList * -QtSupport::toQStrList(JNIEnv * env, jobjectArray stringList, TQStrList ** qstringList) +TTQStrList * +QtSupport::toTQStrList(JNIEnv * env, jobjectArray stringList, TTQStrList ** qstringList) { int length; int index; jstring jstr; -static TQString * _qstring_temp = 0; +static TTQString * _qstring_temp = 0; if (*qstringList == 0) { - *qstringList = new TQStrList(); + *qstringList = new TTQStrList(); } (*qstringList)->clear(); @@ -1365,23 +1365,23 @@ static TQString * _qstring_temp = 0; for (index = 0; index < length; index++) { jstr = (jstring) env->GetObjectArrayElement(stringList, index); - (*qstringList)->append((TQString &) * (TQString *) QtSupport::toQString(env, jstr, &_qstring_temp)); + (*qstringList)->append((TTQString &) * (TTQString *) QtSupport::toTQString(env, jstr, &_qstring_temp)); env->DeleteLocalRef(jstr); } return *qstringList; } -TQStringList * -QtSupport::toQStringList(JNIEnv * env, jobjectArray stringList, TQStringList ** qstringList) +TTQStringList * +QtSupport::toTQStringList(JNIEnv * env, jobjectArray stringList, TTQStringList ** qstringList) { int length; int index; jstring jstr; -static TQString * _qstring_temp = 0; +static TTQString * _qstring_temp = 0; if (*qstringList == 0) { - *qstringList = new TQStringList(); + *qstringList = new TTQStringList(); } (*qstringList)->clear(); @@ -1394,7 +1394,7 @@ static TQString * _qstring_temp = 0; for (index = 0; index < length; index++) { jstr = (jstring) env->GetObjectArrayElement(stringList, index); - (*qstringList)->append((TQString &) * (TQString *) QtSupport::toQString(env, jstr, &_qstring_temp)); + (*qstringList)->append((TTQString &) * (TTQString *) QtSupport::toTQString(env, jstr, &_qstring_temp)); env->DeleteLocalRef(jstr); } @@ -1403,7 +1403,7 @@ static TQString * _qstring_temp = 0; jobject -QtSupport::arrayWithQStrList(JNIEnv * env, TQStrList * qstrList, jobject stringArray) +QtSupport::arrayWithTQStrList(JNIEnv * env, TTQStrList * qstrList, jobject stringArray) { jclass cls; jmethodID clearMid; @@ -1441,7 +1441,7 @@ QtSupport::arrayWithQStrList(JNIEnv * env, TQStrList * qstrList, jobject stringA } jobject -QtSupport::arrayWithQStringList(JNIEnv * env, TQStringList * qstringList, jobject stringArray) +QtSupport::arrayWithTQStringList(JNIEnv * env, TTQStringList * qstringList, jobject stringArray) { jclass cls; jmethodID clearMid; @@ -1464,10 +1464,10 @@ QtSupport::arrayWithQStringList(JNIEnv * env, TQStringList * qstringList, jobjec return 0; } - for (TQStringList::Iterator it = qstringList->begin(); it != qstringList->end(); ++it) { + for (TTQStringList::Iterator it = qstringList->begin(); it != qstringList->end(); ++it) { if (! env->CallBooleanMethod( stringArray, addMid, - QtSupport::fromQString(env, (TQString *) &(*it)) ) ) + QtSupport::fromTQString(env, (TTQString *) &(*it)) ) ) { return 0; } @@ -1478,7 +1478,7 @@ QtSupport::arrayWithQStringList(JNIEnv * env, TQStringList * qstringList, jobjec } jobject -QtSupport::arrayWithQWidgetList(JNIEnv * env, TQWidgetList * widgetList, jobject widgetArray) +QtSupport::arrayWithTQWidgetList(JNIEnv * env, TTQWidgetList * widgetList, jobject widgetArray) { jclass cls; jmethodID clearMid; @@ -1502,10 +1502,10 @@ QtSupport::arrayWithQWidgetList(JNIEnv * env, TQWidgetList * widgetList, jobject } for (unsigned int index = 0; index < widgetList->count(); index++) { - TQWidget * currentWidget = (TQWidget *) widgetList->at(index); + TTQWidget * currentWidget = (TTQWidget *) widgetList->at(index); if (! env->CallBooleanMethod( widgetArray, addMid, - QtSupport::objectForQtKey(env, currentWidget, "org.kde.qt.TQWidget") ) ) + QtSupport::objectForQtKey(env, currentWidget, "org.kde.qt.TTQWidget") ) ) { return 0; } @@ -1516,7 +1516,7 @@ QtSupport::arrayWithQWidgetList(JNIEnv * env, TQWidgetList * widgetList, jobject } jobject -QtSupport::arrayWithQDomNodeList(JNIEnv * env, TQDomNodeList * domNodeList, jobject domNodeArray) +QtSupport::arrayWithTQDomNodeList(JNIEnv * env, TTQDomNodeList * domNodeList, jobject domNodeArray) { jclass cls; jmethodID clearMid; @@ -1540,11 +1540,11 @@ QtSupport::arrayWithQDomNodeList(JNIEnv * env, TQDomNodeList * domNodeList, jobj } for (unsigned int index = 0; index < domNodeList->count(); index++) { - TQDomNode currentDomNode = (TQDomNode) domNodeList->item(index); + TTQDomNode currentDomNode = (TTQDomNode) domNodeList->item(index); if (! env->CallBooleanMethod( domNodeArray, addMid, - QtSupport::objectForQtKey(env, ¤tDomNode, "org.kde.qt.TQDomNode") ) ) + QtSupport::objectForQtKey(env, ¤tDomNode, "org.kde.qt.TTQDomNode") ) ) { return 0; } @@ -1555,7 +1555,7 @@ QtSupport::arrayWithQDomNodeList(JNIEnv * env, TQDomNodeList * domNodeList, jobj } jobject -QtSupport::arrayWithQObjectList(JNIEnv * env, TQObjectList * objectList, jobject objectArray) +QtSupport::arrayWithTQObjectList(JNIEnv * env, TTQObjectList * objectList, jobject objectArray) { jclass cls; jmethodID clearMid; @@ -1579,11 +1579,11 @@ QtSupport::arrayWithQObjectList(JNIEnv * env, TQObjectList * objectList, jobject } for (unsigned int index = 0; index < objectList->count(); index++) { - TQObject * currentObject = (TQObject *) objectList->at(index); + TTQObject * currentObject = (TTQObject *) objectList->at(index); if (! env->CallBooleanMethod( objectArray, addMid, - QtSupport::objectForQtKey(env, currentObject, "org.kde.qt.TQObject") ) ) + QtSupport::objectForQtKey(env, currentObject, "org.kde.qt.TTQObject") ) ) { return 0; } @@ -1594,7 +1594,7 @@ QtSupport::arrayWithQObjectList(JNIEnv * env, TQObjectList * objectList, jobject } jobject -QtSupport::arrayWithQCanvasItemList(JNIEnv * env, TQCanvasItemList * itemList, jobject objectArray) +QtSupport::arrayWithTQCanvasItemList(JNIEnv * env, TTQCanvasItemList * itemList, jobject objectArray) { jclass cls; jmethodID clearMid; @@ -1617,39 +1617,39 @@ QtSupport::arrayWithQCanvasItemList(JNIEnv * env, TQCanvasItemList * itemList, j return 0; } - for (TQCanvasItemList::Iterator it = itemList->begin(); it != itemList->end(); ++it) { + for (TTQCanvasItemList::Iterator it = itemList->begin(); it != itemList->end(); ++it) { const char * classString; switch ((*it)->rtti()) { - case TQCanvasItem::Rtti_Item: - classString = "org.kde.qt.TQCanvasItem"; + case TTQCanvasItem::Rtti_Item: + classString = "org.kde.qt.TTQCanvasItem"; break; - case TQCanvasItem::Rtti_Ellipse: - classString = "org.kde.qt.TQCanvasEllipse"; + case TTQCanvasItem::Rtti_Ellipse: + classString = "org.kde.qt.TTQCanvasEllipse"; break; - case TQCanvasItem::Rtti_Line: - classString = "org.kde.qt.TQCanvasLine"; + case TTQCanvasItem::Rtti_Line: + classString = "org.kde.qt.TTQCanvasLine"; break; - case TQCanvasItem::Rtti_Polygon: - classString = "org.kde.qt.TQCanvasPolygon"; + case TTQCanvasItem::Rtti_Polygon: + classString = "org.kde.qt.TTQCanvasPolygon"; break; - case TQCanvasItem::Rtti_PolygonalItem: - classString = "org.kde.qt.TQCanvasPolygonalItem"; + case TTQCanvasItem::Rtti_PolygonalItem: + classString = "org.kde.qt.TTQCanvasPolygonalItem"; break; - case TQCanvasItem::Rtti_Rectangle: - classString = "org.kde.qt.TQCanvasRectangle"; + case TTQCanvasItem::Rtti_Rectangle: + classString = "org.kde.qt.TTQCanvasRectangle"; break; - case TQCanvasItem::Rtti_Spline: - classString = "org.kde.qt.TQCanvasSpline"; + case TTQCanvasItem::Rtti_Spline: + classString = "org.kde.qt.TTQCanvasSpline"; break; - case TQCanvasItem::Rtti_Sprite: - classString = "org.kde.qt.TQCanvasSprite"; + case TTQCanvasItem::Rtti_Sprite: + classString = "org.kde.qt.TTQCanvasSprite"; break; - case TQCanvasItem::Rtti_Text: - classString = "org.kde.qt.TQCanvasText"; + case TTQCanvasItem::Rtti_Text: + classString = "org.kde.qt.TTQCanvasText"; break; default: - classString = "org.kde.qt.TQCanvasItem"; + classString = "org.kde.qt.TTQCanvasItem"; break; } @@ -1666,7 +1666,7 @@ QtSupport::arrayWithQCanvasItemList(JNIEnv * env, TQCanvasItemList * itemList, j } jobject -QtSupport::arrayWithQListViewItemList(JNIEnv * env, TQListViewItemIterator * iterator, jobject arrayList) +QtSupport::arrayWithTQListViewItemList(JNIEnv * env, TTQListViewItemIterator * iterator, jobject arrayList) { jclass cls; jmethodID clearMid; @@ -1691,10 +1691,10 @@ QtSupport::arrayWithQListViewItemList(JNIEnv * env, TQListViewItemIterator * ite } for ( ; iterator->current(); ++(*iterator)) { - TQListViewItem * currentItem = iterator->current(); + TTQListViewItem * currentItem = iterator->current(); - /* rtti() is: 0 = TQListViewItem, 1 = TQCheckListItem */ - className = (currentItem->rtti() == 1 ? "org.kde.qt.TQCheckListItem" : "org.kde.qt.TQListViewItem"); + /* rtti() is: 0 = TTQListViewItem, 1 = TTQCheckListItem */ + className = (currentItem->rtti() == 1 ? "org.kde.qt.TTQCheckListItem" : "org.kde.qt.TTQListViewItem"); if (! env->CallBooleanMethod( arrayList, addMid, QtSupport::objectForQtKey(env, currentItem, className) ) ) @@ -1708,7 +1708,7 @@ QtSupport::arrayWithQListViewItemList(JNIEnv * env, TQListViewItemIterator * ite } jobject -QtSupport::arrayWithQRectList(JNIEnv * env, TQMemArray * rectList, jobject arrayList) +QtSupport::arrayWithTQRectList(JNIEnv * env, TTQMemArray * rectList, jobject arrayList) { jclass cls; jmethodID clearMid; @@ -1732,12 +1732,12 @@ QtSupport::arrayWithQRectList(JNIEnv * env, TQMemArray * rectList, jobje } for (unsigned int index = 0; index < rectList->count(); index++) { - TQRect currentRect = (TQRect) rectList->at(index); + TTQRect currentRect = (TTQRect) rectList->at(index); if (! env->CallBooleanMethod( arrayList, addMid, QtSupport::objectForQtKey( env, - new TQRect(currentRect.topLeft(), currentRect.bottomRight()), - "org.kde.qt.TQRect", + new TTQRect(currentRect.topLeft(), currentRect.bottomRight()), + "org.kde.qt.TTQRect", TRUE ) ) ) { return 0; @@ -1749,7 +1749,7 @@ QtSupport::arrayWithQRectList(JNIEnv * env, TQMemArray * rectList, jobje } jobject -QtSupport::arrayWithQIconDragItemList(JNIEnv * env, TQValueList * dragItemList, jobject arrayList) +QtSupport::arrayWithTQIconDragItemList(JNIEnv * env, TTQValueList * dragItemList, jobject arrayList) { jclass cls; jmethodID clearMid; @@ -1772,11 +1772,11 @@ QtSupport::arrayWithQIconDragItemList(JNIEnv * env, TQValueList return 0; } - for (TQValueList::Iterator it = dragItemList->begin(); it != dragItemList->end(); ++it) { - TQIconDragItem currentItem = (TQIconDragItem) *it; + for (TTQValueList::Iterator it = dragItemList->begin(); it != dragItemList->end(); ++it) { + TTQIconDragItem currentItem = (TTQIconDragItem) *it; if (! env->CallBooleanMethod( arrayList, addMid, - QtSupport::objectForQtKey(env, ¤tItem, "org.kde.qt.TQIconDragItem") ) ) + QtSupport::objectForQtKey(env, ¤tItem, "org.kde.qt.TTQIconDragItem") ) ) { return 0; } @@ -1787,7 +1787,7 @@ QtSupport::arrayWithQIconDragItemList(JNIEnv * env, TQValueList } jobject -QtSupport::arrayWithQUrlInfoList(JNIEnv * env, TQValueList * infoList, jobject arrayList) +QtSupport::arrayWithTQUrlInfoList(JNIEnv * env, TTQValueList * infoList, jobject arrayList) { jclass cls; jmethodID clearMid; @@ -1810,11 +1810,11 @@ QtSupport::arrayWithQUrlInfoList(JNIEnv * env, TQValueList * infoList return 0; } - for (TQValueList::Iterator it = infoList->begin(); it != infoList->end(); ++it) { - TQUrlInfo currentItem = (TQUrlInfo) *it; + for (TTQValueList::Iterator it = infoList->begin(); it != infoList->end(); ++it) { + TTQUrlInfo currentItem = (TTQUrlInfo) *it; if (! env->CallBooleanMethod( arrayList, addMid, - QtSupport::objectForQtKey(env, ¤tItem, "org.kde.qt.TQUrlInfo") ) ) + QtSupport::objectForQtKey(env, ¤tItem, "org.kde.qt.TTQUrlInfo") ) ) { return 0; } diff --git a/qtjava/javalib/qtjava/QtSupport.h b/qtjava/javalib/qtjava/QtSupport.h index 5465fcb6..1f7e7b38 100644 --- a/qtjava/javalib/qtjava/QtSupport.h +++ b/qtjava/javalib/qtjava/QtSupport.h @@ -66,22 +66,22 @@ public: /** Obtain the current JNIEnv */ static JNIEnv * GetEnv(); - /** Converts from the enum TQEvent::Type to the Java class name of the corresponding event */ - static const char * eventTypeToEventClassName(TQEvent::Type eventType); + /** Converts from the enum TTQEvent::Type to the Java class name of the corresponding event */ + static const char * eventTypeToEventClassName(TTQEvent::Type eventType); /** Event filter handling callback function */ - static bool eventFilterDelegate(TQObject * object, const char * objectType, TQObject * filterTarget, TQEvent * event); + static bool eventFilterDelegate(TTQObject * object, const char * objectType, TTQObject * filterTarget, TTQEvent * event); /** Event handling callback function */ - static bool eventDelegate(TQObject * object, const char * eventType, void * event, const char * eventName); + static bool eventDelegate(TTQObject * object, const char * eventType, void * event, const char * eventName); /** Void method with no parameters. FALSE if method is implemented in Java, and returns TRUE if method is not implemented in Java */ static bool voidDelegate(void * object, const char * className, const char * methodName); /** Boolean method with no parameters. FALSE iff method is implemented in Java and also returns FALSE. Returns TRUE if method is not implemented in Java */ - static bool booleanDelegate(TQObject * object, const char * methodName); + static bool booleanDelegate(TTQObject * object, const char * methodName); - /** TQValidator callbacks for validate() and fixup() */ - static int validateDelegate(TQValidator * object, TQString & input, int & pos); - static void fixupDelegate(TQValidator * object, TQString & input); + /** TTQValidator callbacks for validate() and fixup() */ + static int validateDelegate(TTQValidator * object, TTQString & input, int & pos); + static void fixupDelegate(TTQValidator * object, TTQString & input); /** C++ instances are deleted in a finalize method iff 'allocatedInJavaWorld' is true. */ static bool allocatedInJavaWorld(JNIEnv * env, jobject obj); @@ -116,12 +116,12 @@ public: /** Return a JavaSlot proxy instance for a Java slot. Creates a new one if needed. */ static JavaSlot * slotForReceiver(JNIEnv * env, jobject receiver, jstring slot); - /** Casts a 'TQWidget *', 'TQPixmap *' or subclass of TQPaintDevice correctly to a 'TQPaintDevice *'. + /** Casts a 'TTQWidget *', 'TTQPixmap *' or subclass of TTQPaintDevice correctly to a 'TTQPaintDevice *'. Needed because of C++ multiple inheritance complications. */ - static TQPaintDevice * paintDevice(JNIEnv * env, jobject obj); - /** Casts a 'TQDragObject *', 'TQDropEvent *' or subclass of TQDropEvent correctly to a 'TQMimeSource *'. + static TTQPaintDevice * paintDevice(JNIEnv * env, jobject obj); + /** Casts a 'TTQDragObject *', 'TTQDropEvent *' or subclass of TTQDropEvent correctly to a 'TTQMimeSource *'. Needed because of C++ multiple inheritance complications. */ - static TQMimeSource * mimeSource(JNIEnv * env, jobject obj); + static TTQMimeSource * mimeSource(JNIEnv * env, jobject obj); /** Which byte order are Java strings */ static bool bigEndianUnicode(); @@ -139,73 +139,73 @@ public: static jshortArray fromShortPtr(JNIEnv * env, short * arg); /** Convert from Qt dates and times to Java Date and Time */ - static jobject fromQDateTime(JNIEnv * env, TQDateTime* qdate); - static jobject fromQDate(JNIEnv * env, TQDate* qdate); - static jobject fromQTime(JNIEnv * env, TQTime* qtime); + static jobject fromTQDateTime(JNIEnv * env, TTQDateTime* qdate); + static jobject fromTQDate(JNIEnv * env, TTQDate* qdate); + static jobject fromTQTime(JNIEnv * env, TTQTime* qtime); /** Convert from Java Date and Time to Qt dates and times */ - static TQDateTime * toQDateTime(JNIEnv * env, jobject jdate, TQDateTime** qdate); - static TQDate * toQDate(JNIEnv * env, jobject jdate, TQDate** qdate); - static TQTime * toQTime(JNIEnv * env, jobject jtime, TQTime** qtime); - - /** Convert from TQString to Java String */ - static jstring fromQString(JNIEnv * env, TQString * qstring); - /** Convert from TQCString to Java String */ - static jstring fromQCString(JNIEnv * env, TQCString * qcstring); + static TTQDateTime * toTQDateTime(JNIEnv * env, jobject jdate, TTQDateTime** qdate); + static TTQDate * toTQDate(JNIEnv * env, jobject jdate, TTQDate** qdate); + static TTQTime * toTQTime(JNIEnv * env, jobject jtime, TTQTime** qtime); + + /** Convert from TTQString to Java String */ + static jstring fromTQString(JNIEnv * env, TTQString * qstring); + /** Convert from TTQCString to Java String */ + static jstring fromTQCString(JNIEnv * env, TTQCString * qcstring); /** Convert from a char * to Java String */ static jstring fromCharString(JNIEnv * env, char * qcstring); - /** Convert from Java String to TQString */ - static TQString * toQString(JNIEnv * env, jstring str, TQString ** qstring); - /** Convert from Java String to TQCString */ - static TQCString * toQCString(JNIEnv * env, jstring str, TQCString ** qcstring); + /** Convert from Java String to TTQString */ + static TTQString * toTQString(JNIEnv * env, jstring str, TTQString ** qstring); + /** Convert from Java String to TTQCString */ + static TTQCString * toTQCString(JNIEnv * env, jstring str, TTQCString ** qcstring); /** Convert from Java String to a char * */ - static char * toCharString(JNIEnv * env, jstring str, TQCString ** qcstring); - - /** Convert from TQString to Java StringBuffer */ - static void fromQStringToStringBuffer(JNIEnv * env, TQString * qstring, jobject buffer); - /** Convert from Java StringBuffer to TQString */ - static TQString * toQStringFromStringBuffer(JNIEnv * env, jobject buffer, TQString ** qstring); - /** Convert from TQCString to Java StringBuffer */ - static void fromQCStringToStringBuffer(JNIEnv * env, TQCString * qcstring, jobject buffer); + static char * toCharString(JNIEnv * env, jstring str, TTQCString ** qcstring); + + /** Convert from TTQString to Java StringBuffer */ + static void fromTQStringToStringBuffer(JNIEnv * env, TTQString * qstring, jobject buffer); + /** Convert from Java StringBuffer to TTQString */ + static TTQString * toTQStringFromStringBuffer(JNIEnv * env, jobject buffer, TTQString ** qstring); + /** Convert from TTQCString to Java StringBuffer */ + static void fromTQCStringToStringBuffer(JNIEnv * env, TTQCString * qcstring, jobject buffer); - /** Convert from TQChar to Java char */ - static jchar fromQChar(JNIEnv * env, TQChar * qchar); - /** Convert from Java char to TQChar */ - static TQChar * toQChar(JNIEnv * env, jchar unichar, TQChar ** qchar); - - /** Convert from TQByteArray to Java byte array */ - static jbyteArray fromQByteArray(JNIEnv * env, TQByteArray * qbyteArray); - /** Convert from Java byte array to TQByteArray */ - static TQByteArray * toQByteArray(JNIEnv * env, jbyteArray bytes, TQByteArray ** qbyteArray); + /** Convert from TTQChar to Java char */ + static jchar fromTQChar(JNIEnv * env, TTQChar * qchar); + /** Convert from Java char to TTQChar */ + static TTQChar * toTQChar(JNIEnv * env, jchar unichar, TTQChar ** qchar); + + /** Convert from TTQByteArray to Java byte array */ + static jbyteArray fromTQByteArray(JNIEnv * env, TTQByteArray * qbyteArray); + /** Convert from Java byte array to TTQByteArray */ + static TTQByteArray * toTQByteArray(JNIEnv * env, jbyteArray bytes, TTQByteArray ** qbyteArray); /** Convert from Java 'char[]' to 'uchar *' */ - static uchar * toUcharArray(JNIEnv * env, jcharArray bytes, TQByteArray ** qbyteArray); + static uchar * toUcharArray(JNIEnv * env, jcharArray bytes, TTQByteArray ** qbyteArray); - /** Convert from Java 'int[]' to TQValueList */ - static TQValueList toQIntValueList(JNIEnv * env, jintArray ints, TQValueList ** qintArray); - /** Convert from TQValueList to Java 'int[]' */ - static jintArray fromQIntValueList(JNIEnv * env, TQValueList * qintArray); + /** Convert from Java 'int[]' to TTQValueList */ + static TTQValueList toTQIntValueList(JNIEnv * env, jintArray ints, TTQValueList ** qintArray); + /** Convert from TTQValueList to Java 'int[]' */ + static jintArray fromTQIntValueList(JNIEnv * env, TTQValueList * qintArray); /** Convert from a String[] to char * argv[], adding a dummy argv[0] argument */ static char ** toArgv(JNIEnv * env, jobjectArray stringList); /** Convert from a String[] to char * argv[] */ static char ** toStringArray(JNIEnv * env, jobjectArray stringList); - /** Convert from String[] to TQStrList */ - static TQStrList * toQStrList(JNIEnv * env, jobjectArray stringList, TQStrList ** qstringList); - /** Convert from String[] to TQStringList */ - static TQStringList * toQStringList(JNIEnv * env, jobjectArray stringList, TQStringList ** qstringList); + /** Convert from String[] to TTQStrList */ + static TTQStrList * toTQStrList(JNIEnv * env, jobjectArray stringList, TTQStrList ** qstringList); + /** Convert from String[] to TTQStringList */ + static TTQStringList * toTQStringList(JNIEnv * env, jobjectArray stringList, TTQStringList ** qstringList); /** Returns a Java ArrayList for the various types of Qt List */ - static jobject arrayWithQStrList(JNIEnv * env, TQStrList * strList, jobject arrayList = 0); - static jobject arrayWithQStringList(JNIEnv * env, TQStringList * stringList, jobject arrayList = 0); - static jobject arrayWithQWidgetList(JNIEnv * env, TQWidgetList * widgetList, jobject arrayList = 0); - static jobject arrayWithQDomNodeList(JNIEnv * env, TQDomNodeList * domNodeList, jobject arrayList = 0); - static jobject arrayWithQObjectList(JNIEnv * env, TQObjectList * objectList, jobject arrayList = 0); - static jobject arrayWithQCanvasItemList(JNIEnv * env, TQCanvasItemList * itemList, jobject arrayList = 0); - static jobject arrayWithQListViewItemList(JNIEnv * env, TQListViewItemIterator * iterator, jobject arrayList = 0); - static jobject arrayWithQRectList(JNIEnv * env, TQMemArray * rectList, jobject arrayList = 0); - static jobject arrayWithQIconDragItemList(JNIEnv * env, TQValueList * dragItemList, jobject arrayList = 0); - static jobject arrayWithQUrlInfoList(JNIEnv * env, TQValueList * infoList, jobject arrayList = 0); + static jobject arrayWithTQStrList(JNIEnv * env, TTQStrList * strList, jobject arrayList = 0); + static jobject arrayWithTQStringList(JNIEnv * env, TTQStringList * stringList, jobject arrayList = 0); + static jobject arrayWithTQWidgetList(JNIEnv * env, TTQWidgetList * widgetList, jobject arrayList = 0); + static jobject arrayWithTQDomNodeList(JNIEnv * env, TTQDomNodeList * domNodeList, jobject arrayList = 0); + static jobject arrayWithTQObjectList(JNIEnv * env, TTQObjectList * objectList, jobject arrayList = 0); + static jobject arrayWithTQCanvasItemList(JNIEnv * env, TTQCanvasItemList * itemList, jobject arrayList = 0); + static jobject arrayWithTQListViewItemList(JNIEnv * env, TTQListViewItemIterator * iterator, jobject arrayList = 0); + static jobject arrayWithTQRectList(JNIEnv * env, TTQMemArray * rectList, jobject arrayList = 0); + static jobject arrayWithTQIconDragItemList(JNIEnv * env, TTQValueList * dragItemList, jobject arrayList = 0); + static jobject arrayWithTQUrlInfoList(JNIEnv * env, TTQValueList * infoList, jobject arrayList = 0); protected: /** Cache String constructor from bytes, and getBytes() method info */ diff --git a/qtjava/javalib/qtjava/QtUtils.cpp b/qtjava/javalib/qtjava/QtUtils.cpp index ee56ebc1..e0ba22b6 100644 --- a/qtjava/javalib/qtjava/QtUtils.cpp +++ b/qtjava/javalib/qtjava/QtUtils.cpp @@ -10,12 +10,12 @@ #define SYNC_EVENT2 60002 #define ASYNC_EVENT 60003 -class QRunEvent : public TQCustomEvent +class TQRunEvent : public TTQCustomEvent { public: - QRunEvent(int type, jobject r) : - TQCustomEvent(type), + TQRunEvent(int type, jobject r) : + TTQCustomEvent(type), runnable(r), res(0), lock(0) @@ -23,7 +23,7 @@ public: jobject runnable; jobject *res; - TQMutex *lock; + TTQMutex *lock; }; @@ -39,15 +39,15 @@ QtUtils::~QtUtils() } void QtUtils::postSync(JNIEnv* env, jobject runnable) { - TQMutex lock; - QRunEvent *e = new QRunEvent(SYNC_EVENT1, env->NewGlobalRef(runnable)); + TTQMutex lock; + TQRunEvent *e = new TQRunEvent(SYNC_EVENT1, env->NewGlobalRef(runnable)); e->lock = &lock; lock.lock(); //post the event to the QT-UI thread //and trigger its processing - TQApplication::postEvent(this, e); - TQApplication::sendPostedEvents(); + TTQApplication::postEvent(this, e); + TTQApplication::sendPostedEvents(); //the lock is gained only //after executing the runnable @@ -56,17 +56,17 @@ void QtUtils::postSync(JNIEnv* env, jobject runnable) { } jobject QtUtils::postSyncRet(JNIEnv* env, jobject runnable) { - TQMutex lock; + TTQMutex lock; jobject res; - QRunEvent *e = new QRunEvent(SYNC_EVENT2, env->NewGlobalRef(runnable)); + TQRunEvent *e = new TQRunEvent(SYNC_EVENT2, env->NewGlobalRef(runnable)); e->lock = &lock; e->res = &res; lock.lock(); //post the event to the QT-UI thread and //trigger its processing - TQApplication::postEvent(this, e); - TQApplication::sendPostedEvents(); + TTQApplication::postEvent(this, e); + TTQApplication::sendPostedEvents(); //the lock is gained only //after executing the runnable @@ -80,15 +80,15 @@ jobject QtUtils::postSyncRet(JNIEnv* env, jobject runnable) { } void QtUtils::postAsync(JNIEnv *env, jobject runnable) { - QRunEvent *e = new QRunEvent(ASYNC_EVENT, env->NewGlobalRef(runnable)); + TQRunEvent *e = new TQRunEvent(ASYNC_EVENT, env->NewGlobalRef(runnable)); //post the event to the QT-UI thread, //it will be processed in the next Qt-loop iterations - TQApplication::postEvent(this, e); + TTQApplication::postEvent(this, e); } -void QtUtils::customEvent(TQCustomEvent *e) { +void QtUtils::customEvent(TTQCustomEvent *e) { if (e->type() >= SYNC_EVENT1 && e->type() <= ASYNC_EVENT) { - QRunEvent *re = (QRunEvent*) e; + TQRunEvent *re = (TQRunEvent*) e; JNIEnv *env = QtSupport::GetEnv(); jclass cls = env->GetObjectClass(re->runnable); if (re->type() == SYNC_EVENT1) { diff --git a/qtjava/javalib/qtjava/QtUtils.h b/qtjava/javalib/qtjava/QtUtils.h index 16be0656..add2778b 100644 --- a/qtjava/javalib/qtjava/QtUtils.h +++ b/qtjava/javalib/qtjava/QtUtils.h @@ -5,7 +5,7 @@ #include #include -class QtUtils : public QObject +class QtUtils : public TQObject { Q_OBJECT @@ -19,7 +19,7 @@ public: void postAsync(JNIEnv *env, jobject runnable); protected: - virtual void customEvent(TQCustomEvent *e); + virtual void customEvent(TTQCustomEvent *e); public: static QtUtils* gUtils; diff --git a/qtjava/javalib/qtjava/qtjava.cpp b/qtjava/javalib/qtjava/qtjava.cpp index bb83739e..9b368275 100644 --- a/qtjava/javalib/qtjava/qtjava.cpp +++ b/qtjava/javalib/qtjava/qtjava.cpp @@ -39,7 +39,7 @@ static char fullyQualifiedClassName[200]; (void) cls; (void) approximateClassName; - className = (const char *)((TQObject*) qt)->className(); + className = (const char *)((TTQObject*) qt)->className(); if (className[0] == 'Q') { (void) sprintf(fullyQualifiedClassName, "org/kde/qt/%s", className); diff --git a/qtjava/javalib/test/AppWizardBase.java b/qtjava/javalib/test/AppWizardBase.java index 48ae0dd3..9cdb47cb 100644 --- a/qtjava/javalib/test/AppWizardBase.java +++ b/qtjava/javalib/test/AppWizardBase.java @@ -8,32 +8,32 @@ ****************************************************************************/ import org.kde.qt.*; -public class AppWizardBase extends QWizard { - QGroupBox GroupBox8; - QCheckBox lsm_checkbox; - QLabel TextLabel7; - QComboBox license_combobox; - QLabel TextLabel2; - QLineEdit version_edit; - QLabel TextLabel5; - QMultiLineEdit desc_multiedit; - QGroupBox General; - QLabel TextLabel4; - QLabel TextLabel6; - QLabel TextLabel3; - QLineEdit company_edit; - QLineEdit email_edit; - QLineEdit author_edit; - QLabel TextLabel1; - QPushButton loadheader_button; - QPushButton newheader_button; - QMultiLineEdit header_multiedit; - - QGridLayout grid; - QGridLayout GroupBox8Layout; - QGridLayout GeneralLayout; - QGridLayout grid_2; - QHBoxLayout Layout5; +public class AppWizardBase extends TQWizard { + TQGroupBox GroupBox8; + TQCheckBox lsm_checkbox; + TQLabel TextLabel7; + TQComboBox license_combobox; + TQLabel TextLabel2; + TQLineEdit version_edit; + TQLabel TextLabel5; + TQMultiLineEdit desc_multiedit; + TQGroupBox General; + TQLabel TextLabel4; + TQLabel TextLabel6; + TQLabel TextLabel3; + TQLineEdit company_edit; + TQLineEdit email_edit; + TQLineEdit author_edit; + TQLabel TextLabel1; + TQPushButton loadheader_button; + TQPushButton newheader_button; + TQMultiLineEdit header_multiedit; + + TQGridLayout grid; + TQGridLayout GroupBox8Layout; + TQGridLayout GeneralLayout; + TQGridLayout grid_2; + TQHBoxLayout Layout5; /* @@ -43,139 +43,139 @@ public class AppWizardBase extends QWizard { * The wizard will by default be modeless, unless you set 'modal' to * true to construct a modal wizard. */ -AppWizardBase( QWidget parent, String name, boolean modal, int fl ) +AppWizardBase( TQWidget parent, String name, boolean modal, int fl ) { super( parent, name, modal, fl ); if ( name == null ) setName( "AppWizardBase" ); resize( 414, 437 ); setCaption( tr( "Application Wizard" ) ); - QToolTip.add( this, tr( "" ) ); + TQToolTip.add( this, tr( "" ) ); - QWidget privateWidget = new QWidget( this, "privateWidget" ); - grid = new QGridLayout( privateWidget ); + TQWidget privateWidget = new TQWidget( this, "privateWidget" ); + grid = new TQGridLayout( privateWidget ); grid.setSpacing( 6 ); grid.setMargin( 11 ); - GroupBox8 = new QGroupBox( privateWidget, "GroupBox8" ); + GroupBox8 = new TQGroupBox( privateWidget, "GroupBox8" ); GroupBox8.setTitle( tr( "Project" ) ); GroupBox8.setColumnLayout(0, Qt.Vertical ); GroupBox8.layout().setSpacing( 0 ); GroupBox8.layout().setMargin( 0 ); - GroupBox8Layout = new QGridLayout( GroupBox8.layout() ); + GroupBox8Layout = new TQGridLayout( GroupBox8.layout() ); GroupBox8Layout.setAlignment( Qt.AlignTop ); GroupBox8Layout.setSpacing( 6 ); GroupBox8Layout.setMargin( 11 ); - lsm_checkbox = new QCheckBox( GroupBox8, "lsm_checkbox" ); + lsm_checkbox = new TQCheckBox( GroupBox8, "lsm_checkbox" ); lsm_checkbox.setText( tr( "generate lsm-File - (Linux Software Map)" ) ); GroupBox8Layout.addMultiCellWidget( lsm_checkbox, 1, 1, 0, 3 ); - TextLabel7 = new QLabel( GroupBox8, "TextLabel7" ); + TextLabel7 = new TQLabel( GroupBox8, "TextLabel7" ); TextLabel7.setText( tr( "License:" ) ); GroupBox8Layout.addWidget( TextLabel7, 0, 0 ); - license_combobox = new QComboBox( false, GroupBox8, "license_combobox" ); + license_combobox = new TQComboBox( false, GroupBox8, "license_combobox" ); license_combobox.insertItem( tr( "GPL" ) ); license_combobox.insertItem( tr( "LGPL" ) ); license_combobox.insertItem( tr( "BSD" ) ); license_combobox.insertItem( tr( "Artistic" ) ); - license_combobox.insertItem( tr( "QPL" ) ); + license_combobox.insertItem( tr( "TQPL" ) ); license_combobox.insertItem( tr( "Custom" ) ); GroupBox8Layout.addWidget( license_combobox, 0, 1 ); - TextLabel2 = new QLabel( GroupBox8, "TextLabel2" ); + TextLabel2 = new TQLabel( GroupBox8, "TextLabel2" ); TextLabel2.setText( tr( "Version:" ) ); GroupBox8Layout.addWidget( TextLabel2, 0, 2 ); - version_edit = new QLineEdit( GroupBox8, "version_edit" ); + version_edit = new TQLineEdit( GroupBox8, "version_edit" ); version_edit.setText( tr( "0.1" ) ); GroupBox8Layout.addWidget( version_edit, 0, 3 ); - TextLabel5 = new QLabel( GroupBox8, "TextLabel5" ); + TextLabel5 = new TQLabel( GroupBox8, "TextLabel5" ); TextLabel5.setText( tr( "Description:" ) ); GroupBox8Layout.addMultiCellWidget( TextLabel5, 2, 2, 0, 1 ); - desc_multiedit = new QMultiLineEdit( GroupBox8, "desc_multiedit" ); + desc_multiedit = new TQMultiLineEdit( GroupBox8, "desc_multiedit" ); GroupBox8Layout.addMultiCellWidget( desc_multiedit, 3, 3, 0, 3 ); grid.addWidget( GroupBox8, 1, 0 ); - General = new QGroupBox( privateWidget, "General" ); + General = new TQGroupBox( privateWidget, "General" ); General.setTitle( tr( "General" ) ); General.setColumnLayout(0, Qt.Vertical ); General.layout().setSpacing( 0 ); General.layout().setMargin( 0 ); - GeneralLayout = new QGridLayout( General.layout() ); + GeneralLayout = new TQGridLayout( General.layout() ); GeneralLayout.setAlignment( Qt.AlignTop ); GeneralLayout.setSpacing( 6 ); GeneralLayout.setMargin( 11 ); - TextLabel4 = new QLabel( General, "TextLabel4" ); + TextLabel4 = new TQLabel( General, "TextLabel4" ); TextLabel4.setText( tr( "Company:" ) ); GeneralLayout.addWidget( TextLabel4, 2, 0 ); - TextLabel6 = new QLabel( General, "TextLabel6" ); + TextLabel6 = new TQLabel( General, "TextLabel6" ); TextLabel6.setText( tr( "Email:" ) ); GeneralLayout.addWidget( TextLabel6, 1, 0 ); - TextLabel3 = new QLabel( General, "TextLabel3" ); + TextLabel3 = new TQLabel( General, "TextLabel3" ); TextLabel3.setText( tr( "Author:" ) ); GeneralLayout.addWidget( TextLabel3, 0, 0 ); - company_edit = new QLineEdit( General, "company_edit" ); + company_edit = new TQLineEdit( General, "company_edit" ); GeneralLayout.addWidget( company_edit, 2, 1 ); - email_edit = new QLineEdit( General, "email_edit" ); + email_edit = new TQLineEdit( General, "email_edit" ); GeneralLayout.addWidget( email_edit, 1, 1 ); - author_edit = new QLineEdit( General, "author_edit" ); + author_edit = new TQLineEdit( General, "author_edit" ); GeneralLayout.addWidget( author_edit, 0, 1 ); grid.addWidget( General, 0, 0 ); addPage( privateWidget, tr( "General" ) ); - QWidget privateWidget_2 = new QWidget( this, "privateWidget_2" ); - grid_2 = new QGridLayout( privateWidget_2 ); + TQWidget privateWidget_2 = new TQWidget( this, "privateWidget_2" ); + grid_2 = new TQGridLayout( privateWidget_2 ); grid_2.setSpacing( 6 ); grid_2.setMargin( 11 ); - Layout5 = new QHBoxLayout(); + Layout5 = new TQHBoxLayout(); Layout5.setSpacing( 6 ); Layout5.setMargin( 0 ); - TextLabel1 = new QLabel( privateWidget_2, "TextLabel1" ); + TextLabel1 = new TQLabel( privateWidget_2, "TextLabel1" ); TextLabel1.setText( tr( "headertemplate for your files:" ) ); Layout5.addWidget( TextLabel1 ); - QSpacerItem spacer = new QSpacerItem( 0, 0, QSizePolicy.Expanding, QSizePolicy.Minimum ); + TQSpacerItem spacer = new TQSpacerItem( 0, 0, TQSizePolicy.Expanding, TQSizePolicy.Minimum ); Layout5.addItem( spacer ); - loadheader_button = new QPushButton( privateWidget_2, "loadheader_button" ); + loadheader_button = new TQPushButton( privateWidget_2, "loadheader_button" ); loadheader_button.setText( tr( "Load..." ) ); - QToolTip.add( loadheader_button, tr( "" ) ); + TQToolTip.add( loadheader_button, tr( "" ) ); Layout5.addWidget( loadheader_button ); - newheader_button = new QPushButton( privateWidget_2, "newheader_button" ); + newheader_button = new TQPushButton( privateWidget_2, "newheader_button" ); newheader_button.setText( tr( "New" ) ); - QToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) ); + TQToolTip.add( newheader_button, tr( "Clears the pre-set headertemplate" ) ); Layout5.addWidget( newheader_button ); grid_2.addLayout( Layout5, 0, 0 ); - header_multiedit = new QMultiLineEdit( privateWidget_2, "header_multiedit" ); + header_multiedit = new TQMultiLineEdit( privateWidget_2, "header_multiedit" ); grid_2.addWidget( header_multiedit, 1, 0 ); addPage( privateWidget_2, tr( "Header" ) ); diff --git a/qtjava/javalib/test/DirTest.java b/qtjava/javalib/test/DirTest.java index 1a694ed0..9a00962a 100644 --- a/qtjava/javalib/test/DirTest.java +++ b/qtjava/javalib/test/DirTest.java @@ -1,13 +1,13 @@ -//import org.kde.qt.QApplication; -//import org.kde.qt.QDir; +//import org.kde.qt.TQApplication; +//import org.kde.qt.TQDir; import org.kde.qt.*; public class DirTest { public static void main(String[] args) { - QApplication myapp = new QApplication(args); + TQApplication myapp = new TQApplication(args); - QDir mydir = new QDir("/tmp"); + TQDir mydir = new TQDir("/tmp"); if ( mydir.match(new String [] {"*.bmp", "*.h"}, "foobar.bmp") ) { System.out.println("foobar matches"); } @@ -16,10 +16,10 @@ public class DirTest { System.out.println("baz doesn't match"); } - QFile myobj = new QFile(); + TQFile myobj = new TQFile(); Object mytest; System.out.println("myobj: " + myobj.toString()); - mytest = (QDir) Qt.dynamicCast("QDir", myobj); + mytest = (TQDir) Qt.dynamicCast("TQDir", myobj); System.out.println("mytest: " + mytest.toString()); return; } diff --git a/qtjava/javalib/test/FilePropsPageBase.java b/qtjava/javalib/test/FilePropsPageBase.java index 4fd11d27..ba0a8f9e 100644 --- a/qtjava/javalib/test/FilePropsPageBase.java +++ b/qtjava/javalib/test/FilePropsPageBase.java @@ -9,113 +9,113 @@ import org.kde.qt.*; -public class FilePropsPageBase extends QWidget { - QGroupBox GroupBox7; - QLabel TextLabel1_2; - QLineEdit classname_edit; - QLabel TextLabel2_2; - QLineEdit baseclass_edit; - QLineEdit headerfile_edit; - QLabel implfile_label; - QLabel headerfile_label; - QLineEdit implfile_edit; - QLabel TextLabel5; - QLabel TextLabel6; - QListBox classes_listbox; - QMultiLineEdit desc_textview; - - QGridLayout grid; - QGridLayout grid_2; +public class FilePropsPageBase extends TQWidget { + TQGroupBox GroupBox7; + TQLabel TextLabel1_2; + TQLineEdit classname_edit; + TQLabel TextLabel2_2; + TQLineEdit baseclass_edit; + TQLineEdit headerfile_edit; + TQLabel implfile_label; + TQLabel headerfile_label; + TQLineEdit implfile_edit; + TQLabel TextLabel5; + TQLabel TextLabel6; + TQListBox classes_listbox; + TQMultiLineEdit desc_textview; + + TQGridLayout grid; + TQGridLayout grid_2; /* * Constructs a FilePropsPageBase which is a child of 'parent', with the * name 'name' and widget flags set to 'f' */ -public FilePropsPageBase( QWidget parent, String name, int fl ) +public FilePropsPageBase( TQWidget parent, String name, int fl ) { super( parent, name, fl ); if ( name == null ) setName( "Form1" ); resize( 414, 366 ); setCaption( tr( "Form1" ) ); - grid = new QGridLayout( this ); + grid = new TQGridLayout( this ); grid.setSpacing( 6 ); grid.setMargin( 11 ); - GroupBox7 = new QGroupBox( this, "GroupBox7" ); + GroupBox7 = new TQGroupBox( this, "GroupBox7" ); GroupBox7.setTitle( tr( "Customize" ) ); GroupBox7.setColumnLayout(0, Qt.Vertical ); GroupBox7.layout().setSpacing( 0 ); GroupBox7.layout().setMargin( 0 ); - grid_2 = new QGridLayout( GroupBox7.layout() ); + grid_2 = new TQGridLayout( GroupBox7.layout() ); grid_2.setAlignment( Qt.AlignTop ); grid_2.setSpacing( 6 ); grid_2.setMargin( 11 ); - TextLabel1_2 = new QLabel( GroupBox7, "TextLabel1_2" ); + TextLabel1_2 = new TQLabel( GroupBox7, "TextLabel1_2" ); TextLabel1_2.setText( tr( "Class name:" ) ); grid_2.addWidget( TextLabel1_2, 0, 0 ); - classname_edit = new QLineEdit( GroupBox7, "classname_edit" ); + classname_edit = new TQLineEdit( GroupBox7, "classname_edit" ); grid_2.addWidget( classname_edit, 1, 0 ); - TextLabel2_2 = new QLabel( GroupBox7, "TextLabel2_2" ); + TextLabel2_2 = new TQLabel( GroupBox7, "TextLabel2_2" ); TextLabel2_2.setText( tr( "Base class:" ) ); grid_2.addWidget( TextLabel2_2, 2, 0 ); - baseclass_edit = new QLineEdit( GroupBox7, "baseclass_edit" ); + baseclass_edit = new TQLineEdit( GroupBox7, "baseclass_edit" ); grid_2.addWidget( baseclass_edit, 3, 0 ); - headerfile_edit = new QLineEdit( GroupBox7, "headerfile_edit" ); + headerfile_edit = new TQLineEdit( GroupBox7, "headerfile_edit" ); grid_2.addWidget( headerfile_edit, 1, 1 ); - implfile_label = new QLabel( GroupBox7, "implfile_label" ); + implfile_label = new TQLabel( GroupBox7, "implfile_label" ); implfile_label.setText( tr( "Implementation file:" ) ); grid_2.addWidget( implfile_label, 2, 1 ); - headerfile_label = new QLabel( GroupBox7, "headerfile_label" ); + headerfile_label = new TQLabel( GroupBox7, "headerfile_label" ); headerfile_label.setText( tr( "Header file:" ) ); grid_2.addWidget( headerfile_label, 0, 1 ); - implfile_edit = new QLineEdit( GroupBox7, "implfile_edit" ); + implfile_edit = new TQLineEdit( GroupBox7, "implfile_edit" ); grid_2.addWidget( implfile_edit, 3, 1 ); grid.addMultiCellWidget( GroupBox7, 2, 2, 0, 1 ); - TextLabel5 = new QLabel( this, "TextLabel5" ); + TextLabel5 = new TQLabel( this, "TextLabel5" ); TextLabel5.setText( tr( "Classes:" ) ); grid.addWidget( TextLabel5, 0, 0 ); - TextLabel6 = new QLabel( this, "TextLabel6" ); + TextLabel6 = new TQLabel( this, "TextLabel6" ); TextLabel6.setText( tr( "Description:" ) ); grid.addWidget( TextLabel6, 0, 1 ); - classes_listbox = new QListBox( this, "classes_listbox" ); + classes_listbox = new TQListBox( this, "classes_listbox" ); grid.addWidget( classes_listbox, 1, 0 ); - desc_textview = new QMultiLineEdit( this, "desc_textview" ); + desc_textview = new TQMultiLineEdit( this, "desc_textview" ); desc_textview.setEnabled( true ); desc_textview.setText( tr( "" ) ); - desc_textview.setWordWrap( QMultiLineEdit.WidgetWidth ); + desc_textview.setWordWrap( TQMultiLineEdit.WidgetWidth ); desc_textview.setReadOnly( true ); grid.addWidget( desc_textview, 1, 1 ); // signals and slots connections connect( classname_edit, SIGNAL( "textChanged(String)" ), this, SLOT( "slotClassnameChanged(String)" ) ); - connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,QListBoxItem,QPoint)" ), this, SLOT( "slotSelectionChanged()" ) ); + connect( classes_listbox, SIGNAL( "mouseButtonClicked(int,TQListBoxItem,TQPoint)" ), this, SLOT( "slotSelectionChanged()" ) ); // tab order setTabOrder( classes_listbox, classname_edit ); diff --git a/qtjava/javalib/test/Foo.java b/qtjava/javalib/test/Foo.java index e4bddb6d..3d4e5784 100644 --- a/qtjava/javalib/test/Foo.java +++ b/qtjava/javalib/test/Foo.java @@ -7,7 +7,7 @@ public class Foo extends AppWizardBase { * The wizard will by default be modeless, unless you set 'modal' to * true to construct a modal wizard. */ -Foo( QWidget parent, String name, boolean modal, int fl ) +Foo( TQWidget parent, String name, boolean modal, int fl ) { super( parent, name, modal, fl ); } diff --git a/qtjava/javalib/test/ISBNValidator.java b/qtjava/javalib/test/ISBNValidator.java index 25744e11..67f32ac7 100644 --- a/qtjava/javalib/test/ISBNValidator.java +++ b/qtjava/javalib/test/ISBNValidator.java @@ -6,7 +6,7 @@ import org.kde.qt.*; * A class that validates ISBN numbers. See the text for the * specification. */ -public class ISBNValidator extends QValidator +public class ISBNValidator extends TQValidator { public ISBNValidator() { @@ -99,7 +99,7 @@ public class ISBNValidator extends QValidator /** * This method is called when the user has pressed return, but * validate() has judged the string valid but not acceptable. Note - * that fixup() is not required to return an acceptable string. It is + * that fixup() is not retquired to return an acceptable string. It is * guaranteed that the caller will validate() the string once again * after the call to fixup(). */ @@ -129,17 +129,17 @@ public class ISBNValidator extends QValidator public static void main(String[] args) { - class ReturnReceiver extends QObject { + class ReturnReceiver extends TQObject { public void slotReturnPressed() { System.out.println( "return pressed - input accepted" ); } } - QApplication myapp = new QApplication( args ); + TQApplication myapp = new TQApplication( args ); // create a line edit - QLineEdit myedit = new QLineEdit((QWidget) null); + TQLineEdit myedit = new TQLineEdit((TQWidget) null); myedit.resize( 100, 30 ); // create and assign a validator for the line edit @@ -148,7 +148,7 @@ public class ISBNValidator extends QValidator // set up a receiver for the returnPressed() signal ReturnReceiver receiver = new ReturnReceiver(); - QObject.connect( myedit, SIGNAL( "returnPressed()" ), + TQObject.connect( myedit, SIGNAL( "returnPressed()" ), receiver, SLOT( "slotReturnPressed()" ) ); myapp.setMainWidget( myedit ); diff --git a/qtjava/javalib/test/KillerFilter.java b/qtjava/javalib/test/KillerFilter.java index 76481284..d329f3c9 100644 --- a/qtjava/javalib/test/KillerFilter.java +++ b/qtjava/javalib/test/KillerFilter.java @@ -1,11 +1,11 @@ import org.kde.qt.*; -public class KillerFilter extends QObject { +public class KillerFilter extends TQObject { - public boolean eventFilter( QObject object, QEvent event) { - if (event.type() == QEvent.MouseButtonPress) { - if ( ((QMouseEvent)event).button() == RightButton ) { - ((QWidget) object).close(); + public boolean eventFilter( TQObject object, TQEvent event) { + if (event.type() == TQEvent.MouseButtonPress) { + if ( ((TQMouseEvent)event).button() == RightButton ) { + ((TQWidget) object).close(); return true; } else { return false; @@ -17,29 +17,29 @@ public class KillerFilter extends QObject { public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); - QWidget toplevel = new QWidget(); + TQWidget toplevel = new TQWidget(); toplevel.resize( 230, 130 ); - QObject killerFilter = new KillerFilter(); + TQObject killerFilter = new KillerFilter(); - QPushButton pb = new QPushButton(toplevel); + TQPushButton pb = new TQPushButton(toplevel); pb.setGeometry(10, 10, 100, 50 ); pb.setText( "pushbutton" ); pb.installEventFilter( killerFilter ); - QLineEdit le = new QLineEdit( toplevel ); + TQLineEdit le = new TQLineEdit( toplevel ); le.setGeometry( 10, 70, 100, 50 ); le.setText( "Line edit" ); le.installEventFilter( killerFilter ); - QCheckBox cb = new QCheckBox( toplevel ); + TQCheckBox cb = new TQCheckBox( toplevel ); cb.setGeometry( 120, 10, 100, 50 ); cb.setText( "Check-box" ); cb.installEventFilter( killerFilter ); - QRadioButton rb = new QRadioButton( toplevel ); + TQRadioButton rb = new TQRadioButton( toplevel ); rb.setGeometry( 120, 70, 100, 50 ); rb.setText( "Radio button" ); rb.installEventFilter( killerFilter ); diff --git a/qtjava/javalib/test/QTimerTest.java b/qtjava/javalib/test/QTimerTest.java index c81c2c70..c364f68b 100644 --- a/qtjava/javalib/test/QTimerTest.java +++ b/qtjava/javalib/test/QTimerTest.java @@ -5,7 +5,7 @@ import org.kde.qt.*; -public class QTimerTest extends QWidget { +public class TQTimerTest extends TQWidget { public static final int COLOR_MENU_ID_BLACK = 0; public static final int COLOR_MENU_ID_RED = 1; @@ -15,19 +15,19 @@ public class QTimerTest extends QWidget { public static int eventCount = 0; - private QMenuBar _menubar; - private QPopupMenu _filemenu; - private QPopupMenu _colormenu; - private QPopupMenu _helpmenu; - private QScrollView _scrollview; + private TQMenuBar _menubar; + private TQPopupMenu _filemenu; + private TQPopupMenu _colormenu; + private TQPopupMenu _helpmenu; + private TQScrollView _scrollview; private ScribbleArea _scribblearea; - public class ScribbleArea extends QWidget { - private QPoint _last; - private QColor _currentcolor; + public class ScribbleArea extends TQWidget { + private TQPoint _last; + private TQColor _currentcolor; - private QPixmap _buffer; - private QPopupMenu _popupmenu; + private TQPixmap _buffer; + private TQPopupMenu _popupmenu; /** * The constructor. Initializes the member variables. @@ -35,24 +35,24 @@ public class QTimerTest extends QWidget { ScribbleArea() { // initialize member variables - _buffer = new QPixmap(); - _last = new QPoint(); + _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 QPopupMenu(); + _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( QColor ) signal from the + * connected with the colorChanged( TQColor ) signal from the * ScribbleWindow. */ - public void setColor( QColor new_color ) + public void setColor( TQColor new_color ) { _currentcolor = new_color; } @@ -67,18 +67,18 @@ public class QTimerTest extends QWidget { _buffer.fill( Qt.white() ); // and copy it over to the window - QPaintDevice.bitBlt( this, 0, 0, _buffer ); + TQPaintDevice.bitBlt( this, 0, 0, _buffer ); } /** - * This method does the actual loading. It relies on QPixmap (and the + * 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 ) ) - QMessageBox.warning( null, "Load error", "Could not load file" ); + TQMessageBox.warning( null, "Load error", "Could not load file" ); repaint(); // refresh the window } @@ -91,7 +91,7 @@ public class QTimerTest extends QWidget { public void slotSave( String filename ) { if( !_buffer.save( filename, "BMP" ) ) - QMessageBox.warning( null, "Save error", "Could not save file" ); + TQMessageBox.warning( null, "Save error", "Could not save file" ); } @@ -100,10 +100,10 @@ public class QTimerTest extends QWidget { * mouse over the window. It just records the position of the mouse * at the time of the click. */ - public void mousePressEvent(QMouseEvent event) + public void mousePressEvent(TQMouseEvent event) { if ( event.button() == RightButton ) - _popupmenu.exec( QCursor.pos() ); + _popupmenu.exec( TQCursor.pos() ); else { _last = event.pos(); // retrieve the coordinates from the event @@ -119,11 +119,11 @@ public class QTimerTest extends QWidget { * we haven't, and thus don't have to check whether any buttons are * pressed. */ - public void mouseMoveEvent(QMouseEvent event) { - // create a QPainter object for drawing onto the window - QPainter windowpainter = new QPainter(); - // and another QPainter object for drawing int an off-screen pixmap - QPainter bufferpainter = new QPainter(); + 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 @@ -149,67 +149,67 @@ public class QTimerTest extends QWidget { * This method is called whenever the widget needs * painting, for example when it has been obscured and then revealed again. */ - public void paintEvent(QPaintEvent event) { - QPaintDevice.bitBlt(this, 0, 0, _buffer); + 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(QResizeEvent event) { - QPixmap save = new QPixmap( _buffer ); + public void resizeEvent(TQResizeEvent event) { + TQPixmap save = new TQPixmap( _buffer ); _buffer.resize( event.size() ); _buffer.fill( Qt.white() ); - QPaintDevice.bitBlt( _buffer, 0, 0, save ); + TQPaintDevice.bitBlt( _buffer, 0, 0, save ); } } - QTimerTest() + 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 QPopupMenu(); // create a file menu + _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 QPopupMenu(); // create a color menu + _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); - QObject.connect( _colormenu, SIGNAL( "activated(int)" ), + TQObject.connect( _colormenu, SIGNAL( "activated(int)" ), this, SLOT( "slotColorMenu(int)" ) ); - _helpmenu = new QPopupMenu(); // create a help menu + _helpmenu = new TQPopupMenu(); // create a help menu _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) ); _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) ); - _menubar = new QMenuBar( this, "" ); // create a menu bar + _menubar = new TQMenuBar( this, "" ); // create a menu bar _menubar.insertItem( "&File", _filemenu ); _menubar.insertItem( "&Color", _colormenu ); _menubar.insertItem( "&Help", _helpmenu ); - /* We create a QScrollView and a ScribbleArea. The ScribbleArea will + /* We create a TQScrollView and a ScribbleArea. The ScribbleArea will * be managed by the scroll view.*/ - _scrollview = new QScrollView( this ); + _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 ); - QObject.connect( this, SIGNAL( "colorChanged(QColor)" ), - _scribblearea, SLOT( "setColor(QColor)" ) ); - QObject.connect( this, SIGNAL( "save(java.lang.String)" ), + TQObject.connect( this, SIGNAL( "colorChanged(TQColor)" ), + _scribblearea, SLOT( "setColor(TQColor)" ) ); + TQObject.connect( this, SIGNAL( "save(java.lang.String)" ), _scribblearea, SLOT( "slotSave(java.lang.String)" ) ); - QObject.connect( this, SIGNAL( "load(java.lang.String)" ), + TQObject.connect( this, SIGNAL( "load(java.lang.String)" ), _scribblearea, SLOT( "slotLoad(java.lang.String)" ) ); } - public void resizeEvent( QResizeEvent event ) + 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 @@ -222,7 +222,7 @@ public class QTimerTest extends QWidget { public void slotAbout() { - QMessageBox.information( this, "About QtScribble 5", + TQMessageBox.information( this, "About QtScribble 5", "This is the Scribble 5 application\n" + "Copyright 1998 by Mathias Kalle Dalheimer\n" ); @@ -230,7 +230,7 @@ public class QTimerTest extends QWidget { public void slotAboutQt() { - QMessageBox.aboutQt( this, "About Qt" ); + TQMessageBox.aboutQt( this, "About Qt" ); } public void slotColorMenu( int item ) @@ -258,7 +258,7 @@ public class QTimerTest extends QWidget { /** * This is the slot for the menu item File/Load. It opens a - * QFileDialog to ask the user for a filename, then emits a save() + * TQFileDialog to ask the user for a filename, then emits a save() * signal with the filename as parameter. */ public void slotLoad() @@ -266,14 +266,14 @@ public class QTimerTest extends QWidget { /* Open a file dialog for loading. The default directory is the * current directory, the filter *.bmp. */ - String filename = QFileDialog.getOpenFileName( ".", "*.bmp", this ); + 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 - * QFileDialog to ask the user for a filename, then emits a save() + * TQFileDialog to ask the user for a filename, then emits a save() * signal with the filename as parameter. */ public void slotSave() @@ -281,7 +281,7 @@ public class QTimerTest extends QWidget { /* Open a file dialog for saving. The default directory is the * current directory, the filter *.bmp. */ - String filename = QFileDialog.getSaveFileName( ".", "*.bmp", this ); + String filename = TQFileDialog.getSaveFileName( ".", "*.bmp", this ); if ( !filename.equals("") ) emit("save", filename); } @@ -293,11 +293,11 @@ public class QTimerTest extends QWidget { public static void main(String[] args) { - QApplication myapp = new QApplication(args); - QTimerTest mywidget = new QTimerTest(); + TQApplication myapp = new TQApplication(args); + TQTimerTest mywidget = new TQTimerTest(); mywidget.setGeometry(50, 500, 400, 400); - QTimer timer = new QTimer( mywidget ); + TQTimer timer = new TQTimer( mywidget ); connect( timer, Qt.SIGNAL("timeout()"), mywidget, Qt.SLOT("timerDone()") ); timer.start( 2000, false ); // 2 seconds single-shot diff --git a/qtjava/javalib/test/ScribbleWindow.java b/qtjava/javalib/test/ScribbleWindow.java index 731b136f..c8e98166 100644 --- a/qtjava/javalib/test/ScribbleWindow.java +++ b/qtjava/javalib/test/ScribbleWindow.java @@ -5,7 +5,7 @@ import org.kde.qt.*; -public class ScribbleWindow extends QWidget { +public class ScribbleWindow extends TQWidget { public static final int COLOR_MENU_ID_BLACK = 0; public static final int COLOR_MENU_ID_RED = 1; @@ -13,19 +13,19 @@ public class ScribbleWindow extends QWidget { public static final int COLOR_MENU_ID_GREEN = 3; public static final int COLOR_MENU_ID_YELLOW = 4; - private QMenuBar _menubar; - private QPopupMenu _filemenu; - private QPopupMenu _colormenu; - private QPopupMenu _helpmenu; - private QScrollView _scrollview; + private TQMenuBar _menubar; + private TQPopupMenu _filemenu; + private TQPopupMenu _colormenu; + private TQPopupMenu _helpmenu; + private TQScrollView _scrollview; private ScribbleArea _scribblearea; - public class ScribbleArea extends QWidget { - private QPoint _last; - private QColor _currentcolor; + public class ScribbleArea extends TQWidget { + private TQPoint _last; + private TQColor _currentcolor; - private QPixmap _buffer; - private QPopupMenu _popupmenu; + private TQPixmap _buffer; + private TQPopupMenu _popupmenu; /** * The constructor. Initializes the member variables. @@ -33,24 +33,24 @@ public class ScribbleWindow extends QWidget { ScribbleArea() { // initialize member variables - _buffer = new QPixmap(); - _last = new QPoint(); + _buffer = new TQPixmap(); + _last = new TQPoint(); _currentcolor = black(); // don't blank the window before repainting setBackgroundMode( NoBackground ); // create a pop-up menu - _popupmenu = new QPopupMenu(); + _popupmenu = new TQPopupMenu(); _popupmenu.insertItem( "&Clear", this, SLOT( "slotClearArea()" ) ); } /** * This slot sets the curren color for the scribble area. It will be - * connected with the colorChanged( QColor ) signal from the + * connected with the colorChanged( TQColor ) signal from the * ScribbleWindow. */ - public void setColor( QColor new_color ) + public void setColor( TQColor new_color ) { _currentcolor = new_color; } @@ -70,13 +70,13 @@ public class ScribbleWindow extends QWidget { /** - * This method does the actual loading. It relies on QPixmap (and the + * 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 ) ) - QMessageBox.warning( null, "Load error", "Could not load file" ); + TQMessageBox.warning( null, "Load error", "Could not load file" ); repaint(); // refresh the window } @@ -89,7 +89,7 @@ public class ScribbleWindow extends QWidget { public void slotSave( String filename ) { if( !_buffer.save( filename, "BMP" ) ) - QMessageBox.warning( null, "Save error", "Could not save file" ); + TQMessageBox.warning( null, "Save error", "Could not save file" ); } @@ -98,10 +98,10 @@ public class ScribbleWindow extends QWidget { * mouse over the window. It just records the position of the mouse * at the time of the click. */ - protected void mousePressEvent(QMouseEvent event) + protected void mousePressEvent(TQMouseEvent event) { if ( event.button() == RightButton ) - _popupmenu.exec( QCursor.pos() ); + _popupmenu.exec( TQCursor.pos() ); else { _last = event.pos(); // retrieve the coordinates from the event @@ -117,11 +117,11 @@ public class ScribbleWindow extends QWidget { * we haven't, and thus don't have to check whether any buttons are * pressed. */ - protected void mouseMoveEvent(QMouseEvent event) { - // create a QPainter object for drawing onto the window - QPainter windowpainter = new QPainter(); - // and another QPainter object for drawing int an off-screen pixmap - QPainter bufferpainter = new QPainter(); + protected 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 @@ -146,7 +146,7 @@ public class ScribbleWindow extends QWidget { * This method is called whenever the widget needs * painting, for example when it has been obscured and then revealed again. */ - protected void paintEvent(QPaintEvent event) { + protected void paintEvent(TQPaintEvent event) { bitBlt(this, 0, 0, _buffer); } @@ -154,8 +154,8 @@ public class ScribbleWindow extends QWidget { * This method get called whenever the widget needs * painting, for example, when it has been obscured and then revealed again. */ - protected void resizeEvent(QResizeEvent event) { - QPixmap save = new QPixmap( _buffer ); + protected void resizeEvent(TQResizeEvent event) { + TQPixmap save = new TQPixmap( _buffer ); _buffer.resize( event.size() ); _buffer.fill( white() ); bitBlt( _buffer, 0, 0, save ); @@ -166,47 +166,47 @@ public class ScribbleWindow extends QWidget { { /* The next lines build the menu bar. We first create the menus * one by one, then add them to the menu bar. */ - _filemenu = new QPopupMenu(); // create a file menu + _filemenu = new TQPopupMenu(); // create a file menu _filemenu.insertItem( "&Load", this, SLOT( "slotLoad()" ) ); _filemenu.insertItem( "&Save", this, SLOT( "slotSave()" ) ); _filemenu.insertSeparator(); _filemenu.insertItem( "&Quit", qApp(), SLOT( "quit()" ) ); - _colormenu = new QPopupMenu(); // create a color menu + _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); - QObject.connect( _colormenu, SIGNAL( "activated( int )" ), + TQObject.connect( _colormenu, SIGNAL( "activated( int )" ), this, SLOT( "slotColorMenu( int )" ) ); - _helpmenu = new QPopupMenu(); // create a help menu + _helpmenu = new TQPopupMenu(); // create a help menu _helpmenu.insertItem( "&About QtScribble", this, SLOT( "slotAbout()" ) ); _helpmenu.insertItem( "&About Qt", this, SLOT( "slotAboutQt()" ) ); - _menubar = new QMenuBar( this, "" ); // create a menu bar + _menubar = new TQMenuBar( this, "" ); // create a menu bar _menubar.insertItem( "&File", _filemenu ); _menubar.insertItem( "&Color", _colormenu ); _menubar.insertItem( "&Help", _helpmenu ); - /* We create a QScrollView and a ScribbleArea. The ScribbleArea will + /* We create a TQScrollView and a ScribbleArea. The ScribbleArea will * be managed by the scroll view.*/ - _scrollview = new QScrollView( this ); + _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 ); - QObject.connect( this, SIGNAL( "colorChanged( QColor )" ), - _scribblearea, SLOT( "setColor( QColor )" ) ); - QObject.connect( this, SIGNAL( "save( String )" ), + TQObject.connect( this, SIGNAL( "colorChanged( TQColor )" ), + _scribblearea, SLOT( "setColor( TQColor )" ) ); + TQObject.connect( this, SIGNAL( "save( String )" ), _scribblearea, SLOT( "slotSave( String )" ) ); - QObject.connect( this, SIGNAL( "load(String)" ), + TQObject.connect( this, SIGNAL( "load(String)" ), _scribblearea, SLOT( "slotLoad( String )" ) ); } - protected void resizeEvent( QResizeEvent event ) + protected 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 @@ -219,7 +219,7 @@ public class ScribbleWindow extends QWidget { private void slotAbout() { - QMessageBox.information( this, "About QtScribble 5", + TQMessageBox.information( this, "About QtScribble 5", "This is the Scribble 5 application\n" + "Copyright 1998 by Mathias Kalle Dalheimer\n" ); @@ -227,7 +227,7 @@ public class ScribbleWindow extends QWidget { private void slotAboutQt() { - QMessageBox.aboutQt( this, "About Qt" ); + TQMessageBox.aboutQt( this, "About Qt" ); } private void slotColorMenu( int item ) @@ -255,7 +255,7 @@ public class ScribbleWindow extends QWidget { /** * This is the slot for the menu item File/Load. It opens a - * QFileDialog to ask the user for a filename, then emits a save() + * TQFileDialog to ask the user for a filename, then emits a save() * signal with the filename as parameter. */ private void slotLoad() @@ -263,14 +263,14 @@ public class ScribbleWindow extends QWidget { /* Open a file dialog for loading. The default directory is the * current directory, the filter *.bmp. */ - String filename = QFileDialog.getOpenFileName( ".", "*.bmp", this ); + 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 - * QFileDialog to ask the user for a filename, then emits a save() + * TQFileDialog to ask the user for a filename, then emits a save() * signal with the filename as parameter. */ private void slotSave() @@ -278,7 +278,7 @@ public class ScribbleWindow extends QWidget { /* Open a file dialog for saving. The default directory is the * current directory, the filter *.bmp. */ - String filename = QFileDialog.getSaveFileName( ".", "*.bmp", this ); + String filename = TQFileDialog.getSaveFileName( ".", "*.bmp", this ); if ( !filename.equals("") ) emit("save", filename); } @@ -286,7 +286,7 @@ public class ScribbleWindow extends QWidget { public static void main(String[] args) { - QApplication myapp = new QApplication(args); + TQApplication myapp = new TQApplication(args); ScribbleWindow mywidget = new ScribbleWindow(); mywidget.setGeometry(50, 500, 400, 400); diff --git a/qtjava/javalib/test/SignalForwarder.java b/qtjava/javalib/test/SignalForwarder.java index 332ba5e6..8d62aae5 100644 --- a/qtjava/javalib/test/SignalForwarder.java +++ b/qtjava/javalib/test/SignalForwarder.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class SignalForwarder extends QDialog { +public class SignalForwarder extends TQDialog { SignalForwarder() { - QPushButton searchButton = new QPushButton("Search", this); + TQPushButton searchButton = new TQPushButton("Search", this); connect( searchButton, SIGNAL("clicked()"), this, SIGNAL("continueSearch()")); connect( this, SIGNAL("continueSearch()"), this, SLOT("slotContinueSearch()")); } @@ -15,7 +15,7 @@ public class SignalForwarder extends QDialog { public static void main(String[] args) { - QApplication myapp = new QApplication(args); + TQApplication myapp = new TQApplication(args); SignalForwarder signalForwarder = new SignalForwarder(); myapp.setMainWidget(signalForwarder); diff --git a/qtjava/javalib/tutorial/t1/Tut1.java b/qtjava/javalib/tutorial/t1/Tut1.java index dbb95131..86924139 100644 --- a/qtjava/javalib/tutorial/t1/Tut1.java +++ b/qtjava/javalib/tutorial/t1/Tut1.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut1 extends QObject { +public class Tut1 extends TQObject { public static void main(String[] args) { - QApplication a = new QApplication(args); - QPushButton hello = new QPushButton("Hello World!", null); + TQApplication a = new TQApplication(args); + TQPushButton hello = new TQPushButton("Hello World!", null); hello.resize(100, 30); a.setMainWidget(hello); diff --git a/qtjava/javalib/tutorial/t10/CannonField.java b/qtjava/javalib/tutorial/t10/CannonField.java index 3f6e2727..990120a7 100644 --- a/qtjava/javalib/tutorial/t10/CannonField.java +++ b/qtjava/javalib/tutorial/t10/CannonField.java @@ -1,13 +1,13 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; private int f; - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); } public int angle() { @@ -39,34 +39,34 @@ public class CannonField extends QWidget { emit("forceChanged", f); } - private QRect cannonRect() { - QRect r = new QRect(0, 0, 50, 50); + private TQRect cannonRect() { + TQRect r = new TQRect(0, 0, 50, 50); r.moveBottomLeft(rect().bottomLeft()); return r; } - public void paintEvent(QPaintEvent e) { + public void paintEvent(TQPaintEvent e) { if (!e.rect().intersects(cannonRect())) return; - QRect cr = cannonRect(); - QPixmap pix = new QPixmap(cr.size()); - pix.fill(new QColor(250, 250, 200)); + TQRect cr = cannonRect(); + TQPixmap pix = new TQPixmap(cr.size()); + pix.fill(new TQColor(250, 250, 200)); - QPainter p = new QPainter(pix); + TQPainter p = new TQPainter(pix); p.setBrush(blue()); p.setPen(NoPen); p.translate(0, pix.height() - 1); - p.drawPie(new QRect(-35,-35, 70, 70), 0, 90*16); + p.drawPie(new TQRect(-35,-35, 70, 70), 0, 90*16); p.rotate(-ang); - p.drawRect(new QRect(33, -4, 15, 8)); + p.drawRect(new TQRect(33, -4, 15, 8)); p.end(); p.begin(this); p.drawPixmap(cr.topLeft(), pix); } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t10/LCDRange.java b/qtjava/javalib/tutorial/t10/LCDRange.java index 7bbb9886..8f422515 100644 --- a/qtjava/javalib/tutorial/t10/LCDRange.java +++ b/qtjava/javalib/tutorial/t10/LCDRange.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; +public class LCDRange extends TQVBox { + private TQSlider slider; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); diff --git a/qtjava/javalib/tutorial/t10/Tut10.java b/qtjava/javalib/tutorial/t10/Tut10.java index f9141636..e85ef731 100644 --- a/qtjava/javalib/tutorial/t10/Tut10.java +++ b/qtjava/javalib/tutorial/t10/Tut10.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut10 extends QWidget { +public class Tut10 extends TQWidget { public Tut10() { - QPushButton quit = new QPushButton("&Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("&Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -25,12 +25,12 @@ public class Tut10 extends QWidget { connect(cannonField, SIGNAL("forceChanged(int)"), force, SLOT("setValue(int)")); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); grid.addWidget(cannonField, 1, 1); grid.setColStretch(1, 10); - QVBoxLayout leftBox = new QVBoxLayout(); + TQVBoxLayout leftBox = new TQVBoxLayout(); grid.addLayout(leftBox, 1, 0); leftBox.addWidget(angle); leftBox.addWidget(force); @@ -41,8 +41,8 @@ public class Tut10 extends QWidget { } public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); Tut10 w = new Tut10(); w.setGeometry( 100, 100, 500, 355 ); diff --git a/qtjava/javalib/tutorial/t11/CannonField.java b/qtjava/javalib/tutorial/t11/CannonField.java index fc2569ad..8965b642 100644 --- a/qtjava/javalib/tutorial/t11/CannonField.java +++ b/qtjava/javalib/tutorial/t11/CannonField.java @@ -1,27 +1,27 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; private int f; private int timerCount; - private QTimer autoShootTimer; + private TQTimer autoShootTimer; private float shoot_ang; private float shoot_f; - private final QRect barrelRect = new QRect(33, -4, 15, 8); + private final TQRect barrelRect = new TQRect(33, -4, 15, 8); - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; f = 0; timerCount = 0; - autoShootTimer = new QTimer(this, "movement handler"); + autoShootTimer = new TQTimer(this, "movement handler"); connect(autoShootTimer, SIGNAL("timeout()"), this, SLOT("moveShot()")); shoot_ang = 0; shoot_f = 0; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); } public int angle() { @@ -63,21 +63,21 @@ public class CannonField extends QWidget { } public void moveShot() { - QRegion r = new QRegion(shotRect()); + TQRegion r = new TQRegion(shotRect()); timerCount++; - QRect shotR = shotRect(); + TQRect shotR = shotRect(); if (shotR.x() > width() || shotR.y() > height()) autoShootTimer.stop(); else - r = r.unite(new QRegion(shotR)); + r = r.unite(new TQRegion(shotR)); repaint(r); } - public void paintEvent(QPaintEvent e) { - QRect updateR = e.rect(); - QPainter p = new QPainter(this); + public void paintEvent(TQPaintEvent e) { + TQRect updateR = e.rect(); + TQPainter p = new TQPainter(this); if (updateR.intersects(cannonRect())) paintCannon(p); @@ -85,23 +85,23 @@ public class CannonField extends QWidget { paintShot(p); } - private void paintShot(QPainter p) { + private void paintShot(TQPainter p) { p.setBrush(black()); p.setPen(NoPen); p.drawRect(shotRect()); } - private void paintCannon(QPainter p) { - QRect cr = cannonRect(); - QPixmap pix = new QPixmap(cr.size()); - pix.fill(new QColor(250, 250, 200)); + private void paintCannon(TQPainter p) { + TQRect cr = cannonRect(); + TQPixmap pix = new TQPixmap(cr.size()); + pix.fill(new TQColor(250, 250, 200)); - QPainter tmp = new QPainter(pix); + TQPainter tmp = new TQPainter(pix); tmp.setBrush(blue()); tmp.setPen(NoPen); tmp.translate(0, pix.height() - 1); - tmp.drawPie(new QRect(-35,-35, 70, 70), 0, 90*16); + tmp.drawPie(new TQRect(-35,-35, 70, 70), 0, 90*16); tmp.rotate(-ang); tmp.drawRect(barrelRect); tmp.end(); @@ -109,13 +109,13 @@ public class CannonField extends QWidget { p.drawPixmap(cr.topLeft(), pix); } - private QRect cannonRect() { - QRect r = new QRect(0, 0, 50, 50); + private TQRect cannonRect() { + TQRect r = new TQRect(0, 0, 50, 50); r.moveBottomLeft(rect().bottomLeft()); return r; } - private QRect shotRect() { + private TQRect shotRect() { final double gravity = 4; double time = timerCount / 4.0; @@ -129,12 +129,12 @@ public class CannonField extends QWidget { double x = x0 + velx*time; double y = y0 + vely*time - 0.5*gravity*time*time; - QRect r = new QRect(0, 0, 6, 6); - r.moveCenter(new QPoint((int) x, height() - 1 - (int) y)); + TQRect r = new TQRect(0, 0, 6, 6); + r.moveCenter(new TQPoint((int) x, height() - 1 - (int) y)); return r; } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t11/LCDRange.java b/qtjava/javalib/tutorial/t11/LCDRange.java index 7bbb9886..8f422515 100644 --- a/qtjava/javalib/tutorial/t11/LCDRange.java +++ b/qtjava/javalib/tutorial/t11/LCDRange.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; +public class LCDRange extends TQVBox { + private TQSlider slider; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); diff --git a/qtjava/javalib/tutorial/t11/Tut11.java b/qtjava/javalib/tutorial/t11/Tut11.java index b64fcdbe..854a5b0f 100644 --- a/qtjava/javalib/tutorial/t11/Tut11.java +++ b/qtjava/javalib/tutorial/t11/Tut11.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut11 extends QWidget { +public class Tut11 extends TQWidget { public Tut11() { - QPushButton quit = new QPushButton("&Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("&Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -26,22 +26,22 @@ public class Tut11 extends QWidget { force, SLOT("setValue(int)")); - QPushButton shoot = new QPushButton("&Shoot", this, "shoot"); - shoot.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton shoot = new TQPushButton("&Shoot", this, "shoot"); + shoot.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(shoot, SIGNAL("clicked()"), cannonField, SLOT("shoot()")); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); grid.addWidget(cannonField, 1, 1); grid.setColStretch(1, 10); - QVBoxLayout leftBox = new QVBoxLayout(); + TQVBoxLayout leftBox = new TQVBoxLayout(); grid.addLayout(leftBox, 1, 0); leftBox.addWidget(angle); leftBox.addWidget(force); - QHBoxLayout topBox = new QHBoxLayout(); + TQHBoxLayout topBox = new TQHBoxLayout(); grid.addLayout(topBox, 0, 1); topBox.addWidget(shoot); topBox.addStretch(1); @@ -52,8 +52,8 @@ public class Tut11 extends QWidget { } public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); Tut11 w = new Tut11(); w.setGeometry( 100, 100, 500, 355 ); diff --git a/qtjava/javalib/tutorial/t12/CannonField.java b/qtjava/javalib/tutorial/t12/CannonField.java index 28077c15..5bc8de4f 100644 --- a/qtjava/javalib/tutorial/t12/CannonField.java +++ b/qtjava/javalib/tutorial/t12/CannonField.java @@ -1,31 +1,31 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; private int f; private int timerCount; - private QTimer autoShootTimer; + private TQTimer autoShootTimer; private float shoot_ang; private float shoot_f; - private QPoint target; + private TQPoint target; - private final QRect barrelRect = new QRect(33, -4, 15, 8); + private final TQRect barrelRect = new TQRect(33, -4, 15, 8); - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; f = 0; timerCount = 0; - autoShootTimer = new QTimer(this, "movement handler"); + autoShootTimer = new TQTimer(this, "movement handler"); connect(autoShootTimer, SIGNAL("timeout()"), this, SLOT("moveShot()")); shoot_ang = 0; shoot_f = 0; - target = new QPoint(0, 0); + target = new TQPoint(0, 0); - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); newTarget(); } @@ -68,17 +68,17 @@ public class CannonField extends QWidget { } public void newTarget() { - QRegion r = new QRegion(targetRect()); - target = new QPoint((int) (200 + Math.random()*190), + TQRegion r = new TQRegion(targetRect()); + target = new TQPoint((int) (200 + Math.random()*190), (int) (10 + Math.random()*255)); - repaint(r.unite(new QRegion(targetRect()))); + repaint(r.unite(new TQRegion(targetRect()))); } public void moveShot() { - QRegion r = new QRegion(shotRect()); + TQRegion r = new TQRegion(shotRect()); timerCount++; - QRect shotR = shotRect(); + TQRect shotR = shotRect(); if (shotR.intersects(targetRect())) { autoShootTimer.stop(); @@ -87,15 +87,15 @@ public class CannonField extends QWidget { autoShootTimer.stop(); emit("missed"); } else { - r = r.unite(new QRegion(shotR)); + r = r.unite(new TQRegion(shotR)); } repaint(r); } - public void paintEvent(QPaintEvent e) { - QRect updateR = e.rect(); - QPainter p = new QPainter(this); + public void paintEvent(TQPaintEvent e) { + TQRect updateR = e.rect(); + TQPainter p = new TQPainter(this); if (updateR.intersects(cannonRect())) paintCannon(p); @@ -105,30 +105,30 @@ public class CannonField extends QWidget { paintTarget(p); } - private void paintShot(QPainter p) { + private void paintShot(TQPainter p) { p.setBrush(black()); p.setPen(NoPen); p.drawRect(shotRect()); } - private void paintTarget(QPainter p) { + private void paintTarget(TQPainter p) { p.setBrush(red()); p.setPen(black()); p.drawRect(targetRect()); } - private void paintCannon(QPainter p) { - QRect cr = cannonRect(); - QPixmap pix = new QPixmap(cr.size()); - pix.fill(new QColor(250, 250, 200)); + private void paintCannon(TQPainter p) { + TQRect cr = cannonRect(); + TQPixmap pix = new TQPixmap(cr.size()); + pix.fill(new TQColor(250, 250, 200)); - QPainter tmp = new QPainter(pix); + TQPainter tmp = new TQPainter(pix); tmp.setBrush(blue()); tmp.setPen(NoPen); tmp.translate(0, pix.height() - 1); - tmp.drawPie(new QRect(-35,-35, 70, 70), 0, 90*16); + tmp.drawPie(new TQRect(-35,-35, 70, 70), 0, 90*16); tmp.rotate(-ang); tmp.drawRect(barrelRect); tmp.end(); @@ -136,13 +136,13 @@ public class CannonField extends QWidget { p.drawPixmap(cr.topLeft(), pix); } - private QRect cannonRect() { - QRect r = new QRect(0, 0, 50, 50); + private TQRect cannonRect() { + TQRect r = new TQRect(0, 0, 50, 50); r.moveBottomLeft(rect().bottomLeft()); return r; } - private QRect shotRect() { + private TQRect shotRect() { final double gravity = 4; double time = timerCount / 4.0; @@ -156,18 +156,18 @@ public class CannonField extends QWidget { double x = x0 + velx*time; double y = y0 + vely*time - 0.5*gravity*time*time; - QRect r = new QRect(0, 0, 6, 6); - r.moveCenter(new QPoint((int) x, height() - 1 - (int) y)); + TQRect r = new TQRect(0, 0, 6, 6); + r.moveCenter(new TQPoint((int) x, height() - 1 - (int) y)); return r; } - private QRect targetRect() { - QRect r = new QRect(0, 0, 20, 10); - r.moveCenter(new QPoint(target.x(),height() - 1 - target.y())); + private TQRect targetRect() { + TQRect r = new TQRect(0, 0, 20, 10); + r.moveCenter(new TQPoint(target.x(),height() - 1 - target.y())); return r; } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t12/LCDRange.java b/qtjava/javalib/tutorial/t12/LCDRange.java index 3211120b..a2b81bd4 100644 --- a/qtjava/javalib/tutorial/t12/LCDRange.java +++ b/qtjava/javalib/tutorial/t12/LCDRange.java @@ -1,27 +1,27 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; - private QLabel label; +public class LCDRange extends TQVBox { + private TQSlider slider; + private TQLabel label; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); init(); } - public LCDRange(String s, QWidget parent, String name) { + public LCDRange(String s, TQWidget parent, String name) { super(parent, name); init(); setText(s); } private void init() { - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); - label = new QLabel(" ", this, "label", 0); + label = new TQLabel(" ", this, "label", 0); label.setAlignment(AlignCenter); connect(slider, SIGNAL("valueChanged(int)"), diff --git a/qtjava/javalib/tutorial/t12/Tut12.java b/qtjava/javalib/tutorial/t12/Tut12.java index eb0dc917..4bf347fd 100644 --- a/qtjava/javalib/tutorial/t12/Tut12.java +++ b/qtjava/javalib/tutorial/t12/Tut12.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut12 extends QWidget { +public class Tut12 extends TQWidget { public Tut12() { - QPushButton quit = new QPushButton("&Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("&Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -26,22 +26,22 @@ public class Tut12 extends QWidget { force, SLOT("setValue(int)")); - QPushButton shoot = new QPushButton("&Shoot", this, "shoot"); - shoot.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton shoot = new TQPushButton("&Shoot", this, "shoot"); + shoot.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(shoot, SIGNAL("clicked()"), cannonField, SLOT("shoot()")); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); grid.addWidget(cannonField, 1, 1); grid.setColStretch(1, 10); - QVBoxLayout leftBox = new QVBoxLayout(); + TQVBoxLayout leftBox = new TQVBoxLayout(); grid.addLayout(leftBox, 1, 0); leftBox.addWidget(angle); leftBox.addWidget(force); - QHBoxLayout topBox = new QHBoxLayout(); + TQHBoxLayout topBox = new TQHBoxLayout(); grid.addLayout(topBox, 0, 1); topBox.addWidget(shoot); topBox.addStretch(1); @@ -52,8 +52,8 @@ public class Tut12 extends QWidget { } public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); Tut12 w = new Tut12(); w.setGeometry( 100, 100, 500, 355 ); diff --git a/qtjava/javalib/tutorial/t13/CannonField.java b/qtjava/javalib/tutorial/t13/CannonField.java index 9a3253df..53206856 100644 --- a/qtjava/javalib/tutorial/t13/CannonField.java +++ b/qtjava/javalib/tutorial/t13/CannonField.java @@ -1,34 +1,34 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; private int f; private int timerCount; - private QTimer autoShootTimer; + private TQTimer autoShootTimer; private float shoot_ang; private float shoot_f; - private QPoint target; + private TQPoint target; private boolean gameEnded; - private final QRect barrelRect = new QRect(33, -4, 15, 8); + private final TQRect barrelRect = new TQRect(33, -4, 15, 8); - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; f = 0; timerCount = 0; - autoShootTimer = new QTimer(this, "movement handler"); + autoShootTimer = new TQTimer(this, "movement handler"); connect(autoShootTimer, SIGNAL("timeout()"), this, SLOT("moveShot()")); shoot_ang = 0; shoot_f = 0; - target = new QPoint(0, 0); + target = new TQPoint(0, 0); gameEnded = false; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); newTarget(); } @@ -72,10 +72,10 @@ public class CannonField extends QWidget { } public void newTarget() { - QRegion r = new QRegion(targetRect()); - target = new QPoint((int) (200 + Math.random()*190), + TQRegion r = new TQRegion(targetRect()); + target = new TQPoint((int) (200 + Math.random()*190), (int) (10 + Math.random()*255)); - repaint(r.unite(new QRegion(targetRect()))); + repaint(r.unite(new TQRegion(targetRect()))); } public void setGameOver() { @@ -101,10 +101,10 @@ public class CannonField extends QWidget { public void moveShot() { - QRegion r = new QRegion(shotRect()); + TQRegion r = new TQRegion(shotRect()); timerCount++; - QRect shotR = shotRect(); + TQRect shotR = shotRect(); if (shotR.intersects(targetRect())) { autoShootTimer.stop(); @@ -115,19 +115,19 @@ public class CannonField extends QWidget { emit("missed"); emit("canShoot", true); } else { - r = r.unite(new QRegion(shotR)); + r = r.unite(new TQRegion(shotR)); } repaint(r); } - protected void paintEvent(QPaintEvent e) { - QRect updateR = e.rect(); - QPainter p = new QPainter(this); + protected void paintEvent(TQPaintEvent e) { + TQRect updateR = e.rect(); + TQPainter p = new TQPainter(this); if (gameEnded) { p.setPen(black()); - p.setFont(new QFont("Courier", 48, QFont.Bold, false)); + p.setFont(new TQFont("Courier", 48, TQFont.Bold, false)); p.drawText(rect(), AlignCenter, "Game Over"); } if (updateR.intersects(cannonRect())) @@ -138,30 +138,30 @@ public class CannonField extends QWidget { paintTarget(p); } - private void paintShot(QPainter p) { + private void paintShot(TQPainter p) { p.setBrush(black()); p.setPen(NoPen); p.drawRect(shotRect()); } - private void paintTarget(QPainter p) { + private void paintTarget(TQPainter p) { p.setBrush(red()); p.setPen(black()); p.drawRect(targetRect()); } - private void paintCannon(QPainter p) { - QRect cr = cannonRect(); - QPixmap pix = new QPixmap(cr.size()); - pix.fill(new QColor(250, 250, 200)); + private void paintCannon(TQPainter p) { + TQRect cr = cannonRect(); + TQPixmap pix = new TQPixmap(cr.size()); + pix.fill(new TQColor(250, 250, 200)); - QPainter tmp = new QPainter(pix); + TQPainter tmp = new TQPainter(pix); tmp.setBrush(blue()); tmp.setPen(NoPen); tmp.translate(0, pix.height() - 1); - tmp.drawPie(new QRect(-35,-35, 70, 70), 0, 90*16); + tmp.drawPie(new TQRect(-35,-35, 70, 70), 0, 90*16); tmp.rotate(-ang); tmp.drawRect(barrelRect); tmp.end(); @@ -169,13 +169,13 @@ public class CannonField extends QWidget { p.drawPixmap(cr.topLeft(), pix); } - private QRect cannonRect() { - QRect r = new QRect(0, 0, 50, 50); + private TQRect cannonRect() { + TQRect r = new TQRect(0, 0, 50, 50); r.moveBottomLeft(rect().bottomLeft()); return r; } - private QRect shotRect() { + private TQRect shotRect() { final double gravity = 4; double time = timerCount / 4.0; @@ -189,14 +189,14 @@ public class CannonField extends QWidget { double x = x0 + velx*time; double y = y0 + vely*time - 0.5*gravity*time*time; - QRect r = new QRect(0, 0, 6, 6); - r.moveCenter(new QPoint((int) x, height() - 1 - (int) y)); + TQRect r = new TQRect(0, 0, 6, 6); + r.moveCenter(new TQPoint((int) x, height() - 1 - (int) y)); return r; } - private QRect targetRect() { - QRect r = new QRect(0, 0, 20, 10); - r.moveCenter(new QPoint(target.x(),height() - 1 - target.y())); + private TQRect targetRect() { + TQRect r = new TQRect(0, 0, 20, 10); + r.moveCenter(new TQPoint(target.x(),height() - 1 - target.y())); return r; } @@ -204,7 +204,7 @@ public class CannonField extends QWidget { return autoShootTimer.isActive(); } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t13/GameBoard.java b/qtjava/javalib/tutorial/t13/GameBoard.java index 6e44c20f..5ba2579e 100644 --- a/qtjava/javalib/tutorial/t13/GameBoard.java +++ b/qtjava/javalib/tutorial/t13/GameBoard.java @@ -1,13 +1,13 @@ import org.kde.qt.*; -public class GameBoard extends QWidget { - private QLCDNumber hits; - private QLCDNumber shotsLeft; +public class GameBoard extends TQWidget { + private TQLCDNumber hits; + private TQLCDNumber shotsLeft; private CannonField cannonField; public GameBoard() { - QPushButton quit = new QPushButton("&Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("&Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -34,34 +34,34 @@ public class GameBoard extends QWidget { connect(cannonField, SIGNAL("missed()"), this, SLOT("missed()")); - QPushButton shoot = new QPushButton("&Shoot", this, "shoot"); - shoot.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton shoot = new TQPushButton("&Shoot", this, "shoot"); + shoot.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(shoot, SIGNAL("clicked()"), SLOT("fire()")); connect(cannonField, SIGNAL("canShoot(boolean)"), shoot, SLOT("setEnabled(boolean)")); - QPushButton restart = new QPushButton("&New Game", this, "newgame"); - restart.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton restart = new TQPushButton("&New Game", this, "newgame"); + restart.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(restart, SIGNAL("clicked()"), this, SLOT("newGame()")); - hits = new QLCDNumber(2, this, "hits"); - shotsLeft = new QLCDNumber(2, this, "shotsleft"); - QLabel hitsL = new QLabel("HITS", this, "hitsLabel", 0); - QLabel shotsLeftL = new QLabel("SHOTS LEFT", this, "shotsleftLabel", 0); + hits = new TQLCDNumber(2, this, "hits"); + shotsLeft = new TQLCDNumber(2, this, "shotsleft"); + TQLabel hitsL = new TQLabel("HITS", this, "hitsLabel", 0); + TQLabel shotsLeftL = new TQLabel("SHOTS LEFT", this, "shotsleftLabel", 0); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); grid.addWidget(cannonField, 1, 1); grid.setColStretch(1, 10); - QVBoxLayout leftBox = new QVBoxLayout(); + TQVBoxLayout leftBox = new TQVBoxLayout(); grid.addLayout(leftBox, 1, 0); leftBox.addWidget(angle); leftBox.addWidget(force); - QHBoxLayout topBox = new QHBoxLayout(); + TQHBoxLayout topBox = new TQHBoxLayout(); grid.addLayout(topBox, 0, 1); topBox.addWidget(shoot); topBox.addWidget(hits); diff --git a/qtjava/javalib/tutorial/t13/LCDRange.java b/qtjava/javalib/tutorial/t13/LCDRange.java index bf5001db..f55e7b0c 100644 --- a/qtjava/javalib/tutorial/t13/LCDRange.java +++ b/qtjava/javalib/tutorial/t13/LCDRange.java @@ -1,27 +1,27 @@ import org.kde.qt.*; -public class LCDRange extends QWidget { - private QSlider slider; - private QLabel label; +public class LCDRange extends TQWidget { + private TQSlider slider; + private TQLabel label; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); init(); } - public LCDRange(String s, QWidget parent, String name) { + public LCDRange(String s, TQWidget parent, String name) { super(parent, name); init(); setText(s); } private void init() { - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); - label = new QLabel(" ", this, "label", 0); + label = new TQLabel(" ", this, "label", 0); label.setAlignment(AlignCenter); connect(slider, SIGNAL("valueChanged(int)"), @@ -31,7 +31,7 @@ public class LCDRange extends QWidget { setFocusProxy(slider); - QVBoxLayout l = new QVBoxLayout(this); + TQVBoxLayout l = new TQVBoxLayout(this); l.addWidget(lcd, 1); l.addWidget(slider); l.addWidget(label); diff --git a/qtjava/javalib/tutorial/t13/Tut13.java b/qtjava/javalib/tutorial/t13/Tut13.java index ceb0d84d..a791ffc7 100644 --- a/qtjava/javalib/tutorial/t13/Tut13.java +++ b/qtjava/javalib/tutorial/t13/Tut13.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut13 extends QObject { +public class Tut13 extends TQObject { public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); GameBoard gb = new GameBoard(); gb.setGeometry(100, 100, 500, 355); diff --git a/qtjava/javalib/tutorial/t14/CannonField.java b/qtjava/javalib/tutorial/t14/CannonField.java index 1ace9c78..954d87ff 100644 --- a/qtjava/javalib/tutorial/t14/CannonField.java +++ b/qtjava/javalib/tutorial/t14/CannonField.java @@ -1,36 +1,36 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; private int f; private int timerCount; - private QTimer autoShootTimer; + private TQTimer autoShootTimer; private float shoot_ang; private float shoot_f; - private QPoint target; + private TQPoint target; private boolean gameEnded; private boolean barrelPressed; - private final QRect barrelRect = new QRect(33, -4, 15, 8); + private final TQRect barrelRect = new TQRect(33, -4, 15, 8); - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; f = 0; timerCount = 0; - autoShootTimer = new QTimer(this, "movement handler"); + autoShootTimer = new TQTimer(this, "movement handler"); connect(autoShootTimer, SIGNAL("timeout()"), this, SLOT("moveShot()")); shoot_ang = 0; shoot_f = 0; - target = new QPoint(0, 0); + target = new TQPoint(0, 0); gameEnded = false; barrelPressed = false; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); newTarget(); } @@ -74,10 +74,10 @@ public class CannonField extends QWidget { } public void newTarget() { - QRegion r = new QRegion(targetRect()); - target = new QPoint((int) (200 + Math.random()*190), + TQRegion r = new TQRegion(targetRect()); + target = new TQPoint((int) (200 + Math.random()*190), (int) (10 + Math.random()*255)); - repaint(r.unite(new QRegion(targetRect()))); + repaint(r.unite(new TQRegion(targetRect()))); } public void setGameOver() { @@ -103,10 +103,10 @@ public class CannonField extends QWidget { public void moveShot() { - QRegion r = new QRegion(shotRect()); + TQRegion r = new TQRegion(shotRect()); timerCount++; - QRect shotR = shotRect(); + TQRect shotR = shotRect(); if (shotR.intersects(targetRect())) { autoShootTimer.stop(); @@ -118,23 +118,23 @@ public class CannonField extends QWidget { emit("missed"); emit("canShoot", true); } else { - r = r.unite(new QRegion(shotR)); + r = r.unite(new TQRegion(shotR)); } repaint(r); } - protected void mousePressEvent(QMouseEvent e) { + protected void mousePressEvent(TQMouseEvent e) { if (e.button() != LeftButton) return; if (barrelHit(e.pos())) barrelPressed = true; } - protected void mouseMoveEvent(QMouseEvent e) { + protected void mouseMoveEvent(TQMouseEvent e) { if (!barrelPressed) return; - QPoint pnt = e.pos(); + TQPoint pnt = e.pos(); if (pnt.x() <= 0) pnt.setX(1); if (pnt.y() >= height()) @@ -143,19 +143,19 @@ public class CannonField extends QWidget { setAngle((int) (rad*180/3.14159265)); } - protected void mouseReleaseEvent(QMouseEvent e) { + protected void mouseReleaseEvent(TQMouseEvent e) { if (e.button() == LeftButton) barrelPressed = true; } - protected void paintEvent(QPaintEvent e) { - QRect updateR = e.rect(); - QPainter p = new QPainter(this); + protected void paintEvent(TQPaintEvent e) { + TQRect updateR = e.rect(); + TQPainter p = new TQPainter(this); if (gameEnded) { p.setPen(black()); - p.setFont(new QFont("Courier", 48, QFont.Bold, false)); + p.setFont(new TQFont("Courier", 48, TQFont.Bold, false)); p.drawText(rect(), AlignCenter, "Game Over"); } if (updateR.intersects(cannonRect())) @@ -168,35 +168,35 @@ public class CannonField extends QWidget { paintTarget(p); } - private void paintShot(QPainter p) { + private void paintShot(TQPainter p) { p.setBrush(black()); p.setPen(NoPen); p.drawRect(shotRect()); } - private void paintTarget(QPainter p) { + private void paintTarget(TQPainter p) { p.setBrush(red()); p.setPen(black()); p.drawRect(targetRect()); } - private void paintBarrier(QPainter p) { + private void paintBarrier(TQPainter p) { p.setBrush(yellow()); p.setPen(black()); p.drawRect(barrierRect()); } - private void paintCannon(QPainter p) { - QRect cr = cannonRect(); - QPixmap pix = new QPixmap(cr.size()); - pix.fill(new QColor(250, 250, 200)); + private void paintCannon(TQPainter p) { + TQRect cr = cannonRect(); + TQPixmap pix = new TQPixmap(cr.size()); + pix.fill(new TQColor(250, 250, 200)); - QPainter tmp = new QPainter(pix); + TQPainter tmp = new TQPainter(pix); tmp.setBrush(blue()); tmp.setPen(NoPen); tmp.translate(0, pix.height() - 1); - tmp.drawPie(new QRect(-35,-35, 70, 70), 0, 90*16); + tmp.drawPie(new TQRect(-35,-35, 70, 70), 0, 90*16); tmp.rotate(-ang); tmp.drawRect(barrelRect); tmp.end(); @@ -204,13 +204,13 @@ public class CannonField extends QWidget { p.drawPixmap(cr.topLeft(), pix); } - private QRect cannonRect() { - QRect r = new QRect(0, 0, 50, 50); + private TQRect cannonRect() { + TQRect r = new TQRect(0, 0, 50, 50); r.moveBottomLeft(rect().bottomLeft()); return r; } - private QRect shotRect() { + private TQRect shotRect() { final double gravity = 4; double time = timerCount / 4.0; @@ -224,23 +224,23 @@ public class CannonField extends QWidget { double x = x0 + velx*time; double y = y0 + vely*time - 0.5*gravity*time*time; - QRect r = new QRect(0, 0, 6, 6); - r.moveCenter(new QPoint((int) x, height() - 1 - (int) y)); + TQRect r = new TQRect(0, 0, 6, 6); + r.moveCenter(new TQPoint((int) x, height() - 1 - (int) y)); return r; } - private QRect targetRect() { - QRect r = new QRect(0, 0, 20, 10); - r.moveCenter(new QPoint(target.x(),height() - 1 - target.y())); + private TQRect targetRect() { + TQRect r = new TQRect(0, 0, 20, 10); + r.moveCenter(new TQPoint(target.x(),height() - 1 - target.y())); return r; } - private QRect barrierRect() { - return new QRect(145, height() - 100, 15, 100); + private TQRect barrierRect() { + return new TQRect(145, height() - 100, 15, 100); } - private boolean barrelHit(QPoint p) { - QWMatrix mtx = new QWMatrix(); + private boolean barrelHit(TQPoint p) { + TQWMatrix mtx = new TQWMatrix(); mtx.translate(0, height() - 1); mtx.rotate(-ang); mtx = mtx.invert(new boolean[1]); @@ -251,11 +251,11 @@ public class CannonField extends QWidget { return autoShootTimer.isActive(); } - public QSize sizeHint() { - return new QSize(400, 300); + public TQSize sizeHint() { + return new TQSize(400, 300); } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t14/GameBoard.java b/qtjava/javalib/tutorial/t14/GameBoard.java index 46efa2eb..571e902e 100644 --- a/qtjava/javalib/tutorial/t14/GameBoard.java +++ b/qtjava/javalib/tutorial/t14/GameBoard.java @@ -1,14 +1,14 @@ import org.kde.qt.*; -public class GameBoard extends QWidget { - private QLCDNumber hits; - private QLCDNumber shotsLeft; +public class GameBoard extends TQWidget { + private TQLCDNumber hits; + private TQLCDNumber shotsLeft; private CannonField cannonField; public GameBoard() { super(null, "gameboard"); - QPushButton quit = new QPushButton("&Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("&Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -18,8 +18,8 @@ public class GameBoard extends QWidget { LCDRange force = new LCDRange("FORCE", this, "force"); force.setRange(10, 50); - QVBox box = new QVBox(this, "cannonFrame"); - box.setFrameStyle(QFrame.WinPanel | QFrame.Sunken); + TQVBox box = new TQVBox(this, "cannonFrame"); + box.setFrameStyle(TQFrame.WinPanel | TQFrame.Sunken); cannonField = new CannonField(box, "cannonField"); @@ -38,41 +38,41 @@ public class GameBoard extends QWidget { connect(cannonField, SIGNAL("missed()"), this, SLOT("missed()")); - QPushButton shoot = new QPushButton("&Shoot", this, "shoot"); - shoot.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton shoot = new TQPushButton("&Shoot", this, "shoot"); + shoot.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(shoot, SIGNAL("clicked()"), SLOT("fire()")); - QPushButton restart = new QPushButton("&New Game", this, "newgame"); - restart.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton restart = new TQPushButton("&New Game", this, "newgame"); + restart.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(restart, SIGNAL("clicked()"), this, SLOT("newGame()")); - hits = new QLCDNumber(2, this, "hits"); - shotsLeft = new QLCDNumber(2, this, "shotsleft"); - QLabel hitsL = new QLabel("HITS", this, "hitsLabel", 0); - QLabel shotsLeftL = new QLabel("SHOTS LEFT", this, "shotsleftLabel", 0); + hits = new TQLCDNumber(2, this, "hits"); + shotsLeft = new TQLCDNumber(2, this, "shotsleft"); + TQLabel hitsL = new TQLabel("HITS", this, "hitsLabel", 0); + TQLabel shotsLeftL = new TQLabel("SHOTS LEFT", this, "shotsleftLabel", 0); - QAccel accel = new QAccel(this); - accel.connectItem(accel.insertItem(new QKeySequence(Key_Enter)), this, SLOT("fire()")); - accel.connectItem(accel.insertItem(new QKeySequence(Key_Return)), this, SLOT("fire()")); - accel.connectItem(accel.insertItem(new QKeySequence(CTRL+Key_Q)), qApp(), SLOT("quit()")); + TQAccel accel = new TQAccel(this); + accel.connectItem(accel.insertItem(new TQKeySequence(Key_Enter)), this, SLOT("fire()")); + accel.connectItem(accel.insertItem(new TQKeySequence(Key_Return)), this, SLOT("fire()")); + accel.connectItem(accel.insertItem(new TQKeySequence(CTRL+Key_Q)), qApp(), SLOT("quit()")); /*** accel.connectItem(accel.insertItem(Key_Enter), this, SLOT("fire()")); accel.connectItem(accel.insertItem(Key_Return), this, SLOT("fire()")); accel.connectItem(accel.insertItem(CTRL+Key_Q), qApp(), SLOT("quit()")); ***/ - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); grid.addWidget(quit, 0, 0); grid.addWidget(box, 1, 1); grid.setColStretch(1, 10); - QVBoxLayout leftBox = new QVBoxLayout(); + TQVBoxLayout leftBox = new TQVBoxLayout(); grid.addLayout(leftBox, 1, 0); leftBox.addWidget(angle); leftBox.addWidget(force); - QHBoxLayout topBox = new QHBoxLayout(); + TQHBoxLayout topBox = new TQHBoxLayout(); grid.addLayout(topBox, 0, 1); topBox.addWidget(shoot); topBox.addWidget(hits); diff --git a/qtjava/javalib/tutorial/t14/LCDRange.java b/qtjava/javalib/tutorial/t14/LCDRange.java index bf5001db..f55e7b0c 100644 --- a/qtjava/javalib/tutorial/t14/LCDRange.java +++ b/qtjava/javalib/tutorial/t14/LCDRange.java @@ -1,27 +1,27 @@ import org.kde.qt.*; -public class LCDRange extends QWidget { - private QSlider slider; - private QLabel label; +public class LCDRange extends TQWidget { + private TQSlider slider; + private TQLabel label; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); init(); } - public LCDRange(String s, QWidget parent, String name) { + public LCDRange(String s, TQWidget parent, String name) { super(parent, name); init(); setText(s); } private void init() { - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); - label = new QLabel(" ", this, "label", 0); + label = new TQLabel(" ", this, "label", 0); label.setAlignment(AlignCenter); connect(slider, SIGNAL("valueChanged(int)"), @@ -31,7 +31,7 @@ public class LCDRange extends QWidget { setFocusProxy(slider); - QVBoxLayout l = new QVBoxLayout(this); + TQVBoxLayout l = new TQVBoxLayout(this); l.addWidget(lcd, 1); l.addWidget(slider); l.addWidget(label); diff --git a/qtjava/javalib/tutorial/t14/Tut14.java b/qtjava/javalib/tutorial/t14/Tut14.java index ace919c3..220d12ec 100644 --- a/qtjava/javalib/tutorial/t14/Tut14.java +++ b/qtjava/javalib/tutorial/t14/Tut14.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut14 extends QObject { +public class Tut14 extends TQObject { public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); GameBoard gb = new GameBoard(); gb.setGeometry(100, 100, 500, 355); diff --git a/qtjava/javalib/tutorial/t2/Tut2.java b/qtjava/javalib/tutorial/t2/Tut2.java index d9e0883a..2d509777 100644 --- a/qtjava/javalib/tutorial/t2/Tut2.java +++ b/qtjava/javalib/tutorial/t2/Tut2.java @@ -1,11 +1,11 @@ import org.kde.qt.*; -public class Tut2 extends QObject { +public class Tut2 extends TQObject { public static void main(String[] args) { - QApplication a = new QApplication(args); - QPushButton quit = new QPushButton("Quit", null); + TQApplication a = new TQApplication(args); + TQPushButton quit = new TQPushButton("Quit", null); quit.resize( 75, 30 ); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), a, SLOT("quit()")); diff --git a/qtjava/javalib/tutorial/t3/Tut3.java b/qtjava/javalib/tutorial/t3/Tut3.java index 7a1e0a43..95e7501e 100644 --- a/qtjava/javalib/tutorial/t3/Tut3.java +++ b/qtjava/javalib/tutorial/t3/Tut3.java @@ -1,14 +1,14 @@ import org.kde.qt.*; -public class Tut3 extends QObject { +public class Tut3 extends TQObject { public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); - QVBox box = new QVBox(); + TQVBox box = new TQVBox(); box.resize(200, 120); - QPushButton quit = new QPushButton("Quit", box); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", box); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), a, SLOT("quit()")); diff --git a/qtjava/javalib/tutorial/t4/Tut4.java b/qtjava/javalib/tutorial/t4/Tut4.java index dd67e272..3cb9393c 100644 --- a/qtjava/javalib/tutorial/t4/Tut4.java +++ b/qtjava/javalib/tutorial/t4/Tut4.java @@ -1,19 +1,19 @@ import org.kde.qt.*; -public class Tut4 extends QWidget { +public class Tut4 extends TQWidget { public Tut4() { setMinimumSize(200,120); setMaximumSize(200,120); - QPushButton quit = new QPushButton("Quit", this, "quit"); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); quit.setGeometry(62, 40, 75, 30); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); } public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); Tut4 w = new Tut4(); w.setGeometry(100, 100, 200, 120); diff --git a/qtjava/javalib/tutorial/t5/Tut5.java b/qtjava/javalib/tutorial/t5/Tut5.java index e0de9ac5..7b3fa60a 100644 --- a/qtjava/javalib/tutorial/t5/Tut5.java +++ b/qtjava/javalib/tutorial/t5/Tut5.java @@ -1,15 +1,15 @@ import org.kde.qt.*; -public class Tut5 extends QVBox { +public class Tut5 extends TQVBox { public Tut5() { - QPushButton quit = new QPushButton("Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); - QSlider slider = new QSlider(Horizontal, this, "slider"); + TQSlider slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); @@ -17,7 +17,7 @@ public class Tut5 extends QVBox { } public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); Tut5 w = new Tut5(); a.setMainWidget(w); diff --git a/qtjava/javalib/tutorial/t6/LCDRange.java b/qtjava/javalib/tutorial/t6/LCDRange.java index 9db207c8..5315c0a7 100644 --- a/qtjava/javalib/tutorial/t6/LCDRange.java +++ b/qtjava/javalib/tutorial/t6/LCDRange.java @@ -1,15 +1,15 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - public LCDRange(QWidget parent, String name) { +public class LCDRange extends TQVBox { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - QSlider slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + TQSlider slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); connect(slider, SIGNAL("valueChanged(int)"), lcd, SLOT("display(int)")); } - public LCDRange(QWidget parent) { + public LCDRange(TQWidget parent) { this(parent, null); } } diff --git a/qtjava/javalib/tutorial/t6/Tut6.java b/qtjava/javalib/tutorial/t6/Tut6.java index 8da2e736..b93807cc 100644 --- a/qtjava/javalib/tutorial/t6/Tut6.java +++ b/qtjava/javalib/tutorial/t6/Tut6.java @@ -1,13 +1,13 @@ import org.kde.qt.*; -public class Tut6 extends QVBox { +public class Tut6 extends TQVBox { public Tut6() { - QPushButton quit = new QPushButton("Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); - QGrid grid = new QGrid(4, this, null, 0); + TQGrid grid = new TQGrid(4, this, null, 0); for(int c = 0; c < 4; c++) for(int r = 0; r < 4; r++) @@ -15,7 +15,7 @@ public class Tut6 extends QVBox { } public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); Tut6 w = new Tut6(); a.setMainWidget(w); diff --git a/qtjava/javalib/tutorial/t7/LCDRange.java b/qtjava/javalib/tutorial/t7/LCDRange.java index 9208ae85..b2171ec2 100644 --- a/qtjava/javalib/tutorial/t7/LCDRange.java +++ b/qtjava/javalib/tutorial/t7/LCDRange.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; +public class LCDRange extends TQVBox { + private TQSlider slider; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); @@ -15,7 +15,7 @@ public class LCDRange extends QVBox { connect(slider, SIGNAL("valueChanged(int)"), SIGNAL("valueChanged(int)")); } - public LCDRange(QWidget parent) { + public LCDRange(TQWidget parent) { this(parent, null); } diff --git a/qtjava/javalib/tutorial/t7/Tut7.java b/qtjava/javalib/tutorial/t7/Tut7.java index bed0243c..dbcf653c 100644 --- a/qtjava/javalib/tutorial/t7/Tut7.java +++ b/qtjava/javalib/tutorial/t7/Tut7.java @@ -1,13 +1,13 @@ import org.kde.qt.*; -public class Tut7 extends QVBox { +public class Tut7 extends TQVBox { public Tut7() { - QPushButton quit = new QPushButton("Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); - QGrid grid = new QGrid(4, this, null, 0); + TQGrid grid = new TQGrid(4, this, null, 0); LCDRange previous = null; for(int r = 0; r < 4; r++) { @@ -22,7 +22,7 @@ public class Tut7 extends QVBox { } public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); Tut7 w = new Tut7(); a.setMainWidget(w); diff --git a/qtjava/javalib/tutorial/t8/CannonField.java b/qtjava/javalib/tutorial/t8/CannonField.java index e9b77ccb..b34051e6 100644 --- a/qtjava/javalib/tutorial/t8/CannonField.java +++ b/qtjava/javalib/tutorial/t8/CannonField.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); } public int angle() { @@ -25,13 +25,13 @@ public class CannonField extends QWidget { emit("angleChanged", ang); } - public void paintEvent(QPaintEvent e) { + public void paintEvent(TQPaintEvent e) { String s = "Angle = " + ang; - QPainter p = new QPainter(this); + TQPainter p = new TQPainter(this); p.drawText(200, 200, s); } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t8/LCDRange.java b/qtjava/javalib/tutorial/t8/LCDRange.java index 7bbb9886..8f422515 100644 --- a/qtjava/javalib/tutorial/t8/LCDRange.java +++ b/qtjava/javalib/tutorial/t8/LCDRange.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; +public class LCDRange extends TQVBox { + private TQSlider slider; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); diff --git a/qtjava/javalib/tutorial/t8/Tut8.java b/qtjava/javalib/tutorial/t8/Tut8.java index f0d31c1f..9cc4fa9f 100644 --- a/qtjava/javalib/tutorial/t8/Tut8.java +++ b/qtjava/javalib/tutorial/t8/Tut8.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut8 extends QWidget { +public class Tut8 extends TQWidget { public Tut8() { - QPushButton quit = new QPushButton("Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -17,7 +17,7 @@ public class Tut8 extends QWidget { connect(cannonField, SIGNAL("angleChanged(int)"), angle, SLOT("setValue(int)")); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); //2x2, 10 pixel border grid.addWidget(quit, 0, 0); @@ -30,7 +30,7 @@ public class Tut8 extends QWidget { } public static void main(String[] args) { - QApplication a = new QApplication(args); + TQApplication a = new TQApplication(args); Tut8 w = new Tut8(); w.setGeometry( 100, 100, 500, 355 ); diff --git a/qtjava/javalib/tutorial/t9/CannonField.java b/qtjava/javalib/tutorial/t9/CannonField.java index e8bc506f..397853e6 100644 --- a/qtjava/javalib/tutorial/t9/CannonField.java +++ b/qtjava/javalib/tutorial/t9/CannonField.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class CannonField extends QWidget { +public class CannonField extends TQWidget { private int ang; - public CannonField(QWidget parent, String name) { + public CannonField(TQWidget parent, String name) { super(parent, name); ang = 45; - setPalette(new QPalette(new QColor(250, 250, 200))); + setPalette(new TQPalette(new TQColor(250, 250, 200))); } public int angle() { @@ -25,19 +25,19 @@ public class CannonField extends QWidget { emit("angleChanged", ang); } - public void paintEvent(QPaintEvent e) { - QPainter p = new QPainter(this); + public void paintEvent(TQPaintEvent e) { + TQPainter p = new TQPainter(this); p.setBrush(blue()); p.setPen(NoPen); p.translate(0, rect().bottom()); - p.drawPie(new QRect(-35, -35, 70, 70), 0, 90*16); + p.drawPie(new TQRect(-35, -35, 70, 70), 0, 90*16); p.rotate(-ang); - p.drawRect(new QRect(33, -4, 15, 8)); + p.drawRect(new TQRect(33, -4, 15, 8)); } - public QSizePolicy sizePolicy() { - return new QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding); + public TQSizePolicy sizePolicy() { + return new TQSizePolicy(TQSizePolicy.Expanding, TQSizePolicy.Expanding); } } diff --git a/qtjava/javalib/tutorial/t9/LCDRange.java b/qtjava/javalib/tutorial/t9/LCDRange.java index 7bbb9886..8f422515 100644 --- a/qtjava/javalib/tutorial/t9/LCDRange.java +++ b/qtjava/javalib/tutorial/t9/LCDRange.java @@ -1,12 +1,12 @@ import org.kde.qt.*; -public class LCDRange extends QVBox { - private QSlider slider; +public class LCDRange extends TQVBox { + private TQSlider slider; - public LCDRange(QWidget parent, String name) { + public LCDRange(TQWidget parent, String name) { super(parent, name); - QLCDNumber lcd = new QLCDNumber(2, this, "lcd"); - slider = new QSlider(Horizontal, this, "slider"); + TQLCDNumber lcd = new TQLCDNumber(2, this, "lcd"); + slider = new TQSlider(Horizontal, this, "slider"); slider.setRange(0, 99); slider.setValue(0); diff --git a/qtjava/javalib/tutorial/t9/Tut9.java b/qtjava/javalib/tutorial/t9/Tut9.java index f936c37a..71531698 100644 --- a/qtjava/javalib/tutorial/t9/Tut9.java +++ b/qtjava/javalib/tutorial/t9/Tut9.java @@ -1,9 +1,9 @@ import org.kde.qt.*; -public class Tut9 extends QWidget { +public class Tut9 extends TQWidget { public Tut9() { - QPushButton quit = new QPushButton("Quit", this, "quit"); - quit.setFont(new QFont("Times", 18, QFont.Bold, false)); + TQPushButton quit = new TQPushButton("Quit", this, "quit"); + quit.setFont(new TQFont("Times", 18, TQFont.Bold, false)); connect(quit, SIGNAL("clicked()"), qApp(), SLOT("quit()")); @@ -17,7 +17,7 @@ public class Tut9 extends QWidget { connect(cannonField, SIGNAL("angleChanged(int)"), angle, SLOT("setValue(int)")); - QGridLayout grid = new QGridLayout(this, 2, 2, 10, -1, null); + TQGridLayout grid = new TQGridLayout(this, 2, 2, 10, -1, null); //2x2, 10 pixel border grid.addWidget(quit, 0, 0); @@ -30,8 +30,8 @@ public class Tut9 extends QWidget { } public static void main(String[] args) { - QApplication.setColorSpec(QApplication.CustomColor); - QApplication a = new QApplication(args); + TQApplication.setColorSpec(TQApplication.CustomColor); + TQApplication a = new TQApplication(args); Tut9 w = new Tut9(); w.setGeometry( 100, 100, 500, 355 ); -- cgit v1.2.1