diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt')
393 files changed, 7742 insertions, 7742 deletions
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<QPixmap> arg1,QPtrList<QPoint> arg2); >>>> NOT CONVERTED - // QCanvasPixmapArray* QCanvasPixmapArray(QValueList<QPixmap> arg1,QPointArray arg2); >>>> NOT CONVERTED - // QCanvasPixmapArray* QCanvasPixmapArray(QValueList<QPixmap> arg1); >>>> NOT CONVERTED + private native void newTQCanvasPixmapArray(String datafilenamepattern); + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQPtrList<TQPixmap> arg1,TQPtrList<TQPoint> arg2); >>>> NOT CONVERTED + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList<TQPixmap> arg1,TQPointArray arg2); >>>> NOT CONVERTED + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQValueList<TQPixmap> 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<QDockWindow> dockWindowList(); >>>> NOT CONVERTED - public native boolean isDockWindowAccepted(QDockWindow dw); - public native void setAcceptDockWindow(QDockWindow dw, boolean accept); + // TQPtrList<TQDockWindow> 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<QIconDragItem>& 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<TQIconDragItem>& 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<QIconDragItem>& 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<TQIconDragItem>& 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<QImageTextKeyLang> textList(); >>>> NOT CONVERTED + public native TQPoint offset(); + public native void setOffset(TQPoint arg1); + // TQValueList<TQImageTextKeyLang> 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<QDockWindow> dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED - // QPtrList<QDockWindow> 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<TQDockWindow> dockWindows(TQt::Dock arg1); >>>> NOT CONVERTED + // TQPtrList<TQDockWindow> 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<QToolBar> toolBars(Qt::Dock arg1); >>>> NOT CONVERTED + // TQPtrList<TQToolBar> 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<QUrlInfo>& 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<TQUrlInfo>& 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<QString, QVariant> 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<TQString, TQVariant> 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<QString, QVariant> 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<TQString, TQVariant> 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<QString, QString>& 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<TQString, TQString>& 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<QTab>* 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<TQTab>* 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<int>& arg1); >>>> NOT CONVERTED + // void removeRows(const TQMemArray<int>& arg1); >>>> NOT CONVERTED public native void removeColumn(int col); - // void removeColumns(const QMemArray<int>& arg1); >>>> NOT CONVERTED + // void removeColumns(const TQMemArray<int>& 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<int, int>& arg8); >>>> NOT CONVERTED - // QTabletEvent* QTabletEvent(const QPoint& arg1,const QPoint& arg2,int arg3,int arg4,int arg5,int arg6,const QPair<int, int>& arg7); >>>> NOT CONVERTED + // TQTabletEvent* TQTabletEvent(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5,int arg6,int arg7,const TQPair<int, int>& arg8); >>>> NOT CONVERTED + // TQTabletEvent* TQTabletEvent(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,int arg5,int arg6,const TQPair<int, int>& 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<int, int> uniqueId(); >>>> NOT CONVERTED + // TQPair<int, int> 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<QTranslatorMessage> messages(); >>>> NOT CONVERTED + // TQValueList<TQTranslatorMessage> 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<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED - // QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3); >>>> NOT CONVERTED - // QPtrList<QNetworkOperation> 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<TQNetworkOperation> copy(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED + // TQPtrList<TQNetworkOperation> copy(const TQString& arg1,const TQString& arg2,bool arg3); >>>> NOT CONVERTED + // TQPtrList<TQNetworkOperation> 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<QUrlInfo>& 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<QNetworkOperation>& arg1); >>>> NOT CONVERTED +public interface TQUrlOperatorSignals { + // void newChildren(const TQValueList<TQUrlInfo>& 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<TQNetworkOperation>& 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<QVariant>& arg1); >>>> NOT CONVERTED - // QVariant* QVariant(const QMap<QString, QVariant>& arg1); >>>> NOT CONVERTED - public QVariant(int arg1) { - newQVariant(arg1); + private native void newTQVariant(TQPen arg1); + // TQVariant* TQVariant(const TQValueList<TQVariant>& arg1); >>>> NOT CONVERTED + // TQVariant* TQVariant(const TQMap<TQString, TQVariant>& 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<QVariant> toList(); >>>> NOT CONVERTED - // const QMap<QString, QVariant> toMap(); >>>> NOT CONVERTED - public native QSizePolicy toSizePolicy(); - // QValueListConstIterator<QString> stringListBegin(); >>>> NOT CONVERTED - // QValueListConstIterator<QString> stringListEnd(); >>>> NOT CONVERTED - // QValueListConstIterator<QVariant> listBegin(); >>>> NOT CONVERTED - // QValueListConstIterator<QVariant> listEnd(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapBegin(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapEnd(); >>>> NOT CONVERTED - // QMapConstIterator<QString, QVariant> mapFind(const QString& arg1); >>>> NOT CONVERTED + // const TQValueList<TQVariant> toList(); >>>> NOT CONVERTED + // const TQMap<TQString, TQVariant> toMap(); >>>> NOT CONVERTED + public native TQSizePolicy toSizePolicy(); + // TQValueListConstIterator<TQString> stringListBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQString> stringListEnd(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQVariant> listBegin(); >>>> NOT CONVERTED + // TQValueListConstIterator<TQVariant> listEnd(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> mapBegin(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> mapEnd(); >>>> NOT CONVERTED + // TQMapConstIterator<TQString, TQVariant> 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<QVariant>& asList(); >>>> NOT CONVERTED - // QMap<QString, QVariant>& 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<TQVariant>& asList(); >>>> NOT CONVERTED + // TQMap<TQString, TQVariant>& 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); |