diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop')
397 files changed, 22949 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/Makefile.am b/qtjava/javalib/org/trinitydesktop/Makefile.am new file mode 100644 index 00000000..febecd18 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = qt diff --git a/qtjava/javalib/org/trinitydesktop/qt/Invocation.java b/qtjava/javalib/org/trinitydesktop/qt/Invocation.java new file mode 100644 index 00000000..022c67bd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/Invocation.java @@ -0,0 +1,527 @@ +/*************************************************************************** + Invocation.java - description + ------------------- + begin : Tue Oct 31 06:12:14 2000 + copyright : (C) 2000-2002 Lost Highway Ltd. All rights reserved. + email : Lost_Highway@tipitina.demon.co.uk + written by : Richard Dale. + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +package org.trinitydesktop.qt; + +import java.util.*; +import java.lang.reflect.*; + +/** A utility class for creating a closure to invoke later - when a Java + slot or event handler needs to be activated + + @author Richard Dale <Richard_Dale@tipitina.demon.co.uk> + */ +public class Invocation { + /** The target object */ + private Object onThis; + /** Arguments from an emitted signal to pass to the slot method */ + private Object[] arguments; + /** The Java method that implements the slot, (or emit() for a signal target) */ + private Method method; + /** An optional instance variable, used when the target is a signal, + rather than a slot. */ + private String signalName; + + /** Converts a type signature from a Qt signal or slot to an array of + Class objects corresponding to the Java types of the parameters */ + private static Class[] fromQtTypeSignature(String qtTypeSignature) { + ArrayList parameterTypes = new ArrayList(); + StringTokenizer tokenizer = new StringTokenizer(qtTypeSignature, ","); + + while (tokenizer.hasMoreTokens()) { + String token = tokenizer.nextToken(); + + if (token.equals("")) { + parameterTypes.add(null); + } else if (token.equals("boolean")) { + parameterTypes.add(boolean.class); + } else if (token.equals("char")) { + parameterTypes.add(char.class); + } else if (token.equals("long")) { + parameterTypes.add(long.class); + } else if (token.equals("int")) { + parameterTypes.add(int.class); + } else if (token.equals("short")) { + parameterTypes.add(short.class); + } else if (token.equals("float")) { + parameterTypes.add(float.class); + } else if (token.equals("double")) { + parameterTypes.add(double.class); + } else if (token.equals("int[]")) { + parameterTypes.add(int[].class); + } else if (token.equals("byte[]")) { + parameterTypes.add(byte[].class); + } else { + try { + parameterTypes.add(Class.forName(token)); + } catch (ClassNotFoundException e) { + Qt.tqWarning("TQObject.connect: No such argument type: " + token); + return null; + } + } + } + + return (Class[]) parameterTypes.toArray(new Class[0]); + } + + /** Contained in a C++ JavaSlot instance, allows the JavaSlot to act as a proxy for the Java method to be invoked. + The method name in the slot string is converted to a Java Method instance, and the arguments to a suitable + Class[] structure, as the corresponding argument type list. */ + Invocation(Object target, String receiverString) { + Method targetMethod = null; + Class targetClass = null; + String methodName; + Class[] parameterTypes; + + if (receiverString.startsWith("2")) { + // Target is a signal + methodName = "emit"; + parameterTypes = new Class[] {java.lang.String.class, Object[].class}; + signalName = receiverString; + } else { + // Target is a slot + methodName = receiverString.substring(1, receiverString.indexOf('(')); + parameterTypes = fromQtTypeSignature(receiverString.substring( receiverString.indexOf('(') + 1, + receiverString.indexOf(')') ) ); + if (parameterTypes == null) { + return; + } + signalName = null; + } + + // A slot can either be public or protected. However, it isn't possible + // to obtain inherited protected members using getMethod() or + // getDeclaredMethod(). Hence, the apparently over complicated loop here. + targetClass = target.getClass(); + + do { + try { + targetMethod = targetClass.getDeclaredMethod(methodName, parameterTypes); + } catch (NoSuchMethodException e1) { + try { + targetMethod = targetClass.getMethod(methodName, parameterTypes); + } catch (NoSuchMethodException e2) { + ; + } + } + + if (targetMethod != null) { + onThis = target; + arguments = null; + method = targetMethod; + method.setAccessible(true); + return; + } + + targetClass = targetClass.getSuperclass(); + } while (targetClass != null); + + System.out.print("TQObject.connect: No such slot " + methodName + "("); + for (int index = 0; index < parameterTypes.length; index++) { + System.out.print(parameterTypes[index].toString()); + + if (index + 1 < parameterTypes.length) { + System.out.print(","); + } + } + System.out.println(")"); + return; + } + + Invocation(Object target, Object[] args, Method aMethod) { + onThis = target; + arguments = args; + method = aMethod; + method.setAccessible(true); + } + + public void setArguments(Object[] args) { + arguments = args; + } + + /** Not used at present, here for completeness */ + public Object invoke() throws IllegalAccessException, InvocationTargetException { + try { + Object result = method.invoke(onThis, arguments); + } catch (InvocationTargetException e) { + return null; + } catch (IllegalAccessException e) { + return null; + } finally { + return null; + } + } + + /** 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 TQObject.emit(). + // A signal name, followed by an array of arguments to be emitted. + Object[] emitArgs = new Object[2]; + emitArgs[0] = signalName; + emitArgs[1] = args; + setArguments(emitArgs); + } else { + // If the target is a slot, then just pass on the arguments to the target slot + setArguments(args); + } + + try { + Object result = method.invoke(onThis, arguments); + } catch (InvocationTargetException e) { + Qt.tqWarning("Slot invocation failed"); + e.printStackTrace(); + return null; + } catch (IllegalAccessException e) { + Qt.tqWarning("Slot invocation failed"); + e.printStackTrace(); + return null; + } finally { + return null; + } + } + + /** Used for boolean slot handling callbacks */ + public Object invoke(boolean arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = new Boolean(arg); + return invoke(arguments); + } + + /** Used for C++ sender to byte (ie unsigned char in C++) Java slot handling callbacks */ + public Object invoke(byte arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = new Byte(arg); + return invoke(arguments); + } + + /** Used for C++ sender to char Java slot handling callbacks */ + public Object invoke(char arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = new Character(arg); + return invoke(arguments); + } + + /** Used for C++ sender to short Java slot handling callbacks */ + public Object invoke(short arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = new Short(arg); + return invoke(arguments); + } + + /** Used for C++ sender to int Java slot handling callbacks */ + public Object invoke(int arg) throws IllegalAccessException, InvocationTargetException{ + arguments = new Object[1]; + arguments[0] = new Integer(arg); + return invoke(arguments); + } + + /** Used for C++ sender to long Java slot handling callbacks */ + public Object invoke(long arg) throws IllegalAccessException, InvocationTargetException{ + arguments = new Object[1]; + arguments[0] = new Long(arg); + return invoke(arguments); + } + + /** Used for C++ sender float Java slot handling callbacks */ + public Object invoke(float arg) throws IllegalAccessException, InvocationTargetException{ + arguments = new Object[1]; + arguments[0] = new Float(arg); + return invoke(arguments); + } + + /** Used for C++ sender to double Java slot handling callbacks */ + public Object invoke(double arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = new Double(arg); + return invoke(arguments); + } + + public Object invoke(Object arg) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[1]; + arguments[0] = arg; + return invoke(arguments); + } + + public Object invoke(Object arg1, byte[] arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = arg1; + arguments[1] = arg2; + return invoke(arguments); + } + + public Object invoke(Object arg1, Object arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = arg1; + arguments[1] = arg2; + return invoke(arguments); + } + + public Object invoke(Object arg1, Object arg2, Object arg3) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[3]; + arguments[0] = arg1; + arguments[1] = arg2; + arguments[2] = arg3; + return invoke(arguments); + } + + public Object invoke(Object arg1, Object arg2, Object arg3, Object arg4) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[4]; + arguments[0] = arg1; + arguments[1] = arg2; + arguments[2] = arg3; + arguments[3] = arg4; + return invoke(arguments); + } + + public Object invoke(Object arg1, boolean arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = arg1; + arguments[1] = new Boolean(arg2); + return invoke(arguments); + } + + public Object invoke(Object arg1, Object arg2, int arg3) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[3]; + arguments[0] = arg1; + arguments[1] = arg2; + arguments[2] = new Integer(arg3); + return invoke(arguments); + } + + public Object invoke(int arg1, Object arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = new Integer(arg1); + arguments[1] = arg2; + return invoke(arguments); + } + + public Object invoke(int arg1, Object arg2, Object arg3) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[3]; + arguments[0] = new Integer(arg1); + arguments[1] = arg2; + arguments[2] = arg3; + return invoke(arguments); + } + + public Object invoke(int arg1, Object arg2, Object arg3, int arg4) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[3]; + arguments[0] = new Integer(arg1); + arguments[1] = arg2; + arguments[2] = arg3; + arguments[3] = new Integer(arg4); + return invoke(arguments); + } + + public Object invoke(int arg1, boolean arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = new Integer(arg1); + arguments[1] = new Boolean(arg2); + return invoke(arguments); + } + + public Object invoke(int arg1, int arg2) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[2]; + arguments[0] = new Integer(arg1); + arguments[1] = new Integer(arg2); + return invoke(arguments); + } + + public Object invoke(int arg1, int arg2, int arg3) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[3]; + arguments[0] = new Integer(arg1); + arguments[1] = new Integer(arg2); + arguments[2] = new Integer(arg3); + return invoke(arguments); + } + + public Object invoke(int arg1, int arg2, int arg3, Object arg4) throws IllegalAccessException, InvocationTargetException { + arguments = new Object[4]; + arguments[0] = new Integer(arg1); + arguments[1] = new Integer(arg2); + arguments[2] = new Integer(arg3); + arguments[2] = arg4; + return invoke(arguments); + } + + /** Invoke the named void method on the target object with no arguments. Returns true + if the target method was successfully invoked. */ + public static boolean invoke(long target, String className, String methodName) throws NoSuchMethodException, ClassNotFoundException { + Method method; + Object onThis = qtjava.objectForQtKey(target, className, false); + + try { + method = onThis.getClass().getMethod(methodName, (Class[]) null); + } catch (NoSuchMethodException e1) { + try { + method = onThis.getClass().getDeclaredMethod(methodName, (Class[]) null); + } catch (NoSuchMethodException e2) { + return false; + } + } + + // Ignore any native code event handling methods + if ((method.getModifiers() & Modifier.NATIVE) != 0) { + return false; + } + + try { + method.setAccessible(true); + Object result = method.invoke(onThis, (Class[]) null); + return true; + } catch (InvocationTargetException e) { + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return false; + } catch (IllegalAccessException e) { + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return false; + } + } + /** Invoke the named method on the target object with no arguments. Returns false + iff the target method was successfully invoked AND returned false. Unlike the other + variants of boolean invoke(), this method returns true if no target java method exists. + Used for boolean callbacks such as TDEMainWindow::queryClose() */ + public static boolean booleanInvoke(long target, String methodName) throws NoSuchMethodException, ClassNotFoundException { + Method method; + Object onThis = qtjava.objectForQtKey(target, "TQObject", false); + + try { + method = onThis.getClass().getMethod(methodName, (Class[]) null); + } catch (NoSuchMethodException e1) { + try { + method = onThis.getClass().getDeclaredMethod(methodName, (Class[]) null); + } catch (NoSuchMethodException e2) { + return true; + } + } + + // Ignore any native code event handling methods + if ((method.getModifiers() & Modifier.NATIVE) != 0) { + return true; + } + + try { + method.setAccessible(true); + Object result = method.invoke(onThis, (Class[]) null); + return ((Boolean) result).booleanValue(); + } catch (InvocationTargetException e) { + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return true; + } catch (IllegalAccessException e) { + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return true; + } + } + + /** Invoke the named method on the target object with a single argument. Returns true + if the method was successfully invoked, otherwise false. + Used for event handling callbacks */ + public static boolean invoke(long target, long arg, String argClass, String methodName) throws NoSuchMethodException, ClassNotFoundException { + Method method = null; + Class[] parameterType = new Class[1]; + parameterType[0] = Class.forName(qtjava.toFullyQualifiedClassName(argClass)); + Object onThis = qtjava.objectForQtKey(target, "org.trinitydesktop.qt.TQObject", false); + + Class targetClass = onThis.getClass(); + + do { + try { + method = targetClass.getDeclaredMethod(methodName, parameterType); + method.setAccessible(true); + break; + } catch (NoSuchMethodException e1) { + } + + targetClass = targetClass.getSuperclass(); + } while (targetClass != null); + + if (targetClass == null) { + return false; + } + + // Ignore any native code event handling methods + if ((method.getModifiers() & Modifier.NATIVE) != 0) { + return false; + } + + Object[] arguments = new Object[1]; + arguments[0] = qtjava.objectForQtKey(arg, argClass, false); + + try { + // Invoke the event handler + Object result = method.invoke(onThis, arguments); + + // The event will no longer be referenced, so force remove its java mapping entry. + qtjava.removeObjectForQtKey(arg); + } catch (InvocationTargetException e) { + Qt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + e.printStackTrace(); + return false; + } catch (IllegalAccessException e) { + Qt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + e.printStackTrace(); + return false; + } finally { + return true; + } + } + + /** Invoke the named method on the target object with two arguments. Returns true + if the method was successfully invoked, otherwise false. + Used for event filter callbacks */ + public static boolean invoke(long target, long arg1, String arg1class, long arg2, String arg2class, String methodName) throws NoSuchMethodException, ClassNotFoundException { + Method method; + Boolean result = null; + Object[] arguments = new Object[2]; + arguments[0] = qtjava.objectForQtKey(arg1, arg1class, false); + arguments[1] = qtjava.objectForQtKey(arg2, arg2class, false); + + Class[] parameterTypes = new Class[] { TQObject.class, TQEvent.class }; + Object onThis = qtjava.objectForQtKey(target, "TQObject", false); + + try { + method = onThis.getClass().getMethod(methodName, parameterTypes); + method.setAccessible(true); + } catch (NoSuchMethodException e) { + return false; + } + + // Ignore any native code event handling methods + if ((method.getModifiers() & Modifier.NATIVE) != 0) { + return false; + } + + try { + result = (Boolean) method.invoke(onThis, arguments); + } catch (InvocationTargetException e) { + Qt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return false; + } catch (IllegalAccessException e) { + Qt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + e.printStackTrace(); + return false; + } finally { + return result.booleanValue(); + } + } +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/Makefile.am b/qtjava/javalib/org/trinitydesktop/qt/Makefile.am new file mode 100644 index 00000000..c9eed501 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/Makefile.am @@ -0,0 +1,17 @@ +####### tdevelop will overwrite this part!!! (begin)########## + + +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)############ + +# domi: don't install anything, it's put in a jar a few directories higher in the source tree +#javadir = $(kde_libraries)/java/org/trinitydesktop/qt +noinst_JAVA = $(EXTRA_DIST) +#install-data-hook: uninstall-javaJAVA + +JAVAROOT = ../../.. +CLASSPATH = ../../.. +JAVACFLAGS = -classpath $(CLASSPATH) +# Prevent stupid automake from putting JAVAC=javac in Makefile.in +JAVAC = @JAVAC@ diff --git a/qtjava/javalib/org/trinitydesktop/qt/Qt.java b/qtjava/javalib/org/trinitydesktop/qt/Qt.java new file mode 100644 index 00000000..6b9311b6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/Qt.java @@ -0,0 +1,1140 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.io.*; +import java.text.MessageFormat; +import java.lang.reflect.*; +import java.util.Calendar; +import java.util.Date; + +public class Qt implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected Qt(Class dummy){} + + public static final int NoButton = 0x0000; + public static final int LeftButton = 0x0001; + public static final int RightButton = 0x0002; + public static final int MidButton = 0x0004; + public static final int MouseButtonMask = 0x0007; + public static final int ShiftButton = 0x0100; + public static final int ControlButton = 0x0200; + public static final int AltButton = 0x0400; + public static final int MetaButton = 0x0800; + public static final int KeyButtonMask = 0x0f00; + public static final int Keypad = 0x4000; + + public static final int Horizontal = 0; + public static final int Vertical = 1; + + public static final int Ascending = 0; + public static final int Descending = 1; + + public static final int AlignAuto = 0x0000; + public static final int AlignLeft = 0x0001; + public static final int AlignRight = 0x0002; + public static final int AlignHCenter = 0x0004; + public static final int AlignJustify = 0x0008; + public static final int AlignHorizontal_Mask = AlignLeft|AlignRight|AlignHCenter|AlignJustify; + public static final int AlignTop = 0x0010; + public static final int AlignBottom = 0x0020; + public static final int AlignVCenter = 0x0040; + public static final int AlignVertical_Mask = AlignTop|AlignBottom|AlignVCenter; + public static final int AlignCenter = AlignVCenter|AlignHCenter; + + public static final int SingleLine = 0x0080; + public static final int DontClip = 0x0100; + public static final int ExpandTabs = 0x0200; + public static final int ShowPrefix = 0x0400; + public static final int WordBreak = 0x0800; + public static final int BreakAnywhere = 0x1000; + public static final int DontPrint = 0x2000; + public static final int Underline = 0x01000000; + public static final int Overline = 0x02000000; + public static final int StrikeOut = 0x04000000; + public static final int IncludeTrailingSpaces = 0x08000000; + public static final int NoAccel = 0x4000; + + public static final int WState_Created = 0x00000001; + public static final int WState_Disabled = 0x00000002; + public static final int WState_Visible = 0x00000004; + public static final int WState_ForceHide = 0x00000008; + public static final int WState_OwnCursor = 0x00000010; + public static final int WState_MouseTracking = 0x00000020; + public static final int WState_CompressKeys = 0x00000040; + public static final int WState_BlockUpdates = 0x00000080; + public static final int WState_InPaintEvent = 0x00000100; + public static final int WState_Reparented = 0x00000200; + public static final int WState_ConfigPending = 0x00000400; + public static final int WState_Resized = 0x00000800; + public static final int WState_AutoMask = 0x00001000; + public static final int WState_Polished = 0x00002000; + public static final int WState_DND = 0x00004000; + public static final int WState_Reserved0 = 0x00008000; + public static final int WState_FullScreen = 0x00010000; + public static final int WState_OwnSizePolicy = 0x00020000; + public static final int WState_CreatedHidden = 0x00040000; + public static final int WState_Maximized = 0x00080000; + public static final int WState_Minimized = 0x00100000; + public static final int WState_ForceDisabled = 0x00200000; + public static final int WState_Exposed = 0x00400000; + public static final int WState_HasMouse = 0x00800000; + + public static final int WType_TopLevel = 0x00000001; + public static final int WType_Dialog = 0x00000002; + public static final int WType_Popup = 0x00000004; + public static final int WType_Desktop = 0x00000008; + public static final int WType_Mask = 0x0000000f; + public static final int WStyle_Customize = 0x00000010; + public static final int WStyle_NormalBorder = 0x00000020; + public static final int WStyle_DialogBorder = 0x00000040; + public static final int WStyle_NoBorder = 0x00002000; + public static final int WStyle_Title = 0x00000080; + public static final int WStyle_SysMenu = 0x00000100; + public static final int WStyle_Minimize = 0x00000200; + public static final int WStyle_Maximize = 0x00000400; + public static final int WStyle_MinMax = WStyle_Minimize|WStyle_Maximize; + public static final int WStyle_Tool = 0x00000800; + public static final int WStyle_StaysOnTop = 0x00001000; + public static final int WStyle_ContextHelp = 0x00004000; + public static final int WStyle_Reserved = 0x00008000; + public static final int WStyle_Mask = 0x0000fff0; + public static final int WDestructiveClose = 0x00010000; + public static final int WPaintDesktop = 0x00020000; + public static final int WPaintUnclipped = 0x00040000; + public static final int WPaintClever = 0x00080000; + public static final int WResizeNoErase = 0x00100000; + public static final int WMouseNoMask = 0x00200000; + public static final int WStaticContents = 0x00400000; + public static final int WRepaintNoErase = 0x00800000; + public static final int WX11BypassWM = 0x00000000; + public static final int WWinOwnDC = 0x01000000; + public static final int WMacNoSheet = 0x00000000; + public static final int WMacDrawer = 0x00000000; + public static final int WGroupLeader = 0x02000000; + public static final int WShowModal = 0x04000000; + public static final int WNoMousePropagation = 0x08000000; + public static final int WSubWindow = 0x10000000; + public static final int WStyle_Splash = WStyle_NoBorder|WMacNoSheet|WStyle_Tool|WWinOwnDC; + public static final int WNoAutoErase = WRepaintNoErase|WResizeNoErase; + public static final int WNorthWestGravity = WStaticContents; + public static final int WType_Modal = WType_Dialog|WShowModal; + public static final int WStyle_Dialog = WType_Dialog; + public static final int WStyle_NoBorderEx = WStyle_NoBorder; + + public static final int WindowNoState = 0x00000000; + public static final int WindowMinimized = 0x00000001; + public static final int WindowMaximized = 0x00000002; + public static final int WindowFullScreen = 0x00000004; + public static final int WindowActive = 0x00000008; + + public static final int ColorMode_Mask = 0x00000003; + public static final int AutoColor = 0x00000000; + public static final int ColorOnly = 0x00000003; + public static final int MonoOnly = 0x00000002; + public static final int AlphaDither_Mask = 0x0000000c; + public static final int ThresholdAlphaDither = 0x00000000; + public static final int OrderedAlphaDither = 0x00000004; + public static final int DiffuseAlphaDither = 0x00000008; + public static final int NoAlpha = 0x0000000c; + public static final int Dither_Mask = 0x00000030; + public static final int DiffuseDither = 0x00000000; + public static final int OrderedDither = 0x00000010; + public static final int ThresholdDither = 0x00000020; + public static final int DitherMode_Mask = 0x000000c0; + public static final int AutoDither = 0x00000000; + public static final int PreferDither = 0x00000040; + public static final int AvoidDither = 0x00000080; + + public static final int TransparentMode = 0; + public static final int OpaqueMode = 1; + + public static final int PixelUnit = 0; + public static final int LoMetricUnit = 1; + public static final int HiMetricUnit = 2; + public static final int LoEnglishUnit = 3; + public static final int HiEnglishUnit = 4; + public static final int TwipsUnit = 5; + + public static final int MacStyle = 0; + public static final int WindowsStyle = 1; + public static final int Win3Style = 2; + public static final int PMStyle = 3; + public static final int MotifStyle = 4; + + public static final int NoMatch = 0; + public static final int PartialMatch = 1; + public static final int Identical = 2; + + public static final int META = 0x00100000; + public static final int SHIFT = 0x00200000; + public static final int CTRL = 0x00400000; + public static final int ALT = 0x00800000; + public static final int MODIFIER_MASK = 0x00f00000; + public static final int UNICODE_ACCEL = 0x10000000; + public static final int ASCII_ACCEL = UNICODE_ACCEL; + + public static final int Key_Escape = 0x1000; + public static final int Key_Tab = 0x1001; + public static final int Key_Backtab = 0x1002; + public static final int Key_BackTab = Key_Backtab; + public static final int Key_Backspace = 0x1003; + public static final int Key_BackSpace = Key_Backspace; + public static final int Key_Return = 0x1004; + public static final int Key_Enter = 0x1005; + public static final int Key_Insert = 0x1006; + public static final int Key_Delete = 0x1007; + public static final int Key_Pause = 0x1008; + public static final int Key_Print = 0x1009; + public static final int Key_SysReq = 0x100a; + public static final int Key_Clear = 0x100b; + public static final int Key_Home = 0x1010; + public static final int Key_End = 0x1011; + public static final int Key_Left = 0x1012; + public static final int Key_Up = 0x1013; + public static final int Key_Right = 0x1014; + public static final int Key_Down = 0x1015; + public static final int Key_Prior = 0x1016; + public static final int Key_PageUp = Key_Prior; + public static final int Key_Next = 0x1017; + public static final int Key_PageDown = Key_Next; + public static final int Key_Shift = 0x1020; + public static final int Key_Control = 0x1021; + public static final int Key_Meta = 0x1022; + public static final int Key_Alt = 0x1023; + public static final int Key_CapsLock = 0x1024; + public static final int Key_NumLock = 0x1025; + public static final int Key_ScrollLock = 0x1026; + public static final int Key_F1 = 0x1030; + public static final int Key_F2 = 0x1031; + public static final int Key_F3 = 0x1032; + public static final int Key_F4 = 0x1033; + public static final int Key_F5 = 0x1034; + public static final int Key_F6 = 0x1035; + public static final int Key_F7 = 0x1036; + public static final int Key_F8 = 0x1037; + public static final int Key_F9 = 0x1038; + public static final int Key_F10 = 0x1039; + public static final int Key_F11 = 0x103a; + public static final int Key_F12 = 0x103b; + public static final int Key_F13 = 0x103c; + public static final int Key_F14 = 0x103d; + public static final int Key_F15 = 0x103e; + public static final int Key_F16 = 0x103f; + public static final int Key_F17 = 0x1040; + public static final int Key_F18 = 0x1041; + public static final int Key_F19 = 0x1042; + public static final int Key_F20 = 0x1043; + public static final int Key_F21 = 0x1044; + public static final int Key_F22 = 0x1045; + public static final int Key_F23 = 0x1046; + public static final int Key_F24 = 0x1047; + public static final int Key_F25 = 0x1048; + public static final int Key_F26 = 0x1049; + public static final int Key_F27 = 0x104a; + public static final int Key_F28 = 0x104b; + public static final int Key_F29 = 0x104c; + public static final int Key_F30 = 0x104d; + public static final int Key_F31 = 0x104e; + public static final int Key_F32 = 0x104f; + public static final int Key_F33 = 0x1050; + public static final int Key_F34 = 0x1051; + public static final int Key_F35 = 0x1052; + public static final int Key_Super_L = 0x1053; + public static final int Key_Super_R = 0x1054; + public static final int Key_Menu = 0x1055; + public static final int Key_Hyper_L = 0x1056; + public static final int Key_Hyper_R = 0x1057; + public static final int Key_Help = 0x1058; + public static final int Key_Direction_L = 0x1059; + public static final int Key_Direction_R = 0x1060; + public static final int Key_Space = 0x20; + public static final int Key_Any = Key_Space; + public static final int Key_Exclam = 0x21; + public static final int Key_QuoteDbl = 0x22; + public static final int Key_NumberSign = 0x23; + public static final int Key_Dollar = 0x24; + public static final int Key_Percent = 0x25; + public static final int Key_Ampersand = 0x26; + public static final int Key_Apostrophe = 0x27; + public static final int Key_ParenLeft = 0x28; + public static final int Key_ParenRight = 0x29; + public static final int Key_Asterisk = 0x2a; + public static final int Key_Plus = 0x2b; + public static final int Key_Comma = 0x2c; + public static final int Key_Minus = 0x2d; + public static final int Key_Period = 0x2e; + public static final int Key_Slash = 0x2f; + public static final int Key_0 = 0x30; + public static final int Key_1 = 0x31; + public static final int Key_2 = 0x32; + public static final int Key_3 = 0x33; + public static final int Key_4 = 0x34; + public static final int Key_5 = 0x35; + public static final int Key_6 = 0x36; + public static final int Key_7 = 0x37; + public static final int Key_8 = 0x38; + public static final int Key_9 = 0x39; + public static final int Key_Colon = 0x3a; + public static final int Key_Semicolon = 0x3b; + public static final int Key_Less = 0x3c; + public static final int Key_Equal = 0x3d; + public static final int Key_Greater = 0x3e; + public static final int Key_Question = 0x3f; + public static final int Key_At = 0x40; + public static final int Key_A = 0x41; + public static final int Key_B = 0x42; + public static final int Key_C = 0x43; + public static final int Key_D = 0x44; + public static final int Key_E = 0x45; + public static final int Key_F = 0x46; + public static final int Key_G = 0x47; + public static final int Key_H = 0x48; + public static final int Key_I = 0x49; + public static final int Key_J = 0x4a; + public static final int Key_K = 0x4b; + public static final int Key_L = 0x4c; + public static final int Key_M = 0x4d; + public static final int Key_N = 0x4e; + public static final int Key_O = 0x4f; + public static final int Key_P = 0x50; + public static final int Key_Q = 0x51; + public static final int Key_R = 0x52; + public static final int Key_S = 0x53; + public static final int Key_T = 0x54; + public static final int Key_U = 0x55; + public static final int Key_V = 0x56; + public static final int Key_W = 0x57; + public static final int Key_X = 0x58; + public static final int Key_Y = 0x59; + public static final int Key_Z = 0x5a; + public static final int Key_BracketLeft = 0x5b; + public static final int Key_Backslash = 0x5c; + public static final int Key_BracketRight = 0x5d; + public static final int Key_AsciiCircum = 0x5e; + public static final int Key_Underscore = 0x5f; + public static final int Key_QuoteLeft = 0x60; + public static final int Key_BraceLeft = 0x7b; + public static final int Key_Bar = 0x7c; + public static final int Key_BraceRight = 0x7d; + public static final int Key_AsciiTilde = 0x7e; + public static final int Key_nobreakspace = 0x0a0; + public static final int Key_exclamdown = 0x0a1; + public static final int Key_cent = 0x0a2; + public static final int Key_sterling = 0x0a3; + public static final int Key_currency = 0x0a4; + public static final int Key_yen = 0x0a5; + public static final int Key_brokenbar = 0x0a6; + public static final int Key_section = 0x0a7; + public static final int Key_diaeresis = 0x0a8; + public static final int Key_copyright = 0x0a9; + public static final int Key_ordfeminine = 0x0aa; + public static final int Key_guillemotleft = 0x0ab; + public static final int Key_notsign = 0x0ac; + public static final int Key_hyphen = 0x0ad; + public static final int Key_registered = 0x0ae; + public static final int Key_macron = 0x0af; + public static final int Key_degree = 0x0b0; + public static final int Key_plusminus = 0x0b1; + public static final int Key_twosuperior = 0x0b2; + public static final int Key_threesuperior = 0x0b3; + public static final int Key_acute = 0x0b4; + public static final int Key_mu = 0x0b5; + public static final int Key_paragraph = 0x0b6; + public static final int Key_periodcentered = 0x0b7; + public static final int Key_cedilla = 0x0b8; + public static final int Key_onesuperior = 0x0b9; + public static final int Key_masculine = 0x0ba; + public static final int Key_guillemotright = 0x0bb; + public static final int Key_onequarter = 0x0bc; + public static final int Key_onehalf = 0x0bd; + public static final int Key_threequarters = 0x0be; + public static final int Key_questiondown = 0x0bf; + public static final int Key_Agrave = 0x0c0; + public static final int Key_Aacute = 0x0c1; + public static final int Key_Acircumflex = 0x0c2; + public static final int Key_Atilde = 0x0c3; + public static final int Key_Adiaeresis = 0x0c4; + public static final int Key_Aring = 0x0c5; + public static final int Key_AE = 0x0c6; + public static final int Key_Ccedilla = 0x0c7; + public static final int Key_Egrave = 0x0c8; + public static final int Key_Eacute = 0x0c9; + public static final int Key_Ecircumflex = 0x0ca; + public static final int Key_Ediaeresis = 0x0cb; + public static final int Key_Igrave = 0x0cc; + public static final int Key_Iacute = 0x0cd; + public static final int Key_Icircumflex = 0x0ce; + public static final int Key_Idiaeresis = 0x0cf; + public static final int Key_ETH = 0x0d0; + public static final int Key_Ntilde = 0x0d1; + public static final int Key_Ograve = 0x0d2; + public static final int Key_Oacute = 0x0d3; + public static final int Key_Ocircumflex = 0x0d4; + public static final int Key_Otilde = 0x0d5; + public static final int Key_Odiaeresis = 0x0d6; + public static final int Key_multiply = 0x0d7; + public static final int Key_Ooblique = 0x0d8; + public static final int Key_Ugrave = 0x0d9; + public static final int Key_Uacute = 0x0da; + public static final int Key_Ucircumflex = 0x0db; + public static final int Key_Udiaeresis = 0x0dc; + public static final int Key_Yacute = 0x0dd; + public static final int Key_THORN = 0x0de; + public static final int Key_ssharp = 0x0df; + public static final int Key_agrave = 0x0e0; + public static final int Key_aacute = 0x0e1; + public static final int Key_acircumflex = 0x0e2; + public static final int Key_atilde = 0x0e3; + public static final int Key_adiaeresis = 0x0e4; + public static final int Key_aring = 0x0e5; + public static final int Key_ae = 0x0e6; + public static final int Key_ccedilla = 0x0e7; + public static final int Key_egrave = 0x0e8; + public static final int Key_eacute = 0x0e9; + public static final int Key_ecircumflex = 0x0ea; + public static final int Key_ediaeresis = 0x0eb; + public static final int Key_igrave = 0x0ec; + public static final int Key_iacute = 0x0ed; + public static final int Key_icircumflex = 0x0ee; + public static final int Key_idiaeresis = 0x0ef; + public static final int Key_eth = 0x0f0; + public static final int Key_ntilde = 0x0f1; + public static final int Key_ograve = 0x0f2; + public static final int Key_oacute = 0x0f3; + public static final int Key_ocircumflex = 0x0f4; + public static final int Key_otilde = 0x0f5; + public static final int Key_odiaeresis = 0x0f6; + public static final int Key_division = 0x0f7; + public static final int Key_oslash = 0x0f8; + public static final int Key_ugrave = 0x0f9; + public static final int Key_uacute = 0x0fa; + public static final int Key_ucircumflex = 0x0fb; + public static final int Key_udiaeresis = 0x0fc; + public static final int Key_yacute = 0x0fd; + public static final int Key_thorn = 0x0fe; + public static final int Key_ydiaeresis = 0x0ff; + public static final int Key_Back = 0x1061; + public static final int Key_Forward = 0x1062; + public static final int Key_Stop = 0x1063; + public static final int Key_Refresh = 0x1064; + public static final int Key_VolumeDown = 0x1070; + public static final int Key_VolumeMute = 0x1071; + public static final int Key_VolumeUp = 0x1072; + public static final int Key_BassBoost = 0x1073; + public static final int Key_BassUp = 0x1074; + public static final int Key_BassDown = 0x1075; + public static final int Key_TrebleUp = 0x1076; + public static final int Key_TrebleDown = 0x1077; + public static final int Key_MediaPlay = 0x1080; + public static final int Key_MediaStop = 0x1081; + public static final int Key_MediaPrev = 0x1082; + public static final int Key_MediaNext = 0x1083; + public static final int Key_MediaRecord = 0x1084; + public static final int Key_HomePage = 0x1090; + public static final int Key_Favorites = 0x1091; + public static final int Key_Search = 0x1092; + public static final int Key_Standby = 0x1093; + public static final int Key_OpenUrl = 0x1094; + public static final int Key_LaunchMail = 0x10a0; + public static final int Key_LaunchMedia = 0x10a1; + public static final int Key_Launch0 = 0x10a2; + public static final int Key_Launch1 = 0x10a3; + public static final int Key_Launch2 = 0x10a4; + public static final int Key_Launch3 = 0x10a5; + public static final int Key_Launch4 = 0x10a6; + public static final int Key_Launch5 = 0x10a7; + public static final int Key_Launch6 = 0x10a8; + public static final int Key_Launch7 = 0x10a9; + public static final int Key_Launch8 = 0x10aa; + public static final int Key_Launch9 = 0x10ab; + public static final int Key_LaunchA = 0x10ac; + public static final int Key_LaunchB = 0x10ad; + public static final int Key_LaunchC = 0x10ae; + public static final int Key_LaunchD = 0x10af; + public static final int Key_LaunchE = 0x10b0; + public static final int Key_LaunchF = 0x10b1; + public static final int Key_MediaLast = 0x1fff; + public static final int Key_unknown = 0xffff; + + public static final int UpArrow = 0; + public static final int DownArrow = 1; + public static final int LeftArrow = 2; + public static final int RightArrow = 3; + + public static final int CopyROP = 0; + public static final int OrROP = 1; + public static final int XorROP = 2; + public static final int NotAndROP = 3; + public static final int EraseROP = NotAndROP; + public static final int NotCopyROP = 4; + public static final int NotOrROP = 5; + public static final int NotXorROP = 6; + public static final int AndROP = 7; + public static final int NotEraseROP = AndROP; + public static final int NotROP = 8; + public static final int ClearROP = 9; + public static final int SetROP = 10; + public static final int NopROP = 11; + public static final int AndNotROP = 12; + public static final int OrNotROP = 13; + public static final int NandROP = 14; + public static final int NorROP = 15; + public static final int LastROP = NorROP; + + public static final int NoPen = 0; + public static final int SolidLine = 1; + public static final int DashLine = 2; + public static final int DotLine = 3; + public static final int DashDotLine = 4; + public static final int DashDotDotLine = 5; + public static final int MPenStyle = 0x0f; + + public static final int FlatCap = 0x00; + public static final int SquareCap = 0x10; + public static final int RoundCap = 0x20; + public static final int MPenCapStyle = 0x30; + + public static final int MiterJoin = 0x00; + public static final int BevelJoin = 0x40; + public static final int RoundJoin = 0x80; + public static final int MPenJoinStyle = 0xc0; + + public static final int NoBrush = 0; + public static final int SolidPattern = 1; + public static final int Dense1Pattern = 2; + public static final int Dense2Pattern = 3; + public static final int Dense3Pattern = 4; + public static final int Dense4Pattern = 5; + public static final int Dense5Pattern = 6; + public static final int Dense6Pattern = 7; + public static final int Dense7Pattern = 8; + public static final int HorPattern = 9; + public static final int VerPattern = 10; + public static final int CrossPattern = 11; + public static final int BDiagPattern = 12; + public static final int FDiagPattern = 13; + public static final int DiagCrossPattern = 14; + public static final int CustomPattern = 24; + + public static final int MV_Unknown = 0x0000; + public static final int MV_9 = 0x0001; + public static final int MV_10_DOT_0 = 0x0002; + public static final int MV_10_DOT_1 = 0x0003; + public static final int MV_10_DOT_2 = 0x0004; + public static final int MV_10_DOT_3 = 0x0005; + public static final int MV_10_DOT_4 = 0x0006; + public static final int MV_CHEETAH = MV_10_DOT_0; + public static final int MV_PUMA = MV_10_DOT_1; + public static final int MV_JAGUAR = MV_10_DOT_2; + public static final int MV_PANTHER = MV_10_DOT_3; + public static final int MV_TIGER = MV_10_DOT_4; + + public static final int WV_32s = 0x0001; + public static final int WV_95 = 0x0002; + public static final int WV_98 = 0x0003; + public static final int WV_Me = 0x0004; + public static final int WV_DOS_based = 0x000f; + public static final int WV_NT = 0x0010; + public static final int WV_2000 = 0x0020; + public static final int WV_XP = 0x0030; + public static final int WV_2003 = 0x0040; + public static final int WV_NT_based = 0x00f0; + public static final int WV_CE = 0x0100; + public static final int WV_CENET = 0x0200; + public static final int WV_CE_based = 0x0f00; + + public static final int UI_General = 0; + public static final int UI_AnimateMenu = 1; + public static final int UI_FadeMenu = 2; + public static final int UI_AnimateCombo = 3; + public static final int UI_AnimateTooltip = 4; + public static final int UI_FadeTooltip = 5; + public static final int UI_AnimateToolBox = 6; + + public static final int ArrowCursor = 0; + public static final int UpArrowCursor = 1; + public static final int CrossCursor = 2; + public static final int WaitCursor = 3; + public static final int IbeamCursor = 4; + public static final int SizeVerCursor = 5; + public static final int SizeHorCursor = 6; + public static final int SizeBDiagCursor = 7; + public static final int SizeFDiagCursor = 8; + public static final int SizeAllCursor = 9; + public static final int BlankCursor = 10; + public static final int SplitVCursor = 11; + public static final int SplitHCursor = 12; + public static final int PointingHandCursor = 13; + public static final int ForbiddenCursor = 14; + public static final int WhatsThisCursor = 15; + public static final int BusyCursor = 16; + public static final int LastCursor = BusyCursor; + public static final int BitmapCursor = 24; + + public static final int PlainText = 0; + public static final int RichText = 1; + public static final int AutoText = 2; + public static final int LogText = 3; + + public static final int AnchorName = 0; + public static final int AnchorHref = 1; + + public static final int DockUnmanaged = 0; + public static final int DockTornOff = 1; + public static final int DockTop = 2; + public static final int DockBottom = 3; + public static final int DockRight = 4; + public static final int DockLeft = 5; + public static final int DockMinimized = 6; + public static final int Unmanaged = DockUnmanaged; + public static final int TornOff = DockTornOff; + public static final int Top = DockTop; + public static final int Bottom = DockBottom; + public static final int Right = DockRight; + public static final int Left = DockLeft; + public static final int Minimized = DockMinimized; + + public static final int TextDate = 0; + public static final int ISODate = 1; + public static final int LocalDate = 2; + + public static final int LocalTime = 0; + public static final int UTC = 1; + + public static final int FixedColor = 0; + public static final int FixedPixmap = 1; + public static final int NoBackground = 2; + public static final int PaletteForeground = 3; + public static final int PaletteButton = 4; + public static final int PaletteLight = 5; + public static final int PaletteMidlight = 6; + public static final int PaletteDark = 7; + public static final int PaletteMid = 8; + public static final int PaletteText = 9; + public static final int PaletteBrightText = 10; + public static final int PaletteBase = 11; + public static final int PaletteBackground = 12; + public static final int PaletteShadow = 13; + public static final int PaletteHighlight = 14; + public static final int PaletteHighlightedText = 15; + public static final int PaletteButtonText = 16; + public static final int PaletteLink = 17; + public static final int PaletteLinkVisited = 18; + public static final int X11ParentRelative = 19; + + public static final int CaseSensitive = 0x00001; + public static final int BeginsWith = 0x00002; + public static final int EndsWith = 0x00004; + public static final int Contains = 0x00008; + public static final int ExactMatch = 0x00010; + + public static final int TopLeft = 0x00000; + public static final int TopRight = 0x00001; + public static final int BottomLeft = 0x00002; + public static final int BottomRight = 0x00003; + + public Qt() { + newQt(); + } + private native void newQt(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + /** ************************************************** + TQPoint stream functions + ************************************************** @short TQPoint stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQPoint arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPoint arg2); + /** ************************************************** + TQPoint inline functions + ************************************************** @short TQPoint inline functions + */ + 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); + /** ************************************************** + TQRegion stream functions + ************************************************** @short TQRegion stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQRegion arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQRegion arg2); + /** ************************************************** + Misc. TQBitArray operator functions + ************************************************** @short Misc. + */ + // 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 + /** ************************************************** + TQBitArray stream functions + ************************************************** @short TQBitArray stream functions + */ + // TQDataStream& op_write(TQDataStream& arg1,const TQBitArray& arg2); >>>> NOT CONVERTED + // TQDataStream& op_read(TQDataStream& arg1,TQBitArray& arg2); >>>> NOT CONVERTED + /** ************************************************** + TQColorGroup/TQPalette stream functions + ************************************************** @short TQColorGroup/TQPalette stream functions + */ + 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); + /** ************************************************** + TQCursor stream functions + ************************************************** @short TQCursor stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQCursor arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQCursor arg2); + public static native String tqAppName(); + // void tqAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED + // void tqRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED + public static native byte[] tqCompress(char[] data, int nbytes); + public static native byte[] tqUncompress(char[] data, int nbytes); + public static native byte[] tqCompress(byte[] data); + public static native byte[] tqUncompress(byte[] data); + public static native TQTextStream op_write(TQTextStream arg1, TQDomNode arg2); + public static native TQWMatrix op_mult(TQWMatrix arg1, TQWMatrix arg2); + /** ************************************************** + TQWMatrix stream functions + ************************************************** @short TQWMatrix stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQWMatrix arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQWMatrix arg2); + /** ************************************************** + TQBrush stream functions + ************************************************** @short TQBrush stream functions + */ + 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$ + + * Definition of OpenGL classes for Qt + + * Created : 970112 + + * Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + + * This file is part of the opengl module of the Qt GUI Toolkit. + + * This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + + * This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + + * Licensees holding valid Qt Enterprise Edition licenses may use this + file in accordance with the Qt Commercial License Agreement provided + with the Software. + + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + * See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + + * Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + + ********************************************** @short $Id: qt/qgl. + */ + public static native String qGLVersion(); + public static native boolean op_equals(TQGLFormat arg1, TQGLFormat arg2); + public static native boolean op_not_equals(TQGLFormat arg1, TQGLFormat arg2); + /** ************************************************** + TQFont stream functions + ************************************************** @short TQFont stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQFont arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQFont arg2); + /** ************************************************** + TQSize stream functions + ************************************************** @short TQSize stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQSize arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQSize arg2); + /** ************************************************** + TQSize inline functions + ************************************************** @short TQSize inline functions + */ + 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); + /** ************************************************** + TQPixmap stream functions + ************************************************** @short TQPixmap stream functions + */ + 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$ + + * Definition of tqInitNetworkProtocols function. + + * Created : 970521 + + * Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + + * This file is part of the network module of the Qt GUI Toolkit. + + * This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + + * This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + + * Licensees holding valid Qt Enterprise Edition licenses may use this + file in accordance with the Qt Commercial License Agreement provided + with the Software. + + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + + * See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + + * Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + + ********************************************** @short $Id: qt/qnetwork. + */ + public static native void tqInitNetworkProtocols(); + /** ************************************************** + TQPointArray stream functions + ************************************************** @short TQPointArray stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQPointArray arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPointArray arg2); + /** ************************************************** + TQPen stream functions + ************************************************** @short TQPen stream functions + */ + public static native TQDataStream op_write(TQDataStream arg1, TQPen arg2); + public static native TQDataStream op_read(TQDataStream arg1, TQPen arg2); + public static native int tqRed(int rgb); + public static native int tqGreen(int rgb); + public static native int tqBlue(int rgb); + public static native int tqAlpha(int rgb); + public static native int tqRgb(int r, int g, int b); + public static native int tqRgba(int r, int g, int b, int a); + public static native int tqGray(int r, int g, int b); + public static native int tqGray(int rgb); + /** ************************************************** + TQColor stream functions + ************************************************** @short TQColor stream functions + */ + 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 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); + /** ************************************************** + TQPicture stream functions + ************************************************** @short TQPicture stream functions + */ + 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 tqRound(double d); + public static native String tqVersion(); + public static native boolean tqSysInfo(int[] wordSize, boolean[] bigEndian); + public static native boolean tqSharedBuild(); + public static native void tqSystemWarning(String arg1, int code); + public static native void tqSystemWarning(String arg1); + // QtMsgHandler qInstallMsgHandler(QtMsgHandler arg1); >>>> NOT CONVERTED + public static native void tqSuppressObsoleteWarnings(boolean arg1); + public static native void tqSuppressObsoleteWarnings(); + public static native void tqObsolete(String arg1, String oldfunc, String newfunc); + public static native void tqObsolete(String arg1, String oldfunc); + public static native void tqObsolete(String message); + public static native String tqInstallPath(); + public static native String tqInstallPathDocs(); + public static native String tqInstallPathHeaders(); + public static native String tqInstallPathLibs(); + public static native String tqInstallPathBins(); + public static native String tqInstallPathPlugins(); + public static native String tqInstallPathData(); + public static native String tqInstallPathTranslations(); + public static native String tqInstallPathSysconf(); + 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(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); + /** ************************************************** + TQRect stream functions + ************************************************** @short TQRect stream functions + */ + 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 */ + public static QtSupport dynamicCast(String type, QtSupport source) { + Method method = null; + + try { + method = qtjava.class.getDeclaredMethod( "dynamicCast", + new Class[] { String.class, QtSupport.class } ); + } catch (NoSuchMethodException e1) { + Qt.tqWarning("No such method : qtjava.dynamicCast()"); + } + + try { + method.setAccessible(true); + Object result = method.invoke(qtjava.class, new Object[] { type, source } ); + return (QtSupport) result; + } catch (InvocationTargetException e) { + Qt.tqWarning("Invocation failed : qtjava.dynamicCast()"); + return null; + } catch (IllegalAccessException e) { + Qt.tqWarning("Invocation failed : qtjava.dynamicCast()"); + return null; + } + } + + 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 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 TQCursor splitHCursor(); // horizontal bar with up-down + // arrows + 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 TQApplication tqApp(); + + public static native void tqDebug(String message); + public static void tqDebug(String pattern, Object[] arguments) { + tqDebug(MessageFormat.format(pattern, arguments)); + } + + public static native void tqWarning(String message); + public static void tqWarning(String pattern, Object[] arguments) { + tqWarning(MessageFormat.format(pattern, arguments)); + } + + public static native void tqFatal(String message); + public static void tqFatal(String pattern, Object[] arguments) { + tqFatal(MessageFormat.format(pattern, arguments)); + } + + private static String sqeezeOut(String from, char toss) { + char[] chars = from.toCharArray(); + int len = chars.length; + int put = 0; + + for (int i = 0; i < len; i++) { + if (chars[i] != toss) { + chars[put++] = chars[i]; + } + } + + return new String(chars, 0, put); + } + + /** Prepend a '2' to a signal string and remove any spaces */ + public static String SIGNAL(String signal) { + return "2" + sqeezeOut(signal, ' '); + } + + /** Prepend a '1' to a slot string and remove any spaces */ + public static String SLOT(String slot) { + return "1" + sqeezeOut(slot, ' '); + } + + /** Convert from a UTF-8 string to Unicode - the java equivalent to TQString::fromUtf8() */ + public String fromUtf8(byte[] bytes) { + String result = null; + + try { + result = new String(bytes, "UTF-8"); + } catch (UnsupportedEncodingException e) { + tqWarning("UTF-8 encoding not supported"); + } finally { + return result; + } + } + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/QtSupport.java b/qtjava/javalib/org/trinitydesktop/qt/QtSupport.java new file mode 100644 index 00000000..2384e02b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/QtSupport.java @@ -0,0 +1,27 @@ +/*************************************************************************** + QtSupport.java - description + ------------------- + begin : Sun Nov 5 23:27:21 2000 + copyright : (C) 2000 Lost Highway Ltd. All rights reserved. + email : Lost_Highway@tipitina.demon.co.uk + generated by : duke@tipitina on Sun Nov 5 23:27:21 2000, using kdoc $. + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * Lost Highway Ltd reserves the right to issue additional license types * + * compatible with the Trolltech AS Qt commercial license. * + ***************************************************************************/ + +/** A marker interface to denote whether or not a Java instance contains + a wrapped Qt C++ instance */ + +package org.trinitydesktop.qt; + +public interface QtSupport { +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/QtUtils.java b/qtjava/javalib/org/trinitydesktop/qt/QtUtils.java new file mode 100644 index 00000000..886cb02a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/QtUtils.java @@ -0,0 +1,15 @@ +package org.trinitydesktop.qt; + +public class QtUtils { + + public interface Compute { + public Object run(); + } + + public static native Object execSyncOnGUIThread(Compute c); + public static native void execSyncOnGUIThread(Runnable r); + + public static native void execAsyncOnGUIThread(Runnable r); + +} + diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAccel.java b/qtjava/javalib/org/trinitydesktop/qt/TQAccel.java new file mode 100644 index 00000000..41551d98 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAccel.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQAccelSignals} for signals emitted by TQAccel +*/ +public class TQAccel extends TQObject { + protected TQAccel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQAccel(TQWidget parent, String name) { + super((Class) null); + newTQAccel(parent,name); + } + private native void newTQAccel(TQWidget parent, String name); + public TQAccel(TQWidget parent) { + super((Class) null); + newTQAccel(parent); + } + private native void newTQAccel(TQWidget parent); + public TQAccel(TQWidget watch, TQObject parent, String name) { + super((Class) null); + newTQAccel(watch,parent,name); + } + private native void newTQAccel(TQWidget watch, TQObject parent, String name); + public TQAccel(TQWidget watch, TQObject parent) { + super((Class) null); + newTQAccel(watch,parent); + } + private native void newTQAccel(TQWidget watch, TQObject parent); + public native boolean isEnabled(); + public native void setEnabled(boolean arg1); + public native int count(); + public native int insertItem(TQKeySequence key, int id); + public native int insertItem(TQKeySequence key); + public native void removeItem(int id); + public native void clear(); + public native TQKeySequence key(int id); + public native int findKey(TQKeySequence key); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native void repairEventFilter(); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void setIgnoreWhatsThis(boolean arg1); + public native boolean ignoreWhatsThis(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQKeySequence shortcutKey(String arg1); + public static native String keyToString(TQKeySequence k); + public static native TQKeySequence stringToKey(String arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAccelSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQAccelSignals.java new file mode 100644 index 00000000..1418c901 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAccelSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQAccelSignals { + void activated(int id); + void activatedAmbiguously(int id); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAction.java b/qtjava/javalib/org/trinitydesktop/qt/TQAction.java new file mode 100644 index 00000000..f987143f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAction.java @@ -0,0 +1,115 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQActionSignals} for signals emitted by TQAction +*/ +public class TQAction extends TQObject { + protected TQAction(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQAction(TQObject parent, String name) { + super((Class) null); + newTQAction(parent,name); + } + private native void newTQAction(TQObject parent, String name); + public TQAction(TQObject parent) { + super((Class) null); + newTQAction(parent); + } + private native void newTQAction(TQObject parent); + public TQAction(String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(menuText,accel,parent,name); + } + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(menuText,accel,parent); + } + private native void newTQAction(String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(icon,menuText,accel,parent,name); + } + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(icon,menuText,accel,parent); + } + private native void newTQAction(TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent,name,toggle); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent,name); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(text,icon,menuText,accel,parent); + } + private native void newTQAction(String text, TQIconSet icon, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(text,menuText,accel,parent,name,toggle); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name, boolean toggle); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name) { + super((Class) null); + newTQAction(text,menuText,accel,parent,name); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent, String name); + public TQAction(String text, String menuText, TQKeySequence accel, TQObject parent) { + super((Class) null); + newTQAction(text,menuText,accel,parent); + } + private native void newTQAction(String text, String menuText, TQKeySequence accel, TQObject parent); + public TQAction(TQObject parent, String name, boolean toggle) { + super((Class) null); + newTQAction(parent,name,toggle); + } + private native void newTQAction(TQObject parent, String name, boolean toggle); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native void setText(String arg1); + public native String text(); + public native void setMenuText(String arg1); + public native String menuText(); + public native void setToolTip(String arg1); + public native String toolTip(); + public native void setStatusTip(String arg1); + public native String statusTip(); + public native void setWhatsThis(String arg1); + public native String whatsThis(); + public native void setAccel(TQKeySequence key); + public native TQKeySequence accel(); + public native void setToggleAction(boolean arg1); + public native boolean isToggleAction(); + public native boolean isOn(); + public native boolean isEnabled(); + public native boolean isVisible(); + public native boolean addTo(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); + public native void activate(); + public native void toggle(); + public native void setOn(boolean arg1); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + public native void setVisible(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void addedTo(TQWidget actionWidget, TQWidget container); + protected native void addedTo(int index, TQPopupMenu menu); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQActionGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQActionGroup.java new file mode 100644 index 00000000..1c390619 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQActionGroup.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQActionGroupSignals} for signals emitted by TQActionGroup +*/ +public class TQActionGroup extends TQAction { + protected TQActionGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQActionGroup(TQObject parent, String name) { + super((Class) null); + newTQActionGroup(parent,name); + } + private native void newTQActionGroup(TQObject parent, String name); + public TQActionGroup(TQObject parent) { + super((Class) null); + newTQActionGroup(parent); + } + private native void newTQActionGroup(TQObject parent); + public TQActionGroup(TQObject parent, String name, boolean exclusive) { + super((Class) null); + newTQActionGroup(parent,name,exclusive); + } + private native void newTQActionGroup(TQObject parent, String name, boolean exclusive); + public native void setExclusive(boolean arg1); + public native boolean isExclusive(); + public native void add(TQAction a); + public native void addSeparator(); + public native boolean addTo(TQWidget arg1); + public native boolean removeFrom(TQWidget arg1); + public native void setEnabled(boolean arg1); + public native void setToggleAction(boolean toggle); + public native void setOn(boolean on); + public native void setUsesDropDown(boolean enable); + public native boolean usesDropDown(); + public native void setIconSet(TQIconSet arg1); + public native void setText(String arg1); + public native void setMenuText(String arg1); + public native void setToolTip(String arg1); + public native void setWhatsThis(String arg1); + public native void insert(TQAction a); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void addedTo(TQWidget actionWidget, TQWidget container, TQAction a); + protected native void addedTo(int index, TQPopupMenu menu, TQAction a); + protected native void addedTo(TQWidget actionWidget, TQWidget container); + protected native void addedTo(int index, TQPopupMenu menu); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQActionGroupSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQActionGroupSignals.java new file mode 100644 index 00000000..4d28194d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQActionGroupSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQActionGroupSignals { + void selected(TQAction arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQActionSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQActionSignals.java new file mode 100644 index 00000000..7bc4fd27 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQActionSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQActionSignals { + void activated(); + void toggled(boolean arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQApplication.java b/qtjava/javalib/org/trinitydesktop/qt/TQApplication.java new file mode 100644 index 00000000..db001e5e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQApplication.java @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQApplicationSignals} for signals emitted by TQApplication +*/ +public class TQApplication extends TQObject { + protected TQApplication(Class dummy){super((Class) null);} + public static final int Tty = 0; + public static final int GuiClient = 1; + public static final int GuiServer = 2; + + public static final int NormalColors = 0; + public static final int CustomColors = 1; + + public static final int NormalColor = 0; + public static final int CustomColor = 1; + public static final int ManyColor = 2; + + public static final int DefaultCodec = 0; + public static final int UnicodeUTF8 = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQApplication(String[] argv) { + super((Class) null); + newTQApplication(argv); + } + private native void newTQApplication(String[] argv); + public TQApplication(String[] argv, boolean GUIenabled) { + super((Class) null); + newTQApplication(argv,GUIenabled); + } + private native void newTQApplication(String[] argv, boolean GUIenabled); + public TQApplication(String[] argv, int arg3) { + super((Class) null); + newTQApplication(argv,arg3); + } + private native void newTQApplication(String[] argv, int arg3); + public native int type(); + public native TQWidget mainWidget(); + public native void setMainWidget(TQWidget arg1); + public native void polish(TQWidget arg1); + public native TQWidget focusWidget(); + public native TQWidget activeWindow(); + public native int exec(); + public native void processEvents(); + public native void processEvents(int maxtime); + public native void processOneEvent(); + public native boolean hasPendingEvents(); + public native int enter_loop(); + public native void exit_loop(); + public native int loopLevel(); + public native boolean notify(TQObject arg1, TQEvent arg2); + public native void setDefaultCodec(TQTextCodec arg1); + public native TQTextCodec defaultCodec(); + public native void installTranslator(TQTranslator arg1); + public native void removeTranslator(TQTranslator arg1); + public native String translate(String context, String key, String comment, int encoding); + public native String translate(String context, String key, String comment); + public native String translate(String context, String key); + public native String applicationDirPath(); + public native String applicationFilePath(); + public native boolean isSessionRestored(); + public native String sessionId(); + public native String sessionKey(); + public native void commitData(TQSessionManager sm); + public native void saveState(TQSessionManager sm); + public native void wakeUpGuiThread(); + public native void quit(); + public native void closeAllWindows(); + public native void aboutTQt(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQStyle style(); + public static native void setStyle(TQStyle arg1); + public static native TQStyle setStyle(String arg1); + public static native int colorMode(); + public static native void setColorMode(int arg1); + public static native int colorSpec(); + public static native void setColorSpec(int arg1); + public static native TQCursor overrideCursor(); + public static native void setOverrideCursor(TQCursor arg1, boolean replace); + public static native void setOverrideCursor(TQCursor arg1); + public static native void restoreOverrideCursor(); + public static native boolean hasGlobalMouseTracking(); + public static native void setGlobalMouseTracking(boolean enable); + public static native TQPalette palette(TQWidget arg1); + public static native TQPalette palette(); + public static native void setPalette(TQPalette arg1, boolean informWidgets, String className); + public static native void setPalette(TQPalette arg1, boolean informWidgets); + public static native void setPalette(TQPalette arg1); + public static native TQFont font(TQWidget arg1); + public static native TQFont font(); + public static native void setFont(TQFont arg1, boolean informWidgets, String className); + public static native void setFont(TQFont arg1, boolean informWidgets); + public static native void setFont(TQFont arg1); + public static native TQFontMetrics fontMetrics(); + public static native ArrayList allWidgets(); + public static native ArrayList topLevelWidgets(); + public static native TQDesktopWidget desktop(); + public static native TQWidget activePopupWidget(); + public static native TQWidget activeModalWidget(); + public static native TQClipboard clipboard(); + public static native TQWidget widgetAt(int x, int y, boolean child); + public static native TQWidget widgetAt(int x, int y); + public static native TQWidget widgetAt(TQPoint arg1, boolean child); + public static native TQWidget widgetAt(TQPoint arg1); + public static native TQEventLoop eventLoop(); + public static native void exit(int retcode); + public static native void exit(); + public static native boolean sendEvent(TQObject receiver, TQEvent event); + public static native void postEvent(TQObject receiver, TQEvent event); + public static native void sendPostedEvents(TQObject receiver, int event_type); + public static native void sendPostedEvents(); + public static native void removePostedEvents(TQObject receiver); + public static native boolean startingUp(); + public static native boolean closingDown(); + public static native void flushX(); + public static native void flush(); + public static native void syncX(); + public static native void beep(); + public static native void setWinStyleHighlightColor(TQColor c); + public static native TQColor winStyleHighlightColor(); + public static native void setDesktopSettingsAware(boolean arg1); + public static native boolean desktopSettingsAware(); + public static native void setCursorFlashTime(int arg1); + public static native int cursorFlashTime(); + public static native void setDoubleClickInterval(int arg1); + public static native int doubleClickInterval(); + public static native void setWheelScrollLines(int arg1); + public static native int wheelScrollLines(); + public static native void setGlobalStrut(TQSize arg1); + public static native TQSize globalStrut(); + public static native void setLibraryPaths(String[] arg1); + public static native ArrayList libraryPaths(); + public static native void addLibraryPath(String arg1); + public static native void removeLibraryPath(String arg1); + public static native void setStartDragTime(int ms); + public static native int startDragTime(); + public static native void setStartDragDistance(int l); + public static native int startDragDistance(); + public static native void setReverseLayout(boolean b); + public static native boolean reverseLayout(); + public static native int horizontalAlignment(int align); + public static native boolean isEffectEnabled(int arg1); + public static native void setEffectEnabled(int arg1, boolean enable); + public static native void setEffectEnabled(int arg1); + public native boolean event(TQEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native String[] args(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQApplicationSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQApplicationSignals.java new file mode 100644 index 00000000..438cac6f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQApplicationSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQApplicationSignals { + void lastWindowClosed(); + void aboutToQuit(); + void guiThreadAwake(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAsyncIO.java b/qtjava/javalib/org/trinitydesktop/qt/TQAsyncIO.java new file mode 100644 index 00000000..36fcdfb8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAsyncIO.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQAsyncIO implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQAsyncIO(Class dummy){} + + public native void connect(TQObject arg1, String member); + public TQAsyncIO() { + newTQAsyncIO(); + } + private native void newTQAsyncIO(); + protected native void ready(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQAuServer.java b/qtjava/javalib/org/trinitydesktop/qt/TQAuServer.java new file mode 100644 index 00000000..06fa375c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQAuServer.java @@ -0,0 +1,17 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQAuServer extends TQObject { + protected TQAuServer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native void init(TQSound arg1); + public native void play(String filename); + public native void play(TQSound arg1); + public native void stop(TQSound arg1); + public native boolean okay(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQBig5Codec.java b/qtjava/javalib/org/trinitydesktop/qt/TQBig5Codec.java new file mode 100644 index 00000000..1ebe8c54 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQBig5Codec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQBig5Codec extends TQTextCodec { + protected TQBig5Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQBig5Codec() { + super((Class) null); + newTQBig5Codec(); + } + private native void newTQBig5Codec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQBitmap.java b/qtjava/javalib/org/trinitydesktop/qt/TQBitmap.java new file mode 100644 index 00000000..cf17ed23 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQBitmap.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQBitmap extends TQPixmap { + protected TQBitmap(Class dummy){super((Class) null);} + public TQBitmap() { + super((Class) null); + newTQBitmap(); + } + private native void newTQBitmap(); + public TQBitmap(int w, int h, boolean clear, int arg4) { + super((Class) null); + newTQBitmap(w,h,clear,arg4); + } + private native void newTQBitmap(int w, int h, boolean clear, int arg4); + public TQBitmap(int w, int h, boolean clear) { + super((Class) null); + newTQBitmap(w,h,clear); + } + private native void newTQBitmap(int w, int h, boolean clear); + public TQBitmap(int w, int h) { + super((Class) null); + newTQBitmap(w,h); + } + private native void newTQBitmap(int w, int h); + public TQBitmap(TQSize arg1, boolean clear, int arg3) { + super((Class) null); + newTQBitmap(arg1,clear,arg3); + } + private native void newTQBitmap(TQSize arg1, boolean clear, int arg3); + public TQBitmap(TQSize arg1, boolean clear) { + super((Class) null); + newTQBitmap(arg1,clear); + } + private native void newTQBitmap(TQSize arg1, boolean clear); + public TQBitmap(TQSize arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQSize arg1); + public TQBitmap(int w, int h, char[] bits, boolean isXbitmap) { + super((Class) null); + newTQBitmap(w,h,bits,isXbitmap); + } + private native void newTQBitmap(int w, int h, char[] bits, boolean isXbitmap); + public TQBitmap(int w, int h, char[] bits) { + super((Class) null); + newTQBitmap(w,h,bits); + } + private native void newTQBitmap(int w, int h, char[] bits); + public TQBitmap(TQSize arg1, char[] bits, boolean isXbitmap) { + super((Class) null); + newTQBitmap(arg1,bits,isXbitmap); + } + private native void newTQBitmap(TQSize arg1, char[] bits, boolean isXbitmap); + public TQBitmap(TQSize arg1, char[] bits) { + super((Class) null); + newTQBitmap(arg1,bits); + } + private native void newTQBitmap(TQSize arg1, char[] bits); + public TQBitmap(TQBitmap arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQBitmap arg1); + public TQBitmap(String fileName, String format) { + super((Class) null); + newTQBitmap(fileName,format); + } + private native void newTQBitmap(String fileName, String format); + public TQBitmap(String fileName) { + super((Class) null); + newTQBitmap(fileName); + } + private native void newTQBitmap(String fileName); + public native Object xForm(TQWMatrix arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public TQBitmap(TQPixmap arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQPixmap arg1); + public TQBitmap(TQImage arg1) { + super((Class) null); + newTQBitmap(arg1); + } + private native void newTQBitmap(TQImage arg1); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQBoxLayout.java b/qtjava/javalib/org/trinitydesktop/qt/TQBoxLayout.java new file mode 100644 index 00000000..e922f5a2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQBoxLayout.java @@ -0,0 +1,109 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQBoxLayout extends TQLayout { + protected TQBoxLayout(Class dummy){super((Class) null);} + public static final int LeftToRight = 0; + public static final int RightToLeft = 1; + public static final int TopToBottom = 2; + public static final int BottomToTop = 3; + public static final int Down = TopToBottom; + public static final int Up = BottomToTop; + + public native TQMetaObject metaObject(); + public native String className(); + public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name) { + super((Class) null); + newTQBoxLayout(parent,arg2,border,spacing,name); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing, String name); + public TQBoxLayout(TQWidget parent, int arg2, int border, int spacing) { + super((Class) null); + newTQBoxLayout(parent,arg2,border,spacing); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border, int spacing); + public TQBoxLayout(TQWidget parent, int arg2, int border) { + super((Class) null); + newTQBoxLayout(parent,arg2,border); + } + private native void newTQBoxLayout(TQWidget parent, int arg2, int border); + public TQBoxLayout(TQWidget parent, int arg2) { + super((Class) null); + newTQBoxLayout(parent,arg2); + } + private native void newTQBoxLayout(TQWidget parent, int arg2); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2,spacing,name); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing, String name); + public TQBoxLayout(TQLayout parentLayout, int arg2, int spacing) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2,spacing); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2, int spacing); + public TQBoxLayout(TQLayout parentLayout, int arg2) { + super((Class) null); + newTQBoxLayout(parentLayout,arg2); + } + private native void newTQBoxLayout(TQLayout parentLayout, int arg2); + public TQBoxLayout(int arg1, int spacing, String name) { + super((Class) null); + newTQBoxLayout(arg1,spacing,name); + } + private native void newTQBoxLayout(int arg1, int spacing, String name); + public TQBoxLayout(int arg1, int spacing) { + super((Class) null); + newTQBoxLayout(arg1,spacing); + } + private native void newTQBoxLayout(int arg1, int spacing); + public TQBoxLayout(int arg1) { + super((Class) null); + newTQBoxLayout(arg1); + } + private native void newTQBoxLayout(int arg1); + public native void addItem(TQLayoutItemInterface arg1); + public native int direction(); + public native void setDirection(int arg1); + public native void addSpacing(int size); + public native void addStretch(int stretch); + public native void addStretch(); + public native void addWidget(TQWidget arg1, int stretch, int alignment); + public native void addWidget(TQWidget arg1, int stretch); + public native void addWidget(TQWidget arg1); + public native void addLayout(TQLayout layout, int stretch); + public native void addLayout(TQLayout layout); + public native void addStrut(int arg1); + public native void insertSpacing(int index, int size); + public native void insertStretch(int index, int stretch); + public native void insertStretch(int index); + public native void insertWidget(int index, TQWidget widget, int stretch, int alignment); + public native void insertWidget(int index, TQWidget widget, int stretch); + public native void insertWidget(int index, TQWidget widget); + public native void insertLayout(int index, TQLayout layout, int stretch); + public native void insertLayout(int index, TQLayout layout); + public native boolean setStretchFactor(TQWidget arg1, int stretch); + public native boolean setStretchFactor(TQLayout l, int stretch); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native int minimumHeightForWidth(int arg1); + public native int expanding(); + public native void invalidate(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native void setGeometry(TQRect arg1); + public native int findWidget(TQWidget w); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void insertItem(int index, TQLayoutItemInterface arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQBrush.java b/qtjava/javalib/org/trinitydesktop/qt/TQBrush.java new file mode 100644 index 00000000..dae67aaf --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQBrush.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQBrush extends Qt { + protected TQBrush(Class dummy){super((Class) null);} + public TQBrush() { + super((Class) null); + newTQBrush(); + } + private native void newTQBrush(); + public TQBrush(int arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(int arg1); + public TQBrush(TQColor arg1, int arg2) { + super((Class) null); + newTQBrush(arg1,arg2); + } + private native void newTQBrush(TQColor arg1, int arg2); + public TQBrush(TQColor arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(TQColor arg1); + public TQBrush(TQColor arg1, TQPixmap arg2) { + super((Class) null); + newTQBrush(arg1,arg2); + } + private native void newTQBrush(TQColor arg1, TQPixmap arg2); + public TQBrush(TQBrush arg1) { + super((Class) null); + newTQBrush(arg1); + } + private native void newTQBrush(TQBrush arg1); + public native int style(); + public native void setStyle(int arg1); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native TQPixmap pixmap(); + public native void setPixmap(TQPixmap arg1); + public native boolean op_equals(TQBrush p); + public native boolean op_not_equals(TQBrush b); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQBuffer.java b/qtjava/javalib/org/trinitydesktop/qt/TQBuffer.java new file mode 100644 index 00000000..78db7dc4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQBuffer.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQBuffer extends TQIODevice { + protected TQBuffer(Class dummy){super((Class) null);} + public TQBuffer() { + super((Class) null); + newTQBuffer(); + } + private native void newTQBuffer(); + public TQBuffer(byte[] arg1) { + super((Class) null); + newTQBuffer(arg1); + } + private native void newTQBuffer(byte[] arg1); + public native byte[] buffer(); + public native boolean setBuffer(byte[] arg1); + public native boolean open(int arg1); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native long readBlock(StringBuffer p, long arg2); + public native long writeBlock(String p, long arg2); + public native long writeBlock(byte[] data); + public native long readLine(String p, long arg2); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQButton.java new file mode 100644 index 00000000..831d8747 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQButton.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQButtonSignals} for signals emitted by TQButton +*/ +public class TQButton extends TQWidget { + protected TQButton(Class dummy){super((Class) null);} + public static final int SingleShot = 0; + public static final int Toggle = 1; + public static final int Tristate = 2; + + public static final int Off = 0; + public static final int NoChange = 1; + public static final int On = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQButton(TQWidget parent, String name, int f) { + super((Class) null); + newTQButton(parent,name,f); + } + private native void newTQButton(TQWidget parent, String name, int f); + public TQButton(TQWidget parent, String name) { + super((Class) null); + newTQButton(parent,name); + } + private native void newTQButton(TQWidget parent, String name); + public TQButton(TQWidget parent) { + super((Class) null); + newTQButton(parent); + } + private native void newTQButton(TQWidget parent); + public TQButton() { + super((Class) null); + newTQButton(); + } + private native void newTQButton(); + public native String text(); + public native void setText(String arg1); + public native TQPixmap pixmap(); + public native void setPixmap(TQPixmap arg1); + public native TQKeySequence accel(); + public native void setAccel(TQKeySequence arg1); + public native boolean isToggleButton(); + public native int toggleType(); + public native void setDown(boolean arg1); + public native boolean isDown(); + public native boolean isOn(); + public native int state(); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native boolean autoRepeat(); + public native void setAutoRepeat(boolean arg1); + public native boolean isExclusiveToggle(); + public native TQButtonGroup group(); + public native void animateClick(); + public native void toggle(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void setToggleButton(boolean arg1); + protected native void setToggleType(int arg1); + protected native void setOn(boolean arg1); + public native void setState(int arg1); + protected native boolean hitButton(TQPoint pos); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void enabledChange(boolean arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroup.java new file mode 100644 index 00000000..e1774d50 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroup.java @@ -0,0 +1,100 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQButtonGroupSignals} for signals emitted by TQButtonGroup +*/ +public class TQButtonGroup extends TQGroupBox { + protected TQButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(parent,name); + } + private native void newTQButtonGroup(TQWidget parent, String name); + public TQButtonGroup(TQWidget parent) { + super((Class) null); + newTQButtonGroup(parent); + } + private native void newTQButtonGroup(TQWidget parent); + public TQButtonGroup() { + super((Class) null); + newTQButtonGroup(); + } + private native void newTQButtonGroup(); + public TQButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(title,parent,name); + } + private native void newTQButtonGroup(String title, TQWidget parent, String name); + public TQButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQButtonGroup(title,parent); + } + private native void newTQButtonGroup(String title, TQWidget parent); + public TQButtonGroup(String title) { + super((Class) null); + newTQButtonGroup(title); + } + private native void newTQButtonGroup(String title); + public TQButtonGroup(int columns, int o, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(columns,o,parent,name); + } + private native void newTQButtonGroup(int columns, int o, TQWidget parent, String name); + public TQButtonGroup(int columns, int o, TQWidget parent) { + super((Class) null); + newTQButtonGroup(columns,o,parent); + } + private native void newTQButtonGroup(int columns, int o, TQWidget parent); + public TQButtonGroup(int columns, int o) { + super((Class) null); + newTQButtonGroup(columns,o); + } + private native void newTQButtonGroup(int columns, int o); + public TQButtonGroup(int columns, int o, String title, TQWidget parent, String name) { + super((Class) null); + newTQButtonGroup(columns,o,title,parent,name); + } + private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent, String name); + public TQButtonGroup(int columns, int o, String title, TQWidget parent) { + super((Class) null); + newTQButtonGroup(columns,o,title,parent); + } + private native void newTQButtonGroup(int columns, int o, String title, TQWidget parent); + public TQButtonGroup(int columns, int o, String title) { + super((Class) null); + newTQButtonGroup(columns,o,title); + } + private native void newTQButtonGroup(int columns, int o, String title); + public native boolean isExclusive(); + public native boolean isRadioButtonExclusive(); + public native void setExclusive(boolean arg1); + public native void setRadioButtonExclusive(boolean arg1); + public native int insert(TQButton arg1, int id); + public native int insert(TQButton arg1); + public native void remove(TQButton arg1); + public native TQButton findButton(int id); + public native int id(TQButton arg1); + public native int count(); + public native void setButton(int id); + public native void moveFocus(int arg1); + public native TQButton selected(); + public native int selectedId(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void buttonPressed(); + protected native void buttonReleased(); + protected native void buttonClicked(); + protected native void buttonToggled(boolean on); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroupSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroupSignals.java new file mode 100644 index 00000000..5c313d3d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQButtonGroupSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQButtonGroupSignals { + void pressed(int id); + void released(int id); + void clicked(int id); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQButtonSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQButtonSignals.java new file mode 100644 index 00000000..af41ab2f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQButtonSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQButtonSignals { + void pressed(); + void released(); + void clicked(); + void toggled(boolean arg1); + void stateChanged(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java new file mode 100644 index 00000000..49ac66dd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvas.java @@ -0,0 +1,103 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQCanvasSignals} for signals emitted by TQCanvas +*/ +public class TQCanvas extends TQObject { + protected TQCanvas(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCanvas(TQObject parent, String name) { + super((Class) null); + newTQCanvas(parent,name); + } + private native void newTQCanvas(TQObject parent, String name); + public TQCanvas(TQObject parent) { + super((Class) null); + newTQCanvas(parent); + } + private native void newTQCanvas(TQObject parent); + public TQCanvas() { + super((Class) null); + newTQCanvas(); + } + private native void newTQCanvas(); + public TQCanvas(int w, int h) { + super((Class) null); + newTQCanvas(w,h); + } + private native void newTQCanvas(int w, int h); + public TQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight) { + super((Class) null); + newTQCanvas(p,h,v,tilewidth,tileheight); + } + private native void newTQCanvas(TQPixmap p, int h, int v, int tilewidth, int tileheight); + public native void setTiles(TQPixmap tiles, int h, int v, int tilewidth, int tileheight); + public native void setBackgroundPixmap(TQPixmap p); + public native TQPixmap backgroundPixmap(); + public native void setBackgroundColor(TQColor c); + public native TQColor backgroundColor(); + public native void setTile(int x, int y, int tilenum); + public native int tile(int x, int y); + public native int tilesHorizontally(); + public native int tilesVertically(); + public native int tileWidth(); + public native int tileHeight(); + public native void resize(int width, int height); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native boolean onCanvas(int x, int y); + public native boolean onCanvas(TQPoint p); + public native boolean validChunk(int x, int y); + public native boolean validChunk(TQPoint p); + public native int chunkSize(); + public native void retune(int chunksize, int maxclusters); + public native void retune(int chunksize); + public native boolean sameChunk(int x1, int y1, int x2, int y2); + public native void setChangedChunk(int i, int j); + public native void setChangedChunkContaining(int x, int y); + public native void setAllChanged(); + public native void setChanged(TQRect area); + public native void setUnchanged(TQRect area); + public native void addItemToChunk(TQCanvasItem arg1, int i, int j); + public native void removeItemFromChunk(TQCanvasItem arg1, int i, int j); + public native void addItemToChunkContaining(TQCanvasItem arg1, int x, int y); + public native void removeItemFromChunkContaining(TQCanvasItem arg1, int x, int y); + public native ArrayList allItems(); + public native ArrayList collisions(TQPoint arg1); + public native ArrayList collisions(TQRect arg1); + public native ArrayList collisions(TQPointArray pa, TQCanvasItem item, boolean exact); + public native void drawArea(TQRect arg1, TQPainter p, boolean double_buffer); + public native void drawArea(TQRect arg1, TQPainter p); + public native void addView(TQCanvasView arg1); + public native void removeView(TQCanvasView arg1); + public native void drawCanvasArea(TQRect arg1, TQPainter p, boolean double_buffer); + public native void drawCanvasArea(TQRect arg1, TQPainter p); + public native void drawCanvasArea(TQRect arg1); + public native void drawViewArea(TQCanvasView view, TQPainter p, TQRect r, boolean dbuf); + public native void addItem(TQCanvasItem arg1); + public native void addAnimation(TQCanvasItem arg1); + public native void removeItem(TQCanvasItem arg1); + public native void removeAnimation(TQCanvasItem arg1); + public native void setAdvancePeriod(int ms); + public native void setUpdatePeriod(int ms); + public native void setDoubleBuffering(boolean y); + public native void advance(); + public native void update(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawBackground(TQPainter arg1, TQRect area); + protected native void drawForeground(TQPainter arg1, TQRect area); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasEllipse.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasEllipse.java new file mode 100644 index 00000000..979d3cfb --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasEllipse.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasEllipse extends TQCanvasPolygonalItem { + protected TQCanvasEllipse(Class dummy){super((Class) null);} + public TQCanvasEllipse(TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(canvas); + } + private native void newTQCanvasEllipse(TQCanvas canvas); + public TQCanvasEllipse(int width, int height, TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(width,height,canvas); + } + private native void newTQCanvasEllipse(int width, int height, TQCanvas canvas); + public TQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas) { + super((Class) null); + newTQCanvasEllipse(width,height,startangle,angle,canvas); + } + private native void newTQCanvasEllipse(int width, int height, int startangle, int angle, TQCanvas canvas); + public native int width(); + public native int height(); + public native void setSize(int w, int h); + public native void setAngles(int start, int length); + public native int angleStart(); + public native int angleLength(); + public native TQPointArray areaPoints(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + protected native void drawShape(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasItem.java new file mode 100644 index 00000000..e428901f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasItem.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQCanvasItem extends Qt { + protected TQCanvasItem(Class dummy){super((Class) null);} + public static final int Rtti_Item = 0; + public static final int Rtti_Sprite = 1; + public static final int Rtti_PolygonalItem = 2; + public static final int Rtti_Text = 3; + public static final int Rtti_Polygon = 4; + public static final int Rtti_Rectangle = 5; + public static final int Rtti_Ellipse = 6; + public static final int Rtti_Line = 7; + public static final int Rtti_Spline = 8; + + public native double x(); + public native double y(); + public native double z(); + public native void moveBy(double dx, double dy); + public native void move(double x, double y); + public native void setX(double a); + public native void setY(double a); + public native void setZ(double a); + public native boolean animated(); + public native void setAnimated(boolean y); + public native void setVelocity(double vx, double vy); + public native void setXVelocity(double vx); + public native void setYVelocity(double vy); + public native double xVelocity(); + public native double yVelocity(); + public native void advance(int stage); + public native boolean collidesWith(TQCanvasItem arg1); + public native ArrayList collisions(boolean exact); + public native void setCanvas(TQCanvas arg1); + public native void draw(TQPainter arg1); + public native void show(); + public native void hide(); + public native void setVisible(boolean yes); + public native boolean isVisible(); + public native void setSelected(boolean yes); + public native boolean isSelected(); + public native void setEnabled(boolean yes); + public native boolean isEnabled(); + public native void setActive(boolean yes); + public native boolean isActive(); + public native boolean visible(); + public native boolean selected(); + public native boolean enabled(); + public native boolean active(); + public native int rtti(); + public native TQRect boundingRect(); + public native TQRect boundingRectAdvanced(); + public native TQCanvas canvas(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasLine.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasLine.java new file mode 100644 index 00000000..e4fa3ab3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasLine.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasLine extends TQCanvasPolygonalItem { + protected TQCanvasLine(Class dummy){super((Class) null);} + public TQCanvasLine(TQCanvas canvas) { + super((Class) null); + newTQCanvasLine(canvas); + } + private native void newTQCanvasLine(TQCanvas canvas); + public native void setPoints(int x1, int y1, int x2, int y2); + public native TQPoint startPoint(); + public native TQPoint endPoint(); + public native int rtti(); + public native void setPen(TQPen p); + public native void moveBy(double dx, double dy); + protected native void drawShape(TQPainter arg1); + public native TQPointArray areaPoints(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmap.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmap.java new file mode 100644 index 00000000..d1eae3d8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmap.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasPixmap extends TQPixmap { + protected TQCanvasPixmap(Class dummy){super((Class) null);} + public TQCanvasPixmap(String datafilename) { + super((Class) null); + newTQCanvasPixmap(datafilename); + } + private native void newTQCanvasPixmap(String datafilename); + public TQCanvasPixmap(TQImage image) { + super((Class) null); + newTQCanvasPixmap(image); + } + private native void newTQCanvasPixmap(TQImage image); + public TQCanvasPixmap(TQPixmap arg1, TQPoint hotspot) { + super((Class) null); + newTQCanvasPixmap(arg1,hotspot); + } + private native void newTQCanvasPixmap(TQPixmap arg1, TQPoint hotspot); + public native int offsetX(); + public native int offsetY(); + public native void setOffset(int x, int y); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmapArray.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmapArray.java new file mode 100644 index 00000000..3e938d09 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPixmapArray.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasPixmapArray implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQCanvasPixmapArray(Class dummy){} + + public TQCanvasPixmapArray() { + newTQCanvasPixmapArray(); + } + private native void newTQCanvasPixmapArray(); + public TQCanvasPixmapArray(String datafilenamepattern, int framecount) { + newTQCanvasPixmapArray(datafilenamepattern,framecount); + } + private native void newTQCanvasPixmapArray(String datafilenamepattern, int framecount); + public TQCanvasPixmapArray(String datafilenamepattern) { + newTQCanvasPixmapArray(datafilenamepattern); + } + private native void newTQCanvasPixmapArray(String datafilenamepattern); + // TQCanvasPixmapArray* TQCanvasPixmapArray(TQPtrList<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 TQCanvasPixmap image(int i); + public native void setImage(int i, TQCanvasPixmap p); + public native int count(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygon.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygon.java new file mode 100644 index 00000000..7958bd26 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygon.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasPolygon extends TQCanvasPolygonalItem { + protected TQCanvasPolygon(Class dummy){super((Class) null);} + public TQCanvasPolygon(TQCanvas canvas) { + super((Class) null); + newTQCanvasPolygon(canvas); + } + private native void newTQCanvasPolygon(TQCanvas canvas); + public native void setPoints(TQPointArray arg1); + public native TQPointArray points(); + public native void moveBy(double dx, double dy); + public native TQPointArray areaPoints(); + public native int rtti(); + protected native void drawShape(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygonalItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygonalItem.java new file mode 100644 index 00000000..93ec8f24 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasPolygonalItem.java @@ -0,0 +1,17 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasPolygonalItem extends TQCanvasItem { + protected TQCanvasPolygonalItem(Class dummy){super((Class) null);} + public native boolean collidesWith(TQCanvasItem arg1); + public native void setPen(TQPen p); + public native void setBrush(TQBrush b); + public native TQPen pen(); + public native TQBrush brush(); + public native TQPointArray areaPoints(); + public native TQPointArray areaPointsAdvanced(); + public native TQRect boundingRect(); + public native int rtti(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasRectangle.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasRectangle.java new file mode 100644 index 00000000..851475a2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasRectangle.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasRectangle extends TQCanvasPolygonalItem { + protected TQCanvasRectangle(Class dummy){super((Class) null);} + public TQCanvasRectangle(TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(canvas); + } + private native void newTQCanvasRectangle(TQCanvas canvas); + public TQCanvasRectangle(TQRect arg1, TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(arg1,canvas); + } + private native void newTQCanvasRectangle(TQRect arg1, TQCanvas canvas); + public TQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas) { + super((Class) null); + newTQCanvasRectangle(x,y,width,height,canvas); + } + private native void newTQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas); + public native int width(); + public native int height(); + public native void setSize(int w, int h); + public native TQSize size(); + public native TQPointArray areaPoints(); + public native TQRect rect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + protected native void drawShape(TQPainter arg1); + protected native TQPointArray chunks(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSignals.java new file mode 100644 index 00000000..31a34691 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQCanvasSignals { + void resized(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSpline.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSpline.java new file mode 100644 index 00000000..05bdbab7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSpline.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasSpline extends TQCanvasPolygon { + protected TQCanvasSpline(Class dummy){super((Class) null);} + public TQCanvasSpline(TQCanvas canvas) { + super((Class) null); + newTQCanvasSpline(canvas); + } + private native void newTQCanvasSpline(TQCanvas canvas); + public native void setControlPoints(TQPointArray arg1, boolean closed); + public native void setControlPoints(TQPointArray arg1); + public native TQPointArray controlPoints(); + public native boolean closed(); + public native int rtti(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSprite.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSprite.java new file mode 100644 index 00000000..70f0af4c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasSprite.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasSprite extends TQCanvasItem { + protected TQCanvasSprite(Class dummy){super((Class) null);} + public static final int Cycle = 0; + public static final int Oscillate = 1; + + public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) { + super((Class) null); + newTQCanvasSprite(array,canvas); + } + private native void newTQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas); + public native void setSequence(TQCanvasPixmapArray seq); + public native void move(double x, double y); + public native void move(double x, double y, int frame); + public native void setFrame(int arg1); + public native void setFrameAnimation(int arg1, int step, int state); + public native void setFrameAnimation(int arg1, int step); + public native void setFrameAnimation(int arg1); + public native void setFrameAnimation(); + public native int frame(); + public native int frameCount(); + public native int rtti(); + public native boolean collidesWith(TQCanvasItem arg1); + public native TQRect boundingRect(); + public native int width(); + public native int height(); + public native int leftEdge(); + public native int topEdge(); + public native int rightEdge(); + public native int bottomEdge(); + public native int leftEdge(int nx); + public native int topEdge(int ny); + public native int rightEdge(int nx); + public native int bottomEdge(int ny); + public native TQCanvasPixmap image(); + public native TQCanvasPixmap imageAdvanced(); + public native TQCanvasPixmap image(int f); + public native void advance(int stage); + public native void draw(TQPainter painter); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasText.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasText.java new file mode 100644 index 00000000..a63b09b2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasText.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasText extends TQCanvasItem { + protected TQCanvasText(Class dummy){super((Class) null);} + public TQCanvasText(TQCanvas canvas) { + super((Class) null); + newTQCanvasText(canvas); + } + private native void newTQCanvasText(TQCanvas canvas); + public TQCanvasText(String arg1, TQCanvas canvas) { + super((Class) null); + newTQCanvasText(arg1,canvas); + } + private native void newTQCanvasText(String arg1, TQCanvas canvas); + public TQCanvasText(String arg1, TQFont arg2, TQCanvas canvas) { + super((Class) null); + newTQCanvasText(arg1,arg2,canvas); + } + private native void newTQCanvasText(String arg1, TQFont arg2, TQCanvas canvas); + public native void setText(String arg1); + public native void setFont(TQFont arg1); + public native void setColor(TQColor arg1); + public native String text(); + public native TQFont font(); + public native TQColor color(); + public native void moveBy(double dx, double dy); + public native int textFlags(); + public native void setTextFlags(int arg1); + public native TQRect boundingRect(); + public native boolean collidesWith(TQCanvasItem arg1); + public native int rtti(); + public native void draw(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCanvasView.java b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasView.java new file mode 100644 index 00000000..8148cdbb --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCanvasView.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCanvasView extends TQScrollView { + protected TQCanvasView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCanvasView(TQWidget parent, String name, int f) { + super((Class) null); + newTQCanvasView(parent,name,f); + } + private native void newTQCanvasView(TQWidget parent, String name, int f); + public TQCanvasView(TQWidget parent, String name) { + super((Class) null); + newTQCanvasView(parent,name); + } + private native void newTQCanvasView(TQWidget parent, String name); + public TQCanvasView(TQWidget parent) { + super((Class) null); + newTQCanvasView(parent); + } + private native void newTQCanvasView(TQWidget parent); + public TQCanvasView() { + super((Class) null); + newTQCanvasView(); + } + private native void newTQCanvasView(); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f) { + super((Class) null); + newTQCanvasView(viewing,parent,name,f); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name, int f); + public TQCanvasView(TQCanvas viewing, TQWidget parent, String name) { + super((Class) null); + newTQCanvasView(viewing,parent,name); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent, String name); + public TQCanvasView(TQCanvas viewing, TQWidget parent) { + super((Class) null); + newTQCanvasView(viewing,parent); + } + private native void newTQCanvasView(TQCanvas viewing, TQWidget parent); + public TQCanvasView(TQCanvas viewing) { + super((Class) null); + newTQCanvasView(viewing); + } + private native void newTQCanvasView(TQCanvas viewing); + public native TQCanvas canvas(); + public native void setCanvas(TQCanvas v); + public native TQWMatrix worldMatrix(); + public native TQWMatrix inverseWorldMatrix(); + public native boolean setWorldMatrix(TQWMatrix arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); + public native TQSize sizeHint(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCheckBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQCheckBox.java new file mode 100644 index 00000000..1c19d557 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCheckBox.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCheckBox extends TQButton { + protected TQCheckBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQCheckBox(TQWidget parent, String name) { + super((Class) null); + newTQCheckBox(parent,name); + } + private native void newTQCheckBox(TQWidget parent, String name); + public TQCheckBox(TQWidget parent) { + super((Class) null); + newTQCheckBox(parent); + } + private native void newTQCheckBox(TQWidget parent); + public TQCheckBox(String text, TQWidget parent, String name) { + super((Class) null); + newTQCheckBox(text,parent,name); + } + private native void newTQCheckBox(String text, TQWidget parent, String name); + public TQCheckBox(String text, TQWidget parent) { + super((Class) null); + newTQCheckBox(text,parent); + } + private native void newTQCheckBox(String text, TQWidget parent); + public native boolean isChecked(); + public native void setNoChange(); + public native void setTristate(boolean y); + public native void setTristate(); + public native boolean isTristate(); + public native TQSize sizeHint(); + public native void setChecked(boolean check); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void updateMask(); + protected native boolean hitButton(TQPoint pos); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCheckListItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQCheckListItem.java new file mode 100644 index 00000000..aceeae7e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCheckListItem.java @@ -0,0 +1,111 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCheckListItem extends TQListViewItem { + protected TQCheckListItem(Class dummy){super((Class) null);} + public static final int RadioButton = 0; + public static final int CheckBox = 1; + public static final int Controller = 2; + public static final int RadioButtonController = Controller; + public static final int CheckBoxController = 3; + + public static final int Off = 0; + public static final int NoChange = 1; + public static final int On = 2; + + public TQCheckListItem(TQCheckListItem parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQCheckListItem parent, String text, int arg3); + public TQCheckListItem(TQCheckListItem parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQCheckListItem parent, String text); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQCheckListItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListViewItem parent, String text, int arg3); + public TQCheckListItem(TQListViewItem parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQListViewItem parent, String text); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListViewItem parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQListViewItem parent, TQListViewItem after, String text); + public TQCheckListItem(TQListView parent, String text, int arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListView parent, String text, int arg3); + public TQCheckListItem(TQListView parent, String text) { + super((Class) null); + newTQCheckListItem(parent,text); + } + private native void newTQCheckListItem(TQListView parent, String text); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4) { + super((Class) null); + newTQCheckListItem(parent,after,text,arg4); + } + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text, int arg4); + public TQCheckListItem(TQListView parent, TQListViewItem after, String text) { + super((Class) null); + newTQCheckListItem(parent,after,text); + } + private native void newTQCheckListItem(TQListView parent, TQListViewItem after, String text); + public TQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListViewItem parent, String text, TQPixmap arg3); + public TQCheckListItem(TQListView parent, String text, TQPixmap arg3) { + super((Class) null); + newTQCheckListItem(parent,text,arg3); + } + private native void newTQCheckListItem(TQListView parent, String text, TQPixmap arg3); + public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); + public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); + public native int width(TQFontMetrics arg1, TQListView arg2, int column); + public native void setup(); + public native void setOn(boolean arg1); + public native boolean isOn(); + public native int type(); + public native String text(); + public native String text(int n); + public native void setTristate(boolean arg1); + public native boolean isTristate(); + public native int state(); + public native void setState(int s); + public native int rtti(); + protected native void activate(); + protected native void turnOffChild(); + protected native void stateChange(boolean arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCheckTableItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQCheckTableItem.java new file mode 100644 index 00000000..112c3c03 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCheckTableItem.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCheckTableItem extends TQTableItem { + protected TQCheckTableItem(Class dummy){super((Class) null);} + public TQCheckTableItem(TQTable table, String txt) { + super((Class) null); + newTQCheckTableItem(table,txt); + } + private native void newTQCheckTableItem(TQTable table, String txt); + public native void setText(String t); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void setChecked(boolean b); + public native boolean isChecked(); + public native int rtti(); + public native TQSize sizeHint(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQChildEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQChildEvent.java new file mode 100644 index 00000000..d7b5ce75 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQChildEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQChildEvent extends TQEvent { + protected TQChildEvent(Class dummy){super((Class) null);} + public TQChildEvent(int type, TQObject child) { + super((Class) null); + newTQChildEvent(type,child); + } + private native void newTQChildEvent(int type, TQObject child); + public native TQObject child(); + public native boolean inserted(); + public native boolean removed(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQClassInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQClassInfo.java new file mode 100644 index 00000000..724dd763 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQClassInfo.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQClassInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQClassInfo(Class dummy){} + + public TQClassInfo() { + newTQClassInfo(); + } + private native void newTQClassInfo(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQClipboard.java b/qtjava/javalib/org/trinitydesktop/qt/TQClipboard.java new file mode 100644 index 00000000..7454b153 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQClipboard.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQClipboard extends TQObject { + protected TQClipboard(Class dummy){super((Class) null);} + public static final int Clipboard = 0; + public static final int Selection = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public native void clear(int mode); + public native void clear(); + public native boolean supportsSelection(); + public native boolean ownsSelection(); + public native boolean ownsClipboard(); + public native void setSelectionMode(boolean enable); + public native boolean selectionModeEnabled(); + public native String text(int mode); + public native String text(StringBuffer subtype, int mode); + public native void setText(String arg1, int mode); + public native TQMimeSourceInterface data(int mode); + public native void setData(TQMimeSourceInterface arg1, int mode); + public native TQImage image(int mode); + public native TQPixmap pixmap(int mode); + public native void setImage(TQImage arg1, int mode); + public native void setPixmap(TQPixmap arg1, int mode); + public native String text(); + public native String text(StringBuffer subtype); + public native void setText(String arg1); + public native TQMimeSourceInterface data(); + public native void setData(TQMimeSourceInterface arg1); + public native TQImage image(); + public native TQPixmap pixmap(); + public native void setImage(TQImage arg1); + public native void setPixmap(TQPixmap arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCloseEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQCloseEvent.java new file mode 100644 index 00000000..7dc05bf7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCloseEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCloseEvent extends TQEvent { + protected TQCloseEvent(Class dummy){super((Class) null);} + public TQCloseEvent() { + super((Class) null); + newTQCloseEvent(); + } + private native void newTQCloseEvent(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQColor.java b/qtjava/javalib/org/trinitydesktop/qt/TQColor.java new file mode 100644 index 00000000..91d65686 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQColor.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQColor implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQColor(Class dummy){} + + public static final int Dirt = 0x44495254; + public static final int Invalid = 0x49000000; + + public static final int Rgb = 0; + public static final int Hsv = 1; + + public TQColor() { + newTQColor(); + } + private native void newTQColor(); + public TQColor(int r, int g, int b) { + newTQColor(r,g,b); + } + private native void newTQColor(int r, int g, int b); + public TQColor(int x, int y, int z, int arg4) { + newTQColor(x,y,z,arg4); + } + private native void newTQColor(int x, int y, int z, int arg4); + public TQColor(int rgb, int pixel) { + newTQColor(rgb,pixel); + } + private native void newTQColor(int rgb, int pixel); + public TQColor(int rgb) { + newTQColor(rgb); + } + private native void newTQColor(int rgb); + public TQColor(String name) { + newTQColor(name); + } + private native void newTQColor(String name); + public TQColor(TQColor arg1) { + newTQColor(arg1); + } + private native void newTQColor(TQColor arg1); + public native boolean isValid(); + public native boolean isDirty(); + public native String name(); + public native void setNamedColor(String name); + public native int rgb(); + public native void setRgb(int r, int g, int b); + public native void setRgb(int rgb); + public native void getRgb(int[] r, int[] g, int[] b); + public native void rgb(int[] r, int[] g, int[] b); + public native int red(); + public native int green(); + public native int blue(); + public native void setHsv(int h, int s, int v); + public native void getHsv(int[] h, int[] s, int[] v); + public native void hsv(int[] h, int[] s, int[] v); + public native TQColor light(int f); + public native TQColor light(); + public native TQColor dark(int f); + public native TQColor dark(); + public native boolean op_equals(TQColor c); + public native boolean op_not_equals(TQColor c); + public native int alloc(); + public native int pixel(); + public static native int maxColors(); + public static native int numBitPlanes(); + public static native int enterAllocContext(); + public static native void leaveAllocContext(); + public static native int currentAllocContext(); + public static native void destroyAllocContext(int arg1); + public static native void initialize(); + public static native void cleanup(); + public static native ArrayList colorNames(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQColorDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQColorDialog.java new file mode 100644 index 00000000..cf151218 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQColorDialog.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQColorDialog extends TQDialog { + protected TQColorDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQColor getColor(TQColor init, TQWidget parent, String name); + public static native TQColor getColor(TQColor init, TQWidget parent); + public static native TQColor getColor(TQColor init); + public static native TQColor getColor(); + public static native int getRgba(int arg1, boolean[] ok, TQWidget parent, String name); + public static native int getRgba(int arg1, boolean[] ok, TQWidget parent); + public static native int getRgba(int arg1, boolean[] ok); + public static native int getRgba(int arg1); + public static native int customCount(); + public static native int customColor(int arg1); + public static native void setCustomColor(int arg1, int arg2); + public static native void setStandardColor(int arg1, int arg2); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQColorDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQColorDrag.java new file mode 100644 index 00000000..954c668b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQColorDrag.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQColorDrag extends TQStoredDrag { + protected TQColorDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQColorDrag(TQColor col, TQWidget dragsource, String name) { + super((Class) null); + newTQColorDrag(col,dragsource,name); + } + private native void newTQColorDrag(TQColor col, TQWidget dragsource, String name); + public TQColorDrag(TQColor col, TQWidget dragsource) { + super((Class) null); + newTQColorDrag(col,dragsource); + } + private native void newTQColorDrag(TQColor col, TQWidget dragsource); + public TQColorDrag(TQColor col) { + super((Class) null); + newTQColorDrag(col); + } + private native void newTQColorDrag(TQColor col); + public TQColorDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQColorDrag(dragSource,name); + } + private native void newTQColorDrag(TQWidget dragSource, String name); + public TQColorDrag(TQWidget dragSource) { + super((Class) null); + newTQColorDrag(dragSource); + } + private native void newTQColorDrag(TQWidget dragSource); + public TQColorDrag() { + super((Class) null); + newTQColorDrag(); + } + private native void newTQColorDrag(); + public native void setColor(TQColor col); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface arg1); + public static native boolean decode(TQMimeSourceInterface arg1, TQColor col); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQColorGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQColorGroup.java new file mode 100644 index 00000000..a02eef76 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQColorGroup.java @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQColorGroup implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQColorGroup(Class dummy){} + + public static final int Foreground = 0; + public static final int Button = 1; + public static final int Light = 2; + public static final int Midlight = 3; + public static final int Dark = 4; + public static final int Mid = 5; + public static final int Text = 6; + public static final int BrightText = 7; + public static final int ButtonText = 8; + public static final int Base = 9; + public static final int Background = 10; + public static final int Shadow = 11; + public static final int Highlight = 12; + public static final int HighlightedText = 13; + public static final int Link = 14; + public static final int LinkVisited = 15; + public static final int NColorRoles = 16; + + public TQColorGroup() { + newTQColorGroup(); + } + private native void newTQColorGroup(); + public TQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base) { + newTQColorGroup(foreground,button,light,dark,mid,text,base); + } + private native void newTQColorGroup(TQColor foreground, TQColor button, TQColor light, TQColor dark, TQColor mid, TQColor text, TQColor base); + public TQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background) { + newTQColorGroup(foreground,button,light,dark,mid,text,bright_text,base,background); + } + private native void newTQColorGroup(TQBrush foreground, TQBrush button, TQBrush light, TQBrush dark, TQBrush mid, TQBrush text, TQBrush bright_text, TQBrush base, TQBrush background); + public TQColorGroup(TQColorGroup arg1) { + newTQColorGroup(arg1); + } + private native void newTQColorGroup(TQColorGroup arg1); + public native TQColor color(int arg1); + public native TQBrush brush(int arg1); + public native void setColor(int arg1, TQColor arg2); + public native void setBrush(int arg1, TQBrush arg2); + public native TQColor foreground(); + public native TQColor button(); + public native TQColor light(); + public native TQColor dark(); + public native TQColor mid(); + public native TQColor text(); + public native TQColor base(); + public native TQColor background(); + public native TQColor midlight(); + public native TQColor brightText(); + public native TQColor buttonText(); + public native TQColor shadow(); + public native TQColor highlight(); + public native TQColor highlightedText(); + public native TQColor link(); + public native TQColor linkVisited(); + public native boolean op_equals(TQColorGroup g); + public native boolean op_not_equals(TQColorGroup g); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQComboBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQComboBox.java new file mode 100644 index 00000000..b6bc43de --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQComboBox.java @@ -0,0 +1,123 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQComboBoxSignals} for signals emitted by TQComboBox +*/ +public class TQComboBox extends TQWidget { + protected TQComboBox(Class dummy){super((Class) null);} + public static final int NoInsertion = 0; + public static final int AtTop = 1; + public static final int AtCurrent = 2; + public static final int AtBottom = 3; + public static final int AfterCurrent = 4; + public static final int BeforeCurrent = 5; + + public native TQMetaObject metaObject(); + public native String className(); + public TQComboBox(TQWidget parent, String name) { + super((Class) null); + newTQComboBox(parent,name); + } + private native void newTQComboBox(TQWidget parent, String name); + public TQComboBox(TQWidget parent) { + super((Class) null); + newTQComboBox(parent); + } + private native void newTQComboBox(TQWidget parent); + public TQComboBox() { + super((Class) null); + newTQComboBox(); + } + private native void newTQComboBox(); + public TQComboBox(boolean rw, TQWidget parent, String name) { + super((Class) null); + newTQComboBox(rw,parent,name); + } + private native void newTQComboBox(boolean rw, TQWidget parent, String name); + public TQComboBox(boolean rw, TQWidget parent) { + super((Class) null); + newTQComboBox(rw,parent); + } + private native void newTQComboBox(boolean rw, TQWidget parent); + public TQComboBox(boolean rw) { + super((Class) null); + newTQComboBox(rw); + } + private native void newTQComboBox(boolean rw); + public native int count(); + public native void insertStringList(String[] arg1, int index); + public native void insertStringList(String[] arg1); + public native void insertStrList(String[] arg1, int index); + public native void insertStrList(String[] arg1); + public native void insertStrList(String[] arg1, int numStrings, int index); + public native void insertItem(String text, int index); + public native void insertItem(String text); + public native void insertItem(TQPixmap pixmap, int index); + public native void insertItem(TQPixmap pixmap); + public native void insertItem(TQPixmap pixmap, String text, int index); + public native void insertItem(TQPixmap pixmap, String text); + public native void removeItem(int index); + public native int currentItem(); + public native void setCurrentItem(int index); + public native String currentText(); + public native void setCurrentText(String arg1); + public native String text(int index); + public native TQPixmap pixmap(int index); + public native void changeItem(String text, int index); + public native void changeItem(TQPixmap pixmap, int index); + public native void changeItem(TQPixmap pixmap, String text, int index); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native TQSize sizeHint(); + public native void setPalette(TQPalette arg1); + public native void setFont(TQFont arg1); + public native void setEnabled(boolean arg1); + public native void setSizeLimit(int arg1); + public native int sizeLimit(); + public native void setMaxCount(int arg1); + public native int maxCount(); + public native void setInsertionPolicy(int policy); + public native int insertionPolicy(); + public native void setValidator(TQValidator arg1); + public native TQValidator validator(); + public native void setListBox(TQListBox arg1); + public native TQListBox listBox(); + public native void setLineEdit(TQLineEdit edit); + public native TQLineEdit lineEdit(); + public native void setAutoCompletion(boolean arg1); + public native boolean autoCompletion(); + public native boolean eventFilter(TQObject object, TQEvent event); + public native void setDuplicatesEnabled(boolean enable); + public native boolean duplicatesEnabled(); + public native boolean editable(); + public native void setEditable(boolean arg1); + public native void popup(); + public native void hide(); + public native void clear(); + public native void clearValidator(); + public native void clearEdit(); + public native void setEditText(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void wheelEvent(TQWheelEvent e); + public native void styleChange(TQStyle arg1); + protected native void updateMask(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQComboBoxSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQComboBoxSignals.java new file mode 100644 index 00000000..28aac423 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQComboBoxSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQComboBoxSignals { + void activated(int index); + void highlighted(int index); + void activated(String arg1); + void highlighted(String arg1); + void textChanged(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQComboTableItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQComboTableItem.java new file mode 100644 index 00000000..f3423706 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQComboTableItem.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQComboTableItem extends TQTableItem { + protected TQComboTableItem(Class dummy){super((Class) null);} + public TQComboTableItem(TQTable table, String[] list, boolean editable) { + super((Class) null); + newTQComboTableItem(table,list,editable); + } + private native void newTQComboTableItem(TQTable table, String[] list, boolean editable); + public TQComboTableItem(TQTable table, String[] list) { + super((Class) null); + newTQComboTableItem(table,list); + } + private native void newTQComboTableItem(TQTable table, String[] list); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void setCurrentItem(int i); + public native void setCurrentItem(String i); + public native int currentItem(); + public native String currentText(); + public native int count(); + public native String text(int i); + public native void setEditable(boolean b); + public native boolean isEditable(); + public native void setStringList(String[] l); + public native int rtti(); + public native TQSize sizeHint(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQContextMenuEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQContextMenuEvent.java new file mode 100644 index 00000000..aa582f5b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQContextMenuEvent.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQContextMenuEvent extends TQEvent { + protected TQContextMenuEvent(Class dummy){super((Class) null);} + public static final int Mouse = 0; + public static final int Keyboard = 1; + public static final int Other = 2; + + public TQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state) { + super((Class) null); + newTQContextMenuEvent(reason,pos,globalPos,state); + } + private native void newTQContextMenuEvent(int reason, TQPoint pos, TQPoint globalPos, int state); + public TQContextMenuEvent(int reason, TQPoint pos, int state) { + super((Class) null); + newTQContextMenuEvent(reason,pos,state); + } + private native void newTQContextMenuEvent(int reason, TQPoint pos, int state); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int state(); + public native boolean isAccepted(); + public native boolean isConsumed(); + public native void consume(); + public native void accept(); + public native void ignore(); + public native int reason(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCursor.java b/qtjava/javalib/org/trinitydesktop/qt/TQCursor.java new file mode 100644 index 00000000..6c8d7743 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCursor.java @@ -0,0 +1,69 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCursor extends Qt { + protected TQCursor(Class dummy){super((Class) null);} + public TQCursor() { + super((Class) null); + newTQCursor(); + } + private native void newTQCursor(); + public TQCursor(int shape) { + super((Class) null); + newTQCursor(shape); + } + private native void newTQCursor(int shape); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY) { + super((Class) null); + newTQCursor(bitmap,mask,hotX,hotY); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX, int hotY); + public TQCursor(TQBitmap bitmap, TQBitmap mask, int hotX) { + super((Class) null); + newTQCursor(bitmap,mask,hotX); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask, int hotX); + public TQCursor(TQBitmap bitmap, TQBitmap mask) { + super((Class) null); + newTQCursor(bitmap,mask); + } + private native void newTQCursor(TQBitmap bitmap, TQBitmap mask); + public TQCursor(TQPixmap pixmap, int hotX, int hotY) { + super((Class) null); + newTQCursor(pixmap,hotX,hotY); + } + private native void newTQCursor(TQPixmap pixmap, int hotX, int hotY); + public TQCursor(TQPixmap pixmap, int hotX) { + super((Class) null); + newTQCursor(pixmap,hotX); + } + private native void newTQCursor(TQPixmap pixmap, int hotX); + public TQCursor(TQPixmap pixmap) { + super((Class) null); + newTQCursor(pixmap); + } + private native void newTQCursor(TQPixmap pixmap); + public TQCursor(TQCursor arg1) { + super((Class) null); + newTQCursor(arg1); + } + private native void newTQCursor(TQCursor arg1); + public native int shape(); + public native void setShape(int arg1); + public native TQBitmap bitmap(); + public native TQBitmap mask(); + public native TQPoint hotSpot(); + public static native TQPoint pos(); + public static native void setPos(int x, int y); + public static native void setPos(TQPoint arg1); + public static native void initialize(); + public static native void cleanup(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCustomEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQCustomEvent.java new file mode 100644 index 00000000..a61b38bb --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCustomEvent.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCustomEvent extends TQEvent { + protected TQCustomEvent(Class dummy){super((Class) null);} + public TQCustomEvent(int type) { + super((Class) null); + newTQCustomEvent(type); + } + private native void newTQCustomEvent(int type); + // TQCustomEvent* TQCustomEvent(TQEvent::Type arg1,void* arg2); >>>> NOT CONVERTED + // void* data(); >>>> NOT CONVERTED + // void setData(void* arg1); >>>> NOT CONVERTED + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQCustomMenuItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQCustomMenuItem.java new file mode 100644 index 00000000..8a3df851 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQCustomMenuItem.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQCustomMenuItem extends Qt { + protected TQCustomMenuItem(Class dummy){super((Class) null);} + public native boolean fullSpan(); + public native boolean isSeparator(); + public native void setFont(TQFont font); + public native void paint(TQPainter p, TQColorGroup cg, boolean act, boolean enabled, int x, int y, int w, int h); + public native TQSize sizeHint(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java new file mode 100644 index 00000000..576336c0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java @@ -0,0 +1,97 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser +*/ +public class TQDataBrowser extends TQWidget { + protected TQDataBrowser(Class dummy){super((Class) null);} + public static final int Unknown = 0; + public static final int None = 1; + public static final int BeforeBeginning = 2; + public static final int Beginning = 3; + public static final int End = 4; + public static final int AfterEnd = 5; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDataBrowser(TQWidget parent, String name, int fl) { + super((Class) null); + newTQDataBrowser(parent,name,fl); + } + private native void newTQDataBrowser(TQWidget parent, String name, int fl); + public TQDataBrowser(TQWidget parent, String name) { + super((Class) null); + newTQDataBrowser(parent,name); + } + private native void newTQDataBrowser(TQWidget parent, String name); + public TQDataBrowser(TQWidget parent) { + super((Class) null); + newTQDataBrowser(parent); + } + private native void newTQDataBrowser(TQWidget parent); + public TQDataBrowser() { + super((Class) null); + newTQDataBrowser(); + } + private native void newTQDataBrowser(); + public native int boundary(); + public native void setBoundaryChecking(boolean active); + public native boolean boundaryChecking(); + public native void setSort(TQSqlIndex sort); + public native void setSort(String[] sort); + public native ArrayList sort(); + public native void setFilter(String filter); + public native String filter(); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoDelete); + public native void setSqlCursor(TQSqlCursor cursor); + public native TQSqlCursor sqlCursor(); + public native void setForm(TQSqlForm form); + public native TQSqlForm form(); + public native void setConfirmEdits(boolean confirm); + public native void setConfirmInsert(boolean confirm); + public native void setConfirmUpdate(boolean confirm); + public native void setConfirmDelete(boolean confirm); + public native void setConfirmCancels(boolean confirm); + public native boolean confirmEdits(); + public native boolean confirmInsert(); + public native boolean confirmUpdate(); + public native boolean confirmDelete(); + public native boolean confirmCancels(); + public native void setReadOnly(boolean active); + public native boolean isReadOnly(); + public native void setAutoEdit(boolean autoEdit); + public native boolean autoEdit(); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native void refresh(); + public native void insert(); + public native void update(); + public native void del(); + public native void first(); + public native void last(); + public native void next(); + public native void prev(); + public native void readFields(); + public native void writeFields(); + public native void clearValues(); + public native void updateBoundary(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean insertCurrent(); + protected native boolean updateCurrent(); + protected native boolean deleteCurrent(); + protected native boolean currentEdited(); + protected native int confirmEdit(int m); + protected native int confirmCancel(int m); + protected native void handleError(TQSqlError error); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowserSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowserSignals.java new file mode 100644 index 00000000..92e92090 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowserSignals.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQDataBrowserSignals { + void firstRecordAvailable(boolean available); + void lastRecordAvailable(boolean available); + void nextRecordAvailable(boolean available); + void prevRecordAvailable(boolean available); + void currentChanged(TQSqlRecord record); + void primeInsert(TQSqlRecord buf); + void primeUpdate(TQSqlRecord buf); + void primeDelete(TQSqlRecord buf); + void beforeInsert(TQSqlRecord buf); + void beforeUpdate(TQSqlRecord buf); + void beforeDelete(TQSqlRecord buf); + void cursorChanged(int mode); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataPump.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataPump.java new file mode 100644 index 00000000..5008f6d5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataPump.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDataPump extends TQObject { + protected TQDataPump(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDataPump(TQDataSource arg1, TQDataSink arg2) { + super((Class) null); + newTQDataPump(arg1,arg2); + } + private native void newTQDataPump(TQDataSource arg1, TQDataSink arg2); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataSink.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataSink.java new file mode 100644 index 00000000..0d44ebdd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataSink.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDataSink extends TQAsyncIO { + protected TQDataSink(Class dummy){super((Class) null);} + public native int readyToReceive(); + public native void receive(char[] arg1, int count); + public native void eof(); + public native void maybeReady(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataSource.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataSource.java new file mode 100644 index 00000000..64b9d1a5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataSource.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDataSource extends TQAsyncIO { + protected TQDataSource(Class dummy){super((Class) null);} + public native int readyToSend(); + public native void sendTo(TQDataSink arg1, int count); + public native void maybeReady(); + public native boolean rewindable(); + public native void enableRewind(boolean arg1); + public native void rewind(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataStream.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataStream.java new file mode 100644 index 00000000..dd675fb6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataStream.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDataStream implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDataStream(Class dummy){} + + public static final int BigEndian = 0; + public static final int LittleEndian = 1; + + public TQDataStream() { + newTQDataStream(); + } + private native void newTQDataStream(); + public TQDataStream(TQIODeviceInterface arg1) { + newTQDataStream(arg1); + } + private native void newTQDataStream(TQIODeviceInterface arg1); + public TQDataStream(byte[] arg1, int mode) { + newTQDataStream(arg1,mode); + } + private native void newTQDataStream(byte[] arg1, int mode); + public native TQIODeviceInterface device(); + public native void setDevice(TQIODeviceInterface arg1); + public native void unsetDevice(); + public native boolean atEnd(); + public native boolean eof(); + public native int byteOrder(); + public native void setByteOrder(int arg1); + public native boolean isPrintableData(); + public native void setPrintableData(boolean arg1); + public native int version(); + public native void setVersion(int arg1); + public native TQDataStream op_read(char i); + public native TQDataStream op_read(short i); + public native TQDataStream op_read(int i); + // TQDataStream& op_read(TQ_INT64& arg1); >>>> NOT CONVERTED + // TQDataStream& op_read(TQ_UINT64& arg1); >>>> NOT CONVERTED + public native TQDataStream op_read(long i); + public native TQDataStream op_read(float f); + public native TQDataStream op_read(double f); + public native TQDataStream op_read(String str); + public native TQDataStream op_write(char i); + public native TQDataStream op_write(short i); + public native TQDataStream op_write(int i); + public native TQDataStream op_write(long i); + public native TQDataStream op_write(float f); + public native TQDataStream op_write(double f); + public native TQDataStream op_write(String str); + public native TQDataStream readBytes(String arg1, int len); + public native TQDataStream readRawBytes(String arg1, int len); + public native TQDataStream writeBytes(String arg1, int len); + public native TQDataStream writeRawBytes(String arg1, int len); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataTable.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataTable.java new file mode 100644 index 00000000..864fd27f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataTable.java @@ -0,0 +1,159 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQDataTableSignals} for signals emitted by TQDataTable +*/ +public class TQDataTable extends TQTable { + protected TQDataTable(Class dummy){super((Class) null);} + public static final int RefreshData = 1; + public static final int RefreshColumns = 2; + public static final int RefreshAll = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDataTable(TQWidget parent, String name) { + super((Class) null); + newTQDataTable(parent,name); + } + private native void newTQDataTable(TQWidget parent, String name); + public TQDataTable(TQWidget parent) { + super((Class) null); + newTQDataTable(parent); + } + private native void newTQDataTable(TQWidget parent); + public TQDataTable() { + super((Class) null); + newTQDataTable(); + } + private native void newTQDataTable(); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name) { + super((Class) null); + newTQDataTable(cursor,autoPopulate,parent,name); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent, String name); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent) { + super((Class) null); + newTQDataTable(cursor,autoPopulate,parent); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate, TQWidget parent); + public TQDataTable(TQSqlCursor cursor, boolean autoPopulate) { + super((Class) null); + newTQDataTable(cursor,autoPopulate); + } + private native void newTQDataTable(TQSqlCursor cursor, boolean autoPopulate); + public TQDataTable(TQSqlCursor cursor) { + super((Class) null); + newTQDataTable(cursor); + } + private native void newTQDataTable(TQSqlCursor cursor); + public native void addColumn(String fieldName, String label, int width, TQIconSet iconset); + public native void addColumn(String fieldName, String label, int width); + public native void addColumn(String fieldName, String label); + public native void addColumn(String fieldName); + public native void removeColumn(int col); + public native void setColumn(int col, String fieldName, String label, int width, TQIconSet iconset); + public native void setColumn(int col, String fieldName, String label, int width); + public native void setColumn(int col, String fieldName, String label); + public native void setColumn(int col, String fieldName); + public native String nullText(); + public native String trueText(); + public native String falseText(); + public native int dateFormat(); + public native boolean confirmEdits(); + public native boolean confirmInsert(); + public native boolean confirmUpdate(); + public native boolean confirmDelete(); + public native boolean confirmCancels(); + public native boolean autoDelete(); + public native boolean autoEdit(); + public native String filter(); + public native ArrayList sort(); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate, boolean autoDelete); + public native void setSqlCursor(TQSqlCursor cursor, boolean autoPopulate); + public native void setSqlCursor(TQSqlCursor cursor); + public native void setSqlCursor(); + public native TQSqlCursor sqlCursor(); + public native void setNullText(String nullText); + public native void setTrueText(String trueText); + public native void setFalseText(String falseText); + public native void setDateFormat(int f); + public native void setConfirmEdits(boolean confirm); + public native void setConfirmInsert(boolean confirm); + public native void setConfirmUpdate(boolean confirm); + public native void setConfirmDelete(boolean confirm); + public native void setConfirmCancels(boolean confirm); + public native void setAutoDelete(boolean enable); + public native void setAutoEdit(boolean autoEdit); + public native void setFilter(String filter); + public native void setSort(String[] sort); + public native void setSort(TQSqlIndex sort); + public native void refresh(int mode); + public native void sortColumn(int col, boolean ascending, boolean wholeRows); + public native void sortColumn(int col, boolean ascending); + public native void sortColumn(int col); + public native String text(int row, int col); + public native TQVariant value(int row, int col); + public native TQSqlRecord currentRecord(); + public native void installEditorFactory(TQSqlEditorFactory f); + public native void installPropertyMap(TQSqlPropertyMap m); + public native int numCols(); + public native int numRows(); + public native void setNumCols(int c); + public native void setNumRows(int r); + public native boolean findBuffer(TQSqlIndex idx, int atHint); + public native boolean findBuffer(TQSqlIndex idx); + public native void hideColumn(int col); + public native void showColumn(int col); + public native void find(String str, boolean caseSensitive, boolean backwards); + public native void sortAscending(int col); + public native void sortDescending(int col); + public native void refresh(); + public native void setColumnWidth(int col, int w); + public native void adjustColumn(int col); + public native void setColumnStretchable(int col, boolean stretch); + public native void swapColumns(int col1, int col2, boolean swapHeaders); + public native void swapColumns(int col1, int col2); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean insertCurrent(); + protected native boolean updateCurrent(); + protected native boolean deleteCurrent(); + protected native int confirmEdit(int m); + protected native int confirmCancel(int m); + protected native void handleError(TQSqlError e); + protected native boolean beginInsert(); + protected native TQWidget beginUpdate(int row, int col, boolean replace); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void endEdit(int row, int col, boolean accept, boolean replace); + protected native TQWidget createEditor(int row, int col, boolean initFromCell); + protected native void activateNextCell(); + protected native int indexOf(int i); + protected native void reset(); + protected native void setSize(TQSqlCursor sql); + protected native void repaintCell(int row, int col); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); + protected native void paintField(TQPainter p, TQSqlField field, TQRect cr, boolean selected); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native int fieldAlignment(TQSqlField field); + protected native void columnClicked(int col); + protected native void resizeData(int len); + public native TQTableItem item(int row, int col); + public native void setItem(int row, int col, TQTableItem item); + public native void clearCell(int row, int col); + public native void setPixmap(int row, int col, TQPixmap pix); + public native void takeItem(TQTableItem i); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataTableSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataTableSignals.java new file mode 100644 index 00000000..5ba3e2de --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataTableSignals.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQDataTableSignals { + void currentChanged(TQSqlRecord record); + void primeInsert(TQSqlRecord buf); + void primeUpdate(TQSqlRecord buf); + void primeDelete(TQSqlRecord buf); + void beforeInsert(TQSqlRecord buf); + void beforeUpdate(TQSqlRecord buf); + void beforeDelete(TQSqlRecord buf); + void cursorChanged(int mode); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataView.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataView.java new file mode 100644 index 00000000..b76dd9c4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataView.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDataView extends TQWidget { + protected TQDataView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDataView(TQWidget parent, String name, int fl) { + super((Class) null); + newTQDataView(parent,name,fl); + } + private native void newTQDataView(TQWidget parent, String name, int fl); + public TQDataView(TQWidget parent, String name) { + super((Class) null); + newTQDataView(parent,name); + } + private native void newTQDataView(TQWidget parent, String name); + public TQDataView(TQWidget parent) { + super((Class) null); + newTQDataView(parent); + } + private native void newTQDataView(TQWidget parent); + public TQDataView() { + super((Class) null); + newTQDataView(); + } + private native void newTQDataView(); + public native void setForm(TQSqlForm form); + public native TQSqlForm form(); + public native void setRecord(TQSqlRecord record); + public native TQSqlRecord record(); + public native void refresh(TQSqlRecord buf); + public native void readFields(); + public native void writeFields(); + public native void clearValues(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDateEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQDateEdit.java new file mode 100644 index 00000000..37061735 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDateEdit.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Calendar; + +/** + See {@link TQDateEditSignals} for signals emitted by TQDateEdit +*/ +public class TQDateEdit extends TQDateTimeEditBase { + protected TQDateEdit(Class dummy){super((Class) null);} + public static final int DMY = 0; + public static final int MDY = 1; + public static final int YMD = 2; + public static final int YDM = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDateEdit(TQWidget parent, String name) { + super((Class) null); + newTQDateEdit(parent,name); + } + private native void newTQDateEdit(TQWidget parent, String name); + public TQDateEdit(TQWidget parent) { + super((Class) null); + newTQDateEdit(parent); + } + private native void newTQDateEdit(TQWidget parent); + public TQDateEdit() { + super((Class) null); + newTQDateEdit(); + } + private native void newTQDateEdit(); + public TQDateEdit(Calendar date, TQWidget parent, String name) { + super((Class) null); + newTQDateEdit(date,parent,name); + } + private native void newTQDateEdit(Calendar date, TQWidget parent, String name); + public TQDateEdit(Calendar date, TQWidget parent) { + super((Class) null); + newTQDateEdit(date,parent); + } + private native void newTQDateEdit(Calendar date, TQWidget parent); + public TQDateEdit(Calendar date) { + super((Class) null); + newTQDateEdit(date); + } + private native void newTQDateEdit(Calendar date); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Calendar date(); + public native void setOrder(int order); + public native int order(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setMinValue(Calendar d); + public native Calendar minValue(); + public native void setMaxValue(Calendar d); + public native Calendar maxValue(); + public native void setRange(Calendar min, Calendar max); + public native String separator(); + public native void setSeparator(String s); + public native void removeFirstNumber(int sec); + public native void setDate(Calendar date); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void timerEvent(TQTimerEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native void stepUp(); + public native void stepDown(); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native boolean setFocusSection(int s); + protected native void setYear(int year); + protected native void setMonth(int month); + protected native void setDay(int day); + protected native void fix(); + protected native boolean outOfRange(int y, int m, int d); + protected native void updateButtons(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDateEditSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDateEditSignals.java new file mode 100644 index 00000000..1cabb19d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDateEditSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.Calendar; + +public interface TQDateEditSignals { + void valueChanged(Calendar date); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEdit.java new file mode 100644 index 00000000..5d79b4ec --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEdit.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Calendar; +import java.util.Date; + +/** + See {@link TQDateTimeEditSignals} for signals emitted by TQDateTimeEdit +*/ +public class TQDateTimeEdit extends TQWidget { + protected TQDateTimeEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDateTimeEdit(TQWidget parent, String name) { + super((Class) null); + newTQDateTimeEdit(parent,name); + } + private native void newTQDateTimeEdit(TQWidget parent, String name); + public TQDateTimeEdit(TQWidget parent) { + super((Class) null); + newTQDateTimeEdit(parent); + } + private native void newTQDateTimeEdit(TQWidget parent); + public TQDateTimeEdit() { + super((Class) null); + newTQDateTimeEdit(); + } + private native void newTQDateTimeEdit(); + public TQDateTimeEdit(Calendar datetime, TQWidget parent, String name) { + super((Class) null); + newTQDateTimeEdit(datetime,parent,name); + } + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent, String name); + public TQDateTimeEdit(Calendar datetime, TQWidget parent) { + super((Class) null); + newTQDateTimeEdit(datetime,parent); + } + private native void newTQDateTimeEdit(Calendar datetime, TQWidget parent); + public TQDateTimeEdit(Calendar datetime) { + super((Class) null); + newTQDateTimeEdit(datetime); + } + private native void newTQDateTimeEdit(Calendar datetime); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Calendar dateTime(); + public native TQDateEdit dateEdit(); + public native TQTimeEdit timeEdit(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setDateTime(Calendar dt); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void init(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void newValue(Calendar d); + protected native void newValue(Date t); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditBase.java b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditBase.java new file mode 100644 index 00000000..699afd29 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditBase.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDateTimeEditBase extends TQWidget { + protected TQDateTimeEditBase(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean setFocusSection(int sec); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native void stepUp(); + public native void stepDown(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditSignals.java new file mode 100644 index 00000000..5fa32549 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDateTimeEditSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.Calendar; +import java.util.Date; + +public interface TQDateTimeEditSignals { + void valueChanged(Calendar datetime); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidget.java b/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidget.java new file mode 100644 index 00000000..4d19e7c9 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidget.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQDesktopWidgetSignals} for signals emitted by TQDesktopWidget +*/ +public class TQDesktopWidget extends TQWidget { + protected TQDesktopWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDesktopWidget() { + super((Class) null); + newTQDesktopWidget(); + } + private native void newTQDesktopWidget(); + public native boolean isVirtualDesktop(); + public native int numScreens(); + public native int primaryScreen(); + public native int screenNumber(TQWidget widget); + public native int screenNumber(); + public native int screenNumber(TQPoint arg1); + public native TQWidget screen(int screen); + public native TQWidget screen(); + public native TQRect screenGeometry(int screen); + public native TQRect screenGeometry(); + public native TQRect screenGeometry(TQWidget widget); + public native TQRect screenGeometry(TQPoint point); + public native TQRect availableGeometry(int screen); + public native TQRect availableGeometry(); + public native TQRect availableGeometry(TQWidget widget); + public native TQRect availableGeometry(TQPoint point); + public native void insertChild(TQObject arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent e); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidgetSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidgetSignals.java new file mode 100644 index 00000000..8f83951f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDesktopWidgetSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQDesktopWidgetSignals { + void resized(int arg1); + void workAreaResized(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDial.java b/qtjava/javalib/org/trinitydesktop/qt/TQDial.java new file mode 100644 index 00000000..ed906842 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDial.java @@ -0,0 +1,102 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQDialSignals} for signals emitted by TQDial +*/ +public class TQDial extends TQWidget implements TQRangeControlInterface { + protected TQDial(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDial(TQWidget parent, String name, int f) { + super((Class) null); + newTQDial(parent,name,f); + } + private native void newTQDial(TQWidget parent, String name, int f); + public TQDial(TQWidget parent, String name) { + super((Class) null); + newTQDial(parent,name); + } + private native void newTQDial(TQWidget parent, String name); + public TQDial(TQWidget parent) { + super((Class) null); + newTQDial(parent); + } + private native void newTQDial(TQWidget parent); + public TQDial() { + super((Class) null); + newTQDial(); + } + private native void newTQDial(); + public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value,parent,name); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent, String name); + public TQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value,parent); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value, TQWidget parent); + public TQDial(int minValue, int maxValue, int pageStep, int value) { + super((Class) null); + newTQDial(minValue,maxValue,pageStep,value); + } + private native void newTQDial(int minValue, int maxValue, int pageStep, int value); + public native boolean tracking(); + public native boolean wrapping(); + public native int notchSize(); + public native void setNotchTarget(double arg1); + public native double notchTarget(); + public native boolean notchesVisible(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int minValue(); + public native int maxValue(); + public native void setMinValue(int arg1); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native int pageStep(); + public native void setLineStep(int arg1); + public native void setPageStep(int arg1); + public native int value(); + public native void setValue(int arg1); + public native void addLine(); + public native void subtractLine(); + public native void addPage(); + public native void subtractPage(); + public native void setNotchesVisible(boolean b); + public native void setWrapping(boolean on); + public native void setTracking(boolean enable); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void valueChange(); + protected native void rangeChange(); + protected native void repaintScreen(TQRect cr); + protected native void repaintScreen(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native void setRange(int minValue, int maxValue); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void stepChange(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDialSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDialSignals.java new file mode 100644 index 00000000..7644b4b3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDialSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQDialSignals { + void valueChanged(int value); + void dialPressed(); + void dialMoved(int value); + void dialReleased(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQDialog.java new file mode 100644 index 00000000..defbf0a8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDialog.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDialog extends TQWidget { + protected TQDialog(Class dummy){super((Class) null);} + public static final int Rejected = 0; + public static final int Accepted = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQDialog(parent,name,modal,f); + } + private native void newTQDialog(TQWidget parent, String name, boolean modal, int f); + public TQDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQDialog(parent,name,modal); + } + private native void newTQDialog(TQWidget parent, String name, boolean modal); + public TQDialog(TQWidget parent, String name) { + super((Class) null); + newTQDialog(parent,name); + } + private native void newTQDialog(TQWidget parent, String name); + public TQDialog(TQWidget parent) { + super((Class) null); + newTQDialog(parent); + } + private native void newTQDialog(TQWidget parent); + public TQDialog() { + super((Class) null); + newTQDialog(); + } + private native void newTQDialog(); + public native int result(); + public native void show(); + public native void hide(); + public native void move(int x, int y); + public native void move(TQPoint p); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void setOrientation(int orientation); + public native int orientation(); + public native void setExtension(TQWidget extension); + public native TQWidget extension(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setSizeGripEnabled(boolean arg1); + public native boolean isSizeGripEnabled(); + public native void setModal(boolean modal); + public native boolean isModal(); + public native int exec(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void setResult(int r); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void adjustPosition(TQWidget arg1); + protected native void done(int arg1); + protected native void accept(); + protected native void reject(); + protected native void showExtension(boolean arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDir.java b/qtjava/javalib/org/trinitydesktop/qt/TQDir.java new file mode 100644 index 00000000..8fe6ae22 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDir.java @@ -0,0 +1,141 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQDir implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDir(Class dummy){} + + public static final int Dirs = 0x001; + public static final int Files = 0x002; + public static final int Drives = 0x004; + public static final int NoSymLinks = 0x008; + public static final int All = 0x007; + public static final int TypeMask = 0x00F; + public static final int Readable = 0x010; + public static final int Writable = 0x020; + public static final int Executable = 0x040; + public static final int RWEMask = 0x070; + public static final int Modified = 0x080; + public static final int Hidden = 0x100; + public static final int System = 0x200; + public static final int AccessMask = 0x3F0; + public static final int DefaultFilter = -1; + + public static final int Name = 0x00; + public static final int Time = 0x01; + public static final int Size = 0x02; + public static final int Unsorted = 0x03; + public static final int SortByMask = 0x03; + public static final int DirsFirst = 0x04; + public static final int Reversed = 0x08; + public static final int IgnoreCase = 0x10; + public static final int LocaleAware = 0x20; + public static final int DefaultSort = -1; + + public TQDir() { + newTQDir(); + } + private native void newTQDir(); + public TQDir(String path, String nameFilter, int sortSpec, int filterSpec) { + newTQDir(path,nameFilter,sortSpec,filterSpec); + } + private native void newTQDir(String path, String nameFilter, int sortSpec, int filterSpec); + public TQDir(String path, String nameFilter, int sortSpec) { + newTQDir(path,nameFilter,sortSpec); + } + private native void newTQDir(String path, String nameFilter, int sortSpec); + public TQDir(String path, String nameFilter) { + newTQDir(path,nameFilter); + } + private native void newTQDir(String path, String nameFilter); + public TQDir(String path) { + newTQDir(path); + } + private native void newTQDir(String path); + public TQDir(TQDir arg1) { + newTQDir(arg1); + } + private native void newTQDir(TQDir arg1); + public native void setPath(String path); + public native String path(); + public native String absPath(); + public native String canonicalPath(); + public native String dirName(); + public native String filePath(String fileName, boolean acceptAbsPath); + public native String filePath(String fileName); + public native String absFilePath(String fileName, boolean acceptAbsPath); + public native String absFilePath(String fileName); + public native boolean cd(String dirName, boolean acceptAbsPath); + public native boolean cd(String dirName); + public native boolean cdUp(); + public native String nameFilter(); + public native void setNameFilter(String nameFilter); + public native int filter(); + public native void setFilter(int filterSpec); + public native int sorting(); + public native void setSorting(int sortSpec); + public native boolean matchAllDirs(); + public native void setMatchAllDirs(boolean arg1); + public native int count(); + public native String op_at(int arg1); + public native ArrayList encodedEntryList(int filterSpec, int sortSpec); + public native ArrayList encodedEntryList(int filterSpec); + public native ArrayList encodedEntryList(); + public native ArrayList encodedEntryList(String nameFilter, int filterSpec, int sortSpec); + public native ArrayList encodedEntryList(String nameFilter, int filterSpec); + public native ArrayList encodedEntryList(String nameFilter); + public native ArrayList entryList(int filterSpec, int sortSpec); + public native ArrayList entryList(int filterSpec); + public native ArrayList entryList(); + public native ArrayList entryList(String nameFilter, int filterSpec, int sortSpec); + public native ArrayList entryList(String nameFilter, int filterSpec); + public native ArrayList entryList(String nameFilter); + // const TQFileInfoList* entryInfoList(int arg1,int arg2); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(int arg1); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2,int arg3); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1,int arg2); >>>> NOT CONVERTED + // const TQFileInfoList* entryInfoList(const TQString& arg1); >>>> NOT CONVERTED + public native boolean mkdir(String dirName, boolean acceptAbsPath); + public native boolean mkdir(String dirName); + public native boolean rmdir(String dirName, boolean acceptAbsPath); + public native boolean rmdir(String dirName); + public native boolean isReadable(); + public native boolean exists(); + public native boolean isRoot(); + public native boolean isRelative(); + public native void convertToAbs(); + public native boolean op_equals(TQDir arg1); + public native boolean op_not_equals(TQDir arg1); + public native boolean remove(String fileName, boolean acceptAbsPath); + public native boolean remove(String fileName); + public native boolean rename(String name, String newName, boolean acceptAbsPaths); + public native boolean rename(String name, String newName); + public native boolean exists(String name, boolean acceptAbsPath); + public native boolean exists(String name); + public native void refresh(); + public static native String convertSeparators(String pathName); + // const TQFileInfoList* drives(); >>>> NOT CONVERTED + public static native char separator(); + public static native boolean setCurrent(String path); + public static native TQDir current(); + public static native TQDir home(); + public static native TQDir root(); + public static native String currentDirPath(); + public static native String homeDirPath(); + public static native String rootDirPath(); + public static native boolean match(String[] filters, String fileName); + public static native boolean match(String filter, String fileName); + public static native String cleanDirPath(String dirPath); + public static native boolean isRelativePath(String path); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDockArea.java b/qtjava/javalib/org/trinitydesktop/qt/TQDockArea.java new file mode 100644 index 00000000..7bfe22e5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDockArea.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDockArea extends TQWidget { + protected TQDockArea(Class dummy){super((Class) null);} + public static final int Normal = 0; + public static final int Reverse = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDockArea(int o, int h, TQWidget parent, String name) { + super((Class) null); + newTQDockArea(o,h,parent,name); + } + private native void newTQDockArea(int o, int h, TQWidget parent, String name); + public TQDockArea(int o, int h, TQWidget parent) { + super((Class) null); + newTQDockArea(o,h,parent); + } + private native void newTQDockArea(int o, int h, TQWidget parent); + public TQDockArea(int o, int h) { + super((Class) null); + newTQDockArea(o,h); + } + private native void newTQDockArea(int o, int h); + public TQDockArea(int o) { + super((Class) null); + newTQDockArea(o); + } + private native void newTQDockArea(int o); + public native void moveDockWindow(TQDockWindow w, TQPoint globalPos, TQRect rect, boolean swap); + public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap, boolean fixNewLines); + public native void removeDockWindow(TQDockWindow w, boolean makeFloating, boolean swap); + public native void moveDockWindow(TQDockWindow w, int index); + public native void moveDockWindow(TQDockWindow w); + public native boolean hasDockWindow(TQDockWindow w, int[] index); + public native boolean hasDockWindow(TQDockWindow w); + public native void invalidNextOffset(TQDockWindow dw); + public native int orientation(); + public native int handlePosition(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isEmpty(); + public native int count(); + // TQPtrList<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); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDockWindow.java b/qtjava/javalib/org/trinitydesktop/qt/TQDockWindow.java new file mode 100644 index 00000000..eb311da5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDockWindow.java @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQDockWindowSignals} for signals emitted by TQDockWindow +*/ +public class TQDockWindow extends TQFrame { + protected TQDockWindow(Class dummy){super((Class) null);} + public static final int InDock = 0; + public static final int OutsideDock = 1; + + public static final int Never = 0; + public static final int Docked = 1; + public static final int Undocked = 2; + public static final int Always = Docked|Undocked; + + public native TQMetaObject metaObject(); + public native String className(); + public TQDockWindow(int p, TQWidget parent, String name, int f) { + super((Class) null); + newTQDockWindow(p,parent,name,f); + } + private native void newTQDockWindow(int p, TQWidget parent, String name, int f); + public TQDockWindow(int p, TQWidget parent, String name) { + super((Class) null); + newTQDockWindow(p,parent,name); + } + private native void newTQDockWindow(int p, TQWidget parent, String name); + public TQDockWindow(int p, TQWidget parent) { + super((Class) null); + newTQDockWindow(p,parent); + } + private native void newTQDockWindow(int p, TQWidget parent); + public TQDockWindow(int p) { + super((Class) null); + newTQDockWindow(p); + } + private native void newTQDockWindow(int p); + public TQDockWindow() { + super((Class) null); + newTQDockWindow(); + } + private native void newTQDockWindow(); + public TQDockWindow(TQWidget parent, String name, int f) { + super((Class) null); + newTQDockWindow(parent,name,f); + } + private native void newTQDockWindow(TQWidget parent, String name, int f); + public TQDockWindow(TQWidget parent, String name) { + super((Class) null); + newTQDockWindow(parent,name); + } + private native void newTQDockWindow(TQWidget parent, String name); + public TQDockWindow(TQWidget parent) { + super((Class) null); + newTQDockWindow(parent); + } + private native void newTQDockWindow(TQWidget parent); + public native void setWidget(TQWidget w); + public native TQWidget widget(); + public native int place(); + public native TQDockArea area(); + public native void setCloseMode(int m); + public native boolean isCloseEnabled(); + public native int closeMode(); + public native void setResizeEnabled(boolean b); + public native void setMovingEnabled(boolean b); + public native boolean isResizeEnabled(); + public native boolean isMovingEnabled(); + public native void setHorizontallyStretchable(boolean b); + public native void setVerticallyStretchable(boolean b); + public native boolean isHorizontallyStretchable(); + public native boolean isVerticallyStretchable(); + public native void setHorizontalStretchable(boolean b); + public native void setVerticalStretchable(boolean b); + public native boolean isHorizontalStretchable(); + public native boolean isVerticalStretchable(); + public native boolean isStretchable(); + public native void setOffset(int o); + public native int offset(); + public native void setFixedExtentWidth(int w); + public native void setFixedExtentHeight(int h); + public native TQSize fixedExtent(); + public native void setNewLine(boolean b); + public native boolean newLine(); + public native int orientation(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native TQBoxLayout boxLayout(); + public native void setOpaqueMoving(boolean b); + public native boolean opaqueMoving(); + public native boolean eventFilter(TQObject o, TQEvent e); + public native void undock(TQWidget w); + public native void undock(); + public native void dock(); + public native void setOrientation(int o); + public native void setCaption(String s); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent e); + public native void showEvent(TQShowEvent e); + protected native void hideEvent(TQHideEvent e); + protected native void contextMenuEvent(TQContextMenuEvent e); + protected native void drawFrame(TQPainter arg1); + protected native void drawContents(TQPainter arg1); + public native boolean event(TQEvent e); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDockWindowSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQDockWindowSignals.java new file mode 100644 index 00000000..8fd8b96a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDockWindowSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQDockWindowSignals { + void orientationChanged(int o); + void placeChanged(int p); + void visibilityChanged(boolean arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomAttr.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomAttr.java new file mode 100644 index 00000000..7643d216 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomAttr.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomAttr extends TQDomNode { + protected TQDomAttr(Class dummy){super((Class) null);} + public TQDomAttr() { + super((Class) null); + newTQDomAttr(); + } + private native void newTQDomAttr(); + public TQDomAttr(TQDomAttr x) { + super((Class) null); + newTQDomAttr(x); + } + private native void newTQDomAttr(TQDomAttr x); + public native String name(); + public native boolean specified(); + public native TQDomElement ownerElement(); + public native String value(); + public native void setValue(String arg1); + public native int nodeType(); + public native boolean isAttr(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomCDATASection.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomCDATASection.java new file mode 100644 index 00000000..a4ea534f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomCDATASection.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomCDATASection extends TQDomText { + protected TQDomCDATASection(Class dummy){super((Class) null);} + public TQDomCDATASection() { + super((Class) null); + newTQDomCDATASection(); + } + private native void newTQDomCDATASection(); + public TQDomCDATASection(TQDomCDATASection x) { + super((Class) null); + newTQDomCDATASection(x); + } + private native void newTQDomCDATASection(TQDomCDATASection x); + public native int nodeType(); + public native boolean isCDATASection(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomCharacterData.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomCharacterData.java new file mode 100644 index 00000000..3fd0fa8c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomCharacterData.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomCharacterData extends TQDomNode { + protected TQDomCharacterData(Class dummy){super((Class) null);} + public TQDomCharacterData() { + super((Class) null); + newTQDomCharacterData(); + } + private native void newTQDomCharacterData(); + public TQDomCharacterData(TQDomCharacterData x) { + super((Class) null); + newTQDomCharacterData(x); + } + private native void newTQDomCharacterData(TQDomCharacterData x); + public native String substringData(long offset, long count); + public native void appendData(String arg); + public native void insertData(long offset, String arg); + public native void deleteData(long offset, long count); + public native void replaceData(long offset, long count, String arg); + public native int length(); + public native String data(); + public native void setData(String arg1); + public native int nodeType(); + public native boolean isCharacterData(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomComment.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomComment.java new file mode 100644 index 00000000..cf1276e8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomComment.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomComment extends TQDomCharacterData { + protected TQDomComment(Class dummy){super((Class) null);} + public TQDomComment() { + super((Class) null); + newTQDomComment(); + } + private native void newTQDomComment(); + public TQDomComment(TQDomComment x) { + super((Class) null); + newTQDomComment(x); + } + private native void newTQDomComment(TQDomComment x); + public native int nodeType(); + public native boolean isComment(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomDocument.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocument.java new file mode 100644 index 00000000..96cb6acd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocument.java @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQDomDocument extends TQDomNode { + protected TQDomDocument(Class dummy){super((Class) null);} + public TQDomDocument() { + super((Class) null); + newTQDomDocument(); + } + private native void newTQDomDocument(); + public TQDomDocument(String name) { + super((Class) null); + newTQDomDocument(name); + } + private native void newTQDomDocument(String name); + public TQDomDocument(TQDomDocumentType doctype) { + super((Class) null); + newTQDomDocument(doctype); + } + private native void newTQDomDocument(TQDomDocumentType doctype); + public TQDomDocument(TQDomDocument x) { + super((Class) null); + newTQDomDocument(x); + } + private native void newTQDomDocument(TQDomDocument x); + public native TQDomElement createElement(String tagName); + public native TQDomDocumentFragment createDocumentFragment(); + public native TQDomText createTextNode(String data); + public native TQDomComment createComment(String data); + public native TQDomCDATASection createCDATASection(String data); + public native TQDomProcessingInstruction createProcessingInstruction(String target, String data); + public native TQDomAttr createAttribute(String name); + public native TQDomEntityReference createEntityReference(String name); + public native ArrayList elementsByTagName(String tagname); + public native TQDomNode importNode(TQDomNode importedNode, boolean deep); + public native TQDomElement createElementNS(String nsURI, String qName); + public native TQDomAttr createAttributeNS(String nsURI, String qName); + public native ArrayList elementsByTagNameNS(String nsURI, String localName); + public native TQDomElement elementById(String elementId); + public native TQDomDocumentType doctype(); + public native TQDomImplementation implementation(); + public native TQDomElement documentElement(); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(String text, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(String text, boolean namespaceProcessing); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(byte[] text, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(byte[] text, boolean namespaceProcessing); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing, StringBuffer errorMsg); + public native boolean setContent(TQIODeviceInterface dev, boolean namespaceProcessing); + public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(String text, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(String text, StringBuffer errorMsg); + public native boolean setContent(String text); + public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(byte[] text, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(byte[] text, StringBuffer errorMsg); + public native boolean setContent(byte[] text); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQIODeviceInterface dev, StringBuffer errorMsg); + public native boolean setContent(TQIODeviceInterface dev); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine, int[] errorColumn); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg, int[] errorLine); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader, StringBuffer errorMsg); + public native boolean setContent(TQXmlInputSource source, TQXmlReader reader); + public native int nodeType(); + public native boolean isDocument(); + public native String toString(); + public native String toString(int arg1); + public native String toCString(); + public native String toCString(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentFragment.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentFragment.java new file mode 100644 index 00000000..a87616e1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentFragment.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomDocumentFragment extends TQDomNode { + protected TQDomDocumentFragment(Class dummy){super((Class) null);} + public TQDomDocumentFragment() { + super((Class) null); + newTQDomDocumentFragment(); + } + private native void newTQDomDocumentFragment(); + public TQDomDocumentFragment(TQDomDocumentFragment x) { + super((Class) null); + newTQDomDocumentFragment(x); + } + private native void newTQDomDocumentFragment(TQDomDocumentFragment x); + public native int nodeType(); + public native boolean isDocumentFragment(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentType.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentType.java new file mode 100644 index 00000000..c4993d67 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomDocumentType.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomDocumentType extends TQDomNode { + protected TQDomDocumentType(Class dummy){super((Class) null);} + public TQDomDocumentType() { + super((Class) null); + newTQDomDocumentType(); + } + private native void newTQDomDocumentType(); + public TQDomDocumentType(TQDomDocumentType x) { + super((Class) null); + newTQDomDocumentType(x); + } + private native void newTQDomDocumentType(TQDomDocumentType x); + public native String name(); + public native TQDomNamedNodeMap entities(); + public native TQDomNamedNodeMap notations(); + public native String publicId(); + public native String systemId(); + public native String internalSubset(); + public native int nodeType(); + public native boolean isDocumentType(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomElement.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomElement.java new file mode 100644 index 00000000..6344d2a1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomElement.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQDomElement extends TQDomNode { + protected TQDomElement(Class dummy){super((Class) null);} + public TQDomElement() { + super((Class) null); + newTQDomElement(); + } + private native void newTQDomElement(); + public TQDomElement(TQDomElement x) { + super((Class) null); + newTQDomElement(x); + } + private native void newTQDomElement(TQDomElement x); + public native String attribute(String name, String defValue); + public native String attribute(String name); + public native void setAttribute(String name, String value); + public native void setAttribute(String name, int value); + public native void setAttribute(String name, long value); + public native void setAttribute(String name, double value); + public native void removeAttribute(String name); + public native TQDomAttr attributeNode(String name); + public native TQDomAttr setAttributeNode(TQDomAttr newAttr); + public native TQDomAttr removeAttributeNode(TQDomAttr oldAttr); + public native ArrayList elementsByTagName(String tagname); + public native boolean hasAttribute(String name); + public native String attributeNS(String nsURI, String localName, String defValue); + public native void setAttributeNS(String nsURI, String qName, String value); + public native void setAttributeNS(String nsURI, String qName, int value); + public native void setAttributeNS(String nsURI, String qName, long value); + public native void setAttributeNS(String nsURI, String qName, double value); + public native void removeAttributeNS(String nsURI, String localName); + public native TQDomAttr attributeNodeNS(String nsURI, String localName); + public native TQDomAttr setAttributeNodeNS(TQDomAttr newAttr); + public native ArrayList elementsByTagNameNS(String nsURI, String localName); + public native boolean hasAttributeNS(String nsURI, String localName); + public native String tagName(); + public native void setTagName(String name); + public native TQDomNamedNodeMap attributes(); + public native int nodeType(); + public native boolean isElement(); + public native String text(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomEntity.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomEntity.java new file mode 100644 index 00000000..d47d768b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomEntity.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomEntity extends TQDomNode { + protected TQDomEntity(Class dummy){super((Class) null);} + public TQDomEntity() { + super((Class) null); + newTQDomEntity(); + } + private native void newTQDomEntity(); + public TQDomEntity(TQDomEntity x) { + super((Class) null); + newTQDomEntity(x); + } + private native void newTQDomEntity(TQDomEntity x); + public native String publicId(); + public native String systemId(); + public native String notationName(); + public native int nodeType(); + public native boolean isEntity(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomEntityReference.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomEntityReference.java new file mode 100644 index 00000000..c1b7153d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomEntityReference.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomEntityReference extends TQDomNode { + protected TQDomEntityReference(Class dummy){super((Class) null);} + public TQDomEntityReference() { + super((Class) null); + newTQDomEntityReference(); + } + private native void newTQDomEntityReference(); + public TQDomEntityReference(TQDomEntityReference x) { + super((Class) null); + newTQDomEntityReference(x); + } + private native void newTQDomEntityReference(TQDomEntityReference x); + public native int nodeType(); + public native boolean isEntityReference(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomImplementation.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomImplementation.java new file mode 100644 index 00000000..4f377a21 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomImplementation.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomImplementation implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomImplementation(Class dummy){} + + public TQDomImplementation() { + newTQDomImplementation(); + } + private native void newTQDomImplementation(); + public TQDomImplementation(TQDomImplementation arg1) { + newTQDomImplementation(arg1); + } + private native void newTQDomImplementation(TQDomImplementation arg1); + public native boolean op_equals(TQDomImplementation arg1); + public native boolean op_not_equals(TQDomImplementation arg1); + public native boolean hasFeature(String feature, String version); + public native TQDomDocumentType createDocumentType(String qName, String publicId, String systemId); + public native TQDomDocument createDocument(String nsURI, String qName, TQDomDocumentType doctype); + public native boolean isNull(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomNamedNodeMap.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomNamedNodeMap.java new file mode 100644 index 00000000..23c11625 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomNamedNodeMap.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomNamedNodeMap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomNamedNodeMap(Class dummy){} + + public TQDomNamedNodeMap() { + newTQDomNamedNodeMap(); + } + private native void newTQDomNamedNodeMap(); + public TQDomNamedNodeMap(TQDomNamedNodeMap arg1) { + newTQDomNamedNodeMap(arg1); + } + private native void newTQDomNamedNodeMap(TQDomNamedNodeMap arg1); + public native boolean op_equals(TQDomNamedNodeMap arg1); + public native boolean op_not_equals(TQDomNamedNodeMap arg1); + public native TQDomNode namedItem(String name); + public native TQDomNode setNamedItem(TQDomNode newNode); + public native TQDomNode removeNamedItem(String name); + public native TQDomNode item(int index); + public native TQDomNode namedItemNS(String nsURI, String localName); + public native TQDomNode setNamedItemNS(TQDomNode newNode); + public native TQDomNode removeNamedItemNS(String nsURI, String localName); + public native int length(); + public native int count(); + public native boolean contains(String name); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomNode.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomNode.java new file mode 100644 index 00000000..e8a3eea6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomNode.java @@ -0,0 +1,106 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQDomNode implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDomNode(Class dummy){} + + public static final int ElementNode = 1; + public static final int AttributeNode = 2; + public static final int TextNode = 3; + public static final int CDATASectionNode = 4; + public static final int EntityReferenceNode = 5; + public static final int EntityNode = 6; + public static final int ProcessingInstructionNode = 7; + public static final int CommentNode = 8; + public static final int DocumentNode = 9; + public static final int DocumentTypeNode = 10; + public static final int DocumentFragmentNode = 11; + public static final int NotationNode = 12; + public static final int BaseNode = 21; + public static final int CharacterDataNode = 22; + + public TQDomNode() { + newTQDomNode(); + } + private native void newTQDomNode(); + public TQDomNode(TQDomNode arg1) { + newTQDomNode(arg1); + } + private native void newTQDomNode(TQDomNode arg1); + public native boolean op_equals(TQDomNode arg1); + public native boolean op_not_equals(TQDomNode arg1); + public native TQDomNode insertBefore(TQDomNode newChild, TQDomNode refChild); + public native TQDomNode insertAfter(TQDomNode newChild, TQDomNode refChild); + public native TQDomNode replaceChild(TQDomNode newChild, TQDomNode oldChild); + public native TQDomNode removeChild(TQDomNode oldChild); + public native TQDomNode appendChild(TQDomNode newChild); + public native boolean hasChildNodes(); + public native TQDomNode cloneNode(boolean deep); + public native TQDomNode cloneNode(); + public native void normalize(); + public native boolean isSupported(String feature, String version); + public native String nodeName(); + public native int nodeType(); + public native TQDomNode parentNode(); + public native ArrayList childNodes(); + public native TQDomNode firstChild(); + public native TQDomNode lastChild(); + public native TQDomNode previousSibling(); + public native TQDomNode nextSibling(); + public native TQDomNamedNodeMap attributes(); + public native TQDomDocument ownerDocument(); + public native String namespaceURI(); + public native String localName(); + public native boolean hasAttributes(); + public native String nodeValue(); + public native void setNodeValue(String arg1); + public native String prefix(); + public native void setPrefix(String pre); + public native boolean isAttr(); + public native boolean isCDATASection(); + public native boolean isDocumentFragment(); + public native boolean isDocument(); + public native boolean isDocumentType(); + public native boolean isElement(); + public native boolean isEntityReference(); + public native boolean isText(); + public native boolean isEntity(); + public native boolean isNotation(); + public native boolean isProcessingInstruction(); + public native boolean isCharacterData(); + public native boolean isComment(); + /** + Shortcut to avoid dealing with TQDomArrayList + all the time. + @short Shortcut to avoid dealing with TQDomNodeList all the time. + */ + public native TQDomNode namedItem(String name); + public native boolean isNull(); + public native void clear(); + public native TQDomAttr toAttr(); + public native TQDomCDATASection toCDATASection(); + public native TQDomDocumentFragment toDocumentFragment(); + public native TQDomDocument toDocument(); + public native TQDomDocumentType toDocumentType(); + public native TQDomElement toElement(); + public native TQDomEntityReference toEntityReference(); + public native TQDomText toText(); + public native TQDomEntity toEntity(); + public native TQDomNotation toNotation(); + public native TQDomProcessingInstruction toProcessingInstruction(); + public native TQDomCharacterData toCharacterData(); + public native TQDomComment toComment(); + public native void save(TQTextStream arg1, int arg2); + // TQDomNode* TQDomNode(TQDomNodePrivate* arg1); >>>> NOT CONVERTED + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomNotation.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomNotation.java new file mode 100644 index 00000000..1cda5638 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomNotation.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomNotation extends TQDomNode { + protected TQDomNotation(Class dummy){super((Class) null);} + public TQDomNotation() { + super((Class) null); + newTQDomNotation(); + } + private native void newTQDomNotation(); + public TQDomNotation(TQDomNotation x) { + super((Class) null); + newTQDomNotation(x); + } + private native void newTQDomNotation(TQDomNotation x); + public native String publicId(); + public native String systemId(); + public native int nodeType(); + public native boolean isNotation(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomProcessingInstruction.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomProcessingInstruction.java new file mode 100644 index 00000000..3f393db8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomProcessingInstruction.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomProcessingInstruction extends TQDomNode { + protected TQDomProcessingInstruction(Class dummy){super((Class) null);} + public TQDomProcessingInstruction() { + super((Class) null); + newTQDomProcessingInstruction(); + } + private native void newTQDomProcessingInstruction(); + public TQDomProcessingInstruction(TQDomProcessingInstruction x) { + super((Class) null); + newTQDomProcessingInstruction(x); + } + private native void newTQDomProcessingInstruction(TQDomProcessingInstruction x); + public native String target(); + public native String data(); + public native void setData(String d); + public native int nodeType(); + public native boolean isProcessingInstruction(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDomText.java b/qtjava/javalib/org/trinitydesktop/qt/TQDomText.java new file mode 100644 index 00000000..7850d561 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDomText.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDomText extends TQDomCharacterData { + protected TQDomText(Class dummy){super((Class) null);} + public TQDomText() { + super((Class) null); + newTQDomText(); + } + private native void newTQDomText(); + public TQDomText(TQDomText x) { + super((Class) null); + newTQDomText(x); + } + private native void newTQDomText(TQDomText x); + public native TQDomText splitText(int offset); + public native int nodeType(); + public native boolean isText(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDoubleValidator.java b/qtjava/javalib/org/trinitydesktop/qt/TQDoubleValidator.java new file mode 100644 index 00000000..0e7e8e22 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDoubleValidator.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDoubleValidator extends TQValidator { + protected TQDoubleValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQDoubleValidator(TQObject parent, String name) { + super((Class) null); + newTQDoubleValidator(parent,name); + } + private native void newTQDoubleValidator(TQObject parent, String name); + public TQDoubleValidator(TQObject parent) { + super((Class) null); + newTQDoubleValidator(parent); + } + private native void newTQDoubleValidator(TQObject parent); + public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { + super((Class) null); + newTQDoubleValidator(bottom,top,decimals,parent,name); + } + private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); + public TQDoubleValidator(double bottom, double top, int decimals, TQObject parent) { + super((Class) null); + newTQDoubleValidator(bottom,top,decimals,parent); + } + private native void newTQDoubleValidator(double bottom, double top, int decimals, TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void setRange(double bottom, double top, int decimals); + public native void setRange(double bottom, double top); + public native void setBottom(double arg1); + public native void setTop(double arg1); + public native void setDecimals(int arg1); + public native double bottom(); + public native double top(); + public native int decimals(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragEnterEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragEnterEvent.java new file mode 100644 index 00000000..7ed9e7f2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragEnterEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragEnterEvent extends TQDragMoveEvent { + protected TQDragEnterEvent(Class dummy){super((Class) null);} + public TQDragEnterEvent(TQPoint pos) { + super((Class) null); + newTQDragEnterEvent(pos); + } + private native void newTQDragEnterEvent(TQPoint pos); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragLeaveEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragLeaveEvent.java new file mode 100644 index 00000000..c2f68f75 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragLeaveEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragLeaveEvent extends TQEvent { + protected TQDragLeaveEvent(Class dummy){super((Class) null);} + public TQDragLeaveEvent() { + super((Class) null); + newTQDragLeaveEvent(); + } + private native void newTQDragLeaveEvent(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragManager.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragManager.java new file mode 100644 index 00000000..3d5783b4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragManager.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragManager extends TQObject { + protected TQDragManager(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragMoveEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragMoveEvent.java new file mode 100644 index 00000000..fffb04ed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragMoveEvent.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragMoveEvent extends TQDropEvent { + protected TQDragMoveEvent(Class dummy){super((Class) null);} + public TQDragMoveEvent(TQPoint pos, int typ) { + super((Class) null); + newTQDragMoveEvent(pos,typ); + } + private native void newTQDragMoveEvent(TQPoint pos, int typ); + public TQDragMoveEvent(TQPoint pos) { + super((Class) null); + newTQDragMoveEvent(pos); + } + private native void newTQDragMoveEvent(TQPoint pos); + public native TQRect answerRect(); + public native void accept(boolean y); + public native void accept(); + public native void accept(TQRect r); + public native void ignore(TQRect r); + public native void ignore(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragObject.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragObject.java new file mode 100644 index 00000000..40562878 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragObject.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragObject extends TQObject implements TQMimeSourceInterface { + protected TQDragObject(Class dummy){super((Class) null);} + public static final int DragDefault = 0; + public static final int DragCopy = 1; + public static final int DragMove = 2; + public static final int DragLink = 3; + public static final int DragCopyOrMove = 4; + + public native TQMetaObject metaObject(); + public native String className(); + public native boolean drag(); + public native boolean dragMove(); + public native void dragCopy(); + public native void dragLink(); + public native void setPixmap(TQPixmap arg1); + public native void setPixmap(TQPixmap arg1, TQPoint hotspot); + public native TQPixmap pixmap(); + public native TQPoint pixmapHotSpot(); + public native TQWidget source(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQWidget target(); + public static native void setTarget(TQWidget arg1); + public native String format(int n); + public native String format(); + public native boolean provides(String arg1); + public native byte[] encodedData(String arg1); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDragResponseEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQDragResponseEvent.java new file mode 100644 index 00000000..9f1b4052 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDragResponseEvent.java @@ -0,0 +1,20 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDragResponseEvent extends TQEvent { + protected TQDragResponseEvent(Class dummy){super((Class) null);} + public TQDragResponseEvent(boolean accepted) { + super((Class) null); + newTQDragResponseEvent(accepted); + } + private native void newTQDragResponseEvent(boolean accepted); + public native boolean dragAccepted(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDropEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQDropEvent.java new file mode 100644 index 00000000..f9dcb0c1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDropEvent.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDropEvent extends TQEvent implements TQMimeSourceInterface { + protected TQDropEvent(Class dummy){super((Class) null);} + public static final int Copy = 0; + public static final int Link = 1; + public static final int Move = 2; + public static final int Private = 3; + public static final int UserAction = 100; + + public TQDropEvent(TQPoint pos, int typ) { + super((Class) null); + newTQDropEvent(pos,typ); + } + private native void newTQDropEvent(TQPoint pos, int typ); + public TQDropEvent(TQPoint pos) { + super((Class) null); + newTQDropEvent(pos); + } + private native void newTQDropEvent(TQPoint pos); + public native TQPoint pos(); + public native boolean isAccepted(); + public native void accept(boolean y); + public native void accept(); + public native void ignore(); + public native boolean isActionAccepted(); + public native void acceptAction(boolean y); + public native void acceptAction(); + public native void setAction(int a); + public native int action(); + public native TQWidget source(); + public native String format(int n); + public native String format(); + public native byte[] encodedData(String arg1); + public native boolean provides(String arg1); + public native byte[] data(String f); + public native void setPoint(TQPoint np); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDropSite.java b/qtjava/javalib/org/trinitydesktop/qt/TQDropSite.java new file mode 100644 index 00000000..4bf6f46d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDropSite.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQDropSite implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQDropSite(Class dummy){} + + public TQDropSite(TQWidget parent) { + newTQDropSite(parent); + } + private native void newTQDropSite(TQWidget parent); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEditorFactory.java b/qtjava/javalib/org/trinitydesktop/qt/TQEditorFactory.java new file mode 100644 index 00000000..7f25ac3f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEditorFactory.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQEditorFactory extends TQObject { + protected TQEditorFactory(Class dummy){super((Class) null);} + public TQEditorFactory(TQObject parent, String name) { + super((Class) null); + newTQEditorFactory(parent,name); + } + private native void newTQEditorFactory(TQObject parent, String name); + public TQEditorFactory(TQObject parent) { + super((Class) null); + newTQEditorFactory(parent); + } + private native void newTQEditorFactory(TQObject parent); + public TQEditorFactory() { + super((Class) null); + newTQEditorFactory(); + } + private native void newTQEditorFactory(); + public native TQWidget createEditor(TQWidget parent, TQVariant v); + public static native TQEditorFactory defaultFactory(); + public static native void installDefaultFactory(TQEditorFactory factory); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQErrorMessage.java b/qtjava/javalib/org/trinitydesktop/qt/TQErrorMessage.java new file mode 100644 index 00000000..cea587cd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQErrorMessage.java @@ -0,0 +1,31 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQErrorMessage extends TQDialog { + protected TQErrorMessage(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQErrorMessage(TQWidget parent, String name) { + super((Class) null); + newTQErrorMessage(parent,name); + } + private native void newTQErrorMessage(TQWidget parent, String name); + public TQErrorMessage(TQWidget parent) { + super((Class) null); + newTQErrorMessage(parent); + } + private native void newTQErrorMessage(TQWidget parent); + public native void message(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQErrorMessage qtHandler(); + protected native void done(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEucJpCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQEucJpCodec.java new file mode 100644 index 00000000..67a40d93 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEucJpCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQEucJpCodec extends TQTextCodec { + protected TQEucJpCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQEucJpCodec() { + super((Class) null); + newTQEucJpCodec(); + } + private native void newTQEucJpCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEucKrCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQEucKrCodec.java new file mode 100644 index 00000000..d2108a58 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEucKrCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQEucKrCodec extends TQTextCodec { + protected TQEucKrCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQEucKrCodec() { + super((Class) null); + newTQEucKrCodec(); + } + private native void newTQEucKrCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQEvent.java new file mode 100644 index 00000000..39419e31 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEvent.java @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQEvent extends Qt { + protected TQEvent(Class dummy){super((Class) null);} + public static final int None = 0; + public static final int Timer = 1; + public static final int MouseButtonPress = 2; + public static final int MouseButtonRelease = 3; + public static final int MouseButtonDblClick = 4; + public static final int MouseMove = 5; + public static final int KeyPress = 6; + public static final int KeyRelease = 7; + public static final int FocusIn = 8; + public static final int FocusOut = 9; + public static final int Enter = 10; + public static final int Leave = 11; + public static final int Paint = 12; + public static final int Move = 13; + public static final int Resize = 14; + public static final int Create = 15; + public static final int Destroy = 16; + public static final int Show = 17; + public static final int Hide = 18; + public static final int Close = 19; + public static final int Quit = 20; + public static final int Reparent = 21; + public static final int ShowMinimized = 22; + public static final int ShowNormal = 23; + public static final int WindowActivate = 24; + public static final int WindowDeactivate = 25; + public static final int ShowToParent = 26; + public static final int HideToParent = 27; + public static final int ShowMaximized = 28; + public static final int ShowFullScreen = 29; + public static final int Accel = 30; + public static final int Wheel = 31; + public static final int AccelAvailable = 32; + public static final int CaptionChange = 33; + public static final int IconChange = 34; + public static final int ParentFontChange = 35; + public static final int ApplicationFontChange = 36; + public static final int ParentPaletteChange = 37; + public static final int ApplicationPaletteChange = 38; + public static final int PaletteChange = 39; + public static final int Clipboard = 40; + public static final int Speech = 42; + public static final int SockAct = 50; + public static final int AccelOverride = 51; + public static final int DeferredDelete = 52; + public static final int DragEnter = 60; + public static final int DragMove = 61; + public static final int DragLeave = 62; + public static final int Drop = 63; + public static final int DragResponse = 64; + public static final int ChildInserted = 70; + public static final int ChildRemoved = 71; + public static final int LayoutHint = 72; + public static final int ShowWindowRequest = 73; + public static final int WindowBlocked = 74; + public static final int WindowUnblocked = 75; + public static final int ActivateControl = 80; + public static final int DeactivateControl = 81; + public static final int ContextMenu = 82; + public static final int IMStart = 83; + public static final int IMCompose = 84; + public static final int IMEnd = 85; + public static final int Accessibility = 86; + public static final int TabletMove = 87; + public static final int LocaleChange = 88; + public static final int LanguageChange = 89; + public static final int LayoutDirectionChange = 90; + public static final int Style = 91; + public static final int TabletPress = 92; + public static final int TabletRelease = 93; + public static final int OkRequest = 94; + public static final int HelpRequest = 95; + public static final int WindowStateChange = 96; + public static final int IconDrag = 97; + public static final int User = 1000; + public static final int MaxUser = 65535; + + public TQEvent(int type) { + super((Class) null); + newTQEvent(type); + } + private native void newTQEvent(int type); + public native int type(); + public native boolean spontaneous(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEventLoop.java b/qtjava/javalib/org/trinitydesktop/qt/TQEventLoop.java new file mode 100644 index 00000000..ccd4d0a6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEventLoop.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQEventLoopSignals} for signals emitted by TQEventLoop +*/ +public class TQEventLoop extends TQObject { + protected TQEventLoop(Class dummy){super((Class) null);} + public static final int AllEvents = 0x00; + public static final int ExcludeUserInput = 0x01; + public static final int ExcludeSocketNotifiers = 0x02; + public static final int WaitForMore = 0x04; + + public native TQMetaObject metaObject(); + public native String className(); + public TQEventLoop(TQObject parent, String name) { + super((Class) null); + newTQEventLoop(parent,name); + } + private native void newTQEventLoop(TQObject parent, String name); + public TQEventLoop(TQObject parent) { + super((Class) null); + newTQEventLoop(parent); + } + private native void newTQEventLoop(TQObject parent); + public TQEventLoop() { + super((Class) null); + newTQEventLoop(); + } + private native void newTQEventLoop(); + public native void processEvents(int flags, int maxtime); + public native boolean processEvents(int flags); + public native boolean hasPendingEvents(); + public native void registerSocketNotifier(TQSocketNotifier arg1); + public native void unregisterSocketNotifier(TQSocketNotifier arg1); + public native void setSocketNotifierPending(TQSocketNotifier arg1); + public native int activateSocketNotifiers(); + public native int activateTimers(); + public native int timeToWait(); + public native int exec(); + public native void exit(int retcode); + public native void exit(); + public native int enterLoop(); + public native void exitLoop(); + public native int loopLevel(); + public native void wakeUp(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQEventLoopSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQEventLoopSignals.java new file mode 100644 index 00000000..6959669c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQEventLoopSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQEventLoopSignals { + void awake(); + void aboutToBlock(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFile.java b/qtjava/javalib/org/trinitydesktop/qt/TQFile.java new file mode 100644 index 00000000..67201c05 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFile.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFile extends TQIODevice { + protected TQFile(Class dummy){super((Class) null);} + public TQFile() { + super((Class) null); + newTQFile(); + } + private native void newTQFile(); + public TQFile(String name) { + super((Class) null); + newTQFile(name); + } + private native void newTQFile(String name); + public native String name(); + public native void setName(String name); + public native boolean exists(); + public native boolean remove(); + public native boolean open(int arg1); + public native boolean open(int arg1, int arg2); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native boolean atEnd(); + public native long readBlock(StringBuffer data, long len); + public native long writeBlock(String data, long len); + public native long writeBlock(byte[] data); + public native long readLine(String data, long maxlen); + public native long readLine(StringBuffer arg1, long maxlen); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + public native int handle(); + public native String errorString(); + public static native String encodeName(String fileName); + public static native String decodeName(String localFileName); + public static native boolean exists(String fileName); + public static native boolean remove(String fileName); + protected native void setErrorString(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFileDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQFileDialog.java new file mode 100644 index 00000000..2a4baf16 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFileDialog.java @@ -0,0 +1,155 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQFileDialogSignals} for signals emitted by TQFileDialog +*/ +public class TQFileDialog extends TQDialog { + protected TQFileDialog(Class dummy){super((Class) null);} + public static final int AnyFile = 0; + public static final int ExistingFile = 1; + public static final int Directory = 2; + public static final int ExistingFiles = 3; + public static final int DirectoryOnly = 4; + + public static final int Detail = 0; + public static final int List = 1; + + public static final int NoPreview = 0; + public static final int Contents = 1; + public static final int Info = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQFileDialog(dirName,filter,parent,name,modal); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name, boolean modal); + public TQFileDialog(String dirName, String filter, TQWidget parent, String name) { + super((Class) null); + newTQFileDialog(dirName,filter,parent,name); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent, String name); + public TQFileDialog(String dirName, String filter, TQWidget parent) { + super((Class) null); + newTQFileDialog(dirName,filter,parent); + } + private native void newTQFileDialog(String dirName, String filter, TQWidget parent); + public TQFileDialog(String dirName, String filter) { + super((Class) null); + newTQFileDialog(dirName,filter); + } + private native void newTQFileDialog(String dirName, String filter); + public TQFileDialog(String dirName) { + super((Class) null); + newTQFileDialog(dirName); + } + private native void newTQFileDialog(String dirName); + public TQFileDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQFileDialog(parent,name,modal); + } + private native void newTQFileDialog(TQWidget parent, String name, boolean modal); + public TQFileDialog(TQWidget parent, String name) { + super((Class) null); + newTQFileDialog(parent,name); + } + private native void newTQFileDialog(TQWidget parent, String name); + public TQFileDialog(TQWidget parent) { + super((Class) null); + newTQFileDialog(parent); + } + private native void newTQFileDialog(TQWidget parent); + public TQFileDialog() { + super((Class) null); + newTQFileDialog(); + } + private native void newTQFileDialog(); + public native String selectedFile(); + public native String selectedFilter(); + public native void setSelectedFilter(String arg1); + public native void setSelectedFilter(int arg1); + public native void setSelection(String arg1); + public native void selectAll(boolean b); + public native ArrayList selectedFiles(); + public native String dirPath(); + public native void setDir(TQDir arg1); + public native TQDir dir(); + public native void setShowHiddenFiles(boolean s); + public native boolean showHiddenFiles(); + public native void rereadDir(); + public native void resortDir(); + public native void setMode(int arg1); + public native int mode(); + public native void setViewMode(int m); + public native int viewMode(); + public native void setPreviewMode(int m); + public native int previewMode(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isInfoPreviewEnabled(); + public native boolean isContentsPreviewEnabled(); + public native void setInfoPreviewEnabled(boolean arg1); + public native void setContentsPreviewEnabled(boolean arg1); + public native void setInfoPreview(TQWidget w, TQFilePreview preview); + public native void setContentsPreview(TQWidget w, TQFilePreview preview); + public native TQUrlInterface url(); + public native void addFilter(String filter); + public native void done(int arg1); + public native void setDir(String arg1); + public native void setUrl(TQUrlOperator url); + public native void setFilter(String arg1); + public native void setFilters(String arg1); + public native void setFilters(String[] arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name, String caption); + public static native String getOpenFileName(String initially, String filter, TQWidget parent, String name); + public static native String getOpenFileName(String initially, String filter, TQWidget parent); + public static native String getOpenFileName(String initially, String filter); + public static native String getOpenFileName(String initially); + public static native String getOpenFileName(); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name, String caption); + public static native String getSaveFileName(String initially, String filter, TQWidget parent, String name); + public static native String getSaveFileName(String initially, String filter, TQWidget parent); + public static native String getSaveFileName(String initially, String filter); + public static native String getSaveFileName(String initially); + public static native String getSaveFileName(); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly, boolean resolveSymlinks); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption, boolean dirOnly); + public static native String getExistingDirectory(String dir, TQWidget parent, String name, String caption); + public static native String getExistingDirectory(String dir, TQWidget parent, String name); + public static native String getExistingDirectory(String dir, TQWidget parent); + public static native String getExistingDirectory(String dir); + public static native String getExistingDirectory(); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter, boolean resolveSymlinks); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption, StringBuffer selectedFilter); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name, String caption); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent, String name); + public static native ArrayList getOpenFileNames(String filter, String dir, TQWidget parent); + public static native ArrayList getOpenFileNames(String filter, String dir); + public static native ArrayList getOpenFileNames(String filter); + public static native ArrayList getOpenFileNames(); + public static native void setIconProvider(TQFileIconProvider arg1); + public static native TQFileIconProvider iconProvider(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void addWidgets(TQLabel arg1, TQWidget arg2, TQPushButton arg3); + protected native void addToolButton(TQButton b, boolean separator); + protected native void addToolButton(TQButton b); + protected native void addLeftWidget(TQWidget w); + protected native void addRightWidget(TQWidget w); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFileDialogSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQFileDialogSignals.java new file mode 100644 index 00000000..52b2d7b6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFileDialogSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQFileDialogSignals { + void fileHighlighted(String arg1); + void fileSelected(String arg1); + void filesSelected(String[] arg1); + void dirEntered(String arg1); + void filterSelected(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFileIconProvider.java b/qtjava/javalib/org/trinitydesktop/qt/TQFileIconProvider.java new file mode 100644 index 00000000..62581b23 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFileIconProvider.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFileIconProvider extends TQObject { + protected TQFileIconProvider(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQFileIconProvider(TQObject parent, String name) { + super((Class) null); + newTQFileIconProvider(parent,name); + } + private native void newTQFileIconProvider(TQObject parent, String name); + public TQFileIconProvider(TQObject parent) { + super((Class) null); + newTQFileIconProvider(parent); + } + private native void newTQFileIconProvider(TQObject parent); + public TQFileIconProvider() { + super((Class) null); + newTQFileIconProvider(); + } + private native void newTQFileIconProvider(); + public native TQPixmap pixmap(TQFileInfo arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java new file mode 100644 index 00000000..0fb3977f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFileInfo.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Calendar; + +public class TQFileInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFileInfo(Class dummy){} + + public static final int ReadOwner = 04000; + public static final int WriteOwner = 02000; + public static final int ExeOwner = 01000; + public static final int ReadUser = 00400; + public static final int WriteUser = 00200; + public static final int ExeUser = 00100; + public static final int ReadGroup = 00040; + public static final int WriteGroup = 00020; + public static final int ExeGroup = 00010; + public static final int ReadOther = 00004; + public static final int WriteOther = 00002; + public static final int ExeOther = 00001; + + public TQFileInfo() { + newTQFileInfo(); + } + private native void newTQFileInfo(); + public TQFileInfo(String file) { + newTQFileInfo(file); + } + private native void newTQFileInfo(String file); + public TQFileInfo(TQFile arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFile arg1); + public TQFileInfo(TQDir arg1, String fileName) { + newTQFileInfo(arg1,fileName); + } + private native void newTQFileInfo(TQDir arg1, String fileName); + public TQFileInfo(TQFileInfo arg1) { + newTQFileInfo(arg1); + } + private native void newTQFileInfo(TQFileInfo arg1); + public native void setFile(String file); + public native void setFile(TQFile arg1); + public native void setFile(TQDir arg1, String fileName); + public native boolean exists(); + public native void refresh(); + public native boolean caching(); + public native void setCaching(boolean arg1); + public native String filePath(); + public native String fileName(); + public native String absFilePath(); + public native String baseName(boolean complete); + public native String baseName(); + public native String extension(boolean complete); + public native String extension(); + public native String dirPath(boolean absPath); + public native String dirPath(); + public native TQDir dir(boolean absPath); + public native TQDir dir(); + public native boolean isReadable(); + public native boolean isWritable(); + public native boolean isExecutable(); + public native boolean isHidden(); + public native boolean isRelative(); + public native boolean convertToAbs(); + public native boolean isFile(); + public native boolean isDir(); + public native boolean isSymLink(); + public native String readLink(); + public native String owner(); + public native int ownerId(); + public native String group(); + public native int groupId(); + public native boolean permission(int permissionSpec); + public native long size(); + public native Calendar created(); + public native Calendar lastModified(); + public native Calendar lastRead(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFilePreview.java b/qtjava/javalib/org/trinitydesktop/qt/TQFilePreview.java new file mode 100644 index 00000000..52839807 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFilePreview.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFilePreview implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFilePreview(Class dummy){} + + public native void previewUrl(TQUrlInterface url); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFocusData.java b/qtjava/javalib/org/trinitydesktop/qt/TQFocusData.java new file mode 100644 index 00000000..942acd11 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFocusData.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFocusData implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFocusData(Class dummy){} + + public native TQWidget focusWidget(); + public native TQWidget home(); + public native TQWidget next(); + public native TQWidget prev(); + public native TQWidget first(); + public native TQWidget last(); + public native int count(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFocusEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQFocusEvent.java new file mode 100644 index 00000000..dbca62d3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFocusEvent.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFocusEvent extends TQEvent { + protected TQFocusEvent(Class dummy){super((Class) null);} + public static final int Mouse = 0; + public static final int Tab = 1; + public static final int Backtab = 2; + public static final int ActiveWindow = 3; + public static final int Popup = 4; + public static final int Shortcut = 5; + public static final int Other = 6; + + public TQFocusEvent(int type) { + super((Class) null); + newTQFocusEvent(type); + } + private native void newTQFocusEvent(int type); + public native boolean gotFocus(); + public native boolean lostFocus(); + public static native int reason(); + public static native void setReason(int reason); + public static native void resetReason(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFont.java b/qtjava/javalib/org/trinitydesktop/qt/TQFont.java new file mode 100644 index 00000000..9035a32f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFont.java @@ -0,0 +1,203 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQFont implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFont(Class dummy){} + + public static final int Helvetica = 0; + public static final int SansSerif = Helvetica; + public static final int Times = 1; + public static final int Serif = Times; + public static final int Courier = 2; + public static final int TypeWriter = Courier; + public static final int OldEnglish = 3; + public static final int Decorative = OldEnglish; + public static final int System = 4; + public static final int AnyStyle = 5; + + public static final int PreferDefault = 0x0001; + public static final int PreferBitmap = 0x0002; + public static final int PreferDevice = 0x0004; + public static final int PreferOutline = 0x0008; + public static final int ForceOutline = 0x0010; + public static final int PreferMatch = 0x0020; + public static final int PreferQuality = 0x0040; + public static final int PreferAntialias = 0x0080; + public static final int NoAntialias = 0x0100; + public static final int OpenGLCompatible = 0x0200; + + public static final int Light = 25; + public static final int Normal = 50; + public static final int DemiBold = 63; + public static final int Bold = 75; + public static final int Black = 87; + + public static final int UltraCondensed = 50; + public static final int ExtraCondensed = 62; + public static final int Condensed = 75; + public static final int SemiCondensed = 87; + public static final int Unstretched = 100; + public static final int SemiExpanded = 112; + public static final int Expanded = 125; + public static final int ExtraExpanded = 150; + public static final int UltraExpanded = 200; + + public static final int Latin = 0; + public static final int Greek = 1; + public static final int Cyrillic = 2; + public static final int Armenian = 3; + public static final int Georgian = 4; + public static final int Runic = 5; + public static final int Ogham = 6; + public static final int SpacingModifiers = 7; + public static final int CombiningMarks = 8; + public static final int Hebrew = 9; + public static final int Arabic = 10; + public static final int Syriac = 11; + public static final int Thaana = 12; + public static final int Devanagari = 13; + public static final int Bengali = 14; + public static final int Gurmukhi = 15; + public static final int Gujarati = 16; + public static final int Oriya = 17; + public static final int Tamil = 18; + public static final int Telugu = 19; + public static final int Kannada = 20; + public static final int Malayalam = 21; + public static final int Sinhala = 22; + public static final int Thai = 23; + public static final int Lao = 24; + public static final int Tibetan = 25; + public static final int Myanmar = 26; + public static final int Khmer = 27; + public static final int Han = 28; + public static final int Hiragana = 29; + public static final int Katakana = 30; + public static final int Hangul = 31; + public static final int Bopomofo = 32; + public static final int Yi = 33; + public static final int Ethiopic = 34; + public static final int Cherokee = 35; + public static final int CanadianAboriginal = 36; + public static final int Mongolian = 37; + public static final int CurrencySymbols = 38; + public static final int LetterlikeSymbols = 39; + public static final int NumberForms = 40; + public static final int MathematicalOperators = 41; + public static final int TechnicalSymbols = 42; + public static final int GeometricSymbols = 43; + public static final int MiscellaneousSymbols = 44; + public static final int EnclosedAndSquare = 45; + public static final int Braille = 46; + public static final int Unicode = 47; + public static final int Tagalog = 48; + public static final int Hanunoo = 49; + public static final int Buhid = 50; + public static final int Tagbanwa = 51; + public static final int KatakanaHalfWidth = 52; + public static final int Limbu = 53; + public static final int TaiLe = 54; + public static final int NScripts = 55; + public static final int UnknownScript = NScripts; + public static final int NoScript = 56; + public static final int Han_Japanese = 57; + public static final int Han_SimplifiedChinese = 58; + public static final int Han_TraditionalChinese = 59; + public static final int Han_Korean = 60; + public static final int LastPrivateScript = 61; + + public TQFont() { + newTQFont(); + } + private native void newTQFont(); + public TQFont(String family, int pointSize, int weight, boolean italic) { + newTQFont(family,pointSize,weight,italic); + } + private native void newTQFont(String family, int pointSize, int weight, boolean italic); + public TQFont(String family, int pointSize, int weight) { + newTQFont(family,pointSize,weight); + } + private native void newTQFont(String family, int pointSize, int weight); + public TQFont(String family, int pointSize) { + newTQFont(family,pointSize); + } + private native void newTQFont(String family, int pointSize); + public TQFont(String family) { + newTQFont(family); + } + private native void newTQFont(String family); + public TQFont(TQFont arg1) { + newTQFont(arg1); + } + private native void newTQFont(TQFont arg1); + public native String family(); + public native void setFamily(String arg1); + public native int pointSize(); + public native float pointSizeFloat(); + public native void setPointSize(int arg1); + public native void setPointSizeFloat(float arg1); + public native int pixelSize(); + public native void setPixelSize(int arg1); + public native void setPixelSizeFloat(float arg1); + public native int weight(); + public native void setWeight(int arg1); + public native boolean bold(); + public native void setBold(boolean arg1); + public native boolean italic(); + public native void setItalic(boolean arg1); + public native boolean underline(); + public native void setUnderline(boolean arg1); + public native boolean overline(); + public native void setOverline(boolean arg1); + public native boolean strikeOut(); + public native void setStrikeOut(boolean arg1); + public native boolean fixedPitch(); + public native void setFixedPitch(boolean arg1); + public native int styleHint(); + public native int styleStrategy(); + public native void setStyleHint(int arg1, int arg2); + public native void setStyleHint(int arg1); + public native void setStyleStrategy(int s); + public native int stretch(); + public native void setStretch(int arg1); + public native boolean rawMode(); + public native void setRawMode(boolean arg1); + public native boolean exactMatch(); + public native boolean op_equals(TQFont arg1); + public native boolean op_not_equals(TQFont arg1); + public native boolean isCopyOf(TQFont arg1); + public native int handle(); + public native void setRawName(String arg1); + public native String rawName(); + public native String key(); + public native String toString(); + public native boolean fromString(String arg1); + public native String defaultFamily(); + public native String lastResortFamily(); + public native String lastResortFont(); + public native TQFont resolve(TQFont arg1); + public static native String substitute(String arg1); + public static native ArrayList substitutes(String arg1); + public static native ArrayList substitutions(); + public static native void insertSubstitution(String arg1, String arg2); + public static native void insertSubstitutions(String arg1, String[] arg2); + public static native void removeSubstitution(String arg1); + public static native void initialize(); + public static native void cleanup(); + public static native void cacheStatistics(); + public static native TQFont defaultFont(); + public static native void setDefaultFont(TQFont arg1); + protected native boolean dirty(); + protected native int deciPointSize(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFontDatabase.java b/qtjava/javalib/org/trinitydesktop/qt/TQFontDatabase.java new file mode 100644 index 00000000..76dbd653 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFontDatabase.java @@ -0,0 +1,56 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQFontDatabase implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontDatabase(Class dummy){} + + public TQFontDatabase() { + newTQFontDatabase(); + } + private native void newTQFontDatabase(); + public native ArrayList families(); + public native ArrayList families(int arg1); + public native ArrayList styles(String arg1); + public native int[] pointSizes(String arg1, String arg2); + public native int[] pointSizes(String arg1); + public native int[] smoothSizes(String arg1, String arg2); + public native String styleString(TQFont arg1); + public native TQFont font(String arg1, String arg2, int arg3); + public native boolean isBitmapScalable(String arg1, String arg2); + public native boolean isBitmapScalable(String arg1); + public native boolean isSmoothlyScalable(String arg1, String arg2); + public native boolean isSmoothlyScalable(String arg1); + public native boolean isScalable(String arg1, String arg2); + public native boolean isScalable(String arg1); + public native boolean isFixedPitch(String arg1, String arg2); + public native boolean isFixedPitch(String arg1); + public native boolean italic(String arg1, String arg2); + public native boolean bold(String arg1, String arg2); + public native int weight(String arg1, String arg2); + public native ArrayList families(boolean arg1); + public native ArrayList styles(String arg1, String arg2); + public native int[] pointSizes(String arg1, String arg2, String arg3); + public native int[] smoothSizes(String arg1, String arg2, String arg3); + public native TQFont font(String arg1, String arg2, int arg3, String arg4); + public native boolean isBitmapScalable(String arg1, String arg2, String arg3); + public native boolean isSmoothlyScalable(String arg1, String arg2, String arg3); + public native boolean isScalable(String arg1, String arg2, String arg3); + public native boolean isFixedPitch(String arg1, String arg2, String arg3); + public native boolean italic(String arg1, String arg2, String arg3); + public native boolean bold(String arg1, String arg2, String arg3); + public native int weight(String arg1, String arg2, String arg3); + public static native int[] standardSizes(); + public static native String scriptName(int arg1); + public static native String scriptSample(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFontDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQFontDialog.java new file mode 100644 index 00000000..2ee4d536 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFontDialog.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFontDialog extends TQDialog { + protected TQFontDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent, String name); + public static native TQFont getFont(boolean[] ok, TQFont def, TQWidget parent); + public static native TQFont getFont(boolean[] ok, TQFont def); + public static native TQFont getFont(boolean[] ok, TQWidget parent, String name); + public static native TQFont getFont(boolean[] ok, TQWidget parent); + public static native TQFont getFont(boolean[] ok); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFontInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQFontInfo.java new file mode 100644 index 00000000..03fa9aa7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFontInfo.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFontInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontInfo(Class dummy){} + + public TQFontInfo(TQFont arg1) { + newTQFontInfo(arg1); + } + private native void newTQFontInfo(TQFont arg1); + public TQFontInfo(TQFont arg1, int arg2) { + newTQFontInfo(arg1,arg2); + } + private native void newTQFontInfo(TQFont arg1, int arg2); + public TQFontInfo(TQFontInfo arg1) { + newTQFontInfo(arg1); + } + private native void newTQFontInfo(TQFontInfo arg1); + public native String family(); + public native int pixelSize(); + public native int pointSize(); + public native boolean italic(); + public native int weight(); + public native boolean bold(); + public native boolean underline(); + public native boolean overline(); + public native boolean strikeOut(); + public native boolean fixedPitch(); + public native int styleHint(); + public native boolean rawMode(); + public native boolean exactMatch(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java b/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java new file mode 100644 index 00000000..b7db681b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFontMetrics.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFontMetrics implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQFontMetrics(Class dummy){} + + public TQFontMetrics(TQFont arg1) { + newTQFontMetrics(arg1); + } + private native void newTQFontMetrics(TQFont arg1); + public TQFontMetrics(TQFont arg1, int arg2) { + newTQFontMetrics(arg1,arg2); + } + private native void newTQFontMetrics(TQFont arg1, int arg2); + public TQFontMetrics(TQFontMetrics arg1) { + newTQFontMetrics(arg1); + } + private native void newTQFontMetrics(TQFontMetrics arg1); + public native int ascent(); + public native int descent(); + public native int height(); + public native int leading(); + public native int lineSpacing(); + public native int minLeftBearing(); + public native int minRightBearing(); + public native int maxWidth(); + public native boolean inFont(char arg1); + public native int leftBearing(char arg1); + public native int rightBearing(char arg1); + public native int width(String arg1, int len); + public native int width(String arg1); + public native int width(char arg1); + public native int charWidth(String str, int pos); + public native TQRect boundingRect(String arg1, int len); + public native TQRect boundingRect(String arg1); + public native TQRect boundingRect(char arg1); + // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,int arg8,int* arg9,TQTextParag** arg10); >>>> NOT CONVERTED + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops, int[] tabarray); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len, int tabstops); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str, int len); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String str); + // TQSize size(int arg1,const TQString& arg2,int arg3,int arg4,int* arg5,TQTextParag** arg6); >>>> NOT CONVERTED + public native TQSize size(int flags, String str, int len, int tabstops, int[] tabarray); + public native TQSize size(int flags, String str, int len, int tabstops); + public native TQSize size(int flags, String str, int len); + public native TQSize size(int flags, String str); + public native int underlinePos(); + public native int overlinePos(); + public native int strikeOutPos(); + public native int lineWidth(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFrame.java b/qtjava/javalib/org/trinitydesktop/qt/TQFrame.java new file mode 100644 index 00000000..d54d3d19 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFrame.java @@ -0,0 +1,82 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQFrame extends TQWidget { + protected TQFrame(Class dummy){super((Class) null);} + public static final int NoFrame = 0; + public static final int Box = 0x0001; + public static final int Panel = 0x0002; + public static final int WinPanel = 0x0003; + public static final int HLine = 0x0004; + public static final int VLine = 0x0005; + public static final int StyledPanel = 0x0006; + public static final int PopupPanel = 0x0007; + public static final int MenuBarPanel = 0x0008; + public static final int ToolBarPanel = 0x0009; + public static final int LineEditPanel = 0x000a; + public static final int TabWidgetPanel = 0x000b; + public static final int GroupBoxPanel = 0x000c; + public static final int MShape = 0x000f; + + public static final int Plain = 0x0010; + public static final int Raised = 0x0020; + public static final int Sunken = 0x0030; + public static final int MShadow = 0x00f0; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFrame(TQWidget parent, String name, int f) { + super((Class) null); + newTQFrame(parent,name,f); + } + private native void newTQFrame(TQWidget parent, String name, int f); + public TQFrame(TQWidget parent, String name) { + super((Class) null); + newTQFrame(parent,name); + } + private native void newTQFrame(TQWidget parent, String name); + public TQFrame(TQWidget parent) { + super((Class) null); + newTQFrame(parent); + } + private native void newTQFrame(TQWidget parent); + public TQFrame() { + super((Class) null); + newTQFrame(); + } + private native void newTQFrame(); + public native int frameStyle(); + public native void setFrameStyle(int arg1); + public native int frameWidth(); + public native TQRect contentsRect(); + public native boolean lineShapesOk(); + public native TQSize sizeHint(); + public native int frameShape(); + public native void setFrameShape(int arg1); + public native int frameShadow(); + public native void setFrameShadow(int arg1); + public native int lineWidth(); + public native void setLineWidth(int arg1); + public native int margin(); + public native void setMargin(int arg1); + public native int midLineWidth(); + public native void setMidLineWidth(int arg1); + public native TQRect frameRect(); + public native void setFrameRect(TQRect arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawFrame(TQPainter arg1); + protected native void drawContents(TQPainter arg1); + protected native void frameChanged(); + public native void styleChange(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFtp.java b/qtjava/javalib/org/trinitydesktop/qt/TQFtp.java new file mode 100644 index 00000000..17c8c59e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFtp.java @@ -0,0 +1,110 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQFtpSignals} for signals emitted by TQFtp +*/ +public class TQFtp extends TQNetworkProtocol { + protected TQFtp(Class dummy){super((Class) null);} + public static final int Unconnected = 0; + public static final int HostLookup = 1; + public static final int Connecting = 2; + public static final int Connected = 3; + public static final int LoggedIn = 4; + public static final int Closing = 5; + + public static final int NoError = 0; + public static final int UnknownError = 1; + public static final int HostNotFound = 2; + public static final int ConnectionRefused = 3; + public static final int NotConnected = 4; + + public static final int None = 0; + public static final int ConnectToHost = 1; + public static final int Login = 2; + public static final int Close = 3; + public static final int List = 4; + public static final int Cd = 5; + public static final int Get = 6; + public static final int Put = 7; + public static final int Remove = 8; + public static final int Mkdir = 9; + public static final int Rmdir = 10; + public static final int Rename = 11; + public static final int RawCommand = 12; + + public native TQMetaObject metaObject(); + public native String className(); + public TQFtp() { + super((Class) null); + newTQFtp(); + } + private native void newTQFtp(); + public TQFtp(TQObject parent, String name) { + super((Class) null); + newTQFtp(parent,name); + } + private native void newTQFtp(TQObject parent, String name); + public TQFtp(TQObject parent) { + super((Class) null); + newTQFtp(parent); + } + private native void newTQFtp(TQObject parent); + public native int supportedOperations(); + public native int connectToHost(String host, short port); + public native int connectToHost(String host); + public native int login(String user, String password); + public native int login(String user); + public native int login(); + public native int close(); + public native int list(String dir); + public native int list(); + public native int cd(String dir); + public native int get(String file, TQIODeviceInterface dev); + public native int get(String file); + public native int put(byte[] data, String file); + public native int put(TQIODeviceInterface dev, String file); + public native int remove(String file); + public native int mkdir(String dir); + public native int rmdir(String dir); + public native int rename(String oldname, String newname); + public native int rawCommand(String command); + public native long bytesAvailable(); + public native long readBlock(StringBuffer data, long maxlen); + public native byte[] readAll(); + public native int currentId(); + public native TQIODeviceInterface currentDevice(); + public native int currentCommand(); + public native boolean hasPendingCommands(); + public native void clearPendingCommands(); + public native int state(); + public native int error(); + public native String errorString(); + public native void abort(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void parseDir(String buffer, TQUrlInfo info); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void hostFound(); + protected native void connected(); + protected native void closed(); + protected native void dataHostFound(); + protected native void dataConnected(); + protected native void dataClosed(); + protected native void dataReadyRead(); + protected native void dataBytesWritten(int nbytes); + protected native void error(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQFtpSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQFtpSignals.java new file mode 100644 index 00000000..0890657e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQFtpSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQFtpSignals { + void stateChanged(int arg1); + void listInfo(TQUrlInfo arg1); + void readyRead(); + void dataTransferProgress(int arg1, int arg2); + void rawCommandReply(int arg1, String arg2); + void commandStarted(int arg1); + void commandFinished(int arg1, boolean arg2); + void done(boolean arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGL.java b/qtjava/javalib/org/trinitydesktop/qt/TQGL.java new file mode 100644 index 00000000..71164d29 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGL.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGL implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQGL(Class dummy){} + + public static final int DoubleBuffer = 0x0001; + public static final int DepthBuffer = 0x0002; + public static final int Rgba = 0x0004; + public static final int AlphaChannel = 0x0008; + public static final int AccumBuffer = 0x0010; + public static final int StencilBuffer = 0x0020; + public static final int StereoBuffers = 0x0040; + public static final int DirectRendering = 0x0080; + public static final int HasOverlay = 0x0100; + public static final int SingleBuffer = DoubleBuffer<<16; + public static final int NoDepthBuffer = DepthBuffer<<16; + public static final int ColorIndex = Rgba<<16; + public static final int NoAlphaChannel = AlphaChannel<<16; + public static final int NoAccumBuffer = AccumBuffer<<16; + public static final int NoStencilBuffer = StencilBuffer<<16; + public static final int NoStereoBuffers = StereoBuffers<<16; + public static final int IndirectRendering = DirectRendering<<16; + public static final int NoOverlay = HasOverlay<<16; + + public TQGL() { + newTQGL(); + } + private native void newTQGL(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGLColormap.java b/qtjava/javalib/org/trinitydesktop/qt/TQGLColormap.java new file mode 100644 index 00000000..30a878a1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGLColormap.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGLColormap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQGLColormap(Class dummy){} + + public TQGLColormap() { + newTQGLColormap(); + } + private native void newTQGLColormap(); + public TQGLColormap(TQGLColormap arg1) { + newTQGLColormap(arg1); + } + private native void newTQGLColormap(TQGLColormap arg1); + public native boolean isEmpty(); + public native int size(); + public native void detach(); + public native void setEntries(int count, int[] colors, int base); + public native void setEntries(int count, int[] colors); + public native void setEntry(int idx, int color); + public native void setEntry(int idx, TQColor color); + public native int entryRgb(int idx); + public native TQColor entryColor(int idx); + public native int find(int color); + public native int findNearest(int color); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGLContext.java b/qtjava/javalib/org/trinitydesktop/qt/TQGLContext.java new file mode 100644 index 00000000..ca68eae1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGLContext.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGLContext extends TQGL { + protected TQGLContext(Class dummy){super((Class) null);} + public TQGLContext(TQGLFormat format, TQPaintDeviceInterface device) { + super((Class) null); + newTQGLContext(format,device); + } + private native void newTQGLContext(TQGLFormat format, TQPaintDeviceInterface device); + public TQGLContext(TQGLFormat format) { + super((Class) null); + newTQGLContext(format); + } + private native void newTQGLContext(TQGLFormat format); + public native boolean create(TQGLContext shareContext); + public native boolean create(); + public native boolean isValid(); + public native boolean isSharing(); + public native void reset(); + public native TQGLFormat format(); + public native TQGLFormat requestedFormat(); + public native void setFormat(TQGLFormat format); + public native void makeCurrent(); + public native void swapBuffers(); + public native TQPaintDeviceInterface device(); + public native TQColor overlayTransparentColor(); + public static native TQGLContext currentContext(); + protected native boolean chooseContext(TQGLContext shareContext); + protected native boolean chooseContext(); + protected native void doneCurrent(); + protected native boolean deviceIsPixmap(); + protected native boolean windowCreated(); + protected native void setWindowCreated(boolean on); + protected native boolean initialized(); + protected native void setInitialized(boolean on); + protected native void generateFontDisplayLists(TQFont fnt, int listBase); + protected native int colorIndex(TQColor c); + protected native void setValid(boolean valid); + protected native void setDevice(TQPaintDeviceInterface pDev); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGLFormat.java b/qtjava/javalib/org/trinitydesktop/qt/TQGLFormat.java new file mode 100644 index 00000000..c486a14d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGLFormat.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGLFormat extends TQGL { + protected TQGLFormat(Class dummy){super((Class) null);} + public TQGLFormat() { + super((Class) null); + newTQGLFormat(); + } + private native void newTQGLFormat(); + public TQGLFormat(int options, int plane) { + super((Class) null); + newTQGLFormat(options,plane); + } + private native void newTQGLFormat(int options, int plane); + public TQGLFormat(int options) { + super((Class) null); + newTQGLFormat(options); + } + private native void newTQGLFormat(int options); + public native boolean doubleBuffer(); + public native void setDoubleBuffer(boolean enable); + public native boolean depth(); + public native void setDepth(boolean enable); + public native boolean rgba(); + public native void setRgba(boolean enable); + public native boolean alpha(); + public native void setAlpha(boolean enable); + public native boolean accum(); + public native void setAccum(boolean enable); + public native boolean stencil(); + public native void setStencil(boolean enable); + public native boolean stereo(); + public native void setStereo(boolean enable); + public native boolean directRendering(); + public native void setDirectRendering(boolean enable); + public native boolean hasOverlay(); + public native void setOverlay(boolean enable); + public native int plane(); + public native void setPlane(int plane); + public native void setOption(int opt); + public native boolean testOption(int opt); + public static native TQGLFormat defaultFormat(); + public static native void setDefaultFormat(TQGLFormat f); + public static native TQGLFormat defaultOverlayFormat(); + public static native void setDefaultOverlayFormat(TQGLFormat f); + public static native boolean hasOpenGL(); + public static native boolean hasOpenGLOverlays(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGLWidget.java b/qtjava/javalib/org/trinitydesktop/qt/TQGLWidget.java new file mode 100644 index 00000000..5b9033de --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGLWidget.java @@ -0,0 +1,136 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGLWidget extends TQGL { + protected TQGLWidget(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(parent,name,shareWidget); + } + private native void newTQGLWidget(TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(parent,name); + } + private native void newTQGLWidget(TQWidget parent, String name); + public TQGLWidget(TQWidget parent) { + super((Class) null); + newTQGLWidget(parent); + } + private native void newTQGLWidget(TQWidget parent); + public TQGLWidget() { + super((Class) null); + newTQGLWidget(); + } + private native void newTQGLWidget(); + public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(context,parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(context,parent,name,shareWidget); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLContext context, TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(context,parent,name); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent, String name); + public TQGLWidget(TQGLContext context, TQWidget parent) { + super((Class) null); + newTQGLWidget(context,parent); + } + private native void newTQGLWidget(TQGLContext context, TQWidget parent); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f) { + super((Class) null); + newTQGLWidget(format,parent,name,shareWidget,f); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget, int f); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget) { + super((Class) null); + newTQGLWidget(format,parent,name,shareWidget); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name, TQGLWidget shareWidget); + public TQGLWidget(TQGLFormat format, TQWidget parent, String name) { + super((Class) null); + newTQGLWidget(format,parent,name); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent, String name); + public TQGLWidget(TQGLFormat format, TQWidget parent) { + super((Class) null); + newTQGLWidget(format,parent); + } + private native void newTQGLWidget(TQGLFormat format, TQWidget parent); + public TQGLWidget(TQGLFormat format) { + super((Class) null); + newTQGLWidget(format); + } + private native void newTQGLWidget(TQGLFormat format); + public native void qglColor(TQColor c); + public native void qglClearColor(TQColor c); + public native boolean isValid(); + public native boolean isSharing(); + public native void makeCurrent(); + public native void doneCurrent(); + public native boolean doubleBuffer(); + public native void swapBuffers(); + public native TQGLFormat format(); + public native void setFormat(TQGLFormat format); + public native TQGLContext context(); + public native void setContext(TQGLContext context, TQGLContext shareContext, boolean deleteOldContext); + public native void setContext(TQGLContext context, TQGLContext shareContext); + public native void setContext(TQGLContext context); + public native TQPixmap renderPixmap(int w, int h, boolean useContext); + public native TQPixmap renderPixmap(int w, int h); + public native TQPixmap renderPixmap(int w); + public native TQPixmap renderPixmap(); + public native TQImage grabFrameBuffer(boolean withAlpha); + public native TQImage grabFrameBuffer(); + public native void makeOverlayCurrent(); + public native TQGLContext overlayContext(); + public native void setMouseTracking(boolean enable); + public native void reparent(TQWidget parent, int f, TQPoint p, boolean showIt); + public native void reparent(TQWidget parent, int f, TQPoint p); + public native TQGLColormap colormap(); + public native void setColormap(TQGLColormap map); + public native void renderText(int x, int y, String str, TQFont fnt, int listBase); + public native void renderText(int x, int y, String str, TQFont fnt); + public native void renderText(int x, int y, String str); + public native void renderText(double x, double y, double z, String str, TQFont fnt, int listBase); + public native void renderText(double x, double y, double z, String str, TQFont fnt); + public native void renderText(double x, double y, double z, String str); + public native void updateGL(); + public native void updateOverlayGL(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQImage convertToGLFormat(TQImage img); + protected native void initializeGL(); + protected native void resizeGL(int w, int h); + protected native void paintGL(); + protected native void initializeOverlayGL(); + protected native void resizeOverlayGL(int w, int h); + protected native void paintOverlayGL(); + protected native void setAutoBufferSwap(boolean on); + protected native boolean autoBufferSwap(); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void glInit(); + protected native void glDraw(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGb18030Codec.java b/qtjava/javalib/org/trinitydesktop/qt/TQGb18030Codec.java new file mode 100644 index 00000000..c2fed392 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGb18030Codec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGb18030Codec extends TQTextCodec { + protected TQGb18030Codec(Class dummy){super((Class) null);} + public TQGb18030Codec() { + super((Class) null); + newTQGb18030Codec(); + } + private native void newTQGb18030Codec(); + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGbkCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQGbkCodec.java new file mode 100644 index 00000000..84f1b920 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGbkCodec.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGbkCodec extends TQGb18030Codec { + protected TQGbkCodec(Class dummy){super((Class) null);} + public TQGbkCodec() { + super((Class) null); + newTQGbkCodec(); + } + private native void newTQGbkCodec(); + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGrid.java b/qtjava/javalib/org/trinitydesktop/qt/TQGrid.java new file mode 100644 index 00000000..97c2d2ab --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGrid.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGrid extends TQFrame { + protected TQGrid(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGrid(int n, TQWidget parent, String name, int f) { + super((Class) null); + newTQGrid(n,parent,name,f); + } + private native void newTQGrid(int n, TQWidget parent, String name, int f); + public TQGrid(int n, TQWidget parent, String name) { + super((Class) null); + newTQGrid(n,parent,name); + } + private native void newTQGrid(int n, TQWidget parent, String name); + public TQGrid(int n, TQWidget parent) { + super((Class) null); + newTQGrid(n,parent); + } + private native void newTQGrid(int n, TQWidget parent); + public TQGrid(int n) { + super((Class) null); + newTQGrid(n); + } + private native void newTQGrid(int n); + public TQGrid(int n, int orient, TQWidget parent, String name, int f) { + super((Class) null); + newTQGrid(n,orient,parent,name,f); + } + private native void newTQGrid(int n, int orient, TQWidget parent, String name, int f); + public TQGrid(int n, int orient, TQWidget parent, String name) { + super((Class) null); + newTQGrid(n,orient,parent,name); + } + private native void newTQGrid(int n, int orient, TQWidget parent, String name); + public TQGrid(int n, int orient, TQWidget parent) { + super((Class) null); + newTQGrid(n,orient,parent); + } + private native void newTQGrid(int n, int orient, TQWidget parent); + public TQGrid(int n, int orient) { + super((Class) null); + newTQGrid(n,orient); + } + private native void newTQGrid(int n, int orient); + public native void setSpacing(int arg1); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void frameChanged(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGridLayout.java b/qtjava/javalib/org/trinitydesktop/qt/TQGridLayout.java new file mode 100644 index 00000000..b328687d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGridLayout.java @@ -0,0 +1,142 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGridLayout extends TQLayout { + protected TQGridLayout(Class dummy){super((Class) null);} + public static final int TopLeft = 0; + public static final int TopRight = 1; + public static final int BottomLeft = 2; + public static final int BottomRight = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border,spacing,name); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing, String name); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border,spacing); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border, int spacing); + public TQGridLayout(TQWidget parent, int nRows, int nCols, int border) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols,border); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols, int border); + public TQGridLayout(TQWidget parent, int nRows, int nCols) { + super((Class) null); + newTQGridLayout(parent,nRows,nCols); + } + private native void newTQGridLayout(TQWidget parent, int nRows, int nCols); + public TQGridLayout(TQWidget parent, int nRows) { + super((Class) null); + newTQGridLayout(parent,nRows); + } + private native void newTQGridLayout(TQWidget parent, int nRows); + public TQGridLayout(TQWidget parent) { + super((Class) null); + newTQGridLayout(parent); + } + private native void newTQGridLayout(TQWidget parent); + public TQGridLayout(int nRows, int nCols, int spacing, String name) { + super((Class) null); + newTQGridLayout(nRows,nCols,spacing,name); + } + private native void newTQGridLayout(int nRows, int nCols, int spacing, String name); + public TQGridLayout(int nRows, int nCols, int spacing) { + super((Class) null); + newTQGridLayout(nRows,nCols,spacing); + } + private native void newTQGridLayout(int nRows, int nCols, int spacing); + public TQGridLayout(int nRows, int nCols) { + super((Class) null); + newTQGridLayout(nRows,nCols); + } + private native void newTQGridLayout(int nRows, int nCols); + public TQGridLayout(int nRows) { + super((Class) null); + newTQGridLayout(nRows); + } + private native void newTQGridLayout(int nRows); + public TQGridLayout() { + super((Class) null); + newTQGridLayout(); + } + private native void newTQGridLayout(); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols,spacing,name); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing, String name); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols,spacing); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols, int spacing); + public TQGridLayout(TQLayout parentLayout, int nRows, int nCols) { + super((Class) null); + newTQGridLayout(parentLayout,nRows,nCols); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows, int nCols); + public TQGridLayout(TQLayout parentLayout, int nRows) { + super((Class) null); + newTQGridLayout(parentLayout,nRows); + } + private native void newTQGridLayout(TQLayout parentLayout, int nRows); + public TQGridLayout(TQLayout parentLayout) { + super((Class) null); + newTQGridLayout(parentLayout); + } + private native void newTQGridLayout(TQLayout parentLayout); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native void setRowStretch(int row, int stretch); + public native void setColStretch(int col, int stretch); + public native int rowStretch(int row); + public native int colStretch(int col); + public native void setRowSpacing(int row, int minSize); + public native void setColSpacing(int col, int minSize); + public native int rowSpacing(int row); + public native int colSpacing(int col); + public native int numRows(); + public native int numCols(); + public native TQRect cellGeometry(int row, int col); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native int minimumHeightForWidth(int arg1); + public native int expanding(); + public native void invalidate(); + public native void addItem(TQLayoutItemInterface arg1); + public native void addItem(TQLayoutItemInterface item, int row, int col); + public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCell(TQLayoutItemInterface arg1, int fromRow, int toRow, int fromCol, int toCol); + public native void addWidget(TQWidget arg1, int row, int col, int align); + public native void addWidget(TQWidget arg1, int row, int col); + public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCellWidget(TQWidget arg1, int fromRow, int toRow, int fromCol, int toCol); + public native void addLayout(TQLayout layout, int row, int col); + public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol, int align); + public native void addMultiCellLayout(TQLayout layout, int fromRow, int toRow, int fromCol, int toCol); + public native void addRowSpacing(int row, int minsize); + public native void addColSpacing(int col, int minsize); + public native void expand(int rows, int cols); + public native void setOrigin(int arg1); + public native int origin(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native void setGeometry(TQRect arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean findWidget(TQWidget w, int[] r, int[] c); + protected native void add(TQLayoutItemInterface arg1, int row, int col); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGridView.java b/qtjava/javalib/org/trinitydesktop/qt/TQGridView.java new file mode 100644 index 00000000..1233cc38 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGridView.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQGridView extends TQScrollView { + protected TQGridView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native int numRows(); + public native void setNumRows(int arg1); + public native int numCols(); + public native void setNumCols(int arg1); + public native int cellWidth(); + public native void setCellWidth(int arg1); + public native int cellHeight(); + public native void setCellHeight(int arg1); + public native TQRect cellRect(); + public native TQRect cellGeometry(int row, int column); + public native TQSize gridSize(); + public native int rowAt(int y); + public native int columnAt(int x); + public native void repaintCell(int row, int column, boolean erase); + public native void repaintCell(int row, int column); + public native void updateCell(int row, int column); + public native void ensureCellVisible(int row, int column); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGroupBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQGroupBox.java new file mode 100644 index 00000000..dc293f4c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGroupBox.java @@ -0,0 +1,109 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQGroupBoxSignals} for signals emitted by TQGroupBox +*/ +public class TQGroupBox extends TQFrame { + protected TQGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(parent,name); + } + private native void newTQGroupBox(TQWidget parent, String name); + public TQGroupBox(TQWidget parent) { + super((Class) null); + newTQGroupBox(parent); + } + private native void newTQGroupBox(TQWidget parent); + public TQGroupBox() { + super((Class) null); + newTQGroupBox(); + } + private native void newTQGroupBox(); + public TQGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(title,parent,name); + } + private native void newTQGroupBox(String title, TQWidget parent, String name); + public TQGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQGroupBox(title,parent); + } + private native void newTQGroupBox(String title, TQWidget parent); + public TQGroupBox(String title) { + super((Class) null); + newTQGroupBox(title); + } + private native void newTQGroupBox(String title); + public TQGroupBox(int strips, int o, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(strips,o,parent,name); + } + private native void newTQGroupBox(int strips, int o, TQWidget parent, String name); + public TQGroupBox(int strips, int o, TQWidget parent) { + super((Class) null); + newTQGroupBox(strips,o,parent); + } + private native void newTQGroupBox(int strips, int o, TQWidget parent); + public TQGroupBox(int strips, int o) { + super((Class) null); + newTQGroupBox(strips,o); + } + private native void newTQGroupBox(int strips, int o); + public TQGroupBox(int strips, int o, String title, TQWidget parent, String name) { + super((Class) null); + newTQGroupBox(strips,o,title,parent,name); + } + private native void newTQGroupBox(int strips, int o, String title, TQWidget parent, String name); + public TQGroupBox(int strips, int o, String title, TQWidget parent) { + super((Class) null); + newTQGroupBox(strips,o,title,parent); + } + private native void newTQGroupBox(int strips, int o, String title, TQWidget parent); + public TQGroupBox(int strips, int o, String title) { + super((Class) null); + newTQGroupBox(strips,o,title); + } + private native void newTQGroupBox(int strips, int o, String title); + public native void setColumnLayout(int strips, int o); + public native String title(); + public native void setTitle(String arg1); + public native int alignment(); + public native void setAlignment(int arg1); + public native int columns(); + public native void setColumns(int arg1); + public native int orientation(); + public native void setOrientation(int arg1); + public native int insideMargin(); + public native int insideSpacing(); + public native void setInsideMargin(int m); + public native void setInsideSpacing(int s); + public native void addSpace(int arg1); + public native TQSize sizeHint(); + public native boolean isFlat(); + public native void setFlat(boolean b); + public native boolean isCheckable(); + public native void setCheckable(boolean b); + public native boolean isChecked(); + public native void setEnabled(boolean on); + public native void setChecked(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void fontChange(TQFont arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQGroupBoxSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQGroupBoxSignals.java new file mode 100644 index 00000000..260187f6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQGroupBoxSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQGroupBoxSignals { + void toggled(boolean arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQHBox.java new file mode 100644 index 00000000..48ab01a3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHBox.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHBox extends TQFrame { + protected TQHBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQHBox(parent,name,f); + } + private native void newTQHBox(TQWidget parent, String name, int f); + public TQHBox(TQWidget parent, String name) { + super((Class) null); + newTQHBox(parent,name); + } + private native void newTQHBox(TQWidget parent, String name); + public TQHBox(TQWidget parent) { + super((Class) null); + newTQHBox(parent); + } + private native void newTQHBox(TQWidget parent); + public TQHBox() { + super((Class) null); + newTQHBox(); + } + private native void newTQHBox(); + public native void setSpacing(int arg1); + public native boolean setStretchFactor(TQWidget arg1, int stretch); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public TQHBox(boolean horizontal, TQWidget parent, String name, int f) { + super((Class) null); + newTQHBox(horizontal,parent,name,f); + } + private native void newTQHBox(boolean horizontal, TQWidget parent, String name, int f); + public TQHBox(boolean horizontal, TQWidget parent, String name) { + super((Class) null); + newTQHBox(horizontal,parent,name); + } + private native void newTQHBox(boolean horizontal, TQWidget parent, String name); + protected native void frameChanged(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHBoxLayout.java b/qtjava/javalib/org/trinitydesktop/qt/TQHBoxLayout.java new file mode 100644 index 00000000..e8419b68 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHBoxLayout.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHBoxLayout extends TQBoxLayout { + protected TQHBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHBoxLayout(TQWidget parent, int border, int spacing, String name) { + super((Class) null); + newTQHBoxLayout(parent,border,spacing,name); + } + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQHBoxLayout(TQWidget parent, int border, int spacing) { + super((Class) null); + newTQHBoxLayout(parent,border,spacing); + } + private native void newTQHBoxLayout(TQWidget parent, int border, int spacing); + public TQHBoxLayout(TQWidget parent, int border) { + super((Class) null); + newTQHBoxLayout(parent,border); + } + private native void newTQHBoxLayout(TQWidget parent, int border); + public TQHBoxLayout(TQWidget parent) { + super((Class) null); + newTQHBoxLayout(parent); + } + private native void newTQHBoxLayout(TQWidget parent); + public TQHBoxLayout(TQLayout parentLayout, int spacing, String name) { + super((Class) null); + newTQHBoxLayout(parentLayout,spacing,name); + } + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQHBoxLayout(TQLayout parentLayout, int spacing) { + super((Class) null); + newTQHBoxLayout(parentLayout,spacing); + } + private native void newTQHBoxLayout(TQLayout parentLayout, int spacing); + public TQHBoxLayout(TQLayout parentLayout) { + super((Class) null); + newTQHBoxLayout(parentLayout); + } + private native void newTQHBoxLayout(TQLayout parentLayout); + public TQHBoxLayout(int spacing, String name) { + super((Class) null); + newTQHBoxLayout(spacing,name); + } + private native void newTQHBoxLayout(int spacing, String name); + public TQHBoxLayout(int spacing) { + super((Class) null); + newTQHBoxLayout(spacing); + } + private native void newTQHBoxLayout(int spacing); + public TQHBoxLayout() { + super((Class) null); + newTQHBoxLayout(); + } + private native void newTQHBoxLayout(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHButtonGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQHButtonGroup.java new file mode 100644 index 00000000..67693796 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHButtonGroup.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHButtonGroup extends TQButtonGroup { + protected TQHButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQHButtonGroup(parent,name); + } + private native void newTQHButtonGroup(TQWidget parent, String name); + public TQHButtonGroup(TQWidget parent) { + super((Class) null); + newTQHButtonGroup(parent); + } + private native void newTQHButtonGroup(TQWidget parent); + public TQHButtonGroup() { + super((Class) null); + newTQHButtonGroup(); + } + private native void newTQHButtonGroup(); + public TQHButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQHButtonGroup(title,parent,name); + } + private native void newTQHButtonGroup(String title, TQWidget parent, String name); + public TQHButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQHButtonGroup(title,parent); + } + private native void newTQHButtonGroup(String title, TQWidget parent); + public TQHButtonGroup(String title) { + super((Class) null); + newTQHButtonGroup(title); + } + private native void newTQHButtonGroup(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHGroupBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQHGroupBox.java new file mode 100644 index 00000000..cb617bb9 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHGroupBox.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHGroupBox extends TQGroupBox { + protected TQHGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQHGroupBox(parent,name); + } + private native void newTQHGroupBox(TQWidget parent, String name); + public TQHGroupBox(TQWidget parent) { + super((Class) null); + newTQHGroupBox(parent); + } + private native void newTQHGroupBox(TQWidget parent); + public TQHGroupBox() { + super((Class) null); + newTQHGroupBox(); + } + private native void newTQHGroupBox(); + public TQHGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQHGroupBox(title,parent,name); + } + private native void newTQHGroupBox(String title, TQWidget parent, String name); + public TQHGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQHGroupBox(title,parent); + } + private native void newTQHGroupBox(String title, TQWidget parent); + public TQHGroupBox(String title) { + super((Class) null); + newTQHGroupBox(title); + } + private native void newTQHGroupBox(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHeader.java b/qtjava/javalib/org/trinitydesktop/qt/TQHeader.java new file mode 100644 index 00000000..36ca200b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHeader.java @@ -0,0 +1,120 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQHeaderSignals} for signals emitted by TQHeader +*/ +public class TQHeader extends TQWidget { + protected TQHeader(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQHeader(TQWidget parent, String name) { + super((Class) null); + newTQHeader(parent,name); + } + private native void newTQHeader(TQWidget parent, String name); + public TQHeader(TQWidget parent) { + super((Class) null); + newTQHeader(parent); + } + private native void newTQHeader(TQWidget parent); + public TQHeader() { + super((Class) null); + newTQHeader(); + } + private native void newTQHeader(); + public TQHeader(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQHeader(arg1,parent,name); + } + private native void newTQHeader(int arg1, TQWidget parent, String name); + public TQHeader(int arg1, TQWidget parent) { + super((Class) null); + newTQHeader(arg1,parent); + } + private native void newTQHeader(int arg1, TQWidget parent); + public TQHeader(int arg1) { + super((Class) null); + newTQHeader(arg1); + } + private native void newTQHeader(int arg1); + public native int addLabel(String arg1, int size); + public native int addLabel(String arg1); + public native int addLabel(TQIconSet arg1, String arg2, int size); + public native int addLabel(TQIconSet arg1, String arg2); + public native void removeLabel(int section); + public native void setLabel(int arg1, String arg2, int size); + public native void setLabel(int arg1, String arg2); + public native void setLabel(int arg1, TQIconSet arg2, String arg3, int size); + public native void setLabel(int arg1, TQIconSet arg2, String arg3); + public native String label(int section); + public native TQIconSet iconSet(int section); + public native void setOrientation(int arg1); + public native int orientation(); + public native void setTracking(boolean enable); + public native boolean tracking(); + public native void setClickEnabled(boolean arg1, int section); + public native void setClickEnabled(boolean arg1); + public native void setResizeEnabled(boolean arg1, int section); + public native void setResizeEnabled(boolean arg1); + public native void setMovingEnabled(boolean arg1); + public native void setStretchEnabled(boolean b, int section); + public native void setStretchEnabled(boolean b); + public native boolean isClickEnabled(int section); + public native boolean isClickEnabled(); + public native boolean isResizeEnabled(int section); + public native boolean isResizeEnabled(); + public native boolean isMovingEnabled(); + public native boolean isStretchEnabled(); + public native boolean isStretchEnabled(int section); + public native void resizeSection(int section, int s); + public native int sectionSize(int section); + public native int sectionPos(int section); + public native int sectionAt(int pos); + public native int count(); + public native int headerWidth(); + public native TQRect sectionRect(int section); + public native void setCellSize(int arg1, int arg2); + public native int cellSize(int i); + public native int cellPos(int arg1); + public native int cellAt(int pos); + public native int offset(); + public native TQSize sizeHint(); + public native int mapToSection(int index); + public native int mapToIndex(int section); + public native int mapToLogical(int arg1); + public native int mapToActual(int arg1); + public native void moveSection(int section, int toIndex); + public native void moveCell(int arg1, int arg2); + public native void setSortIndicator(int section, boolean ascending); + public native void setSortIndicator(int section); + public native void setSortIndicator(int section, int order); + public native int sortIndicatorSection(); + public native int sortIndicatorOrder(); + public native void adjustHeaderSize(); + public native void setUpdatesEnabled(boolean enable); + public native void setOffset(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + public native void showEvent(TQShowEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native TQRect sRect(int index); + protected native void paintSection(TQPainter p, int index, TQRect fr); + protected native void paintSectionLabel(TQPainter p, int index, TQRect fr); + protected native void fontChange(TQFont arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(TQKeyEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHeaderSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQHeaderSignals.java new file mode 100644 index 00000000..1b8f6384 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHeaderSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQHeaderSignals { + void clicked(int section); + void pressed(int section); + void released(int section); + void sizeChange(int section, int oldSize, int newSize); + void indexChange(int section, int fromIndex, int toIndex); + void sectionClicked(int arg1); + void moved(int arg1, int arg2); + void sectionHandleDoubleClicked(int section); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHebrewCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQHebrewCodec.java new file mode 100644 index 00000000..66bc0710 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHebrewCodec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHebrewCodec extends TQTextCodec { + protected TQHebrewCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public TQHebrewCodec() { + super((Class) null); + newTQHebrewCodec(); + } + private native void newTQHebrewCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHideEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQHideEvent.java new file mode 100644 index 00000000..3c472893 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHideEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHideEvent extends TQEvent { + protected TQHideEvent(Class dummy){super((Class) null);} + public TQHideEvent() { + super((Class) null); + newTQHideEvent(); + } + private native void newTQHideEvent(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHostAddress.java b/qtjava/javalib/org/trinitydesktop/qt/TQHostAddress.java new file mode 100644 index 00000000..4b68f9c3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHostAddress.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHostAddress implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQHostAddress(Class dummy){} + + public TQHostAddress() { + newTQHostAddress(); + } + private native void newTQHostAddress(); + public TQHostAddress(int ip4Addr) { + newTQHostAddress(ip4Addr); + } + private native void newTQHostAddress(int ip4Addr); + public TQHostAddress(short ip6Addr) { + newTQHostAddress(ip6Addr); + } + private native void newTQHostAddress(short ip6Addr); + // TQHostAddress* TQHostAddress(const Q_IPV6ADDR& arg1); >>>> NOT CONVERTED + public TQHostAddress(String address) { + newTQHostAddress(address); + } + private native void newTQHostAddress(String address); + public TQHostAddress(TQHostAddress arg1) { + newTQHostAddress(arg1); + } + private native void newTQHostAddress(TQHostAddress arg1); + public native void setAddress(int ip4Addr); + public native void setAddress(short ip6Addr); + public native boolean setAddress(String address); + public native boolean isIp4Addr(); + public native int ip4Addr(); + public native boolean isIPv4Address(); + public native int toIPv4Address(); + public native boolean isIPv6Address(); + // Q_IPV6ADDR toIPv6Address(); >>>> NOT CONVERTED + public native String toString(); + public native boolean op_equals(TQHostAddress arg1); + public native boolean isNull(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHttp.java b/qtjava/javalib/org/trinitydesktop/qt/TQHttp.java new file mode 100644 index 00000000..43169445 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHttp.java @@ -0,0 +1,105 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQHttpSignals} for signals emitted by TQHttp +*/ +public class TQHttp extends TQNetworkProtocol { + protected TQHttp(Class dummy){super((Class) null);} + public static final int Unconnected = 0; + public static final int HostLookup = 1; + public static final int Connecting = 2; + public static final int Sending = 3; + public static final int Reading = 4; + public static final int Connected = 5; + public static final int Closing = 6; + + public static final int NoError = 0; + public static final int UnknownError = 1; + public static final int HostNotFound = 2; + public static final int ConnectionRefused = 3; + public static final int UnexpectedClose = 4; + public static final int InvalidResponseHeader = 5; + public static final int WrongContentLength = 6; + public static final int Aborted = 7; + + public native TQMetaObject metaObject(); + public native String className(); + public TQHttp() { + super((Class) null); + newTQHttp(); + } + private native void newTQHttp(); + public TQHttp(TQObject parent, String name) { + super((Class) null); + newTQHttp(parent,name); + } + private native void newTQHttp(TQObject parent, String name); + public TQHttp(TQObject parent) { + super((Class) null); + newTQHttp(parent); + } + private native void newTQHttp(TQObject parent); + public TQHttp(String hostname, short port, TQObject parent, String name) { + super((Class) null); + newTQHttp(hostname,port,parent,name); + } + private native void newTQHttp(String hostname, short port, TQObject parent, String name); + public TQHttp(String hostname, short port, TQObject parent) { + super((Class) null); + newTQHttp(hostname,port,parent); + } + private native void newTQHttp(String hostname, short port, TQObject parent); + public TQHttp(String hostname, short port) { + super((Class) null); + newTQHttp(hostname,port); + } + private native void newTQHttp(String hostname, short port); + public TQHttp(String hostname) { + super((Class) null); + newTQHttp(hostname); + } + private native void newTQHttp(String hostname); + public native int supportedOperations(); + public native int setHost(String hostname, short port); + public native int setHost(String hostname); + public native int get(String path, TQIODeviceInterface to); + public native int get(String path); + public native int post(String path, TQIODeviceInterface data, TQIODeviceInterface to); + public native int post(String path, TQIODeviceInterface data); + public native int post(String path, byte[] data, TQIODeviceInterface to); + public native int post(String path, byte[] data); + public native int head(String path); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, TQIODeviceInterface device); + public native int request(TQHttpRequestHeader header); + public native int request(TQHttpRequestHeader header, byte[] data, TQIODeviceInterface to); + public native int request(TQHttpRequestHeader header, byte[] data); + public native int closeConnection(); + public native long bytesAvailable(); + public native long readBlock(StringBuffer data, long maxlen); + public native byte[] readAll(); + public native int currentId(); + public native TQIODeviceInterface currentSourceDevice(); + public native TQIODeviceInterface currentDestinationDevice(); + public native TQHttpRequestHeader currentRequest(); + public native boolean hasPendingRequests(); + public native void clearPendingRequests(); + public native int state(); + public native int error(); + public native String errorString(); + public native void abort(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void timerEvent(TQTimerEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHttpHeader.java b/qtjava/javalib/org/trinitydesktop/qt/TQHttpHeader.java new file mode 100644 index 00000000..ad334ef6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHttpHeader.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQHttpHeader implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQHttpHeader(Class dummy){} + + public native String value(String key); + public native void setValue(String key, String value); + public native void removeValue(String key); + public native ArrayList keys(); + public native boolean hasKey(String key); + public native boolean hasContentLength(); + public native int contentLength(); + public native void setContentLength(int len); + public native boolean hasContentType(); + public native String contentType(); + public native void setContentType(String type); + public native String toString(); + public native boolean isValid(); + public native int majorVersion(); + public native int minorVersion(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHttpRequestHeader.java b/qtjava/javalib/org/trinitydesktop/qt/TQHttpRequestHeader.java new file mode 100644 index 00000000..4722bc54 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHttpRequestHeader.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHttpRequestHeader extends TQHttpHeader { + protected TQHttpRequestHeader(Class dummy){super((Class) null);} + public TQHttpRequestHeader() { + super((Class) null); + newTQHttpRequestHeader(); + } + private native void newTQHttpRequestHeader(); + public TQHttpRequestHeader(String method, String path, int majorVer, int minorVer) { + super((Class) null); + newTQHttpRequestHeader(method,path,majorVer,minorVer); + } + private native void newTQHttpRequestHeader(String method, String path, int majorVer, int minorVer); + public TQHttpRequestHeader(String method, String path, int majorVer) { + super((Class) null); + newTQHttpRequestHeader(method,path,majorVer); + } + private native void newTQHttpRequestHeader(String method, String path, int majorVer); + public TQHttpRequestHeader(String method, String path) { + super((Class) null); + newTQHttpRequestHeader(method,path); + } + private native void newTQHttpRequestHeader(String method, String path); + public TQHttpRequestHeader(TQHttpRequestHeader header) { + super((Class) null); + newTQHttpRequestHeader(header); + } + private native void newTQHttpRequestHeader(TQHttpRequestHeader header); + public TQHttpRequestHeader(String str) { + super((Class) null); + newTQHttpRequestHeader(str); + } + private native void newTQHttpRequestHeader(String str); + public native void setRequest(String method, String path, int majorVer, int minorVer); + public native void setRequest(String method, String path, int majorVer); + public native void setRequest(String method, String path); + public native String method(); + public native String path(); + public native int majorVersion(); + public native int minorVersion(); + public native String toString(); + protected native boolean parseLine(String line, int number); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHttpResponseHeader.java b/qtjava/javalib/org/trinitydesktop/qt/TQHttpResponseHeader.java new file mode 100644 index 00000000..860e7f9b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHttpResponseHeader.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQHttpResponseHeader extends TQHttpHeader { + protected TQHttpResponseHeader(Class dummy){super((Class) null);} + public TQHttpResponseHeader() { + super((Class) null); + newTQHttpResponseHeader(); + } + private native void newTQHttpResponseHeader(); + public TQHttpResponseHeader(TQHttpResponseHeader header) { + super((Class) null); + newTQHttpResponseHeader(header); + } + private native void newTQHttpResponseHeader(TQHttpResponseHeader header); + public native int statusCode(); + public native String reasonPhrase(); + public native int majorVersion(); + public native int minorVersion(); + public native String toString(); + protected native boolean parseLine(String line, int number); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQHttpSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQHttpSignals.java new file mode 100644 index 00000000..92260be7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQHttpSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQHttpSignals { + void stateChanged(int arg1); + void responseHeaderReceived(TQHttpResponseHeader resp); + void readyRead(TQHttpResponseHeader resp); + void dataSendProgress(int arg1, int arg2); + void dataReadProgress(int arg1, int arg2); + void requestStarted(int arg1); + void requestFinished(int arg1, boolean arg2); + void done(boolean arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIMEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQIMEvent.java new file mode 100644 index 00000000..ff4fee6d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIMEvent.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIMEvent extends TQEvent { + protected TQIMEvent(Class dummy){super((Class) null);} + public TQIMEvent(int type, String text, int cursorPosition) { + super((Class) null); + newTQIMEvent(type,text,cursorPosition); + } + private native void newTQIMEvent(int type, String text, int cursorPosition); + public native String text(); + public native int cursorPos(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + public native int selectionLength(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIODevice.java b/qtjava/javalib/org/trinitydesktop/qt/TQIODevice.java new file mode 100644 index 00000000..c1adcc58 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIODevice.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIODevice implements QtSupport, TQIODeviceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIODevice(Class dummy){} + + public native int flags(); + public native int mode(); + public native int state(); + public native boolean isDirectAccess(); + public native boolean isSequentialAccess(); + public native boolean isCombinedAccess(); + public native boolean isBuffered(); + public native boolean isRaw(); + public native boolean isSynchronous(); + public native boolean isAsynchronous(); + public native boolean isTranslated(); + public native boolean isReadable(); + public native boolean isWritable(); + public native boolean isReadWrite(); + public native boolean isInactive(); + public native boolean isOpen(); + public native int status(); + public native void resetStatus(); + public native boolean open(int mode); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native boolean atEnd(); + public native boolean reset(); + public native long readBlock(StringBuffer data, long maxlen); + public native long writeBlock(String data, long len); + public native long readLine(String data, long maxlen); + public native long writeBlock(byte[] data); + public native byte[] readAll(); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + public static final int IO_Direct = 0x0100; // direct access device + public static final int IO_Sequential = 0x0200; // sequential access device + public static final int IO_Combined = 0x0300; // combined direct/sequential + public static final int IO_TypeMask = 0x0f00; + +// IO handling modes + + public static final int IO_Raw = 0x0040; // raw access (not buffered) + public static final int IO_Async = 0x0080; // asynchronous mode + +// IO device open modes + + public static final int IO_ReadOnly = 0x0001; // readable device + public static final int IO_WriteOnly = 0x0002; // writable device + public static final int IO_ReadWrite = 0x0003; // read+write device + public static final int IO_Append = 0x0004; // append + public static final int IO_Truncate = 0x0008; // truncate device + public static final int IO_Translate = 0x0010; // translate CR+LF + public static final int IO_ModeMask = 0x00ff; + +// IO device state + + public static final int IO_Open = 0x1000; // device is open + public static final int IO_StateMask = 0xf000; + + +// IO device status + + public static final int IO_Ok = 0; + public static final int IO_ReadError = 1; // read error + public static final int IO_WriteError = 2; // write error + public static final int IO_FatalError = 3; // fatal unrecoverable error + public static final int IO_ResourceError = 4; // resource limitation + public static final int IO_OpenError = 5; // cannot open device + public static final int IO_ConnectError = 5; // cannot connect to device + public static final int IO_AbortError = 6; // abort error + public static final int IO_TimeOutError = 7; // time out + public static final int IO_UnspecifiedError = 8; // unspecified error + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceInterface.java new file mode 100644 index 00000000..77771ff3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceInterface.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQIODeviceInterface { + int flags(); + int mode(); + int state(); + boolean isDirectAccess(); + boolean isSequentialAccess(); + boolean isCombinedAccess(); + boolean isBuffered(); + boolean isRaw(); + boolean isSynchronous(); + boolean isAsynchronous(); + boolean isTranslated(); + boolean isReadable(); + boolean isWritable(); + boolean isReadWrite(); + boolean isInactive(); + boolean isOpen(); + int status(); + void resetStatus(); + boolean open(int mode); + void close(); + void flush(); + long size(); + long at(); + boolean at(long arg1); + boolean atEnd(); + boolean reset(); + long readBlock(StringBuffer data, long maxlen); + long writeBlock(String data, long len); + long readLine(String data, long maxlen); + long writeBlock(byte[] data); + byte[] readAll(); + int getch(); + int putch(int arg1); + int ungetch(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceSource.java b/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceSource.java new file mode 100644 index 00000000..9108202f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIODeviceSource.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIODeviceSource extends TQDataSource { + protected TQIODeviceSource(Class dummy){super((Class) null);} + public TQIODeviceSource(TQIODeviceInterface arg1, int bufsize) { + super((Class) null); + newTQIODeviceSource(arg1,bufsize); + } + private native void newTQIODeviceSource(TQIODeviceInterface arg1, int bufsize); + public TQIODeviceSource(TQIODeviceInterface arg1) { + super((Class) null); + newTQIODeviceSource(arg1); + } + private native void newTQIODeviceSource(TQIODeviceInterface arg1); + public native int readyToSend(); + public native void sendTo(TQDataSink sink, int n); + public native boolean rewindable(); + public native void enableRewind(boolean on); + public native void rewind(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconDrag.java new file mode 100644 index 00000000..e7cc5c1f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconDrag.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIconDrag extends TQDragObject { + protected TQIconDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQIconDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQIconDrag(dragSource,name); + } + private native void newTQIconDrag(TQWidget dragSource, String name); + public TQIconDrag(TQWidget dragSource) { + super((Class) null); + newTQIconDrag(dragSource); + } + private native void newTQIconDrag(TQWidget dragSource); + public native void append(TQIconDragItem item, TQRect pr, TQRect tr); + public native String format(int i); + public native byte[] encodedData(String mime); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconDragItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconDragItem.java new file mode 100644 index 00000000..749e93d5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconDragItem.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIconDragItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIconDragItem(Class dummy){} + + public TQIconDragItem() { + newTQIconDragItem(); + } + private native void newTQIconDragItem(); + public native byte[] data(); + public native void setData(byte[] d); + public native boolean op_equals(TQIconDragItem arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java new file mode 100644 index 00000000..d3f888f8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconSet.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIconSet implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQIconSet(Class dummy){} + + public static final int Automatic = 0; + public static final int Small = 1; + public static final int Large = 2; + + public static final int Normal = 0; + public static final int Disabled = 1; + public static final int Active = 2; + + public static final int On = 0; + public static final int Off = 1; + + public TQIconSet() { + newTQIconSet(); + } + private native void newTQIconSet(); + public TQIconSet(TQPixmap pixmap, int size) { + newTQIconSet(pixmap,size); + } + private native void newTQIconSet(TQPixmap pixmap, int size); + public TQIconSet(TQPixmap pixmap) { + newTQIconSet(pixmap); + } + private native void newTQIconSet(TQPixmap pixmap); + public TQIconSet(TQPixmap smallPix, TQPixmap largePix) { + newTQIconSet(smallPix,largePix); + } + private native void newTQIconSet(TQPixmap smallPix, TQPixmap largePix); + public TQIconSet(TQIconSet other) { + newTQIconSet(other); + } + private native void newTQIconSet(TQIconSet other); + public native void reset(TQPixmap pixmap, int size); + public native void setPixmap(TQPixmap pixmap, int size, int mode, int state); + public native void setPixmap(TQPixmap pixmap, int size, int mode); + public native void setPixmap(TQPixmap pixmap, int size); + public native void setPixmap(String fileName, int size, int mode, int state); + public native void setPixmap(String fileName, int size, int mode); + public native void setPixmap(String fileName, int size); + public native TQPixmap pixmap(int size, int mode, int state); + public native TQPixmap pixmap(int size, int mode); + public native TQPixmap pixmap(int size, boolean enabled, int state); + public native TQPixmap pixmap(int size, boolean enabled); + public native TQPixmap pixmap(); + public native boolean isGenerated(int size, int mode, int state); + public native boolean isGenerated(int size, int mode); + public native void clearGenerated(); + // void installIconFactory(TQIconFactory* arg1); >>>> NOT CONVERTED + public native boolean isNull(); + public native void detach(); + public static native void setIconSize(int which, TQSize size); + public static native TQSize iconSize(int which); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconView.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconView.java new file mode 100644 index 00000000..fadd5410 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconView.java @@ -0,0 +1,154 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQIconViewSignals} for signals emitted by TQIconView +*/ +public class TQIconView extends TQScrollView { + protected TQIconView(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int LeftToRight = 0; + public static final int TopToBottom = 1; + + public static final int Fixed = 0; + public static final int Adjust = 1; + + public static final int Bottom = 0; + public static final int Right = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQIconView(TQWidget parent, String name, int f) { + super((Class) null); + newTQIconView(parent,name,f); + } + private native void newTQIconView(TQWidget parent, String name, int f); + public TQIconView(TQWidget parent, String name) { + super((Class) null); + newTQIconView(parent,name); + } + private native void newTQIconView(TQWidget parent, String name); + public TQIconView(TQWidget parent) { + super((Class) null); + newTQIconView(parent); + } + private native void newTQIconView(TQWidget parent); + public TQIconView() { + super((Class) null); + newTQIconView(); + } + private native void newTQIconView(); + public native void insertItem(TQIconViewItem item, TQIconViewItem after); + public native void insertItem(TQIconViewItem item); + public native void takeItem(TQIconViewItem item); + public native int index(TQIconViewItem item); + public native TQIconViewItem firstItem(); + public native TQIconViewItem lastItem(); + public native TQIconViewItem currentItem(); + public native void setCurrentItem(TQIconViewItem item); + public native void setSelected(TQIconViewItem item, boolean s, boolean cb); + public native void setSelected(TQIconViewItem item, boolean s); + public native int count(); + public native void showEvent(TQShowEvent arg1); + public native void setSelectionMode(int m); + public native int selectionMode(); + public native TQIconViewItem findItem(TQPoint pos); + public native TQIconViewItem findItem(String text, int compare); + public native TQIconViewItem findItem(String text); + public native void selectAll(boolean select); + public native void clearSelection(); + public native void invertSelection(); + public native void repaintItem(TQIconViewItem item); + public native void repaintSelectedItems(); + public native void ensureItemVisible(TQIconViewItem item); + public native TQIconViewItem findFirstVisibleItem(TQRect r); + public native TQIconViewItem findLastVisibleItem(TQRect r); + public native void clear(); + public native void setGridX(int rx); + public native void setGridY(int ry); + public native int gridX(); + public native int gridY(); + public native void setSpacing(int sp); + public native int spacing(); + public native void setItemTextPos(int pos); + public native int itemTextPos(); + public native void setItemTextBackground(TQBrush b); + public native TQBrush itemTextBackground(); + public native void setArrangement(int am); + public native int arrangement(); + public native void setResizeMode(int am); + public native int resizeMode(); + public native void setMaxItemWidth(int w); + public native int maxItemWidth(); + public native void setMaxItemTextLength(int w); + public native int maxItemTextLength(); + public native void setAutoArrange(boolean b); + public native boolean autoArrange(); + public native void setShowToolTips(boolean b); + public native boolean showToolTips(); + public native void setSorting(boolean sort, boolean ascending); + public native void setSorting(boolean sort); + public native boolean sortOnInsert(); + public native boolean sortDirection(); + public native void setItemsMovable(boolean b); + public native boolean itemsMovable(); + public native void setWordWrapIconText(boolean b); + public native boolean wordWrapIconText(); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native TQSize minimumSizeHint(); + public native TQSize sizeHint(); + public native void sort(boolean ascending); + public native void sort(); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native boolean isRenaming(); + public native void arrangeItemsInGrid(TQSize grid, boolean update); + public native void arrangeItemsInGrid(TQSize grid); + public native void arrangeItemsInGrid(boolean update); + public native void arrangeItemsInGrid(); + public native void setContentsPos(int x, int y); + public native void updateContents(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void enterEvent(TQEvent e); + protected native void drawRubber(TQPainter p); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void insertInGrid(TQIconViewItem item); + protected native void drawBackground(TQPainter p, TQRect r); + protected native void emitSelectionChanged(TQIconViewItem i); + protected native void emitSelectionChanged(); + protected native void emitRenamed(TQIconViewItem item); + protected native TQIconViewItem makeRowLayout(TQIconViewItem begin, int[] y, boolean changed); + public native void styleChange(TQStyle arg1); + protected native void windowActivationChange(boolean arg1); + protected native void doAutoScroll(); + protected native void adjustItems(); + protected native void slotUpdate(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconViewItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconViewItem.java new file mode 100644 index 00000000..ec2d70ea --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconViewItem.java @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIconViewItem extends Qt { + protected TQIconViewItem(Class dummy){super((Class) null);} + public TQIconViewItem(TQIconView parent) { + super((Class) null); + newTQIconViewItem(parent); + } + private native void newTQIconViewItem(TQIconView parent); + public TQIconViewItem(TQIconView parent, TQIconViewItem after) { + super((Class) null); + newTQIconViewItem(parent,after); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after); + public TQIconViewItem(TQIconView parent, String text) { + super((Class) null); + newTQIconViewItem(parent,text); + } + private native void newTQIconViewItem(TQIconView parent, String text); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text) { + super((Class) null); + newTQIconViewItem(parent,after,text); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text); + public TQIconViewItem(TQIconView parent, String text, TQPixmap icon) { + super((Class) null); + newTQIconViewItem(parent,text,icon); + } + private native void newTQIconViewItem(TQIconView parent, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon) { + super((Class) null); + newTQIconViewItem(parent,after,text,icon); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPixmap icon); + public TQIconViewItem(TQIconView parent, String text, TQPicture picture) { + super((Class) null); + newTQIconViewItem(parent,text,picture); + } + private native void newTQIconViewItem(TQIconView parent, String text, TQPicture picture); + public TQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture) { + super((Class) null); + newTQIconViewItem(parent,after,text,picture); + } + private native void newTQIconViewItem(TQIconView parent, TQIconViewItem after, String text, TQPicture picture); + public native void setRenameEnabled(boolean allow); + public native void setDragEnabled(boolean allow); + public native void setDropEnabled(boolean allow); + public native String text(); + public native TQPixmap pixmap(); + public native TQPicture picture(); + public native String key(); + public native boolean renameEnabled(); + public native boolean dragEnabled(); + public native boolean dropEnabled(); + public native TQIconView iconView(); + public native TQIconViewItem prevItem(); + public native TQIconViewItem nextItem(); + public native int index(); + public native void setSelected(boolean s, boolean cb); + public native void setSelected(boolean s); + public native void setSelectable(boolean s); + public native boolean isSelected(); + public native boolean isSelectable(); + public native void repaint(); + public native boolean move(int x, int y); + public native void moveBy(int dx, int dy); + public native boolean move(TQPoint pnt); + public native void moveBy(TQPoint pnt); + public native TQRect rect(); + public native int x(); + public native int y(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQPoint pos(); + public native TQRect textRect(boolean relative); + public native TQRect textRect(); + public native TQRect pixmapRect(boolean relative); + public native TQRect pixmapRect(); + public native boolean contains(TQPoint pnt); + public native boolean intersects(TQRect r); + public native boolean acceptDrop(TQMimeSourceInterface mime); + public native void rename(); + public native int compare(TQIconViewItem i); + public native void setText(String text); + public native void setPixmap(TQPixmap icon); + public native void setPicture(TQPicture icon); + public native void setText(String text, boolean recalc, boolean redraw); + public native void setText(String text, boolean recalc); + public native void setPixmap(TQPixmap icon, boolean recalc, boolean redraw); + public native void setPixmap(TQPixmap icon, boolean recalc); + public native void setKey(String k); + public native int rtti(); + protected native void removeRenameBox(); + protected native void calcRect(String text_); + protected native void calcRect(); + protected native void paintItem(TQPainter p, TQColorGroup cg); + protected native void paintFocus(TQPainter p, TQColorGroup cg); + // void dropped(TQDropEvent* arg1,const TQValueList<TQIconDragItem>& arg2); >>>> NOT CONVERTED + protected native void dragEntered(); + protected native void dragLeft(); + protected native void setItemRect(TQRect r); + protected native void setTextRect(TQRect r); + protected native void setPixmapRect(TQRect r); + protected native void calcTmpText(); + protected native String tempText(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIconViewSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQIconViewSignals.java new file mode 100644 index 00000000..81000f21 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIconViewSignals.java @@ -0,0 +1,26 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQIconViewSignals { + void selectionChanged(); + void selectionChanged(TQIconViewItem item); + void currentChanged(TQIconViewItem item); + void clicked(TQIconViewItem arg1); + void clicked(TQIconViewItem arg1, TQPoint arg2); + void pressed(TQIconViewItem arg1); + void pressed(TQIconViewItem arg1, TQPoint arg2); + void doubleClicked(TQIconViewItem item); + void returnPressed(TQIconViewItem item); + void rightButtonClicked(TQIconViewItem item, TQPoint pos); + void rightButtonPressed(TQIconViewItem item, TQPoint pos); + void mouseButtonPressed(int button, TQIconViewItem item, TQPoint pos); + void mouseButtonClicked(int button, TQIconViewItem item, TQPoint pos); + void contextMenuRequested(TQIconViewItem item, TQPoint pos); + // void dropped(TQDropEvent* arg1,const TQValueList<TQIconDragItem>& arg2); >>>> NOT CONVERTED + void moved(); + void onItem(TQIconViewItem item); + void onViewport(); + void itemRenamed(TQIconViewItem item, String arg2); + void itemRenamed(TQIconViewItem item); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImage.java b/qtjava/javalib/org/trinitydesktop/qt/TQImage.java new file mode 100644 index 00000000..26fe0824 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImage.java @@ -0,0 +1,171 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQImage implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImage(Class dummy){} + + public static final int IgnoreEndian = 0; + public static final int BigEndian = 1; + public static final int LittleEndian = 2; + + public static final int ScaleFree = 0; + public static final int ScaleMin = 1; + public static final int ScaleMax = 2; + + public TQImage() { + newTQImage(); + } + private native void newTQImage(); + public TQImage(int width, int height, int depth, int numColors, int bitOrder) { + newTQImage(width,height,depth,numColors,bitOrder); + } + private native void newTQImage(int width, int height, int depth, int numColors, int bitOrder); + public TQImage(int width, int height, int depth, int numColors) { + newTQImage(width,height,depth,numColors); + } + private native void newTQImage(int width, int height, int depth, int numColors); + public TQImage(int width, int height, int depth) { + newTQImage(width,height,depth); + } + private native void newTQImage(int width, int height, int depth); + public TQImage(TQSize arg1, int depth, int numColors, int bitOrder) { + newTQImage(arg1,depth,numColors,bitOrder); + } + private native void newTQImage(TQSize arg1, int depth, int numColors, int bitOrder); + public TQImage(TQSize arg1, int depth, int numColors) { + newTQImage(arg1,depth,numColors); + } + private native void newTQImage(TQSize arg1, int depth, int numColors); + public TQImage(TQSize arg1, int depth) { + newTQImage(arg1,depth); + } + private native void newTQImage(TQSize arg1, int depth); + public TQImage(String fileName, String format) { + newTQImage(fileName,format); + } + private native void newTQImage(String fileName, String format); + public TQImage(String fileName) { + newTQImage(fileName); + } + private native void newTQImage(String fileName); + // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED + public TQImage(byte[] data) { + newTQImage(data); + } + private native void newTQImage(byte[] data); + public TQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { + newTQImage(data,w,h,depth,colortable,numColors,bitOrder); + } + private native void newTQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); + public TQImage(TQImage arg1) { + newTQImage(arg1); + } + private native void newTQImage(TQImage arg1); + public native boolean op_equals(TQImage arg1); + public native boolean op_not_equals(TQImage arg1); + public native void detach(); + public native TQImage copy(); + public native TQImage copy(int x, int y, int w, int h, int conversion_flags); + public native TQImage copy(int x, int y, int w, int h); + public native TQImage copy(TQRect arg1); + public native boolean isNull(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native int depth(); + public native int numColors(); + public native int bitOrder(); + public native int color(int i); + public native void setColor(int i, int c); + public native void setNumColors(int arg1); + public native boolean hasAlphaBuffer(); + public native void setAlphaBuffer(boolean arg1); + public native boolean allGray(); + public native boolean isGrayscale(); + public native byte[] bits(); + public native byte[] scanLine(int arg1); + public native ArrayList jumpTable(); + public native int[] colorTable(); + public native int numBytes(); + public native int bytesPerLine(); + public native boolean create(int width, int height, int depth, int numColors, int bitOrder); + public native boolean create(int width, int height, int depth, int numColors); + public native boolean create(int width, int height, int depth); + public native boolean create(TQSize arg1, int depth, int numColors, int bitOrder); + public native boolean create(TQSize arg1, int depth, int numColors); + public native boolean create(TQSize arg1, int depth); + public native void reset(); + public native void fill(int pixel); + public native void invertPixels(boolean invertAlpha); + public native void invertPixels(); + public native TQImage convertDepth(int arg1); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc); + public native TQImage convertDepth(int arg1, int conversion_flags); + public native TQImage convertBitOrder(int arg1); + public native TQImage smoothScale(int w, int h, int mode); + public native TQImage smoothScale(int w, int h); + public native TQImage smoothScale(TQSize s, int mode); + public native TQImage smoothScale(TQSize s); + public native TQImage scale(int w, int h, int mode); + public native TQImage scale(int w, int h); + public native TQImage scale(TQSize s, int mode); + public native TQImage scale(TQSize s); + public native TQImage scaleWidth(int w); + public native TQImage scaleHeight(int h); + public native Object xForm(TQWMatrix matrix); + public native TQImage createAlphaMask(int conversion_flags); + public native TQImage createAlphaMask(); + public native TQImage createHeuristicMask(boolean clipTight); + public native TQImage createHeuristicMask(); + public native TQImage mirror(); + public native TQImage mirror(boolean horizontally, boolean vertically); + public native TQImage swapRGB(); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean loadFromData(char[] buf, int len, String format); + public native boolean loadFromData(char[] buf, int len); + public native boolean loadFromData(byte[] data, String format); + public native boolean loadFromData(byte[] data); + public native boolean save(String fileName, String format, int quality); + public native boolean save(String fileName, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); + public native boolean valid(int x, int y); + public native int pixelIndex(int x, int y); + public native int pixel(int x, int y); + public native void setPixel(int x, int y, int index_or_rgb); + public native int dotsPerMeterX(); + public native int dotsPerMeterY(); + public native void setDotsPerMeterX(int arg1); + public native void setDotsPerMeterY(int arg1); + public native TQPoint offset(); + public native void setOffset(TQPoint arg1); + // TQValueList<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(TQImageTextKeyLang arg1); + public native void setText(String key, String lang, String arg3); + public static native TQImage fromMimeSource(String abs_name); + public static native int systemBitOrder(); + public static native int systemByteOrder(); + public static native String imageFormat(String fileName); + public static native ArrayList inputFormats(); + public static native ArrayList outputFormats(); + public static native ArrayList inputFormatList(); + public static native ArrayList outputFormatList(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageConsumer.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageConsumer.java new file mode 100644 index 00000000..6256d67d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageConsumer.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQImageConsumer implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageConsumer(Class dummy){} + + public native void end(); + public native void changed(TQRect arg1); + public native void frameDone(); + public native void frameDone(TQPoint arg1, TQRect arg2); + public native void setLooping(int arg1); + public native void setFramePeriod(int arg1); + public native void setSize(int arg1, int arg2); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageDecoder.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageDecoder.java new file mode 100644 index 00000000..d988290f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageDecoder.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQImageDecoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageDecoder(Class dummy){} + + public TQImageDecoder(TQImageConsumer c) { + newTQImageDecoder(c); + } + private native void newTQImageDecoder(TQImageConsumer c); + public native TQImage image(); + public native int decode(char[] buffer, int length); + public static native String formatName(char[] buffer, int length); + public static native TQImageFormatType format(String name); + public static native ArrayList inputFormats(); + public static native void registerDecoderFactory(TQImageFormatType arg1); + public static native void unregisterDecoderFactory(TQImageFormatType arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageDrag.java new file mode 100644 index 00000000..daf976aa --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageDrag.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQImageDrag extends TQDragObject { + protected TQImageDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQImageDrag(TQImage image, TQWidget dragSource, String name) { + super((Class) null); + newTQImageDrag(image,dragSource,name); + } + private native void newTQImageDrag(TQImage image, TQWidget dragSource, String name); + public TQImageDrag(TQImage image, TQWidget dragSource) { + super((Class) null); + newTQImageDrag(image,dragSource); + } + private native void newTQImageDrag(TQImage image, TQWidget dragSource); + public TQImageDrag(TQImage image) { + super((Class) null); + newTQImageDrag(image); + } + private native void newTQImageDrag(TQImage image); + public TQImageDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQImageDrag(dragSource,name); + } + private native void newTQImageDrag(TQWidget dragSource, String name); + public TQImageDrag(TQWidget dragSource) { + super((Class) null); + newTQImageDrag(dragSource); + } + private native void newTQImageDrag(TQWidget dragSource); + public TQImageDrag() { + super((Class) null); + newTQImageDrag(); + } + private native void newTQImageDrag(); + public native void setImage(TQImage image); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, TQImage i); + public static native boolean decode(TQMimeSourceInterface e, TQPixmap i); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageFormat.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageFormat.java new file mode 100644 index 00000000..2bf01953 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageFormat.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQImageFormat implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageFormat(Class dummy){} + + public native int decode(TQImage img, TQImageConsumer consumer, char[] buffer, int length); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageFormatType.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageFormatType.java new file mode 100644 index 00000000..9f0161e4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageFormatType.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQImageFormatType implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageFormatType(Class dummy){} + + public native TQImageFormat decoderFor(char[] buffer, int length); + public native String formatName(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageIO.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageIO.java new file mode 100644 index 00000000..2b8d0f89 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageIO.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQImageIO implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageIO(Class dummy){} + + public TQImageIO() { + newTQImageIO(); + } + private native void newTQImageIO(); + public TQImageIO(TQIODeviceInterface ioDevice, String format) { + newTQImageIO(ioDevice,format); + } + private native void newTQImageIO(TQIODeviceInterface ioDevice, String format); + public TQImageIO(String fileName, String format) { + newTQImageIO(fileName,format); + } + private native void newTQImageIO(String fileName, String format); + public native TQImage image(); + public native int status(); + public native String format(); + public native TQIODeviceInterface ioDevice(); + public native String fileName(); + public native int quality(); + public native String description(); + public native String parameters(); + public native float gamma(); + public native void setImage(TQImage arg1); + public native void setStatus(int arg1); + public native void setFormat(String arg1); + public native void setIODevice(TQIODeviceInterface arg1); + public native void setFileName(String arg1); + public native void setQuality(int arg1); + public native void setDescription(String arg1); + public native void setParameters(String arg1); + public native void setGamma(float arg1); + public native boolean read(); + public native boolean write(); + public static native String imageFormat(String fileName); + public static native String imageFormat(TQIODeviceInterface arg1); + public static native ArrayList inputFormats(); + public static native ArrayList outputFormats(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQImageTextKeyLang.java b/qtjava/javalib/org/trinitydesktop/qt/TQImageTextKeyLang.java new file mode 100644 index 00000000..c73db835 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQImageTextKeyLang.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQImageTextKeyLang implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQImageTextKeyLang(Class dummy){} + + public TQImageTextKeyLang(String k, String l) { + newTQImageTextKeyLang(k,l); + } + private native void newTQImageTextKeyLang(String k, String l); + public TQImageTextKeyLang() { + newTQImageTextKeyLang(); + } + private native void newTQImageTextKeyLang(); + public native boolean op_lt(TQImageTextKeyLang other); + public native boolean op_equals(TQImageTextKeyLang other); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQInputDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQInputDialog.java new file mode 100644 index 00000000..3f285352 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQInputDialog.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQInputDialog extends TQDialog { + protected TQInputDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent, String name); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok, TQWidget parent); + public static native String getText(String caption, String label, int echo, String text, boolean[] ok); + public static native String getText(String caption, String label, int echo, String text); + public static native String getText(String caption, String label, int echo); + public static native String getText(String caption, String label); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent, String name); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok, TQWidget parent); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step, boolean[] ok); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue, int step); + public static native int getInteger(String caption, String label, int value, int minValue, int maxValue); + public static native int getInteger(String caption, String label, int value, int minValue); + public static native int getInteger(String caption, String label, int value); + public static native int getInteger(String caption, String label); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent, String name); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok, TQWidget parent); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals, boolean[] ok); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue, int decimals); + public static native double getDouble(String caption, String label, double value, double minValue, double maxValue); + public static native double getDouble(String caption, String label, double value, double minValue); + public static native double getDouble(String caption, String label, double value); + public static native double getDouble(String caption, String label); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent, String name); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok, TQWidget parent); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable, boolean[] ok); + public static native String getItem(String caption, String label, String[] list, int current, boolean editable); + public static native String getItem(String caption, String label, String[] list, int current); + public static native String getItem(String caption, String label, String[] list); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQIntValidator.java b/qtjava/javalib/org/trinitydesktop/qt/TQIntValidator.java new file mode 100644 index 00000000..fb333171 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQIntValidator.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQIntValidator extends TQValidator { + protected TQIntValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQIntValidator(TQObject parent, String name) { + super((Class) null); + newTQIntValidator(parent,name); + } + private native void newTQIntValidator(TQObject parent, String name); + public TQIntValidator(TQObject parent) { + super((Class) null); + newTQIntValidator(parent); + } + private native void newTQIntValidator(TQObject parent); + public TQIntValidator(int bottom, int top, TQObject parent, String name) { + super((Class) null); + newTQIntValidator(bottom,top,parent,name); + } + private native void newTQIntValidator(int bottom, int top, TQObject parent, String name); + public TQIntValidator(int bottom, int top, TQObject parent) { + super((Class) null); + newTQIntValidator(bottom,top,parent); + } + private native void newTQIntValidator(int bottom, int top, TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void setBottom(int arg1); + public native void setTop(int arg1); + public native void setRange(int bottom, int top); + public native int bottom(); + public native int top(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQJisCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQJisCodec.java new file mode 100644 index 00000000..b1564990 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQJisCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQJisCodec extends TQTextCodec { + protected TQJisCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String mimeName(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQJisCodec() { + super((Class) null); + newTQJisCodec(); + } + private native void newTQJisCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQJpUnicodeConv.java b/qtjava/javalib/org/trinitydesktop/qt/TQJpUnicodeConv.java new file mode 100644 index 00000000..f3fea53e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQJpUnicodeConv.java @@ -0,0 +1,62 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQJpUnicodeConv implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQJpUnicodeConv(Class dummy){} + + public static final int Default = 0x0000; + public static final int Unicode = 0x0001; + public static final int Unicode_JISX0201 = 0x0001; + public static final int Unicode_ASCII = 0x0002; + public static final int JISX0221_JISX0201 = 0x0003; + public static final int JISX0221_ASCII = 0x0004; + public static final int Sun_JDK117 = 0x0005; + public static final int Microsoft_CP932 = 0x0006; + public static final int NEC_VDC = 0x0100; + public static final int UDC = 0x0200; + public static final int IBM_VDC = 0x0400; + + public native int asciiToUnicode(int h, int l); + public native int jisx0201ToUnicode(int h, int l); + public native int jisx0201LatinToUnicode(int h, int l); + public native int jisx0201KanaToUnicode(int h, int l); + public native int jisx0208ToUnicode(int h, int l); + public native int jisx0212ToUnicode(int h, int l); + public native int asciiToUnicode(int ascii); + public native int jisx0201ToUnicode(int jis); + public native int jisx0201LatinToUnicode(int jis); + public native int jisx0201KanaToUnicode(int jis); + public native int jisx0208ToUnicode(int jis); + public native int jisx0212ToUnicode(int jis); + public native int unicodeToAscii(int h, int l); + public native int unicodeToJisx0201(int h, int l); + public native int unicodeToJisx0201Latin(int h, int l); + public native int unicodeToJisx0201Kana(int h, int l); + public native int unicodeToJisx0208(int h, int l); + public native int unicodeToJisx0212(int h, int l); + public native int unicodeToAscii(int unicode); + public native int unicodeToJisx0201(int unicode); + public native int unicodeToJisx0201Latin(int unicode); + public native int unicodeToJisx0201Kana(int unicode); + public native int unicodeToJisx0208(int unicode); + public native int unicodeToJisx0212(int unicode); + public native int sjisToUnicode(int h, int l); + public native int unicodeToSjis(int h, int l); + public native int sjisToUnicode(int sjis); + public native int unicodeToSjis(int unicode); + public static native TQJpUnicodeConv newConverter(int rule); + public TQJpUnicodeConv(int r) { + newTQJpUnicodeConv(r); + } + private native void newTQJpUnicodeConv(int r); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQKeyEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQKeyEvent.java new file mode 100644 index 00000000..be43849e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQKeyEvent.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQKeyEvent extends TQEvent { + protected TQKeyEvent(Class dummy){super((Class) null);} + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text,autorep,count); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep, short count); + public TQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text,autorep); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text, boolean autorep); + public TQKeyEvent(int type, int key, int ascii, int state, String text) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state,text); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state, String text); + public TQKeyEvent(int type, int key, int ascii, int state) { + super((Class) null); + newTQKeyEvent(type,key,ascii,state); + } + private native void newTQKeyEvent(int type, int key, int ascii, int state); + public native int key(); + public native int ascii(); + public native int state(); + public native int stateAfter(); + public native boolean isAccepted(); + public native String text(); + public native boolean isAutoRepeat(); + public native int count(); + public native void accept(); + public native void ignore(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQKeySequence.java b/qtjava/javalib/org/trinitydesktop/qt/TQKeySequence.java new file mode 100644 index 00000000..249225a0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQKeySequence.java @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQKeySequence extends Qt { + protected TQKeySequence(Class dummy){super((Class) null);} + public TQKeySequence() { + super((Class) null); + newTQKeySequence(); + } + private native void newTQKeySequence(); + public TQKeySequence(String key) { + super((Class) null); + newTQKeySequence(key); + } + private native void newTQKeySequence(String key); + public TQKeySequence(int key) { + super((Class) null); + newTQKeySequence(key); + } + private native void newTQKeySequence(int key); + public TQKeySequence(int k1, int k2, int k3, int k4) { + super((Class) null); + newTQKeySequence(k1,k2,k3,k4); + } + private native void newTQKeySequence(int k1, int k2, int k3, int k4); + public TQKeySequence(int k1, int k2, int k3) { + super((Class) null); + newTQKeySequence(k1,k2,k3); + } + private native void newTQKeySequence(int k1, int k2, int k3); + public TQKeySequence(int k1, int k2) { + super((Class) null); + newTQKeySequence(k1,k2); + } + private native void newTQKeySequence(int k1, int k2); + public TQKeySequence(TQKeySequence arg1) { + super((Class) null); + newTQKeySequence(arg1); + } + private native void newTQKeySequence(TQKeySequence arg1); + public native int count(); + public native boolean isEmpty(); + public native int matches(TQKeySequence arg1); + public native int op_at(int arg1); + public native boolean op_equals(TQKeySequence arg1); + public native boolean op_not_equals(TQKeySequence arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumber.java b/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumber.java new file mode 100644 index 00000000..b9d0ea37 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumber.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQLCDNumberSignals} for signals emitted by TQLCDNumber +*/ +public class TQLCDNumber extends TQFrame { + protected TQLCDNumber(Class dummy){super((Class) null);} + public static final int Hex = 0; + public static final int Dec = 1; + public static final int Oct = 2; + public static final int Bin = 3; + public static final int HEX = Hex; + public static final int DEC = Dec; + public static final int OCT = Oct; + public static final int BIN = Bin; + + public static final int Outline = 0; + public static final int Filled = 1; + public static final int Flat = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQLCDNumber(TQWidget parent, String name) { + super((Class) null); + newTQLCDNumber(parent,name); + } + private native void newTQLCDNumber(TQWidget parent, String name); + public TQLCDNumber(TQWidget parent) { + super((Class) null); + newTQLCDNumber(parent); + } + private native void newTQLCDNumber(TQWidget parent); + public TQLCDNumber() { + super((Class) null); + newTQLCDNumber(); + } + private native void newTQLCDNumber(); + public TQLCDNumber(int numDigits, TQWidget parent, String name) { + super((Class) null); + newTQLCDNumber(numDigits,parent,name); + } + private native void newTQLCDNumber(int numDigits, TQWidget parent, String name); + public TQLCDNumber(int numDigits, TQWidget parent) { + super((Class) null); + newTQLCDNumber(numDigits,parent); + } + private native void newTQLCDNumber(int numDigits, TQWidget parent); + public TQLCDNumber(int numDigits) { + super((Class) null); + newTQLCDNumber(numDigits); + } + private native void newTQLCDNumber(int numDigits); + public native boolean smallDecimalPoint(); + public native int numDigits(); + public native void setNumDigits(int nDigits); + public native boolean checkOverflow(double num); + public native boolean checkOverflow(int num); + public native int mode(); + public native void setMode(int arg1); + public native int segmentStyle(); + public native void setSegmentStyle(int arg1); + public native double value(); + public native int intValue(); + public native TQSize sizeHint(); + public native void display(String str); + public native void display(int num); + public native void display(double num); + public native void setHexMode(); + public native void setDecMode(); + public native void setOctMode(); + public native void setBinMode(); + public native void setSmallDecimalPoint(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumberSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumberSignals.java new file mode 100644 index 00000000..98249085 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLCDNumberSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQLCDNumberSignals { + void overflow(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLabel.java b/qtjava/javalib/org/trinitydesktop/qt/TQLabel.java new file mode 100644 index 00000000..fb6bda13 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLabel.java @@ -0,0 +1,93 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQLabel extends TQFrame { + protected TQLabel(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQLabel(TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(parent,name,f); + } + private native void newTQLabel(TQWidget parent, String name, int f); + public TQLabel(TQWidget parent, String name) { + super((Class) null); + newTQLabel(parent,name); + } + private native void newTQLabel(TQWidget parent, String name); + public TQLabel(TQWidget parent) { + super((Class) null); + newTQLabel(parent); + } + private native void newTQLabel(TQWidget parent); + public TQLabel(String text, TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(text,parent,name,f); + } + private native void newTQLabel(String text, TQWidget parent, String name, int f); + public TQLabel(String text, TQWidget parent, String name) { + super((Class) null); + newTQLabel(text,parent,name); + } + private native void newTQLabel(String text, TQWidget parent, String name); + public TQLabel(String text, TQWidget parent) { + super((Class) null); + newTQLabel(text,parent); + } + private native void newTQLabel(String text, TQWidget parent); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f) { + super((Class) null); + newTQLabel(buddy,arg2,parent,name,f); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name, int f); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent, String name) { + super((Class) null); + newTQLabel(buddy,arg2,parent,name); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent, String name); + public TQLabel(TQWidget buddy, String arg2, TQWidget parent) { + super((Class) null); + newTQLabel(buddy,arg2,parent); + } + private native void newTQLabel(TQWidget buddy, String arg2, TQWidget parent); + public native String text(); + public native TQPixmap pixmap(); + public native TQPicture picture(); + public native TQMovie movie(); + public native int textFormat(); + public native void setTextFormat(int arg1); + public native int alignment(); + public native void setAlignment(int arg1); + public native int indent(); + public native void setIndent(int arg1); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native boolean hasScaledContents(); + public native void setScaledContents(boolean arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setBuddy(TQWidget arg1); + public native TQWidget buddy(); + public native int heightForWidth(int arg1); + public native void setFont(TQFont f); + public native void setText(String arg1); + public native void setPixmap(TQPixmap arg1); + public native void setPicture(TQPicture arg1); + public native void setMovie(TQMovie arg1); + public native void setNum(int arg1); + public native void setNum(double arg1); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native void fontChange(TQFont arg1); + protected native void resizeEvent(TQResizeEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLayout.java b/qtjava/javalib/org/trinitydesktop/qt/TQLayout.java new file mode 100644 index 00000000..ee87ee21 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLayout.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQLayout extends TQObject implements TQLayoutItemInterface { + protected TQLayout(Class dummy){super((Class) null);} + public static final int FreeResize = 0; + public static final int Minimum = 1; + public static final int Fixed = 2; + public static final int Auto = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public native int margin(); + public native int spacing(); + public native void setMargin(int arg1); + public native void setSpacing(int arg1); + public native int defaultBorder(); + public native void freeze(int w, int h); + public native void freeze(); + public native void setResizeMode(int arg1); + public native int resizeMode(); + public native void setMenuBar(TQMenuBar w); + public native TQMenuBar menuBar(); + public native TQWidget mainWidget(); + public native boolean isTopLevel(); + public native void setAutoAdd(boolean arg1); + public native boolean autoAdd(); + public native void invalidate(); + public native TQRect geometry(); + public native boolean activate(); + public native void add(TQWidget w); + public native void addItem(TQLayoutItemInterface arg1); + public native void remove(TQWidget w); + public native void removeItem(TQLayoutItemInterface arg1); + public native int expanding(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native void setGeometry(TQRect arg1); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native boolean isEmpty(); + public native int totalHeightForWidth(int w); + public native TQSize totalMinimumSize(); + public native TQSize totalMaximumSize(); + public native TQSize totalSizeHint(); + public native TQLayout layout(); + public native boolean supportsMargin(); + public native void setEnabled(boolean arg1); + public native boolean isEnabled(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native TQSize sizeHint(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native TQWidget widget(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native TQSpacerItem spacerItem(); + public native int alignment(); + public native void setAlignment(int a); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItem.java new file mode 100644 index 00000000..66ac5ed7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItem.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQLayoutItem implements QtSupport, TQLayoutItemInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQLayoutItem(Class dummy){} + + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int expanding(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native boolean isEmpty(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + public native void invalidate(); + public native TQWidget widget(); + // TQLayoutIterator iterator(); >>>> NOT CONVERTED + public native TQLayout layout(); + public native TQSpacerItem spacerItem(); + public native int alignment(); + public native void setAlignment(int a); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItemInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItemInterface.java new file mode 100644 index 00000000..2b67afcd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLayoutItemInterface.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQLayoutItemInterface { + TQSize sizeHint(); + TQSize minimumSize(); + TQSize maximumSize(); + int expanding(); + void setGeometry(TQRect arg1); + TQRect geometry(); + boolean isEmpty(); + boolean hasHeightForWidth(); + int heightForWidth(int arg1); + void invalidate(); + TQWidget widget(); + TQLayout layout(); + TQSpacerItem spacerItem(); + int alignment(); + void setAlignment(int a); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLibrary.java b/qtjava/javalib/org/trinitydesktop/qt/TQLibrary.java new file mode 100644 index 00000000..91be28c0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLibrary.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQLibrary implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQLibrary(Class dummy){} + + public TQLibrary(String filename) { + newTQLibrary(filename); + } + private native void newTQLibrary(String filename); + // void* resolve(const char* arg1); >>>> NOT CONVERTED + public native boolean load(); + public native boolean unload(); + public native boolean isLoaded(); + public native boolean autoUnload(); + public native void setAutoUnload(boolean enable); + public native String library(); + // void* resolve(const TQString& arg1,const char* arg2); >>>> NOT CONVERTED + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java new file mode 100644 index 00000000..854fd58e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLineEdit.java @@ -0,0 +1,141 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQLineEditSignals} for signals emitted by TQLineEdit +*/ +public class TQLineEdit extends TQFrame { + protected TQLineEdit(Class dummy){super((Class) null);} + public static final int Normal = 0; + public static final int NoEcho = 1; + public static final int Password = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQLineEdit(TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(parent,name); + } + private native void newTQLineEdit(TQWidget parent, String name); + public TQLineEdit(TQWidget parent) { + super((Class) null); + newTQLineEdit(parent); + } + private native void newTQLineEdit(TQWidget parent); + public TQLineEdit(String arg1, TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(arg1,parent,name); + } + private native void newTQLineEdit(String arg1, TQWidget parent, String name); + public TQLineEdit(String arg1, TQWidget parent) { + super((Class) null); + newTQLineEdit(arg1,parent); + } + private native void newTQLineEdit(String arg1, TQWidget parent); + public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) { + super((Class) null); + newTQLineEdit(arg1,arg2,parent,name); + } + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name); + public TQLineEdit(String arg1, String arg2, TQWidget parent) { + super((Class) null); + newTQLineEdit(arg1,arg2,parent); + } + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent); + public native String text(); + public native String displayText(); + public native int maxLength(); + public native boolean frame(); + public native int echoMode(); + public native boolean isReadOnly(); + public native TQValidator validator(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int cursorPosition(); + public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4); + public native int alignment(); + public native void cursorLeft(boolean mark, int steps); + public native void cursorLeft(boolean mark); + public native void cursorRight(boolean mark, int steps); + public native void cursorRight(boolean mark); + public native void cursorForward(boolean mark, int steps); + public native void cursorForward(boolean mark); + public native void cursorBackward(boolean mark, int steps); + public native void cursorBackward(boolean mark); + public native void cursorWordForward(boolean mark); + public native void cursorWordBackward(boolean mark); + public native void backspace(); + public native void del(); + public native void home(boolean mark); + public native void end(boolean mark); + public native boolean isModified(); + public native void clearModified(); + public native boolean edited(); + public native void setEdited(boolean arg1); + public native boolean hasSelectedText(); + public native String selectedText(); + public native int selectionStart(); + public native boolean isUndoAvailable(); + public native boolean isRedoAvailable(); + public native boolean hasMarkedText(); + public native String markedText(); + public native boolean dragEnabled(); + public native String inputMask(); + public native void setInputMask(String inputMask); + public native boolean hasAcceptableInput(); + public native int characterAt(int arg1, char arg2); + public native boolean getSelection(int[] arg1, int[] arg2); + public native void setText(String arg1); + public native void selectAll(); + public native void deselect(); + public native void clearValidator(); + public native void insert(String arg1); + public native void clear(); + public native void undo(); + public native void redo(); + public native void setMaxLength(int arg1); + public native void setFrame(boolean arg1); + public native void setEchoMode(int arg1); + public native void setReadOnly(boolean arg1); + public native void setValidator(TQValidator arg1); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native void setSelection(int arg1, int arg2); + public native void setCursorPosition(int arg1); + public native void setAlignment(int flag); + public native void cut(); + public native void copy(); + public native void paste(); + public native void setDragEnabled(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void drawContents(TQPainter arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent e); + protected native void dragLeaveEvent(TQDragLeaveEvent e); + protected native void dropEvent(TQDropEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native TQPopupMenu createPopupMenu(); + protected native void windowActivationChange(boolean arg1); + protected native void repaintArea(int arg1, int arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLineEditSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQLineEditSignals.java new file mode 100644 index 00000000..4f7c2ef2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLineEditSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQLineEditSignals { + void textChanged(String arg1); + void returnPressed(); + void lostFocus(); + void selectionChanged(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQListBox.java new file mode 100644 index 00000000..ee1a1a79 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListBox.java @@ -0,0 +1,174 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQListBoxSignals} for signals emitted by TQListBox +*/ +public class TQListBox extends TQScrollView { + protected TQListBox(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int FixedNumber = 0; + public static final int FitToWidth = 1; + public static final int FitToHeight = FitToWidth; + public static final int Variable = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQListBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQListBox(parent,name,f); + } + private native void newTQListBox(TQWidget parent, String name, int f); + public TQListBox(TQWidget parent, String name) { + super((Class) null); + newTQListBox(parent,name); + } + private native void newTQListBox(TQWidget parent, String name); + public TQListBox(TQWidget parent) { + super((Class) null); + newTQListBox(parent); + } + private native void newTQListBox(TQWidget parent); + public TQListBox() { + super((Class) null); + newTQListBox(); + } + private native void newTQListBox(); + public native void setFont(TQFont arg1); + public native int count(); + public native void insertStringList(String[] arg1, int index); + public native void insertStringList(String[] arg1); + public native void insertStrList(String[] arg1, int index); + public native void insertStrList(String[] arg1); + public native void insertStrList(String[] arg1, int numStrings, int index); + public native void insertItem(TQListBoxItem arg1, int index); + public native void insertItem(TQListBoxItem arg1); + public native void insertItem(TQListBoxItem arg1, TQListBoxItem after); + public native void insertItem(String text, int index); + public native void insertItem(String text); + public native void insertItem(TQPixmap pixmap, int index); + public native void insertItem(TQPixmap pixmap); + public native void insertItem(TQPixmap pixmap, String text, int index); + public native void insertItem(TQPixmap pixmap, String text); + public native void removeItem(int index); + public native String text(int index); + public native TQPixmap pixmap(int index); + public native void changeItem(TQListBoxItem arg1, int index); + public native void changeItem(String text, int index); + public native void changeItem(TQPixmap pixmap, int index); + public native void changeItem(TQPixmap pixmap, String text, int index); + public native void takeItem(TQListBoxItem arg1); + public native int numItemsVisible(); + public native int currentItem(); + public native String currentText(); + public native void setCurrentItem(int index); + public native void setCurrentItem(TQListBoxItem arg1); + public native void centerCurrentItem(); + public native int topItem(); + public native void setTopItem(int index); + public native void setBottomItem(int index); + public native long maxItemWidth(); + public native void setSelectionMode(int arg1); + public native int selectionMode(); + public native void setMultiSelection(boolean multi); + public native boolean isMultiSelection(); + public native void setSelected(TQListBoxItem arg1, boolean arg2); + public native void setSelected(int arg1, boolean arg2); + public native boolean isSelected(int arg1); + public native boolean isSelected(TQListBoxItem arg1); + public native TQListBoxItem selectedItem(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQListBoxItem item(int index); + public native int index(TQListBoxItem arg1); + public native TQListBoxItem findItem(String text, int compare); + public native TQListBoxItem findItem(String text); + public native void triggerUpdate(boolean doLayout); + public native boolean itemVisible(int index); + public native boolean itemVisible(TQListBoxItem arg1); + public native void setColumnMode(int arg1); + public native void setRowMode(int arg1); + public native int columnMode(); + public native int rowMode(); + public native int numColumns(); + public native int numRows(); + public native boolean variableWidth(); + public native void setVariableWidth(boolean arg1); + public native boolean variableHeight(); + public native void setVariableHeight(boolean arg1); + public native void viewportPaintEvent(TQPaintEvent arg1); + public native boolean dragSelect(); + public native void setDragSelect(boolean arg1); + public native boolean autoScroll(); + public native void setAutoScroll(boolean arg1); + public native boolean autoScrollBar(); + public native void setAutoScrollBar(boolean enable); + public native boolean scrollBar(); + public native void setScrollBar(boolean enable); + public native boolean autoBottomScrollBar(); + public native void setAutoBottomScrollBar(boolean enable); + public native boolean bottomScrollBar(); + public native void setBottomScrollBar(boolean enable); + public native boolean smoothScrolling(); + public native void setSmoothScrolling(boolean arg1); + public native boolean autoUpdate(); + public native void setAutoUpdate(boolean arg1); + public native void setFixedVisibleLines(int lines); + public native int inSort(TQListBoxItem arg1); + public native int inSort(String text); + public native int cellHeight(int i); + public native int cellHeight(); + public native int cellWidth(); + public native int cellWidth(int i); + public native int numCols(); + public native int itemHeight(int index); + public native int itemHeight(); + public native TQListBoxItem itemAt(TQPoint arg1); + public native TQRect itemRect(TQListBoxItem item); + public native TQListBoxItem firstItem(); + public native void sort(boolean ascending); + public native void sort(); + public native void clear(); + public native void ensureCurrentVisible(); + public native void clearSelection(); + public native void selectAll(boolean select); + public native void invertSelection(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent arg1); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void updateItem(int index); + protected native void updateItem(TQListBoxItem arg1); + protected native void updateCellWidth(); + protected native int totalWidth(); + protected native int totalHeight(); + public native void paintCell(TQPainter arg1, int row, int col); + protected native void toggleCurrentItem(); + protected native boolean isRubberSelecting(); + protected native void doLayout(); + protected native void windowActivationChange(boolean arg1); + protected native boolean itemYPos(int index, int[] yPos); + protected native int findItem(int yPos); + protected native void clearInputString(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListBoxItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxItem.java new file mode 100644 index 00000000..4799f517 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxItem.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQListBoxItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQListBoxItem(Class dummy){} + + public native String text(); + public native TQPixmap pixmap(); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native boolean isSelected(); + public native boolean isCurrent(); + public native boolean selected(); + public native boolean current(); + public native TQListBox listBox(); + public native void setSelectable(boolean b); + public native boolean isSelectable(); + public native TQListBoxItem next(); + public native TQListBoxItem prev(); + public native int rtti(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListBoxPixmap.java b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxPixmap.java new file mode 100644 index 00000000..58922f8d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxPixmap.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQListBoxPixmap extends TQListBoxItem { + protected TQListBoxPixmap(Class dummy){super((Class) null);} + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2) { + super((Class) null); + newTQListBoxPixmap(listbox,arg2); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2); + public TQListBoxPixmap(TQPixmap arg1) { + super((Class) null); + newTQListBoxPixmap(arg1); + } + private native void newTQListBoxPixmap(TQPixmap arg1); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after) { + super((Class) null); + newTQListBoxPixmap(listbox,pix,after); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, TQListBoxItem after); + public TQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3) { + super((Class) null); + newTQListBoxPixmap(listbox,arg2,arg3); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap arg2, String arg3); + public TQListBoxPixmap(TQPixmap arg1, String arg2) { + super((Class) null); + newTQListBoxPixmap(arg1,arg2); + } + private native void newTQListBoxPixmap(TQPixmap arg1, String arg2); + public TQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after) { + super((Class) null); + newTQListBoxPixmap(listbox,pix,arg3,after); + } + private native void newTQListBoxPixmap(TQListBox listbox, TQPixmap pix, String arg3, TQListBoxItem after); + public native TQPixmap pixmap(); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native int rtti(); + protected native void paint(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListBoxSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxSignals.java new file mode 100644 index 00000000..751524be --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxSignals.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQListBoxSignals { + void highlighted(int index); + void selected(int index); + void highlighted(String arg1); + void selected(String arg1); + void highlighted(TQListBoxItem arg1); + void selected(TQListBoxItem arg1); + void selectionChanged(); + void selectionChanged(TQListBoxItem arg1); + void currentChanged(TQListBoxItem arg1); + void clicked(TQListBoxItem arg1); + void clicked(TQListBoxItem arg1, TQPoint arg2); + void pressed(TQListBoxItem arg1); + void pressed(TQListBoxItem arg1, TQPoint arg2); + void doubleClicked(TQListBoxItem arg1); + void returnPressed(TQListBoxItem arg1); + void rightButtonClicked(TQListBoxItem arg1, TQPoint arg2); + void rightButtonPressed(TQListBoxItem arg1, TQPoint arg2); + void mouseButtonPressed(int arg1, TQListBoxItem arg2, TQPoint arg3); + void mouseButtonClicked(int arg1, TQListBoxItem arg2, TQPoint arg3); + void contextMenuRequested(TQListBoxItem arg1, TQPoint arg2); + void onItem(TQListBoxItem item); + void onViewport(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListBoxText.java b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxText.java new file mode 100644 index 00000000..a75e5a6b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListBoxText.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQListBoxText extends TQListBoxItem { + protected TQListBoxText(Class dummy){super((Class) null);} + public TQListBoxText(TQListBox listbox, String text) { + super((Class) null); + newTQListBoxText(listbox,text); + } + private native void newTQListBoxText(TQListBox listbox, String text); + public TQListBoxText(TQListBox listbox) { + super((Class) null); + newTQListBoxText(listbox); + } + private native void newTQListBoxText(TQListBox listbox); + public TQListBoxText(String text) { + super((Class) null); + newTQListBoxText(text); + } + private native void newTQListBoxText(String text); + public TQListBoxText() { + super((Class) null); + newTQListBoxText(); + } + private native void newTQListBoxText(); + public TQListBoxText(TQListBox listbox, String text, TQListBoxItem after) { + super((Class) null); + newTQListBoxText(listbox,text,after); + } + private native void newTQListBoxText(TQListBox listbox, String text, TQListBoxItem after); + public native int height(TQListBox arg1); + public native int width(TQListBox arg1); + public native int rtti(); + protected native void paint(TQPainter arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListView.java b/qtjava/javalib/org/trinitydesktop/qt/TQListView.java new file mode 100644 index 00000000..29359320 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListView.java @@ -0,0 +1,161 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQListViewSignals} for signals emitted by TQListView +*/ +public class TQListView extends TQScrollView { + protected TQListView(Class dummy){super((Class) null);} + public static final int Manual = 0; + public static final int Maximum = 1; + + public static final int Single = 0; + public static final int Multi = 1; + public static final int Extended = 2; + public static final int NoSelection = 3; + + public static final int NoColumn = 0; + public static final int AllColumns = 1; + public static final int LastColumn = 2; + + public static final int Accept = 0; + public static final int Reject = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQListView(TQWidget parent, String name, int f) { + super((Class) null); + newTQListView(parent,name,f); + } + private native void newTQListView(TQWidget parent, String name, int f); + public TQListView(TQWidget parent, String name) { + super((Class) null); + newTQListView(parent,name); + } + private native void newTQListView(TQWidget parent, String name); + public TQListView(TQWidget parent) { + super((Class) null); + newTQListView(parent); + } + private native void newTQListView(TQWidget parent); + public TQListView() { + super((Class) null); + newTQListView(); + } + private native void newTQListView(); + public native int treeStepSize(); + public native void setTreeStepSize(int arg1); + public native void insertItem(TQListViewItem arg1); + public native void takeItem(TQListViewItem arg1); + public native void removeItem(TQListViewItem item); + public native TQHeader header(); + public native int addColumn(String label, int size); + public native int addColumn(String label); + public native int addColumn(TQIconSet iconset, String label, int size); + public native int addColumn(TQIconSet iconset, String label); + public native void removeColumn(int index); + public native void setColumnText(int column, String label); + public native void setColumnText(int column, TQIconSet iconset, String label); + public native String columnText(int column); + public native void setColumnWidth(int column, int width); + public native int columnWidth(int column); + public native void setColumnWidthMode(int column, int arg2); + public native int columnWidthMode(int column); + public native int columns(); + public native void setColumnAlignment(int arg1, int arg2); + public native int columnAlignment(int arg1); + public native void show(); + public native TQListViewItem itemAt(TQPoint screenPos); + public native TQRect itemRect(TQListViewItem arg1); + public native int itemPos(TQListViewItem arg1); + public native void ensureItemVisible(TQListViewItem arg1); + public native void repaintItem(TQListViewItem arg1); + public native void setMultiSelection(boolean enable); + public native boolean isMultiSelection(); + public native void setSelectionMode(int mode); + public native int selectionMode(); + public native void clearSelection(); + public native void setSelected(TQListViewItem arg1, boolean arg2); + public native void setSelectionAnchor(TQListViewItem arg1); + public native boolean isSelected(TQListViewItem arg1); + public native TQListViewItem selectedItem(); + public native void setOpen(TQListViewItem arg1, boolean arg2); + public native boolean isOpen(TQListViewItem arg1); + public native void setCurrentItem(TQListViewItem arg1); + public native TQListViewItem currentItem(); + public native TQListViewItem firstChild(); + public native TQListViewItem lastItem(); + public native int childCount(); + public native void setAllColumnsShowFocus(boolean arg1); + public native boolean allColumnsShowFocus(); + public native void setItemMargin(int arg1); + public native int itemMargin(); + public native void setRootIsDecorated(boolean arg1); + public native boolean rootIsDecorated(); + public native void setSorting(int column, boolean ascending); + public native void setSorting(int column); + public native int sortColumn(); + public native void setSortColumn(int column); + public native int sortOrder(); + public native void setSortOrder(int order); + public native void sort(); + public native void setFont(TQFont arg1); + public native void setPalette(TQPalette arg1); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setShowSortIndicator(boolean show); + public native boolean showSortIndicator(); + public native void setShowToolTips(boolean b); + public native boolean showToolTips(); + public native void setResizeMode(int m); + public native int resizeMode(); + public native TQListViewItem findItem(String text, int column, int compare); + public native TQListViewItem findItem(String text, int column); + public native void setDefaultRenameAction(int a); + public native int defaultRenameAction(); + public native boolean isRenaming(); + public native void hideColumn(int column); + public native void clear(); + public native void invertSelection(); + public native void selectAll(boolean select); + public native void triggerUpdate(); + public native void setContentsPos(int x, int y); + public native void adjustColumn(int col); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void viewportResizeEvent(TQResizeEvent e); + public native void showEvent(TQShowEvent arg1); + protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); + protected native void paintEmptyArea(TQPainter arg1, TQRect arg2); + public native void styleChange(TQStyle arg1); + protected native void windowActivationChange(boolean arg1); + public native void updateContents(); + protected native void doAutoScroll(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native ArrayList itemList(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListViewItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQListViewItem.java new file mode 100644 index 00000000..8ea5e683 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListViewItem.java @@ -0,0 +1,262 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; +import org.trinitydesktop.qt.Qt; + +public class TQListViewItem extends Qt { + protected TQListViewItem(Class dummy){super((Class) null);} + public TQListViewItem(TQListView parent) { + super((Class) null); + newTQListViewItem(parent); + } + private native void newTQListViewItem(TQListView parent); + public TQListViewItem(TQListViewItem parent) { + super((Class) null); + newTQListViewItem(parent); + } + private native void newTQListViewItem(TQListViewItem parent); + public TQListViewItem(TQListView parent, TQListViewItem after) { + super((Class) null); + newTQListViewItem(parent,after); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after); + public TQListViewItem(TQListViewItem parent, TQListViewItem after) { + super((Class) null); + newTQListViewItem(parent,after); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4, String arg5); + public TQListViewItem(TQListView parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListView parent, String arg2, String arg3) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3); + } + private native void newTQListViewItem(TQListView parent, String arg2, String arg3); + public TQListViewItem(TQListView parent, String arg2) { + super((Class) null); + newTQListViewItem(parent,arg2); + } + private native void newTQListViewItem(TQListView parent, String arg2); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4, String arg5); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3,arg4); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, String arg2, String arg3) { + super((Class) null); + newTQListViewItem(parent,arg2,arg3); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2, String arg3); + public TQListViewItem(TQListViewItem parent, String arg2) { + super((Class) null); + newTQListViewItem(parent,arg2); + } + private native void newTQListViewItem(TQListViewItem parent, String arg2); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListView parent, TQListViewItem after, String arg3) { + super((Class) null); + newTQListViewItem(parent,after,arg3); + } + private native void newTQListViewItem(TQListView parent, TQListViewItem after, String arg3); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9, String arg10); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8,arg9); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8, String arg9); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7,arg8); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7, String arg8); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6,arg7); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6, String arg7); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5,arg6); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5, String arg6); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4,arg5); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4, String arg5); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4) { + super((Class) null); + newTQListViewItem(parent,after,arg3,arg4); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3, String arg4); + public TQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3) { + super((Class) null); + newTQListViewItem(parent,after,arg3); + } + private native void newTQListViewItem(TQListViewItem parent, TQListViewItem after, String arg3); + public native void insertItem(TQListViewItem arg1); + public native void takeItem(TQListViewItem arg1); + public native void removeItem(TQListViewItem item); + public native int height(); + public native void invalidateHeight(); + public native int totalHeight(); + public native int width(TQFontMetrics arg1, TQListView arg2, int column); + public native void widthChanged(int column); + public native void widthChanged(); + public native int depth(); + public native void setText(int arg1, String arg2); + public native String text(int arg1); + public native void setPixmap(int arg1, TQPixmap arg2); + public native TQPixmap pixmap(int arg1); + public native String key(int arg1, boolean arg2); + public native int compare(TQListViewItem i, int col, boolean arg3); + public native void sortChildItems(int arg1, boolean arg2); + public native int childCount(); + public native boolean isOpen(); + public native void setOpen(boolean arg1); + public native void setup(); + public native void setSelected(boolean arg1); + public native boolean isSelected(); + public native void paintCell(TQPainter arg1, TQColorGroup cg, int column, int width, int alignment); + public native void paintBranches(TQPainter p, TQColorGroup cg, int w, int y, int h); + public native void paintFocus(TQPainter arg1, TQColorGroup cg, TQRect r); + public native TQListViewItem firstChild(); + public native TQListViewItem nextSibling(); + public native TQListViewItem parent(); + public native TQListViewItem itemAbove(); + public native TQListViewItem itemBelow(); + public native int itemPos(); + public native TQListView listView(); + public native void setSelectable(boolean enable); + public native boolean isSelectable(); + public native void setExpandable(boolean arg1); + public native boolean isExpandable(); + public native void repaint(); + public native void sort(); + public native void moveItem(TQListViewItem after); + public native void setDragEnabled(boolean allow); + public native void setDropEnabled(boolean allow); + public native boolean dragEnabled(); + public native boolean dropEnabled(); + public native boolean acceptDrop(TQMimeSourceInterface mime); + public native void setVisible(boolean b); + public native boolean isVisible(); + public native void setRenameEnabled(int col, boolean b); + public native boolean renameEnabled(int col); + public native void startRename(int col); + public native void setEnabled(boolean b); + public native boolean isEnabled(); + public native int rtti(); + public native void setMultiLinesEnabled(boolean b); + public native boolean multiLinesEnabled(); + protected native void enforceSortOrder(); + protected native void setHeight(int arg1); + protected native void activate(); + protected native boolean activatedPos(TQPoint arg1); + protected native void dropped(TQDropEvent e); + protected native void dragEntered(); + protected native void dragLeft(); + protected native void okRename(int col); + protected native void cancelRename(int col); + protected native void ignoreDoubleClick(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native ArrayList itemList(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQListViewSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQListViewSignals.java new file mode 100644 index 00000000..ff5fb1b8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQListViewSignals.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQListViewSignals { + void selectionChanged(); + void selectionChanged(TQListViewItem arg1); + void currentChanged(TQListViewItem arg1); + void clicked(TQListViewItem arg1); + void clicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void pressed(TQListViewItem arg1); + void pressed(TQListViewItem arg1, TQPoint arg2, int arg3); + void doubleClicked(TQListViewItem arg1); + void doubleClicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void returnPressed(TQListViewItem arg1); + void spacePressed(TQListViewItem arg1); + void rightButtonClicked(TQListViewItem arg1, TQPoint arg2, int arg3); + void rightButtonPressed(TQListViewItem arg1, TQPoint arg2, int arg3); + void mouseButtonPressed(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); + void mouseButtonClicked(int arg1, TQListViewItem arg2, TQPoint arg3, int arg4); + void contextMenuRequested(TQListViewItem arg1, TQPoint arg2, int arg3); + void onItem(TQListViewItem item); + void onViewport(); + void expanded(TQListViewItem item); + void collapsed(TQListViewItem item); + void dropped(TQDropEvent e); + void itemRenamed(TQListViewItem item, int col, String arg3); + void itemRenamed(TQListViewItem item, int col); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQLocalFs.java b/qtjava/javalib/org/trinitydesktop/qt/TQLocalFs.java new file mode 100644 index 00000000..427f9fff --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQLocalFs.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQLocalFs extends TQNetworkProtocol { + protected TQLocalFs(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQLocalFs() { + super((Class) null); + newTQLocalFs(); + } + private native void newTQLocalFs(); + public native int supportedOperations(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMainWindow.java b/qtjava/javalib/org/trinitydesktop/qt/TQMainWindow.java new file mode 100644 index 00000000..ee177b6b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMainWindow.java @@ -0,0 +1,125 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQMainWindowSignals} for signals emitted by TQMainWindow +*/ +public class TQMainWindow extends TQWidget { + protected TQMainWindow(Class dummy){super((Class) null);} + public static final int OnlyToolBars = 0; + public static final int NoToolBars = 1; + public static final int AllDockWindows = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMainWindow(TQWidget parent, String name, int f) { + super((Class) null); + newTQMainWindow(parent,name,f); + } + private native void newTQMainWindow(TQWidget parent, String name, int f); + public TQMainWindow(TQWidget parent, String name) { + super((Class) null); + newTQMainWindow(parent,name); + } + private native void newTQMainWindow(TQWidget parent, String name); + public TQMainWindow(TQWidget parent) { + super((Class) null); + newTQMainWindow(parent); + } + private native void newTQMainWindow(TQWidget parent); + public TQMainWindow() { + super((Class) null); + newTQMainWindow(); + } + private native void newTQMainWindow(); + public native TQMenuBar menuBar(); + public native TQStatusBar statusBar(); + public native TQToolTipGroup toolTipGroup(); + public native void setCentralWidget(TQWidget arg1); + public native TQWidget centralWidget(); + public native void setDockEnabled(int dock, boolean enable); + public native boolean isDockEnabled(int dock); + public native boolean isDockEnabled(TQDockArea area); + public native void setDockEnabled(TQDockWindow tb, int dock, boolean enable); + public native boolean isDockEnabled(TQDockWindow tb, int dock); + public native boolean isDockEnabled(TQDockWindow tb, TQDockArea area); + public native void addDockWindow(TQDockWindow arg1, int arg2, boolean newLine); + public native void addDockWindow(TQDockWindow arg1, int arg2); + public native void addDockWindow(TQDockWindow arg1); + public native void addDockWindow(TQDockWindow arg1, String label, int arg3, boolean newLine); + public native void addDockWindow(TQDockWindow arg1, String label, int arg3); + public native void addDockWindow(TQDockWindow arg1, String label); + public native void moveDockWindow(TQDockWindow arg1, int arg2); + public native void moveDockWindow(TQDockWindow arg1); + public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); + public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index); + public native void removeDockWindow(TQDockWindow arg1); + public native void show(); + public native void hide(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native boolean rightJustification(); + public native boolean usesBigPixmaps(); + public native boolean usesTextLabel(); + public native boolean dockWindowsMovable(); + public native boolean opaqueMoving(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean getLocation(TQDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset); + // TQPtrList<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(TQDockWindow dw); + public native void addToolBar(TQDockWindow arg1, int arg2, boolean newLine); + public native void addToolBar(TQDockWindow arg1, int arg2); + public native void addToolBar(TQDockWindow arg1); + public native void addToolBar(TQDockWindow arg1, String label, int arg3, boolean newLine); + public native void addToolBar(TQDockWindow arg1, String label, int arg3); + public native void addToolBar(TQDockWindow arg1, String label); + public native void moveToolBar(TQDockWindow arg1, int arg2); + public native void moveToolBar(TQDockWindow arg1); + public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset); + public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index); + public native void removeToolBar(TQDockWindow arg1); + public native boolean toolBarsMovable(); + // TQPtrList<TQToolBar> toolBars(TQt::Dock arg1); >>>> NOT CONVERTED + public native void lineUpToolBars(boolean keepNewLines); + public native void lineUpToolBars(); + public native TQDockArea dockingArea(TQPoint p); + public native TQDockArea leftDock(); + public native TQDockArea rightDock(); + public native TQDockArea topDock(); + public native TQDockArea bottomDock(); + public native boolean isCustomizable(); + public native boolean appropriate(TQDockWindow dw); + public native TQPopupMenu createDockWindowMenu(int dockWindows); + public native TQPopupMenu createDockWindowMenu(); + public native void setRightJustification(boolean arg1); + public native void setUsesBigPixmaps(boolean arg1); + public native void setUsesTextLabel(boolean arg1); + public native void setDockWindowsMovable(boolean arg1); + public native void setOpaqueMoving(boolean arg1); + public native void setDockMenuEnabled(boolean arg1); + public native void whatsThis(); + public native void setAppropriate(TQDockWindow dw, boolean a); + public native void customize(); + public native void setToolBarsMovable(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void childEvent(TQChildEvent arg1); + public native boolean event(TQEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void setUpLayout(); + protected native boolean showDockMenu(TQPoint globalPos); + protected native void menuAboutToShow(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMainWindowSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQMainWindowSignals.java new file mode 100644 index 00000000..3f8f9457 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMainWindowSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQMainWindowSignals { + void pixmapSizeChanged(boolean arg1); + void usesTextLabelChanged(boolean arg1); + void dockWindowPositionChanged(TQDockWindow arg1); + void toolBarPositionChanged(TQToolBar arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuBar.java new file mode 100644 index 00000000..cbdaddd3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuBar.java @@ -0,0 +1,158 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQMenuBarSignals} for signals emitted by TQMenuBar +*/ +public class TQMenuBar extends TQFrame implements TQMenuDataInterface { + protected TQMenuBar(Class dummy){super((Class) null);} + public static final int Never = 0; + public static final int InWindowsStyle = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMenuBar(TQWidget parent, String name) { + super((Class) null); + newTQMenuBar(parent,name); + } + private native void newTQMenuBar(TQWidget parent, String name); + public TQMenuBar(TQWidget parent) { + super((Class) null); + newTQMenuBar(parent); + } + private native void newTQMenuBar(TQWidget parent); + public TQMenuBar() { + super((Class) null); + newTQMenuBar(); + } + private native void newTQMenuBar(); + public native void updateItem(int id); + public native void show(); + public native void hide(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native int heightForWidth(int arg1); + public native int separator(); + public native void setSeparator(int when); + public native void setDefaultUp(boolean arg1); + public native boolean isDefaultUp(); + public native boolean customWhatsThis(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native void activateItemAt(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native void fontChange(TQFont arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + public native void styleChange(TQStyle arg1); + protected native int itemAtPos(TQPoint arg1); + protected native void hidePopups(); + protected native TQRect itemRect(int item); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native int indexOf(int id); + public native int idAt(int index); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuBarSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuBarSignals.java new file mode 100644 index 00000000..a09b876c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuBarSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQMenuBarSignals { + void activated(int itemId); + void highlighted(int itemId); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java new file mode 100644 index 00000000..1eb6e0c0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java @@ -0,0 +1,114 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMenuData implements QtSupport, TQMenuDataInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMenuData(Class dummy){} + + public TQMenuData() { + newTQMenuData(); + } + private native void newTQMenuData(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native void updateItem(int id); + public native int indexOf(int id); + public native int idAt(int index); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + public native void activateItemAt(int index); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuDataInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuDataInterface.java new file mode 100644 index 00000000..c2a46cac --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuDataInterface.java @@ -0,0 +1,94 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQMenuDataInterface { + int count(); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + int insertItem(String text, TQObject receiver, String member); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQPixmap pixmap, TQObject receiver, String member); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + int insertItem(String text, int id, int index); + int insertItem(String text, int id); + int insertItem(String text); + int insertItem(TQIconSet icon, String text, int id, int index); + int insertItem(TQIconSet icon, String text, int id); + int insertItem(TQIconSet icon, String text); + int insertItem(String text, TQPopupMenu popup, int id, int index); + int insertItem(String text, TQPopupMenu popup, int id); + int insertItem(String text, TQPopupMenu popup); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + int insertItem(TQPixmap pixmap, int id, int index); + int insertItem(TQPixmap pixmap, int id); + int insertItem(TQPixmap pixmap); + int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap); + int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + int insertItem(TQPixmap pixmap, TQPopupMenu popup); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + int insertItem(TQWidget widget, int id, int index); + int insertItem(TQWidget widget, int id); + int insertItem(TQWidget widget); + int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + int insertItem(TQIconSet icon, TQCustomMenuItem custom); + int insertItem(TQCustomMenuItem custom, int id, int index); + int insertItem(TQCustomMenuItem custom, int id); + int insertItem(TQCustomMenuItem custom); + int insertSeparator(int index); + int insertSeparator(); + void removeItem(int id); + void removeItemAt(int index); + void clear(); + TQKeySequence accel(int id); + void setAccel(TQKeySequence key, int id); + TQIconSet iconSet(int id); + String text(int id); + TQPixmap pixmap(int id); + void setWhatsThis(int id, String arg2); + String whatsThis(int id); + void changeItem(int id, String text); + void changeItem(int id, TQPixmap pixmap); + void changeItem(int id, TQIconSet icon, String text); + void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + void changeItem(String text, int id); + void changeItem(TQPixmap pixmap, int id); + void changeItem(TQIconSet icon, String text, int id); + boolean isItemActive(int id); + boolean isItemEnabled(int id); + void setItemEnabled(int id, boolean enable); + boolean isItemChecked(int id); + void setItemChecked(int id, boolean check); + boolean isItemVisible(int id); + void setItemVisible(int id, boolean visible); + void updateItem(int id); + int indexOf(int id); + int idAt(int index); + void setId(int index, int id); + boolean connectItem(int id, TQObject receiver, String member); + boolean disconnectItem(int id, TQObject receiver, String member); + boolean setItemParameter(int id, int param); + int itemParameter(int id); + TQMenuItem findItem(int id); + TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + TQMenuItem findPopup(TQPopupMenu arg1); + void activateItemAt(int index); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuItem.java new file mode 100644 index 00000000..127e23fe --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuItem.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMenuItem implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMenuItem(Class dummy){} + + public TQMenuItem() { + newTQMenuItem(); + } + private native void newTQMenuItem(); + public native int id(); + public native TQIconSet iconSet(); + public native String text(); + public native String whatsThis(); + public native TQPixmap pixmap(); + public native TQPopupMenu popup(); + public native TQWidget widget(); + public native TQCustomMenuItem custom(); + public native TQKeySequence key(); + public native TQSignal signal(); + public native boolean isSeparator(); + public native boolean isEnabled(); + public native boolean isChecked(); + public native boolean isDirty(); + public native boolean isVisible(); + public native boolean isEnabledAndVisible(); + public native void setText(String text); + public native void setDirty(boolean dirty); + public native void setVisible(boolean visible); + public native void setWhatsThis(String text); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java new file mode 100644 index 00000000..097f6390 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMessageBox.java @@ -0,0 +1,144 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMessageBox extends TQDialog { + protected TQMessageBox(Class dummy){super((Class) null);} + public static final int NoButton = 0; + public static final int Ok = 1; + public static final int Cancel = 2; + public static final int Yes = 3; + public static final int No = 4; + public static final int Abort = 5; + public static final int Retry = 6; + public static final int Ignore = 7; + public static final int YesAll = 8; + public static final int NoAll = 9; + public static final int ButtonMask = 0xff; + public static final int Default = 0x100; + public static final int Escape = 0x200; + public static final int FlagMask = 0x300; + + public static final int NoIcon = 0; + public static final int Information = 1; + public static final int Warning = 2; + public static final int Critical = 3; + public static final int Question = 4; + + public native TQMetaObject metaObject(); + public native String className(); + public TQMessageBox(TQWidget parent, String name) { + super((Class) null); + newTQMessageBox(parent,name); + } + private native void newTQMessageBox(TQWidget parent, String name); + public TQMessageBox(TQWidget parent) { + super((Class) null); + newTQMessageBox(parent); + } + private native void newTQMessageBox(TQWidget parent); + public TQMessageBox() { + super((Class) null); + newTQMessageBox(); + } + private native void newTQMessageBox(); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal,f); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal, int f); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name,modal); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name, boolean modal); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent,name); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent, String name); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2,parent); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2, TQWidget parent); + public TQMessageBox(String caption, String text, int icon, int button0, int button1, int button2) { + super((Class) null); + newTQMessageBox(caption,text,icon,button0,button1,button2); + } + private native void newTQMessageBox(String caption, String text, int icon, int button0, int button1, int button2); + public native String text(); + public native void setText(String arg1); + public native int iconId(); + public native void setIcon(int arg1); + public native void setIcon(TQPixmap arg1); + public native TQPixmap iconPixmap(); + public native void setIconPixmap(TQPixmap arg1); + public native String buttonText(int button); + public native void setButtonText(int button, String arg2); + public native void adjustSize(); + public native int textFormat(); + public native void setTextFormat(int arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native int information(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int information(TQWidget parent, String caption, String text, int button0, int button1); + public static native int information(TQWidget parent, String caption, String text, int button0); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int information(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int information(TQWidget parent, String caption, String text, String button0Text); + public static native int information(TQWidget parent, String caption, String text); + public static native int question(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int question(TQWidget parent, String caption, String text, int button0, int button1); + public static native int question(TQWidget parent, String caption, String text, int button0); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int question(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int question(TQWidget parent, String caption, String text, String button0Text); + public static native int question(TQWidget parent, String caption, String text); + public static native int warning(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int warning(TQWidget parent, String caption, String text, int button0, int button1); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int warning(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int warning(TQWidget parent, String caption, String text, String button0Text); + public static native int warning(TQWidget parent, String caption, String text); + public static native int critical(TQWidget parent, String caption, String text, int button0, int button1, int button2); + public static native int critical(TQWidget parent, String caption, String text, int button0, int button1); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber, int escapeButtonNumber); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text, int defaultButtonNumber); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text, String button2Text); + public static native int critical(TQWidget parent, String caption, String text, String button0Text, String button1Text); + public static native int critical(TQWidget parent, String caption, String text, String button0Text); + public static native int critical(TQWidget parent, String caption, String text); + public static native void about(TQWidget parent, String caption, String text); + public static native void aboutTQt(TQWidget parent, String caption); + public static native void aboutTQt(TQWidget parent); + public static native int message(String caption, String text, String buttonText, TQWidget parent, String arg5); + public static native int message(String caption, String text, String buttonText, TQWidget parent); + public static native int message(String caption, String text, String buttonText); + public static native int message(String caption, String text); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent, String arg6); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText, TQWidget parent); + public static native boolean query(String caption, String text, String yesButtonText, String noButtonText); + public static native boolean query(String caption, String text, String yesButtonText); + public static native boolean query(String caption, String text); + public static native TQPixmap standardIcon(int icon, int arg2); + public static native TQPixmap standardIcon(int icon); + protected native void resizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void styleChanged(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMetaData.java b/qtjava/javalib/org/trinitydesktop/qt/TQMetaData.java new file mode 100644 index 00000000..b059207c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMetaData.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMetaData implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaData(Class dummy){} + + public static final int Private = 0; + public static final int Protected = 1; + public static final int Public = 2; + + public TQMetaData() { + newTQMetaData(); + } + private native void newTQMetaData(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMetaEnum.java b/qtjava/javalib/org/trinitydesktop/qt/TQMetaEnum.java new file mode 100644 index 00000000..bd80f97a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMetaEnum.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMetaEnum implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaEnum(Class dummy){} + + public TQMetaEnum() { + newTQMetaEnum(); + } + private native void newTQMetaEnum(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMetaObject.java b/qtjava/javalib/org/trinitydesktop/qt/TQMetaObject.java new file mode 100644 index 00000000..ac6e085f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMetaObject.java @@ -0,0 +1,64 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQMetaObject implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaObject(Class dummy){} + + // TQMetaObject* TQMetaObject(const char* arg1,TQMetaObject* arg2,const TQMetaData* arg3,int arg4,const TQMetaData* arg5,int arg6,const TQMetaProperty* arg7,int arg8,const TQMetaEnum* arg9,int arg10,const TQClassInfo* arg11,int arg12); >>>> NOT CONVERTED + public native String className(); + public native String superClassName(); + public native TQMetaObject superClass(); + public native boolean inherits(String clname); + public native int numSlots(boolean arg1); + public native int numSlots(); + public native int numSignals(boolean arg1); + public native int numSignals(); + public native int findSlot(String arg1, boolean arg2); + public native int findSlot(String arg1); + public native int findSignal(String arg1, boolean arg2); + public native int findSignal(String arg1); + public native TQMetaData slot(int index, boolean arg2); + public native TQMetaData slot(int index); + public native TQMetaData signal(int index, boolean arg2); + public native TQMetaData signal(int index); + public native ArrayList slotNames(boolean arg1); + public native ArrayList slotNames(); + public native ArrayList signalNames(boolean arg1); + public native ArrayList signalNames(); + public native int slotOffset(); + public native int signalOffset(); + public native int propertyOffset(); + public native int numClassInfo(boolean arg1); + public native int numClassInfo(); + public native TQClassInfo classInfo(int index, boolean arg2); + public native TQClassInfo classInfo(int index); + public native String classInfo(String name, boolean arg2); + public native String classInfo(String name); + public native TQMetaProperty property(int index, boolean arg2); + public native TQMetaProperty property(int index); + public native int findProperty(String name, boolean arg2); + public native int findProperty(String name); + public native int indexOfProperty(TQMetaProperty arg1, boolean arg2); + public native int indexOfProperty(TQMetaProperty arg1); + public native TQMetaProperty resolveProperty(TQMetaProperty arg1); + public native int resolveProperty(int arg1); + public native ArrayList propertyNames(boolean arg1); + public native ArrayList propertyNames(); + public native int numProperties(boolean arg1); + public native int numProperties(); + public native ArrayList enumeratorNames(boolean arg1); + public native ArrayList enumeratorNames(); + public native int numEnumerators(boolean arg1); + public native int numEnumerators(); + public native TQMetaEnum enumerator(String name, boolean arg2); + public native TQMetaEnum enumerator(String name); + public native boolean tqt_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/trinitydesktop/qt/TQMetaProperty.java b/qtjava/javalib/org/trinitydesktop/qt/TQMetaProperty.java new file mode 100644 index 00000000..31802a68 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMetaProperty.java @@ -0,0 +1,52 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQMetaProperty implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMetaProperty(Class dummy){} + + public static final int Invalid = 0x00000000; + public static final int Readable = 0x00000001; + public static final int Writable = 0x00000002; + public static final int EnumOrSet = 0x00000004; + public static final int UnresolvedEnum = 0x00000008; + public static final int StdSet = 0x00000100; + public static final int Override = 0x00000200; + + public native String type(); + public native String name(); + public native boolean writable(); + public native boolean isValid(); + public native boolean isSetType(); + public native boolean isEnumType(); + public native ArrayList enumKeys(); + public native int keyToValue(String key); + public native String valueToKey(int value); + public native int keysToValue(String[] keys); + public native ArrayList valueToKeys(int value); + public native boolean designable(TQObject arg1); + public native boolean designable(); + public native boolean scriptable(TQObject arg1); + public native boolean scriptable(); + public native boolean stored(TQObject arg1); + public native boolean stored(); + public native boolean reset(TQObject arg1); + public native boolean testFlags(int f); + public native boolean stdSet(); + public native int id(); + public native void clear(); + public TQMetaProperty() { + newTQMetaProperty(); + } + private native void newTQMetaProperty(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMimeSource.java b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSource.java new file mode 100644 index 00000000..989dc2ed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSource.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMimeSource implements QtSupport, TQMimeSourceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMimeSource(Class dummy){} + + public native String format(int n); + public native String format(); + public native boolean provides(String arg1); + public native byte[] encodedData(String arg1); + public native int serialNumber(); + /** Internal method */ + protected native long mimeSource(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceFactory.java b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceFactory.java new file mode 100644 index 00000000..1cc8ab4c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceFactory.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQMimeSourceFactory implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMimeSourceFactory(Class dummy){} + + public TQMimeSourceFactory() { + newTQMimeSourceFactory(); + } + private native void newTQMimeSourceFactory(); + public native TQMimeSourceInterface data(String abs_name); + public native String makeAbsolute(String abs_or_rel_name, String context); + public native TQMimeSourceInterface data(String abs_or_rel_name, String context); + public native void setText(String abs_name, String text); + public native void setImage(String abs_name, TQImage im); + public native void setPixmap(String abs_name, TQPixmap pm); + public native void setData(String abs_name, TQMimeSourceInterface data); + public native void setFilePath(String[] arg1); + public native ArrayList filePath(); + public native void addFilePath(String arg1); + public native void setExtensionType(String ext, String mimetype); + public static native TQMimeSourceFactory defaultFactory(); + public static native void setDefaultFactory(TQMimeSourceFactory arg1); + public static native TQMimeSourceFactory takeDefaultFactory(); + public static native void addFactory(TQMimeSourceFactory f); + public static native void removeFactory(TQMimeSourceFactory f); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceInterface.java new file mode 100644 index 00000000..5d6749a2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMimeSourceInterface.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQMimeSourceInterface { + String format(int n); + String format(); + boolean provides(String arg1); + byte[] encodedData(String arg1); + int serialNumber(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMouseEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQMouseEvent.java new file mode 100644 index 00000000..829bcba3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMouseEvent.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMouseEvent extends TQEvent { + protected TQMouseEvent(Class dummy){super((Class) null);} + public TQMouseEvent(int type, TQPoint pos, int button, int state) { + super((Class) null); + newTQMouseEvent(type,pos,button,state); + } + private native void newTQMouseEvent(int type, TQPoint pos, int button, int state); + public TQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state) { + super((Class) null); + newTQMouseEvent(type,pos,globalPos,button,state); + } + private native void newTQMouseEvent(int type, TQPoint pos, TQPoint globalPos, int button, int state); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int button(); + public native int state(); + public native int stateAfter(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMoveEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQMoveEvent.java new file mode 100644 index 00000000..acc9f0b0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMoveEvent.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMoveEvent extends TQEvent { + protected TQMoveEvent(Class dummy){super((Class) null);} + public TQMoveEvent(TQPoint pos, TQPoint oldPos) { + super((Class) null); + newTQMoveEvent(pos,oldPos); + } + private native void newTQMoveEvent(TQPoint pos, TQPoint oldPos); + public native TQPoint pos(); + public native TQPoint oldPos(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMovie.java b/qtjava/javalib/org/trinitydesktop/qt/TQMovie.java new file mode 100644 index 00000000..40d7b99b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMovie.java @@ -0,0 +1,90 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMovie implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQMovie(Class dummy){} + + public static final int SourceEmpty = -2; + public static final int UnrecognizedFormat = -1; + public static final int Paused = 1; + public static final int EndOfFrame = 2; + public static final int EndOfLoop = 3; + public static final int EndOfMovie = 4; + public static final int SpeedChanged = 5; + + public TQMovie() { + newTQMovie(); + } + private native void newTQMovie(); + public TQMovie(int bufsize) { + newTQMovie(bufsize); + } + private native void newTQMovie(int bufsize); + public TQMovie(TQDataSource arg1, int bufsize) { + newTQMovie(arg1,bufsize); + } + private native void newTQMovie(TQDataSource arg1, int bufsize); + public TQMovie(TQDataSource arg1) { + newTQMovie(arg1); + } + private native void newTQMovie(TQDataSource arg1); + public TQMovie(String fileName, int bufsize) { + newTQMovie(fileName,bufsize); + } + private native void newTQMovie(String fileName, int bufsize); + public TQMovie(String fileName) { + newTQMovie(fileName); + } + private native void newTQMovie(String fileName); + public TQMovie(byte[] data, int bufsize) { + newTQMovie(data,bufsize); + } + private native void newTQMovie(byte[] data, int bufsize); + public TQMovie(byte[] data) { + newTQMovie(data); + } + private native void newTQMovie(byte[] data); + public TQMovie(TQMovie arg1) { + newTQMovie(arg1); + } + private native void newTQMovie(TQMovie arg1); + public native int pushSpace(); + public native void pushData(char[] data, int length); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native TQRect getValidRect(); + public native TQPixmap framePixmap(); + public native TQImage frameImage(); + public native boolean isNull(); + public native int frameNumber(); + public native int steps(); + public native boolean paused(); + public native boolean finished(); + public native boolean running(); + public native void unpause(); + public native void pause(); + public native void step(); + public native void step(int arg1); + public native void restart(); + public native int speed(); + public native void setSpeed(int arg1); + public native void connectResize(TQObject receiver, String member); + public native void disconnectResize(TQObject receiver, String member); + public native void disconnectResize(TQObject receiver); + public native void connectUpdate(TQObject receiver, String member); + public native void disconnectUpdate(TQObject receiver, String member); + public native void disconnectUpdate(TQObject receiver); + public native void connectStatus(TQObject receiver, String member); + public native void disconnectStatus(TQObject receiver, String member); + public native void disconnectStatus(TQObject receiver); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMultiLineEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQMultiLineEdit.java new file mode 100644 index 00000000..706edabf --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQMultiLineEdit.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQMultiLineEdit extends TQTextEdit { + protected TQMultiLineEdit(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQMultiLineEdit(TQWidget parent, String name) { + super((Class) null); + newTQMultiLineEdit(parent,name); + } + private native void newTQMultiLineEdit(TQWidget parent, String name); + public TQMultiLineEdit(TQWidget parent) { + super((Class) null); + newTQMultiLineEdit(parent); + } + private native void newTQMultiLineEdit(TQWidget parent); + public TQMultiLineEdit() { + super((Class) null); + newTQMultiLineEdit(); + } + private native void newTQMultiLineEdit(); + public native String textLine(int line); + public native int numLines(); + public native void insertLine(String s, int line); + public native void insertLine(String s); + public native void insertAt(String s, int line, int col); + public native void insertAt(String s, int line, int col, boolean mark); + public native void removeLine(int line); + public native void setCursorPosition(int line, int col); + public native void setCursorPosition(int line, int col, boolean mark); + public native boolean atBeginning(); + public native boolean atEnd(); + public native void setAlignment(int flags); + public native int alignment(); + public native void setEdited(boolean arg1); + public native boolean edited(); + public native boolean hasMarkedText(); + public native String markedText(); + public native void cursorWordForward(boolean mark); + public native void cursorWordBackward(boolean mark); + public native boolean autoUpdate(); + public native void setAutoUpdate(boolean arg1); + public native int totalWidth(); + public native int totalHeight(); + public native int maxLines(); + public native void setMaxLines(int arg1); + public native void deselect(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native TQPoint cursorPoint(); + protected native void insertAndMark(String arg1, boolean mark); + protected native void newLine(); + protected native void killLine(); + protected native void pageUp(boolean mark); + protected native void pageUp(); + protected native void pageDown(boolean mark); + protected native void pageDown(); + protected native void cursorLeft(boolean mark, boolean wrap); + protected native void cursorLeft(boolean mark); + protected native void cursorLeft(); + protected native void cursorRight(boolean mark, boolean wrap); + protected native void cursorRight(boolean mark); + protected native void cursorRight(); + protected native void cursorUp(boolean mark); + protected native void cursorUp(); + protected native void cursorDown(boolean mark); + protected native void cursorDown(); + protected native void backspace(); + protected native void home(boolean mark); + protected native void home(); + protected native void end(boolean mark); + protected native void end(); + protected native boolean getMarkedRegion(int[] line1, int[] col1, int[] line2, int[] col2); + protected native int lineLength(int row); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQNetworkOperation.java b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkOperation.java new file mode 100644 index 00000000..22337a1d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkOperation.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQNetworkOperation extends TQObject { + protected TQNetworkOperation(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQNetworkOperation(int operation, String arg0, String arg1, String arg2) { + super((Class) null); + newTQNetworkOperation(operation,arg0,arg1,arg2); + } + private native void newTQNetworkOperation(int operation, String arg0, String arg1, String arg2); + public TQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2) { + super((Class) null); + newTQNetworkOperation(operation,arg0,arg1,arg2); + } + private native void newTQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2); + public native void setState(int state); + public native void setProtocolDetail(String detail); + public native void setErrorCode(int ec); + public native void setArg(int num, String arg); + public native void setRawArg(int num, byte[] arg); + public native int operation(); + public native int state(); + public native String arg(int num); + public native byte[] rawArg(int num); + public native String protocolDetail(); + public native int errorCode(); + public native void free(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocol.java b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocol.java new file mode 100644 index 00000000..ece497f8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocol.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQNetworkProtocolSignals} for signals emitted by TQNetworkProtocol +*/ +public class TQNetworkProtocol extends TQObject { + protected TQNetworkProtocol(Class dummy){super((Class) null);} + public static final int StWaiting = 0; + public static final int StInProgress = 1; + public static final int StDone = 2; + public static final int StFailed = 3; + public static final int StStopped = 4; + + public static final int OpListChildren = 1; + public static final int OpMkDir = 2; + public static final int OpMkdir = OpMkDir; + public static final int OpRemove = 4; + public static final int OpRename = 8; + public static final int OpGet = 32; + public static final int OpPut = 64; + + public static final int ConHostFound = 0; + public static final int ConConnected = 1; + public static final int ConClosed = 2; + + public static final int NoError = 0; + public static final int ErrValid = 1; + public static final int ErrUnknownProtocol = 2; + public static final int ErrUnsupported = 3; + public static final int ErrParse = 4; + public static final int ErrLoginIncorrect = 5; + public static final int ErrHostNotFound = 6; + public static final int ErrListChildren = 7; + public static final int ErrListChlidren = ErrListChildren; + public static final int ErrMkDir = 8; + public static final int ErrMkdir = ErrMkDir; + public static final int ErrRemove = 9; + public static final int ErrRename = 10; + public static final int ErrGet = 11; + public static final int ErrPut = 12; + public static final int ErrFileNotExisting = 13; + public static final int ErrPermissionDenied = 14; + + public native TQMetaObject metaObject(); + public native String className(); + public TQNetworkProtocol() { + super((Class) null); + newTQNetworkProtocol(); + } + private native void newTQNetworkProtocol(); + public native void setUrl(TQUrlOperator u); + public native void setAutoDelete(boolean b, int i); + public native void setAutoDelete(boolean b); + public native boolean autoDelete(); + public native int supportedOperations(); + public native void addOperation(TQNetworkOperation op); + public native TQUrlOperator url(); + public native TQNetworkOperation operationInProgress(); + public native void clearOperationQueue(); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + // void registerNetworkProtocol(const TQString& arg1,TQNetworkProtocolFactoryBase* arg2); >>>> NOT CONVERTED + public static native TQNetworkProtocol getNetworkProtocol(String protocol); + public static native boolean hasOnlyLocalFileSystem(); + protected native void processOperation(TQNetworkOperation op); + protected native void operationListChildren(TQNetworkOperation op); + protected native void operationMkDir(TQNetworkOperation op); + protected native void operationRemove(TQNetworkOperation op); + protected native void operationRename(TQNetworkOperation op); + protected native void operationGet(TQNetworkOperation op); + protected native void operationPut(TQNetworkOperation op); + protected native void operationPutChunk(TQNetworkOperation op); + protected native boolean checkConnection(TQNetworkOperation op); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocolSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocolSignals.java new file mode 100644 index 00000000..df575198 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQNetworkProtocolSignals.java @@ -0,0 +1,16 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQNetworkProtocolSignals { + void data(byte[] arg1, TQNetworkOperation res); + void connectionStateChanged(int state, String data); + void finished(TQNetworkOperation res); + void start(TQNetworkOperation res); + // void newChildren(const TQValueList<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/trinitydesktop/qt/TQObject.java b/qtjava/javalib/org/trinitydesktop/qt/TQObject.java new file mode 100644 index 00000000..d676961e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQObject.java @@ -0,0 +1,272 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQObjectSignals} for signals emitted by TQObject +*/ +public class TQObject extends Qt { + protected TQObject(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQObject(TQObject parent, String name) { + super((Class) null); + newTQObject(parent,name); + } + private native void newTQObject(TQObject parent, String name); + public TQObject(TQObject parent) { + super((Class) null); + newTQObject(parent); + } + private native void newTQObject(TQObject parent); + public TQObject() { + super((Class) null); + newTQObject(); + } + private native void newTQObject(); + public native boolean event(TQEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native boolean isA(String arg1); + public native boolean inherits(String arg1); + public native String name(); + public native String name(String defaultName); + public native void setName(String name); + public native boolean isWidgetType(); + public native boolean highPriority(); + public native boolean signalsBlocked(); + public native void blockSignals(boolean b); + public native int startTimer(int interval); + public native void killTimer(int id); + public native void killTimers(); + public native TQObject child(String objName, String inheritsClass, boolean recursiveSearch); + public native TQObject child(String objName, String inheritsClass); + public native TQObject child(String objName); + public native ArrayList children(); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch, boolean recursiveSearch); + public native ArrayList queryList(String inheritsClass, String objName, boolean regexpMatch); + public native ArrayList queryList(String inheritsClass, String objName); + public native ArrayList queryList(String inheritsClass); + public native ArrayList queryList(); + public native void insertChild(TQObject arg1); + public native void removeChild(TQObject arg1); + public native void installEventFilter(TQObject arg1); + public native void removeEventFilter(TQObject arg1); + public native boolean connect(TQObject sender, String signal, String member); + public native boolean disconnect(String signal, TQObject receiver, String member); + public native boolean disconnect(String signal, TQObject receiver); + public native boolean disconnect(String signal); + public native boolean disconnect(); + public native boolean disconnect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver); + public native void dumpObjectTree(); + public native void dumpObjectInfo(); + public native boolean setProperty(String name, TQVariant value); + public native TQVariant property(String name); + // void setUserData(uint arg1,TQObjectUserData* arg2); >>>> NOT CONVERTED + // TQObjectUserData* userData(uint arg1); >>>> NOT CONVERTED + public native TQObject parent(); + public native void deleteLater(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native ArrayList objectTrees(); + public static native boolean connect(TQObject sender, String signal, TQObject receiver, String member); + public static native boolean disconnect(TQObject sender, String signal, TQObject receiver, String member); + public static native void connectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native boolean disconnectInternal(TQObject sender, int signal_index, TQObject receiver, int membcode, int member_index); + public static native int registerUserData(); + protected native boolean activate_filters(TQEvent arg1); + // TQConnectionList* receivers(const char* arg1); >>>> NOT CONVERTED + // TQConnectionList* receivers(int arg1); >>>> NOT CONVERTED + protected native void activate_signal(int signal); + protected native void activate_signal(int signal, int arg2); + protected native void activate_signal(int signal, double arg2); + protected native void activate_signal(int signal, String arg2); + protected native void activate_signal_bool(int signal, boolean arg2); + // void activate_signal(TQConnectionList* arg1,TQUObject* arg2); >>>> NOT CONVERTED + protected native TQObject sender(); + protected native void timerEvent(TQTimerEvent arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void customEvent(TQCustomEvent arg1); + protected native void connectNotify(String signal); + protected native void disconnectNotify(String signal); + protected native boolean checkConnectArgs(String signal, TQObject receiver, String member); + protected static native String normalizeSignalSlot(String signalSlot); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + /** i18n() is just a synonym of tr() for now */ + public static String i18n(String s) { + return tr(s); + } + + public native void emit(String signal, Object[] args); + + protected void emit(String signal) { + Object[] args = new Object[0]; + emit("2" + signal.trim() + "()", args); + } + + protected void emit(String signal, Object value) { + Object[] args = new Object[1]; + args[0] = value; + emit("2" + signal.trim() + "(" + value.getClass().getName() + ")", args); + } + + protected void emit(String signal, Object value1, Object value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = value2; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, Object value1, Object value2, Object value3, Object value4) { + Object[] args = new Object[4]; + args[0] = value1; + args[1] = value2; + args[2] = value3; + args[3] = value4; + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + value2.getClass().getName() + "," + + value3.getClass().getName() + "," + + value4.getClass().getName() + + ")", args); + } + + protected void emit(String signal, boolean value) { + Object[] args = new Object[1]; + args[0] = new Boolean(value); + emit("2" + signal.trim() + "(boolean)", args); + } + + protected void emit(String signal, char value) { + Object[] args = new Object[1]; + args[0] = new Character(value); + emit("2" + signal.trim() + "(char)", args); + } + + protected void emit(String signal, byte value) { + Object[] args = new Object[1]; + args[0] = new Byte(value); + emit("2" + signal.trim() + "(byte)", args); + } + + protected void emit(String signal, short value) { + Object[] args = new Object[1]; + args[0] = new Short(value); + emit("2" + signal.trim() + "(short)", args); + } + + protected void emit(String signal, int value) { + Object[] args = new Object[1]; + args[0] = new Integer(value); + emit("2" + signal.trim() + "(int)", args); + } + + protected void emit(String signal, int value1, int value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(int,int)", args); + } + + protected void emit(String signal, Object value1, int value2) { + Object[] args = new Object[2]; + args[0] = value1; + args[1] = new Integer(value2); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + "," + + "int" + + ")", args); + } + + protected void emit(String signal, int value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(int,int,int)", args); + } + + protected void emit(String signal, int value1, int value2, int value3, Object value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = new Integer(value2); + args[2] = new Integer(value3); + args[3] = value4; + emit("2" + signal.trim() + "(int,int,int," + value4.getClass().getName() + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3) { + Object[] args = new Object[3]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ")", args); + } + + protected void emit(String signal, int value1, Object value2, Object value3, int value4) { + Object[] args = new Object[4]; + args[0] = new Integer(value1); + args[1] = value2; + args[2] = value3; + args[3] = new Integer(value4); + emit("2" + signal.trim() + "(int," + + value2.getClass().getName() + "," + + value3.getClass().getName() + + ",int)", args); + } + + protected void emit(String signal, int value1, boolean value2) { + Object[] args = new Object[2]; + args[0] = new Integer(value1); + args[1] = new Boolean(value2); + emit("2" + signal.trim() + "(int,boolean)", args); + } + + protected void emit(String signal, long value) { + Object[] args = new Object[1]; + args[0] = new Long(value); + emit("2" + signal.trim() + "(long)", args); + } + + protected void emit(String signal, float value) { + Object[] args = new Object[1]; + args[0] = new Float(value); + emit("2" + signal.trim() + "(float)", args); + } + + protected void emit(String signal, double value) { + Object[] args = new Object[1]; + args[0] = new Double(value); + emit("2" + signal.trim() + "(double)", args); + } + + protected void emit(String signal, Object value1, int value2, int value3) { + Object[] args = new Object[3]; + args[0] = value1; + args[1] = new Integer(value2); + args[2] = new Integer(value3); + emit("2" + signal.trim() + "(" + value1.getClass().getName() + ",int,int)", args); + } + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQObjectCleanupHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQObjectCleanupHandler.java new file mode 100644 index 00000000..bd771369 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQObjectCleanupHandler.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQObjectCleanupHandler extends TQObject { + protected TQObjectCleanupHandler(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQObjectCleanupHandler() { + super((Class) null); + newTQObjectCleanupHandler(); + } + private native void newTQObjectCleanupHandler(); + public native TQObject add(TQObject object); + public native void remove(TQObject object); + public native boolean isEmpty(); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQObjectSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQObjectSignals.java new file mode 100644 index 00000000..4fe85505 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQObjectSignals.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQObjectSignals { + void destroyed(); + void destroyed(TQObject arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java new file mode 100644 index 00000000..cbe8c2e6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDevice.java @@ -0,0 +1,86 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPaintDevice implements QtSupport, TQPaintDeviceInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPaintDevice(Class dummy){} + + public static final int PdcNOP = 0; + public static final int PdcDrawPoint = 1; + public static final int PdcDrawFirst = PdcDrawPoint; + public static final int PdcMoveTo = 2; + public static final int PdcLineTo = 3; + public static final int PdcDrawLine = 4; + public static final int PdcDrawRect = 5; + public static final int PdcDrawRoundRect = 6; + public static final int PdcDrawEllipse = 7; + public static final int PdcDrawArc = 8; + public static final int PdcDrawPie = 9; + public static final int PdcDrawChord = 10; + public static final int PdcDrawLineSegments = 11; + public static final int PdcDrawPolyline = 12; + public static final int PdcDrawPolygon = 13; + public static final int PdcDrawCubicBezier = 14; + public static final int PdcDrawText = 15; + public static final int PdcDrawTextFormatted = 16; + public static final int PdcDrawPixmap = 17; + public static final int PdcDrawImage = 18; + public static final int PdcDrawText2 = 19; + public static final int PdcDrawText2Formatted = 20; + public static final int PdcDrawTextItem = 21; + public static final int PdcDrawLast = PdcDrawTextItem; + public static final int PdcBegin = 30; + public static final int PdcEnd = 31; + public static final int PdcSave = 32; + public static final int PdcRestore = 33; + public static final int PdcSetdev = 34; + public static final int PdcSetBkColor = 40; + public static final int PdcSetBkMode = 41; + public static final int PdcSetROP = 42; + public static final int PdcSetBrushOrigin = 43; + public static final int PdcSetFont = 45; + public static final int PdcSetPen = 46; + public static final int PdcSetBrush = 47; + public static final int PdcSetTabStops = 48; + public static final int PdcSetTabArray = 49; + public static final int PdcSetUnit = 50; + public static final int PdcSetVXform = 51; + public static final int PdcSetWindow = 52; + public static final int PdcSetViewport = 53; + public static final int PdcSetWXform = 54; + public static final int PdcSetWMatrix = 55; + public static final int PdcSaveWMatrix = 56; + public static final int PdcRestoreWMatrix = 57; + public static final int PdcSetClip = 60; + public static final int PdcSetClipRegion = 61; + public static final int PdcReservedStart = 0; + public static final int PdcReservedStop = 199; + + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + public TQPaintDevice(int devflags) { + newTQPaintDevice(devflags); + } + private native void newTQPaintDevice(int devflags); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(int arg1); + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceInterface.java new file mode 100644 index 00000000..b89a5372 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceInterface.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQPaintDeviceInterface { + int devType(); + boolean isExtDev(); + boolean paintingActive(); + void setResolution(int arg1); + int resolution(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceMetrics.java b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceMetrics.java new file mode 100644 index 00000000..ba160d35 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPaintDeviceMetrics.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPaintDeviceMetrics implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPaintDeviceMetrics(Class dummy){} + + public static final int PdmWidth = 1; + public static final int PdmHeight = 2; + public static final int PdmWidthMM = 3; + public static final int PdmHeightMM = 4; + public static final int PdmNumColors = 5; + public static final int PdmDepth = 6; + public static final int PdmDpiX = 7; + public static final int PdmDpiY = 8; + public static final int PdmPhysicalDpiX = 9; + public static final int PdmPhysicalDpiY = 10; + + public TQPaintDeviceMetrics(TQPaintDeviceInterface arg1) { + newTQPaintDeviceMetrics(arg1); + } + private native void newTQPaintDeviceMetrics(TQPaintDeviceInterface arg1); + public native int width(); + public native int height(); + public native int widthMM(); + public native int heightMM(); + public native int logicalDpiX(); + public native int logicalDpiY(); + public native int physicalDpiX(); + public native int physicalDpiY(); + public native int numColors(); + public native int depth(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPaintEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQPaintEvent.java new file mode 100644 index 00000000..5e7e33a3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPaintEvent.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPaintEvent extends TQEvent { + protected TQPaintEvent(Class dummy){super((Class) null);} + public TQPaintEvent(TQRegion paintRegion, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRegion,erased); + } + private native void newTQPaintEvent(TQRegion paintRegion, boolean erased); + public TQPaintEvent(TQRegion paintRegion) { + super((Class) null); + newTQPaintEvent(paintRegion); + } + private native void newTQPaintEvent(TQRegion paintRegion); + public TQPaintEvent(TQRect paintRect, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRect,erased); + } + private native void newTQPaintEvent(TQRect paintRect, boolean erased); + public TQPaintEvent(TQRect paintRect) { + super((Class) null); + newTQPaintEvent(paintRect); + } + private native void newTQPaintEvent(TQRect paintRect); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased) { + super((Class) null); + newTQPaintEvent(paintRegion,paintRect,erased); + } + private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect, boolean erased); + public TQPaintEvent(TQRegion paintRegion, TQRect paintRect) { + super((Class) null); + newTQPaintEvent(paintRegion,paintRect); + } + private native void newTQPaintEvent(TQRegion paintRegion, TQRect paintRect); + public native TQRect rect(); + public native TQRegion region(); + public native boolean erased(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java b/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java new file mode 100644 index 00000000..f609632f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPainter.java @@ -0,0 +1,247 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPainter extends Qt { + protected TQPainter(Class dummy){super((Class) null);} + public static final int IsActive = 0x01; + public static final int ExtDev = 0x02; + public static final int IsStartingUp = 0x04; + public static final int NoCache = 0x08; + public static final int VxF = 0x10; + public static final int WxF = 0x20; + public static final int ClipOn = 0x40; + public static final int SafePolygon = 0x80; + public static final int MonoDev = 0x100; + public static final int DirtyFont = 0x200; + public static final int DirtyPen = 0x400; + public static final int DirtyBrush = 0x800; + public static final int RGBColor = 0x1000; + public static final int FontMet = 0x2000; + public static final int FontInf = 0x4000; + public static final int CtorBegin = 0x8000; + public static final int UsePrivateCx = 0x10000; + public static final int VolatileDC = 0x20000; + public static final int Qt2Compat = 0x40000; + + public static final int CoordDevice = 0; + public static final int CoordPainter = 1; + + public static final int Auto = 0; + public static final int RTL = 1; + public static final int LTR = 2; + + public TQPainter() { + super((Class) null); + newTQPainter(); + } + private native void newTQPainter(); + public TQPainter(TQPaintDeviceInterface arg1, boolean unclipped) { + super((Class) null); + newTQPainter(arg1,unclipped); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1) { + super((Class) null); + newTQPainter(arg1); + } + private native void newTQPainter(TQPaintDeviceInterface arg1); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped) { + super((Class) null); + newTQPainter(arg1,arg2,unclipped); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); + public TQPainter(TQPaintDeviceInterface arg1, TQWidget arg2) { + super((Class) null); + newTQPainter(arg1,arg2); + } + private native void newTQPainter(TQPaintDeviceInterface arg1, TQWidget arg2); + public native boolean begin(TQPaintDeviceInterface arg1, boolean unclipped); + public native boolean begin(TQPaintDeviceInterface arg1); + public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2, boolean unclipped); + public native boolean begin(TQPaintDeviceInterface arg1, TQWidget arg2); + public native boolean end(); + public native TQPaintDeviceInterface device(); + public native boolean isActive(); + public native void flush(TQRegion region, int cm); + public native void flush(TQRegion region); + public native void flush(); + public native void save(); + public native void restore(); + public native TQFontMetrics fontMetrics(); + public native TQFontInfo fontInfo(); + public native TQFont font(); + public native void setFont(TQFont arg1); + public native TQPen pen(); + public native void setPen(TQPen arg1); + public native void setPen(int arg1); + public native void setPen(TQColor arg1); + public native TQBrush brush(); + public native void setBrush(TQBrush arg1); + public native void setBrush(int arg1); + public native void setBrush(TQColor arg1); + public native TQPoint pos(); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native int backgroundMode(); + public native void setBackgroundMode(int arg1); + public native int rasterOp(); + public native void setRasterOp(int arg1); + public native TQPoint brushOrigin(); + public native void setBrushOrigin(int x, int y); + public native void setBrushOrigin(TQPoint arg1); + public native boolean hasViewXForm(); + public native boolean hasWorldXForm(); + public native void setViewXForm(boolean arg1); + public native TQRect window(); + public native void setWindow(TQRect arg1); + public native void setWindow(int x, int y, int w, int h); + public native TQRect viewport(); + public native void setViewport(TQRect arg1); + public native void setViewport(int x, int y, int w, int h); + public native void setWorldXForm(boolean arg1); + public native TQWMatrix worldMatrix(); + public native void setWorldMatrix(TQWMatrix arg1, boolean combine); + public native void setWorldMatrix(TQWMatrix arg1); + public native void saveWorldMatrix(); + public native void restoreWorldMatrix(); + public native void scale(double sx, double sy); + public native void shear(double sh, double sv); + public native void rotate(double a); + public native void translate(double dx, double dy); + public native void resetXForm(); + public native double translationX(); + public native double translationY(); + public native Object xForm(TQPoint arg1); + public native Object xForm(TQRect arg1); + public native Object xForm(TQPointArray arg1); + public native Object xForm(TQPointArray arg1, int index, int npoints); + public native TQPoint xFormDev(TQPoint arg1); + public native TQRect xFormDev(TQRect arg1); + public native TQPointArray xFormDev(TQPointArray arg1); + public native TQPointArray xFormDev(TQPointArray arg1, int index, int npoints); + public native void setClipping(boolean arg1); + public native boolean hasClipping(); + public native TQRegion clipRegion(int arg1); + public native TQRegion clipRegion(); + public native void setClipRect(TQRect arg1, int arg2); + public native void setClipRect(TQRect arg1); + public native void setClipRect(int x, int y, int w, int h, int arg5); + public native void setClipRect(int x, int y, int w, int h); + public native void setClipRegion(TQRegion arg1, int arg2); + public native void setClipRegion(TQRegion arg1); + public native void drawPoint(int x, int y); + public native void drawPoint(TQPoint arg1); + public native void drawPoints(TQPointArray a, int index, int npoints); + public native void drawPoints(TQPointArray a, int index); + public native void drawPoints(TQPointArray a); + public native void moveTo(int x, int y); + public native void moveTo(TQPoint arg1); + public native void lineTo(int x, int y); + public native void lineTo(TQPoint arg1); + public native void drawLine(int x1, int y1, int x2, int y2); + public native void drawLine(TQPoint arg1, TQPoint arg2); + public native void drawRect(int x, int y, int w, int h); + public native void drawRect(TQRect arg1); + public native void drawWinFocusRect(int x, int y, int w, int h); + public native void drawWinFocusRect(int x, int y, int w, int h, TQColor bgColor); + public native void drawWinFocusRect(TQRect arg1); + public native void drawWinFocusRect(TQRect arg1, TQColor bgColor); + public native void drawRoundRect(int x, int y, int w, int h, int arg5, int arg6); + public native void drawRoundRect(int x, int y, int w, int h, int arg5); + public native void drawRoundRect(int x, int y, int w, int h); + public native void drawRoundRect(TQRect arg1, int arg2, int arg3); + public native void drawRoundRect(TQRect arg1, int arg2); + public native void drawRoundRect(TQRect arg1); + public native void drawEllipse(int x, int y, int w, int h); + public native void drawEllipse(TQRect arg1); + public native void drawArc(int x, int y, int w, int h, int a, int alen); + public native void drawArc(TQRect arg1, int a, int alen); + public native void drawPie(int x, int y, int w, int h, int a, int alen); + public native void drawPie(TQRect arg1, int a, int alen); + public native void drawChord(int x, int y, int w, int h, int a, int alen); + public native void drawChord(TQRect arg1, int a, int alen); + public native void drawLineSegments(TQPointArray arg1, int index, int nlines); + public native void drawLineSegments(TQPointArray arg1, int index); + public native void drawLineSegments(TQPointArray arg1); + public native void drawPolyline(TQPointArray arg1, int index, int npoints); + public native void drawPolyline(TQPointArray arg1, int index); + public native void drawPolyline(TQPointArray arg1); + public native void drawPolygon(TQPointArray arg1, boolean winding, int index, int npoints); + public native void drawPolygon(TQPointArray arg1, boolean winding, int index); + public native void drawPolygon(TQPointArray arg1, boolean winding); + public native void drawPolygon(TQPointArray arg1); + public native void drawConvexPolygon(TQPointArray arg1, int index, int npoints); + public native void drawConvexPolygon(TQPointArray arg1, int index); + public native void drawConvexPolygon(TQPointArray arg1); + public native void drawCubicBezier(TQPointArray arg1, int index); + public native void drawCubicBezier(TQPointArray arg1); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw, int sh); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy, int sw); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx, int sy); + public native void drawPixmap(int x, int y, TQPixmap arg3, int sx); + public native void drawPixmap(int x, int y, TQPixmap arg3); + public native void drawPixmap(TQPoint arg1, TQPixmap arg2, TQRect sr); + public native void drawPixmap(TQPoint arg1, TQPixmap arg2); + public native void drawPixmap(TQRect arg1, TQPixmap arg2); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh, int conversionFlags); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw, int sh); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy, int sw); + public native void drawImage(int x, int y, TQImage arg3, int sx, int sy); + public native void drawImage(int x, int y, TQImage arg3, int sx); + public native void drawImage(int x, int y, TQImage arg3); + public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr, int conversionFlags); + public native void drawImage(TQPoint arg1, TQImage arg2, TQRect sr); + public native void drawImage(TQPoint arg1, TQImage arg2, int conversion_flags); + public native void drawImage(TQPoint arg1, TQImage arg2); + public native void drawImage(TQRect arg1, TQImage arg2); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx, int sy); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5, int sx); + public native void drawTiledPixmap(int x, int y, int w, int h, TQPixmap arg5); + public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2, TQPoint arg3); + public native void drawTiledPixmap(TQRect arg1, TQPixmap arg2); + public native void drawPicture(TQPicture arg1); + public native void drawPicture(int x, int y, TQPicture arg3); + public native void drawPicture(TQPoint arg1, TQPicture arg2); + public native void fillRect(int x, int y, int w, int h, TQBrush arg5); + public native void fillRect(TQRect arg1, TQBrush arg2); + public native void eraseRect(int x, int y, int w, int h); + public native void eraseRect(TQRect arg1); + public native void drawText(int x, int y, String arg3, int len, int dir); + public native void drawText(int x, int y, String arg3, int len); + public native void drawText(int x, int y, String arg3); + public native void drawText(TQPoint arg1, String arg2, int len, int dir); + public native void drawText(TQPoint arg1, String arg2, int len); + public native void drawText(TQPoint arg1, String arg2); + public native void drawText(int x, int y, String arg3, int pos, int len, int dir); + public native void drawText(TQPoint p, String arg2, int pos, int len, int dir); + // void drawText(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQRect* arg8,TQTextParag** arg9); >>>> NOT CONVERTED + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len, TQRect br); + public native void drawText(int x, int y, int w, int h, int flags, String arg6, int len); + public native void drawText(int x, int y, int w, int h, int flags, String arg6); + // void drawText(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQRect* arg5,TQTextParag** arg6); >>>> NOT CONVERTED + public native void drawText(TQRect arg1, int flags, String arg3, int len, TQRect br); + public native void drawText(TQRect arg1, int flags, String arg3, int len); + public native void drawText(TQRect arg1, int flags, String arg3); + // TQRect boundingRect(int arg1,int arg2,int arg3,int arg4,int arg5,const TQString& arg6,int arg7,TQTextParag** arg8); >>>> NOT CONVERTED + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6, int len); + public native TQRect boundingRect(int x, int y, int w, int h, int flags, String arg6); + // TQRect boundingRect(const TQRect& arg1,int arg2,const TQString& arg3,int arg4,TQTextParag** arg5); >>>> NOT CONVERTED + public native TQRect boundingRect(TQRect arg1, int flags, String arg3, int len); + public native TQRect boundingRect(TQRect arg1, int flags, String arg3); + public native int tabStops(); + public native void setTabStops(int arg1); + public native int[] tabArray(); + public native void setTabArray(int[] arg1); + public static native void redirect(TQPaintDeviceInterface pdev, TQPaintDeviceInterface replacement); + public static native TQPaintDeviceInterface redirect(TQPaintDeviceInterface pdev); + public static native void initialize(); + public static native void cleanup(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPalette.java b/qtjava/javalib/org/trinitydesktop/qt/TQPalette.java new file mode 100644 index 00000000..cce475ed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPalette.java @@ -0,0 +1,64 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPalette implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPalette(Class dummy){} + + public static final int Disabled = 0; + public static final int Active = 1; + public static final int Inactive = 2; + public static final int NColorGroups = 3; + public static final int Normal = Active; + + public TQPalette() { + newTQPalette(); + } + private native void newTQPalette(); + public TQPalette(TQColor button) { + newTQPalette(button); + } + private native void newTQPalette(TQColor button); + public TQPalette(TQColor button, TQColor background) { + newTQPalette(button,background); + } + private native void newTQPalette(TQColor button, TQColor background); + public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { + newTQPalette(active,disabled,inactive); + } + private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); + public TQPalette(TQPalette arg1) { + newTQPalette(arg1); + } + private native void newTQPalette(TQPalette arg1); + public native TQColor color(int arg1, int arg2); + public native TQBrush brush(int arg1, int arg2); + public native void setColor(int arg1, int arg2, TQColor arg3); + public native void setBrush(int arg1, int arg2, TQBrush arg3); + public native void setColor(int arg1, TQColor arg2); + public native void setBrush(int arg1, TQBrush arg2); + public native TQPalette copy(); + public native TQColorGroup active(); + public native TQColorGroup disabled(); + public native TQColorGroup inactive(); + public native TQColorGroup normal(); + public native void setActive(TQColorGroup arg1); + public native void setDisabled(TQColorGroup arg1); + public native void setInactive(TQColorGroup arg1); + public native void setNormal(TQColorGroup cg); + public native boolean op_equals(TQPalette p); + public native boolean op_not_equals(TQPalette p); + public native boolean isCopyOf(TQPalette arg1); + public native int serialNumber(); + public static native int foregroundRoleFromMode(int mode); + public static native int backgroundRoleFromMode(int mode); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPen.java b/qtjava/javalib/org/trinitydesktop/qt/TQPen.java new file mode 100644 index 00000000..85bb8391 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPen.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPen extends Qt { + protected TQPen(Class dummy){super((Class) null);} + public TQPen() { + super((Class) null); + newTQPen(); + } + private native void newTQPen(); + public TQPen(int arg1) { + super((Class) null); + newTQPen(arg1); + } + private native void newTQPen(int arg1); + public TQPen(TQColor color, int width, int style) { + super((Class) null); + newTQPen(color,width,style); + } + private native void newTQPen(TQColor color, int width, int style); + public TQPen(TQColor color, int width) { + super((Class) null); + newTQPen(color,width); + } + private native void newTQPen(TQColor color, int width); + public TQPen(TQColor color) { + super((Class) null); + newTQPen(color); + } + private native void newTQPen(TQColor color); + public TQPen(TQColor cl, int w, int s, int c, int j) { + super((Class) null); + newTQPen(cl,w,s,c,j); + } + private native void newTQPen(TQColor cl, int w, int s, int c, int j); + public TQPen(TQPen arg1) { + super((Class) null); + newTQPen(arg1); + } + private native void newTQPen(TQPen arg1); + public native int style(); + public native void setStyle(int arg1); + public native int width(); + public native void setWidth(int arg1); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native int capStyle(); + public native void setCapStyle(int arg1); + public native int joinStyle(); + public native void setJoinStyle(int arg1); + public native boolean op_equals(TQPen p); + public native boolean op_not_equals(TQPen p); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPicture.java b/qtjava/javalib/org/trinitydesktop/qt/TQPicture.java new file mode 100644 index 00000000..6e0ee634 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPicture.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPicture extends TQPaintDevice { + protected TQPicture(Class dummy){super((Class) null);} + public TQPicture(int formatVersion) { + super((Class) null); + newTQPicture(formatVersion); + } + private native void newTQPicture(int formatVersion); + public TQPicture() { + super((Class) null); + newTQPicture(); + } + private native void newTQPicture(); + public TQPicture(TQPicture arg1) { + super((Class) null); + newTQPicture(arg1); + } + private native void newTQPicture(TQPicture arg1); + public native boolean isNull(); + public native int size(); + public native String data(); + public native void setData(String data, int size); + public native boolean play(TQPainter arg1); + public native boolean load(TQIODeviceInterface dev, String format); + public native boolean load(TQIODeviceInterface dev); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean save(TQIODeviceInterface dev, String format); + public native boolean save(TQIODeviceInterface dev); + public native boolean save(String fileName, String format); + public native boolean save(String fileName); + public native TQRect boundingRect(); + public native void setBoundingRect(TQRect r); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(int arg1); + public native void detach(); + public native TQPicture copy(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPixmap.java b/qtjava/javalib/org/trinitydesktop/qt/TQPixmap.java new file mode 100644 index 00000000..40ad2f79 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPixmap.java @@ -0,0 +1,172 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPixmap extends Qt implements TQPaintDeviceInterface { + protected TQPixmap(Class dummy){super((Class) null);} + public static final int Auto = 0; + public static final int Color = 1; + public static final int Mono = 2; + + public static final int DefaultOptim = 0; + public static final int NoOptim = 1; + public static final int MemoryOptim = NoOptim; + public static final int NormalOptim = 2; + public static final int BestOptim = 3; + + public TQPixmap() { + super((Class) null); + newTQPixmap(); + } + private native void newTQPixmap(); + public TQPixmap(TQImage image) { + super((Class) null); + newTQPixmap(image); + } + private native void newTQPixmap(TQImage image); + public TQPixmap(int w, int h, int depth, int arg4) { + super((Class) null); + newTQPixmap(w,h,depth,arg4); + } + private native void newTQPixmap(int w, int h, int depth, int arg4); + public TQPixmap(int w, int h, int depth) { + super((Class) null); + newTQPixmap(w,h,depth); + } + private native void newTQPixmap(int w, int h, int depth); + public TQPixmap(int w, int h) { + super((Class) null); + newTQPixmap(w,h); + } + private native void newTQPixmap(int w, int h); + public TQPixmap(TQSize arg1, int depth, int arg3) { + super((Class) null); + newTQPixmap(arg1,depth,arg3); + } + private native void newTQPixmap(TQSize arg1, int depth, int arg3); + public TQPixmap(TQSize arg1, int depth) { + super((Class) null); + newTQPixmap(arg1,depth); + } + private native void newTQPixmap(TQSize arg1, int depth); + public TQPixmap(TQSize arg1) { + super((Class) null); + newTQPixmap(arg1); + } + private native void newTQPixmap(TQSize arg1); + public TQPixmap(String fileName, String format, int mode) { + super((Class) null); + newTQPixmap(fileName,format,mode); + } + private native void newTQPixmap(String fileName, String format, int mode); + public TQPixmap(String fileName, String format) { + super((Class) null); + newTQPixmap(fileName,format); + } + private native void newTQPixmap(String fileName, String format); + public TQPixmap(String fileName) { + super((Class) null); + newTQPixmap(fileName); + } + private native void newTQPixmap(String fileName); + public TQPixmap(String[] xpm) { + super((Class) null); + newTQPixmap(xpm); + } + private native void newTQPixmap(String[] xpm); + public TQPixmap(byte[] data) { + super((Class) null); + newTQPixmap(data); + } + private native void newTQPixmap(byte[] data); + public TQPixmap(TQPixmap arg1) { + super((Class) null); + newTQPixmap(arg1); + } + private native void newTQPixmap(TQPixmap arg1); + public native boolean isNull(); + public native int width(); + public native int height(); + public native TQSize size(); + public native TQRect rect(); + public native int depth(); + public native void fill(TQColor fillColor); + public native void fill(); + public native void fill(TQWidget arg1, int xofs, int yofs); + public native void fill(TQWidget arg1, TQPoint ofs); + public native void resize(int width, int height); + public native void resize(TQSize arg1); + public native TQBitmap mask(); + public native void setMask(TQBitmap arg1); + public native boolean selfMask(); + public native boolean hasAlpha(); + public native boolean hasAlphaChannel(); + public native TQBitmap createHeuristicMask(boolean clipTight); + public native TQBitmap createHeuristicMask(); + public native Object xForm(TQWMatrix arg1); + public native TQImage convertToImage(); + public native boolean convertFromImage(TQImage arg1, int mode); + public native boolean convertFromImage(TQImage arg1); + public native boolean load(String fileName, String format, int mode); + public native boolean load(String fileName, String format); + public native boolean load(String fileName); + public native boolean loadFromData(char[] buf, int len, String format, int mode); + public native boolean loadFromData(char[] buf, int len, String format); + public native boolean loadFromData(char[] buf, int len); + public native boolean loadFromData(byte[] data, String format, int conversion_flags); + public native boolean loadFromData(byte[] data, String format); + public native boolean loadFromData(byte[] data); + public native boolean save(String fileName, String format, int quality); + public native boolean save(String fileName, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); + public native int serialNumber(); + public native int optimization(); + public native void setOptimization(int arg1); + public native void detach(); + public native boolean isTQBitmap(); + public static native int defaultDepth(); + public static native TQPixmap fromMimeSource(String abs_name); + public static native TQPixmap grabWindow(long arg1, int x, int y, int w, int h); + public static native TQPixmap grabWindow(long arg1, int x, int y, int w); + public static native TQPixmap grabWindow(long arg1, int x, int y); + public static native TQPixmap grabWindow(long arg1, int x); + public static native TQPixmap grabWindow(long arg1); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w, int h); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w); + public static native TQPixmap grabWidget(TQWidget widget, int x, int y); + public static native TQPixmap grabWidget(TQWidget widget, int x); + public static native TQPixmap grabWidget(TQWidget widget); + public static native TQWMatrix trueMatrix(TQWMatrix arg1, int w, int h); + public static native String imageFormat(String fileName); + public static native int defaultOptimization(); + public static native void setDefaultOptimization(int arg1); + public TQPixmap(int w, int h, char[] data, boolean isXbitmap) { + super((Class) null); + newTQPixmap(w,h,data,isXbitmap); + } + private native void newTQPixmap(int w, int h, char[] data, boolean isXbitmap); + protected native int metric(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int arg2); + public native boolean loadFromData(char[] data); + + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPoint.java b/qtjava/javalib/org/trinitydesktop/qt/TQPoint.java new file mode 100644 index 00000000..cb378825 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPoint.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPoint implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPoint(Class dummy){} + + public TQPoint() { + newTQPoint(); + } + private native void newTQPoint(); + public TQPoint(int xpos, int ypos) { + newTQPoint(xpos,ypos); + } + private native void newTQPoint(int xpos, int ypos); + public native boolean isNull(); + public native int x(); + public native int y(); + public native void setX(int x); + public native void setY(int y); + public native int manhattanLength(); + public native short rx(); + public native short ry(); + public native TQPoint op_plus_assign(TQPoint p); + public native TQPoint op_minus_assign(TQPoint p); + public native TQPoint op_mult_assign(int c); + public native TQPoint op_mult_assign(double c); + public native TQPoint op_div_assign(int c); + public native TQPoint op_div_assign(double c); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPointArray.java b/qtjava/javalib/org/trinitydesktop/qt/TQPointArray.java new file mode 100644 index 00000000..35750a4c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPointArray.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPointArray implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPointArray(Class dummy){} + + public TQPointArray() { + newTQPointArray(); + } + private native void newTQPointArray(); + public TQPointArray(int size) { + newTQPointArray(size); + } + private native void newTQPointArray(int size); + public TQPointArray(TQPointArray a) { + newTQPointArray(a); + } + private native void newTQPointArray(TQPointArray a); + public TQPointArray(TQRect r, boolean closed) { + newTQPointArray(r,closed); + } + private native void newTQPointArray(TQRect r, boolean closed); + public TQPointArray(TQRect r) { + newTQPointArray(r); + } + private native void newTQPointArray(TQRect r); + public TQPointArray(int nPoints, short[] points) { + newTQPointArray(nPoints,points); + } + private native void newTQPointArray(int nPoints, short[] points); + public native TQPointArray copy(); + public native void translate(int dx, int dy); + public native TQRect boundingRect(); + public native void point(int i, int[] x, int[] y); + public native TQPoint point(int i); + public native void setPoint(int i, int x, int y); + public native void setPoint(int i, TQPoint p); + public native boolean setPoints(int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, short[] points); + public native boolean putPoints(int index, int nPoints, TQPointArray from, int fromIndex); + public native boolean putPoints(int index, int nPoints, TQPointArray from); + public native void makeArc(int x, int y, int w, int h, int a1, int a2); + public native void makeEllipse(int x, int y, int w, int h); + public native void makeArc(int x, int y, int w, int h, int a1, int a2, TQWMatrix arg7); + public native TQPointArray cubicBezier(); + // void* shortPoints(int arg1,int arg2); >>>> NOT CONVERTED + // void* shortPoints(int arg1); >>>> NOT CONVERTED + // void* shortPoints(); >>>> NOT CONVERTED + public static native void cleanBuffers(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int size(); + public native int count(); + public native boolean isEmpty(); + public native boolean isNull(); + public native boolean resize( int size); + public native boolean truncate( int pos); + public native TQPoint at(int index); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPolygonScanner.java b/qtjava/javalib/org/trinitydesktop/qt/TQPolygonScanner.java new file mode 100644 index 00000000..0effd690 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPolygonScanner.java @@ -0,0 +1,22 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPolygonScanner implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQPolygonScanner(Class dummy){} + + public static final int Left = 1; + public static final int Right = 2; + public static final int Top = 4; + public static final int Bottom = 8; + + public native void scan(TQPointArray pa, boolean winding, int index, int npoints); + public native void scan(TQPointArray pa, boolean winding, int index); + public native void scan(TQPointArray pa, boolean winding); + public native void scan(TQPointArray pa, boolean winding, int index, int npoints, boolean stitchable); + public native void scan(TQPointArray pa, boolean winding, int index, int npoints, int edges); + public native void processSpans(int n, TQPoint point, int[] width); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenu.java b/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenu.java new file mode 100644 index 00000000..3877a2b1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenu.java @@ -0,0 +1,167 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQPopupMenuSignals} for signals emitted by TQPopupMenu +*/ +public class TQPopupMenu extends TQFrame implements TQMenuDataInterface { + protected TQPopupMenu(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPopupMenu(TQWidget parent, String name) { + super((Class) null); + newTQPopupMenu(parent,name); + } + private native void newTQPopupMenu(TQWidget parent, String name); + public TQPopupMenu(TQWidget parent) { + super((Class) null); + newTQPopupMenu(parent); + } + private native void newTQPopupMenu(TQWidget parent); + public TQPopupMenu() { + super((Class) null); + newTQPopupMenu(); + } + private native void newTQPopupMenu(); + public native void popup(TQPoint pos, int indexAtPoint); + public native void popup(TQPoint pos); + public native void updateItem(int id); + public native void setCheckable(boolean arg1); + public native boolean isCheckable(); + public native void setFont(TQFont arg1); + public native void show(); + public native void hide(); + public native int exec(); + public native int exec(TQPoint pos, int indexAtPoint); + public native int exec(TQPoint pos); + public native void setActiveItem(int arg1); + public native TQSize sizeHint(); + public native int idAt(int index); + public native int idAt(TQPoint pos); + public native boolean customWhatsThis(); + public native int insertTearOffHandle(int id, int index); + public native int insertTearOffHandle(int id); + public native int insertTearOffHandle(); + public native void activateItemAt(int index); + public native TQRect itemGeometry(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native int itemHeight(int arg1); + protected native int itemHeight(TQMenuItem mi); + protected native void drawItem(TQPainter p, int tab, TQMenuItem mi, boolean act, int x, int y, int w, int h); + protected native void drawContents(TQPainter arg1); + protected native void closeEvent(TQCloseEvent e); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void timerEvent(TQTimerEvent arg1); + protected native void leaveEvent(TQEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void enabledChange(boolean arg1); + protected native int columns(); + protected native boolean focusNextPrevChild(boolean next); + protected native int itemAtPos(TQPoint arg1, boolean ignoreSeparator); + protected native int itemAtPos(TQPoint arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int count(); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(String text, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member); + public native int insertItem(String text, int id, int index); + public native int insertItem(String text, int id); + public native int insertItem(String text); + public native int insertItem(TQIconSet icon, String text, int id, int index); + public native int insertItem(TQIconSet icon, String text, int id); + public native int insertItem(TQIconSet icon, String text); + public native int insertItem(String text, TQPopupMenu popup, int id, int index); + public native int insertItem(String text, TQPopupMenu popup, int id); + public native int insertItem(String text, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup); + public native int insertItem(TQPixmap pixmap, int id, int index); + public native int insertItem(TQPixmap pixmap, int id); + public native int insertItem(TQPixmap pixmap); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id); + public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup); + public native int insertItem(TQWidget widget, int id, int index); + public native int insertItem(TQWidget widget, int id); + public native int insertItem(TQWidget widget); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id); + public native int insertItem(TQIconSet icon, TQCustomMenuItem custom); + public native int insertItem(TQCustomMenuItem custom, int id, int index); + public native int insertItem(TQCustomMenuItem custom, int id); + public native int insertItem(TQCustomMenuItem custom); + public native int insertSeparator(int index); + public native int insertSeparator(); + public native void removeItem(int id); + public native void removeItemAt(int index); + public native void clear(); + public native TQKeySequence accel(int id); + public native void setAccel(TQKeySequence key, int id); + public native TQIconSet iconSet(int id); + public native String text(int id); + public native TQPixmap pixmap(int id); + public native void setWhatsThis(int id, String arg2); + public native String whatsThis(int id); + public native void changeItem(int id, String text); + public native void changeItem(int id, TQPixmap pixmap); + public native void changeItem(int id, TQIconSet icon, String text); + public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(TQPixmap pixmap, int id); + public native void changeItem(TQIconSet icon, String text, int id); + public native boolean isItemActive(int id); + public native boolean isItemEnabled(int id); + public native void setItemEnabled(int id, boolean enable); + public native boolean isItemChecked(int id); + public native void setItemChecked(int id, boolean check); + public native boolean isItemVisible(int id); + public native void setItemVisible(int id, boolean visible); + public native int indexOf(int id); + public native void setId(int index, int id); + public native boolean connectItem(int id, TQObject receiver, String member); + public native boolean disconnectItem(int id, TQObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native TQMenuItem findItem(int id); + // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED + public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index); + public native TQMenuItem findPopup(TQPopupMenu arg1); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + protected native void menuInsPopup(TQPopupMenu arg1); + protected native void menuDelPopup(TQPopupMenu arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenuSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenuSignals.java new file mode 100644 index 00000000..5a1484d5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPopupMenuSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQPopupMenuSignals { + void activated(int itemId); + void highlighted(int itemId); + void activatedRedirect(int itemId); + void highlightedRedirect(int itemId); + void aboutToShow(); + void aboutToHide(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPrintDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQPrintDialog.java new file mode 100644 index 00000000..26af1081 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPrintDialog.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPrintDialog extends TQDialog { + protected TQPrintDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPrintDialog(TQPrinter arg1, TQWidget parent, String name) { + super((Class) null); + newTQPrintDialog(arg1,parent,name); + } + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent, String name); + public TQPrintDialog(TQPrinter arg1, TQWidget parent) { + super((Class) null); + newTQPrintDialog(arg1,parent); + } + private native void newTQPrintDialog(TQPrinter arg1, TQWidget parent); + public TQPrintDialog(TQPrinter arg1) { + super((Class) null); + newTQPrintDialog(arg1); + } + private native void newTQPrintDialog(TQPrinter arg1); + public native void setPrinter(TQPrinter arg1, boolean arg2); + public native void setPrinter(TQPrinter arg1); + public native TQPrinter printer(); + public native void addButton(TQPushButton but); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean getPrinterSetup(TQPrinter arg1, TQWidget arg2); + public static native boolean getPrinterSetup(TQPrinter arg1); + public static native void setGlobalPrintDialog(TQPrintDialog arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPrinter.java b/qtjava/javalib/org/trinitydesktop/qt/TQPrinter.java new file mode 100644 index 00000000..93e8eee5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPrinter.java @@ -0,0 +1,147 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPrinter extends TQPaintDevice { + protected TQPrinter(Class dummy){super((Class) null);} + public static final int ScreenResolution = 0; + public static final int PrinterResolution = 1; + public static final int HighResolution = 2; + public static final int Compatible = 3; + + public static final int Portrait = 0; + public static final int Landscape = 1; + + public static final int A4 = 0; + public static final int B5 = 1; + public static final int Letter = 2; + public static final int Legal = 3; + public static final int Executive = 4; + public static final int A0 = 5; + public static final int A1 = 6; + public static final int A2 = 7; + public static final int A3 = 8; + public static final int A5 = 9; + public static final int A6 = 10; + public static final int A7 = 11; + public static final int A8 = 12; + public static final int A9 = 13; + public static final int B0 = 14; + public static final int B1 = 15; + public static final int B10 = 16; + public static final int B2 = 17; + public static final int B3 = 18; + public static final int B4 = 19; + public static final int B6 = 20; + public static final int B7 = 21; + public static final int B8 = 22; + public static final int B9 = 23; + public static final int C5E = 24; + public static final int Comm10E = 25; + public static final int DLE = 26; + public static final int Folio = 27; + public static final int Ledger = 28; + public static final int Tabloid = 29; + public static final int Custom = 30; + public static final int NPageSize = Custom; + + public static final int FirstPageFirst = 0; + public static final int LastPageFirst = 1; + + public static final int GrayScale = 0; + public static final int Color = 1; + + public static final int OnlyOne = 0; + public static final int Lower = 1; + public static final int Middle = 2; + public static final int Manual = 3; + public static final int Envelope = 4; + public static final int EnvelopeManual = 5; + public static final int Auto = 6; + public static final int Tractor = 7; + public static final int SmallFormat = 8; + public static final int LargeFormat = 9; + public static final int LargeCapacity = 10; + public static final int Cassette = 11; + public static final int FormSource = 12; + + public static final int AllPages = 0; + public static final int Selection = 1; + public static final int PageRange = 2; + + public static final int PrintToFile = 0; + public static final int PrintSelection = 1; + public static final int PrintPageRange = 2; + + public TQPrinter(int mode) { + super((Class) null); + newTQPrinter(mode); + } + private native void newTQPrinter(int mode); + public TQPrinter() { + super((Class) null); + newTQPrinter(); + } + private native void newTQPrinter(); + public native String printerName(); + public native void setPrinterName(String arg1); + public native boolean outputToFile(); + public native void setOutputToFile(boolean arg1); + public native String outputFileName(); + public native void setOutputFileName(String arg1); + public native String printProgram(); + public native void setPrintProgram(String arg1); + public native String printerSelectionOption(); + public native void setPrinterSelectionOption(String arg1); + public native String docName(); + public native void setDocName(String arg1); + public native String creator(); + public native void setCreator(String arg1); + public native int orientation(); + public native void setOrientation(int arg1); + public native int pageSize(); + public native void setPageSize(int arg1); + public native void setPageOrder(int arg1); + public native int pageOrder(); + public native void setResolution(int arg1); + public native int resolution(); + public native void setColorMode(int arg1); + public native int colorMode(); + public native void setFullPage(boolean arg1); + public native boolean fullPage(); + public native TQSize margins(); + public native void setMargins(int top, int left, int bottom, int right); + public native void margins(int[] top, int[] left, int[] bottom, int[] right); + public native int fromPage(); + public native int toPage(); + public native void setFromTo(int fromPage, int toPage); + public native int minPage(); + public native int maxPage(); + public native void setMinMax(int minPage, int maxPage); + public native int numCopies(); + public native void setNumCopies(int arg1); + public native boolean collateCopiesEnabled(); + public native void setCollateCopiesEnabled(boolean arg1); + public native boolean collateCopies(); + public native void setCollateCopies(boolean arg1); + public native int printRange(); + public native void setPrintRange(int range); + public native boolean newPage(); + public native boolean abort(); + public native boolean aborted(); + public native boolean setup(TQWidget parent); + public native boolean setup(); + public native int paperSource(); + public native void setPaperSource(int arg1); + public native void setOptionEnabled(int arg1, boolean enable); + public native boolean isOptionEnabled(int arg1); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int metric(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java b/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java new file mode 100644 index 00000000..7500461a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQProcess.java @@ -0,0 +1,104 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQProcessSignals} for signals emitted by TQProcess +*/ +public class TQProcess extends TQObject { + protected TQProcess(Class dummy){super((Class) null);} + public static final int Stdin = 0x01; + public static final int Stdout = 0x02; + public static final int Stderr = 0x04; + public static final int DupStderr = 0x08; + + public native TQMetaObject metaObject(); + public native String className(); + public TQProcess(TQObject parent, String name) { + super((Class) null); + newTQProcess(parent,name); + } + private native void newTQProcess(TQObject parent, String name); + public TQProcess(TQObject parent) { + super((Class) null); + newTQProcess(parent); + } + private native void newTQProcess(TQObject parent); + public TQProcess() { + super((Class) null); + newTQProcess(); + } + private native void newTQProcess(); + public TQProcess(String arg0, TQObject parent, String name) { + super((Class) null); + newTQProcess(arg0,parent,name); + } + private native void newTQProcess(String arg0, TQObject parent, String name); + public TQProcess(String arg0, TQObject parent) { + super((Class) null); + newTQProcess(arg0,parent); + } + private native void newTQProcess(String arg0, TQObject parent); + public TQProcess(String arg0) { + super((Class) null); + newTQProcess(arg0); + } + private native void newTQProcess(String arg0); + public TQProcess(String[] args, TQObject parent, String name) { + super((Class) null); + newTQProcess(args,parent,name); + } + private native void newTQProcess(String[] args, TQObject parent, String name); + public TQProcess(String[] args, TQObject parent) { + super((Class) null); + newTQProcess(args,parent); + } + private native void newTQProcess(String[] args, TQObject parent); + public TQProcess(String[] args) { + super((Class) null); + newTQProcess(args); + } + private native void newTQProcess(String[] args); + public native ArrayList arguments(); + public native void clearArguments(); + public native void setArguments(String[] args); + public native void addArgument(String arg); + public native TQDir workingDirectory(); + public native void setWorkingDirectory(TQDir dir); + public native void setCommunication(int c); + public native int communication(); + public native boolean start(String[] arg1); + public native boolean start(); + public native boolean launch(String buf, String[] arg2); + public native boolean launch(String buf); + public native boolean launch(byte[] buf, String[] arg2); + public native boolean launch(byte[] buf); + public native boolean isRunning(); + public native boolean normalExit(); + public native int exitStatus(); + public native byte[] readStdout(); + public native byte[] readStderr(); + public native boolean canReadLineStdout(); + public native boolean canReadLineStderr(); + public native String readLineStdout(); + public native String readLineStderr(); + public native long processIdentifier(); + public native void flushStdin(); + public native void tryTerminate(); + public native void kill(); + public native void writeToStdin(byte[] buf); + public native void writeToStdin(String buf); + public native void closeStdin(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void connectNotify(String signal); + protected native void disconnectNotify(String signal); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProcessSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQProcessSignals.java new file mode 100644 index 00000000..1e34f8a2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQProcessSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQProcessSignals { + void readyReadStdout(); + void readyReadStderr(); + void processExited(); + void wroteToStdin(); + void launchFinished(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProgressBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQProgressBar.java new file mode 100644 index 00000000..25b28fa8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQProgressBar.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQProgressBar extends TQFrame { + protected TQProgressBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQProgressBar(TQWidget parent, String name, int f) { + super((Class) null); + newTQProgressBar(parent,name,f); + } + private native void newTQProgressBar(TQWidget parent, String name, int f); + public TQProgressBar(TQWidget parent, String name) { + super((Class) null); + newTQProgressBar(parent,name); + } + private native void newTQProgressBar(TQWidget parent, String name); + public TQProgressBar(TQWidget parent) { + super((Class) null); + newTQProgressBar(parent); + } + private native void newTQProgressBar(TQWidget parent); + public TQProgressBar() { + super((Class) null); + newTQProgressBar(); + } + private native void newTQProgressBar(); + public TQProgressBar(int totalSteps, TQWidget parent, String name, int f) { + super((Class) null); + newTQProgressBar(totalSteps,parent,name,f); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name, int f); + public TQProgressBar(int totalSteps, TQWidget parent, String name) { + super((Class) null); + newTQProgressBar(totalSteps,parent,name); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent, String name); + public TQProgressBar(int totalSteps, TQWidget parent) { + super((Class) null); + newTQProgressBar(totalSteps,parent); + } + private native void newTQProgressBar(int totalSteps, TQWidget parent); + public TQProgressBar(int totalSteps) { + super((Class) null); + newTQProgressBar(totalSteps); + } + private native void newTQProgressBar(int totalSteps); + public native int totalSteps(); + public native int progress(); + public native String progressString(); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setCenterIndicator(boolean on); + public native boolean centerIndicator(); + public native void setIndicatorFollowsStyle(boolean arg1); + public native boolean indicatorFollowsStyle(); + public native boolean percentageVisible(); + public native void setPercentageVisible(boolean arg1); + public native void show(); + public native void reset(); + public native void setTotalSteps(int totalSteps); + public native void setProgress(int progress); + public native void setProgress(int progress, int totalSteps); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1); + protected native boolean setIndicator(StringBuffer progress_str, int progress, int totalSteps); + public native void styleChange(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialog.java new file mode 100644 index 00000000..45a75e13 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialog.java @@ -0,0 +1,98 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQProgressDialogSignals} for signals emitted by TQProgressDialog +*/ +public class TQProgressDialog extends TQDialog { + protected TQProgressDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQProgressDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQProgressDialog(parent,name,modal,f); + } + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal, int f); + public TQProgressDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQProgressDialog(parent,name,modal); + } + private native void newTQProgressDialog(TQWidget parent, String name, boolean modal); + public TQProgressDialog(TQWidget parent, String name) { + super((Class) null); + newTQProgressDialog(parent,name); + } + private native void newTQProgressDialog(TQWidget parent, String name); + public TQProgressDialog(TQWidget parent) { + super((Class) null); + newTQProgressDialog(parent); + } + private native void newTQProgressDialog(TQWidget parent); + public TQProgressDialog() { + super((Class) null); + newTQProgressDialog(); + } + private native void newTQProgressDialog(); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal,f); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal, int f); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name,modal); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name, boolean modal); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent,name); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent, String name); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps,parent); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps, TQWidget parent); + public TQProgressDialog(String labelText, String cancelButtonText, int totalSteps) { + super((Class) null); + newTQProgressDialog(labelText,cancelButtonText,totalSteps); + } + private native void newTQProgressDialog(String labelText, String cancelButtonText, int totalSteps); + public native void setLabel(TQLabel arg1); + public native void setCancelButton(TQPushButton arg1); + public native void setBar(TQProgressBar arg1); + public native boolean wasCancelled(); + public native boolean wasCanceled(); + public native int totalSteps(); + public native int progress(); + public native TQSize sizeHint(); + public native String labelText(); + public native void setAutoReset(boolean b); + public native boolean autoReset(); + public native void setAutoClose(boolean b); + public native boolean autoClose(); + public native int minimumDuration(); + public native void cancel(); + public native void reset(); + public native void setTotalSteps(int totalSteps); + public native void setProgress(int progress); + public native void setProgress(int progress, int totalSteps); + public native void setLabelText(String arg1); + public native void setCancelButtonText(String arg1); + public native void setMinimumDuration(int ms); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + public native void styleChange(TQStyle arg1); + public native void showEvent(TQShowEvent e); + protected native void forceShow(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialogSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialogSignals.java new file mode 100644 index 00000000..6ce1e149 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQProgressDialogSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQProgressDialogSignals { + void cancelled(); + void canceled(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQPushButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQPushButton.java new file mode 100644 index 00000000..14c14ff7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQPushButton.java @@ -0,0 +1,75 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQPushButton extends TQButton { + protected TQPushButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQPushButton(TQWidget parent, String name) { + super((Class) null); + newTQPushButton(parent,name); + } + private native void newTQPushButton(TQWidget parent, String name); + public TQPushButton(TQWidget parent) { + super((Class) null); + newTQPushButton(parent); + } + private native void newTQPushButton(TQWidget parent); + public TQPushButton(String text, TQWidget parent, String name) { + super((Class) null); + newTQPushButton(text,parent,name); + } + private native void newTQPushButton(String text, TQWidget parent, String name); + public TQPushButton(String text, TQWidget parent) { + super((Class) null); + newTQPushButton(text,parent); + } + private native void newTQPushButton(String text, TQWidget parent); + public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) { + super((Class) null); + newTQPushButton(icon,text,parent,name); + } + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name); + public TQPushButton(TQIconSet icon, String text, TQWidget parent) { + super((Class) null); + newTQPushButton(icon,text,parent); + } + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent); + public native TQSize sizeHint(); + public native void move(int x, int y); + public native void move(TQPoint p); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void setToggleButton(boolean arg1); + public native boolean autoDefault(); + public native void setAutoDefault(boolean autoDef); + public native boolean isDefault(); + public native void setDefault(boolean def); + public native void setIsMenuButton(boolean enable); + public native boolean isMenuButton(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native void setFlat(boolean arg1); + public native boolean isFlat(); + public native void setOn(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void updateMask(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRadioButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQRadioButton.java new file mode 100644 index 00000000..068d1436 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRadioButton.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQRadioButton extends TQButton { + protected TQRadioButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQRadioButton(TQWidget parent, String name) { + super((Class) null); + newTQRadioButton(parent,name); + } + private native void newTQRadioButton(TQWidget parent, String name); + public TQRadioButton(TQWidget parent) { + super((Class) null); + newTQRadioButton(parent); + } + private native void newTQRadioButton(TQWidget parent); + public TQRadioButton(String text, TQWidget parent, String name) { + super((Class) null); + newTQRadioButton(text,parent,name); + } + private native void newTQRadioButton(String text, TQWidget parent, String name); + public TQRadioButton(String text, TQWidget parent) { + super((Class) null); + newTQRadioButton(text,parent); + } + private native void newTQRadioButton(String text, TQWidget parent); + public native boolean isChecked(); + public native TQSize sizeHint(); + public native void setChecked(boolean check); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native boolean hitButton(TQPoint arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void updateMask(); + protected native void resizeEvent(TQResizeEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRangeControl.java b/qtjava/javalib/org/trinitydesktop/qt/TQRangeControl.java new file mode 100644 index 00000000..1420faea --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRangeControl.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQRangeControl implements QtSupport, TQRangeControlInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRangeControl(Class dummy){} + + public TQRangeControl() { + newTQRangeControl(); + } + private native void newTQRangeControl(); + public TQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value) { + newTQRangeControl(minValue,maxValue,lineStep,pageStep,value); + } + private native void newTQRangeControl(int minValue, int maxValue, int lineStep, int pageStep, int value); + public native int value(); + public native void setValue(int arg1); + public native void addPage(); + public native void subtractPage(); + public native void addLine(); + public native void subtractLine(); + public native int minValue(); + public native int maxValue(); + public native void setRange(int minValue, int maxValue); + public native void setMinValue(int minVal); + public native void setMaxValue(int minVal); + public native int lineStep(); + public native int pageStep(); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void valueChange(); + protected native void rangeChange(); + protected native void stepChange(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRangeControlInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQRangeControlInterface.java new file mode 100644 index 00000000..1301a665 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRangeControlInterface.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQRangeControlInterface { + int value(); + void setValue(int arg1); + void addPage(); + void subtractPage(); + void addLine(); + void subtractLine(); + int minValue(); + int maxValue(); + void setRange(int minValue, int maxValue); + void setMinValue(int minVal); + void setMaxValue(int minVal); + int lineStep(); + int pageStep(); + void setSteps(int line, int page); + int bound(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRect.java b/qtjava/javalib/org/trinitydesktop/qt/TQRect.java new file mode 100644 index 00000000..1cae5ad1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRect.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQRect implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRect(Class dummy){} + + public TQRect() { + newTQRect(); + } + private native void newTQRect(); + public TQRect(TQPoint topleft, TQPoint bottomright) { + newTQRect(topleft,bottomright); + } + private native void newTQRect(TQPoint topleft, TQPoint bottomright); + public TQRect(TQPoint topleft, TQSize size) { + newTQRect(topleft,size); + } + private native void newTQRect(TQPoint topleft, TQSize size); + public TQRect(int left, int top, int width, int height) { + newTQRect(left,top,width,height); + } + private native void newTQRect(int left, int top, int width, int height); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean isValid(); + public native TQRect normalize(); + public native int left(); + public native int top(); + public native int right(); + public native int bottom(); + public native short rLeft(); + public native short rTop(); + public native short rRight(); + public native short rBottom(); + public native int x(); + public native int y(); + public native void setLeft(int pos); + public native void setTop(int pos); + public native void setRight(int pos); + public native void setBottom(int pos); + public native void setX(int x); + public native void setY(int y); + public native void setTopLeft(TQPoint p); + public native void setBottomRight(TQPoint p); + public native void setTopRight(TQPoint p); + public native void setBottomLeft(TQPoint p); + public native TQPoint topLeft(); + public native TQPoint bottomRight(); + public native TQPoint topRight(); + public native TQPoint bottomLeft(); + public native TQPoint center(); + public native void rect(int[] x, int[] y, int[] w, int[] h); + public native void coords(int[] x1, int[] y1, int[] x2, int[] y2); + public native void moveLeft(int pos); + public native void moveTop(int pos); + public native void moveRight(int pos); + public native void moveBottom(int pos); + public native void moveTopLeft(TQPoint p); + public native void moveBottomRight(TQPoint p); + public native void moveTopRight(TQPoint p); + public native void moveBottomLeft(TQPoint p); + public native void moveCenter(TQPoint p); + public native void moveBy(int dx, int dy); + public native void setRect(int x, int y, int w, int h); + public native void setCoords(int x1, int y1, int x2, int y2); + public native void addCoords(int x1, int y1, int x2, int y2); + public native TQSize size(); + public native int width(); + public native int height(); + public native void setWidth(int w); + public native void setHeight(int h); + public native void setSize(TQSize s); + public native TQRect op_or(TQRect r); + public native TQRect op_and(TQRect r); + public native TQRect op_or_assign(TQRect r); + public native TQRect op_and_assign(TQRect r); + public native boolean contains(TQPoint p, boolean proper); + public native boolean contains(TQPoint p); + public native boolean contains(int x, int y); + public native boolean contains(int x, int y, boolean proper); + public native boolean contains(TQRect r, boolean proper); + public native boolean contains(TQRect r); + public native TQRect unite(TQRect r); + public native TQRect intersect(TQRect r); + public native boolean intersects(TQRect r); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRegExp.java b/qtjava/javalib/org/trinitydesktop/qt/TQRegExp.java new file mode 100644 index 00000000..de99fff4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRegExp.java @@ -0,0 +1,74 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQRegExp implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRegExp(Class dummy){} + + public static final int CaretAtZero = 0; + public static final int CaretAtOffset = 1; + public static final int CaretWontMatch = 2; + + public TQRegExp() { + newTQRegExp(); + } + private native void newTQRegExp(); + public TQRegExp(String pattern, boolean caseSensitive, boolean wildcard) { + newTQRegExp(pattern,caseSensitive,wildcard); + } + private native void newTQRegExp(String pattern, boolean caseSensitive, boolean wildcard); + public TQRegExp(String pattern, boolean caseSensitive) { + newTQRegExp(pattern,caseSensitive); + } + private native void newTQRegExp(String pattern, boolean caseSensitive); + public TQRegExp(String pattern) { + newTQRegExp(pattern); + } + private native void newTQRegExp(String pattern); + public TQRegExp(TQRegExp rx) { + newTQRegExp(rx); + } + private native void newTQRegExp(TQRegExp rx); + public native boolean op_equals(TQRegExp rx); + public native boolean op_not_equals(TQRegExp rx); + public native boolean isEmpty(); + public native boolean isValid(); + public native String pattern(); + public native void setPattern(String pattern); + public native boolean caseSensitive(); + public native void setCaseSensitive(boolean sensitive); + public native boolean wildcard(); + public native void setWildcard(boolean wildcard); + public native boolean minimal(); + public native void setMinimal(boolean minimal); + public native boolean exactMatch(String str); + public native int match(String str, int index, int[] len, boolean indexIsStart); + public native int match(String str, int index, int[] len); + public native int match(String str, int index); + public native int match(String str); + public native int search(String str, int offset, int caretMode); + public native int search(String str, int offset); + public native int search(String str); + public native int searchRev(String str, int offset, int caretMode); + public native int searchRev(String str, int offset); + public native int searchRev(String str); + public native int matchedLength(); + public native int numCaptures(); + public native ArrayList capturedTexts(); + public native String cap(int nth); + public native String cap(); + public native int pos(int nth); + public native int pos(); + public native String errorString(); + public static native String escape(String str); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRegExpValidator.java b/qtjava/javalib/org/trinitydesktop/qt/TQRegExpValidator.java new file mode 100644 index 00000000..f5ada74e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRegExpValidator.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQRegExpValidator extends TQValidator { + protected TQRegExpValidator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQRegExpValidator(TQObject parent, String name) { + super((Class) null); + newTQRegExpValidator(parent,name); + } + private native void newTQRegExpValidator(TQObject parent, String name); + public TQRegExpValidator(TQObject parent) { + super((Class) null); + newTQRegExpValidator(parent); + } + private native void newTQRegExpValidator(TQObject parent); + public TQRegExpValidator(TQRegExp rx, TQObject parent, String name) { + super((Class) null); + newTQRegExpValidator(rx,parent,name); + } + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent, String name); + public TQRegExpValidator(TQRegExp rx, TQObject parent) { + super((Class) null); + newTQRegExpValidator(rx,parent); + } + private native void newTQRegExpValidator(TQRegExp rx, TQObject parent); + public native int validate(StringBuffer input, int[] pos); + public native void setRegExp(TQRegExp rx); + public native TQRegExp regExp(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQRegion.java b/qtjava/javalib/org/trinitydesktop/qt/TQRegion.java new file mode 100644 index 00000000..e0db2778 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQRegion.java @@ -0,0 +1,81 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQRegion implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQRegion(Class dummy){} + + public static final int Rectangle = 0; + public static final int Ellipse = 1; + + public TQRegion() { + newTQRegion(); + } + private native void newTQRegion(); + public TQRegion(int x, int y, int w, int h, int arg5) { + newTQRegion(x,y,w,h,arg5); + } + private native void newTQRegion(int x, int y, int w, int h, int arg5); + public TQRegion(int x, int y, int w, int h) { + newTQRegion(x,y,w,h); + } + private native void newTQRegion(int x, int y, int w, int h); + public TQRegion(TQRect arg1, int arg2) { + newTQRegion(arg1,arg2); + } + private native void newTQRegion(TQRect arg1, int arg2); + public TQRegion(TQRect arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQRect arg1); + public TQRegion(TQPointArray arg1, boolean winding) { + newTQRegion(arg1,winding); + } + private native void newTQRegion(TQPointArray arg1, boolean winding); + public TQRegion(TQPointArray arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQPointArray arg1); + public TQRegion(TQRegion arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQRegion arg1); + public TQRegion(TQBitmap arg1) { + newTQRegion(arg1); + } + private native void newTQRegion(TQBitmap arg1); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean contains(TQPoint p); + public native boolean contains(TQRect r); + public native void translate(int dx, int dy); + public native TQRegion unite(TQRegion arg1); + public native TQRegion intersect(TQRegion arg1); + public native TQRegion subtract(TQRegion arg1); + public native TQRegion eor(TQRegion arg1); + public native TQRect boundingRect(); + public native ArrayList rects(); + public native void setRects(TQRect arg1, int arg2); + public native TQRegion op_or(TQRegion arg1); + public native TQRegion op_plus(TQRegion arg1); + public native TQRegion op_and(TQRegion arg1); + public native TQRegion op_minus(TQRegion arg1); + public native TQRegion op_xor(TQRegion arg1); + public native TQRegion op_or_assign(TQRegion arg1); + public native TQRegion op_plus_assign(TQRegion arg1); + public native TQRegion op_and_assign(TQRegion arg1); + public native TQRegion op_minus_assign(TQRegion arg1); + public native TQRegion op_xor_assign(TQRegion arg1); + public native boolean op_equals(TQRegion arg1); + public native boolean op_not_equals(TQRegion r); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQResizeEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQResizeEvent.java new file mode 100644 index 00000000..8cf61526 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQResizeEvent.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQResizeEvent extends TQEvent { + protected TQResizeEvent(Class dummy){super((Class) null);} + public TQResizeEvent(TQSize size, TQSize oldSize) { + super((Class) null); + newTQResizeEvent(size,oldSize); + } + private native void newTQResizeEvent(TQSize size, TQSize oldSize); + public native TQSize size(); + public native TQSize oldSize(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQScrollBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQScrollBar.java new file mode 100644 index 00000000..c45a4e3d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQScrollBar.java @@ -0,0 +1,97 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQScrollBarSignals} for signals emitted by TQScrollBar +*/ +public class TQScrollBar extends TQWidget implements TQRangeControlInterface { + protected TQScrollBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQScrollBar(TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(parent,name); + } + private native void newTQScrollBar(TQWidget parent, String name); + public TQScrollBar(TQWidget parent) { + super((Class) null); + newTQScrollBar(parent); + } + private native void newTQScrollBar(TQWidget parent); + public TQScrollBar(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(arg1,parent,name); + } + private native void newTQScrollBar(int arg1, TQWidget parent, String name); + public TQScrollBar(int arg1, TQWidget parent) { + super((Class) null); + newTQScrollBar(arg1,parent); + } + private native void newTQScrollBar(int arg1, TQWidget parent); + public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name) { + super((Class) null); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name); + } + private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name); + public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent) { + super((Class) null); + newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent); + } + private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent); + public native void setOrientation(int arg1); + public native int orientation(); + public native void setTracking(boolean enable); + public native boolean tracking(); + public native boolean draggingSlider(); + public native void setPalette(TQPalette arg1); + public native TQSize sizeHint(); + public native void setSizePolicy(TQSizePolicy sp); + public native void setSizePolicy(int hor, int ver, boolean hfw); + public native void setSizePolicy(int hor, int ver); + public native int minValue(); + public native int maxValue(); + public native void setMinValue(int arg1); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native int pageStep(); + public native void setLineStep(int arg1); + public native void setPageStep(int arg1); + public native int value(); + public native int sliderStart(); + public native TQRect sliderRect(); + public native void setValue(int arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native void hideEvent(TQHideEvent arg1); + protected native void valueChange(); + protected native void stepChange(); + protected native void rangeChange(); + public native void styleChange(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native void addPage(); + public native void subtractPage(); + public native void addLine(); + public native void subtractLine(); + public native void setRange(int minValue, int maxValue); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQScrollBarSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQScrollBarSignals.java new file mode 100644 index 00000000..fa7d7555 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQScrollBarSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQScrollBarSignals { + void valueChanged(int value); + void sliderPressed(); + void sliderMoved(int value); + void sliderReleased(); + void nextLine(); + void prevLine(); + void nextPage(); + void prevPage(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQScrollView.java b/qtjava/javalib/org/trinitydesktop/qt/TQScrollView.java new file mode 100644 index 00000000..ba74f7af --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQScrollView.java @@ -0,0 +1,160 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQScrollViewSignals} for signals emitted by TQScrollView +*/ +public class TQScrollView extends TQFrame { + protected TQScrollView(Class dummy){super((Class) null);} + public static final int Default = 0; + public static final int Manual = 1; + public static final int AutoOne = 2; + public static final int AutoOneFit = 3; + + public static final int Auto = 0; + public static final int AlwaysOff = 1; + public static final int AlwaysOn = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQScrollView(TQWidget parent, String name, int f) { + super((Class) null); + newTQScrollView(parent,name,f); + } + private native void newTQScrollView(TQWidget parent, String name, int f); + public TQScrollView(TQWidget parent, String name) { + super((Class) null); + newTQScrollView(parent,name); + } + private native void newTQScrollView(TQWidget parent, String name); + public TQScrollView(TQWidget parent) { + super((Class) null); + newTQScrollView(parent); + } + private native void newTQScrollView(TQWidget parent); + public TQScrollView() { + super((Class) null); + newTQScrollView(); + } + private native void newTQScrollView(); + public native void setResizePolicy(int arg1); + public native int resizePolicy(); + public native void styleChange(TQStyle arg1); + public native void removeChild(TQWidget child); + public native void addChild(TQWidget child, int x, int y); + public native void addChild(TQWidget child, int x); + public native void addChild(TQWidget child); + public native void moveChild(TQWidget child, int x, int y); + public native int childX(TQWidget child); + public native int childY(TQWidget child); + public native boolean childIsVisible(TQWidget child); + public native void showChild(TQWidget child, boolean yes); + public native void showChild(TQWidget child); + public native int vScrollBarMode(); + public native void setVScrollBarMode(int arg1); + public native int hScrollBarMode(); + public native void setHScrollBarMode(int arg1); + public native TQWidget cornerWidget(); + public native void setCornerWidget(TQWidget arg1); + public native TQScrollBar horizontalScrollBar(); + public native TQScrollBar verticalScrollBar(); + public native TQWidget viewport(); + public native TQWidget clipper(); + public native int visibleWidth(); + public native int visibleHeight(); + public native int contentsWidth(); + public native int contentsHeight(); + public native int contentsX(); + public native int contentsY(); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void show(); + public native void updateContents(int x, int y, int w, int h); + public native void updateContents(TQRect r); + public native void updateContents(); + public native void repaintContents(int x, int y, int w, int h, boolean erase); + public native void repaintContents(int x, int y, int w, int h); + public native void repaintContents(TQRect r, boolean erase); + public native void repaintContents(TQRect r); + public native void repaintContents(boolean erase); + public native void repaintContents(); + public native void contentsToViewport(int x, int y, int[] vx, int[] vy); + public native void viewportToContents(int vx, int vy, int[] x, int[] y); + public native TQPoint contentsToViewport(TQPoint arg1); + public native TQPoint viewportToContents(TQPoint arg1); + public native void enableClipper(boolean y); + public native void setStaticBackground(boolean y); + public native boolean hasStaticBackground(); + public native TQSize viewportSize(int arg1, int arg2); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void removeChild(TQObject child); + public native boolean isHorizontalSliderPressed(); + public native boolean isVerticalSliderPressed(); + public native void setDragAutoScroll(boolean b); + public native boolean dragAutoScroll(); + public native void disableSizeHintCaching(); + public native void resizeContents(int w, int h); + public native void scrollBy(int dx, int dy); + public native void setContentsPos(int x, int y); + public native void ensureVisible(int x, int y); + public native void ensureVisible(int x, int y, int xmargin, int ymargin); + public native void center(int x, int y); + public native void center(int x, int y, float xmargin, float ymargin); + public native void updateScrollBars(); + public native void setEnabled(boolean enable); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void drawContents(TQPainter arg1, int cx, int cy, int cw, int ch); + protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent arg1); + protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void contentsMouseMoveEvent(TQMouseEvent arg1); + protected native void contentsDragEnterEvent(TQDragEnterEvent arg1); + protected native void contentsDragMoveEvent(TQDragMoveEvent arg1); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent arg1); + protected native void contentsDropEvent(TQDropEvent arg1); + protected native void contentsWheelEvent(TQWheelEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent arg1); + protected native void viewportPaintEvent(TQPaintEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void viewportMousePressEvent(TQMouseEvent arg1); + protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); + protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void viewportMouseMoveEvent(TQMouseEvent arg1); + protected native void viewportDragEnterEvent(TQDragEnterEvent arg1); + protected native void viewportDragMoveEvent(TQDragMoveEvent arg1); + protected native void viewportDragLeaveEvent(TQDragLeaveEvent arg1); + protected native void viewportDropEvent(TQDropEvent arg1); + protected native void viewportWheelEvent(TQWheelEvent arg1); + protected native void viewportContextMenuEvent(TQContextMenuEvent arg1); + protected native void frameChanged(); + protected native void setMargins(int left, int top, int right, int bottom); + protected native int leftMargin(); + protected native int topMargin(); + protected native int rightMargin(); + protected native int bottomMargin(); + protected native boolean focusNextPrevChild(boolean next); + protected native void setHBarGeometry(TQScrollBar hbar, int x, int y, int w, int h); + protected native void setVBarGeometry(TQScrollBar vbar, int x, int y, int w, int h); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent e); + protected native void setCachedSizeHint(TQSize sh); + protected native TQSize cachedSizeHint(); + protected native void fontChange(TQFont arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQScrollViewSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQScrollViewSignals.java new file mode 100644 index 00000000..4528327c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQScrollViewSignals.java @@ -0,0 +1,11 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQScrollViewSignals { + void contentsMoving(int x, int y); + void horizontalSliderPressed(); + void horizontalSliderReleased(); + void verticalSliderPressed(); + void verticalSliderReleased(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSemiModal.java b/qtjava/javalib/org/trinitydesktop/qt/TQSemiModal.java new file mode 100644 index 00000000..672fd9f8 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSemiModal.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSemiModal extends TQDialog { + protected TQSemiModal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSemiModal(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQSemiModal(parent,name,modal,f); + } + private native void newTQSemiModal(TQWidget parent, String name, boolean modal, int f); + public TQSemiModal(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQSemiModal(parent,name,modal); + } + private native void newTQSemiModal(TQWidget parent, String name, boolean modal); + public TQSemiModal(TQWidget parent, String name) { + super((Class) null); + newTQSemiModal(parent,name); + } + private native void newTQSemiModal(TQWidget parent, String name); + public TQSemiModal(TQWidget parent) { + super((Class) null); + newTQSemiModal(parent); + } + private native void newTQSemiModal(TQWidget parent); + public TQSemiModal() { + super((Class) null); + newTQSemiModal(); + } + private native void newTQSemiModal(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQServerSocket.java b/qtjava/javalib/org/trinitydesktop/qt/TQServerSocket.java new file mode 100644 index 00000000..9c9ccbed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQServerSocket.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQServerSocket extends TQObject { + protected TQServerSocket(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean ok(); + public native short port(); + public native int socket(); + public native void setSocket(int socket); + public native TQHostAddress address(); + public native void newConnection(int socket); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSessionManager.java b/qtjava/javalib/org/trinitydesktop/qt/TQSessionManager.java new file mode 100644 index 00000000..8458d1df --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSessionManager.java @@ -0,0 +1,34 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSessionManager extends TQObject { + protected TQSessionManager(Class dummy){super((Class) null);} + public static final int RestartIfRunning = 0; + public static final int RestartAnyway = 1; + public static final int RestartImmediately = 2; + public static final int RestartNever = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public native String sessionId(); + public native String sessionKey(); + public native boolean allowsInteraction(); + public native boolean allowsErrorInteraction(); + public native void release(); + public native void cancel(); + public native void setRestartHint(int arg1); + public native int restartHint(); + public native void setRestartCommand(String[] arg1); + public native ArrayList restartCommand(); + public native void setDiscardCommand(String[] arg1); + public native ArrayList discardCommand(); + public native void setManagerProperty(String name, String value); + public native void setManagerProperty(String name, String[] value); + public native boolean isPhase2(); + public native void requestPhase2(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java b/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java new file mode 100644 index 00000000..2344b99b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSettings implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSettings(Class dummy){} + + public static final int Native = 0; + public static final int Ini = 1; + + public static final int Unix = 0; + public static final int Windows = 1; + public static final int Mac = 2; + + public static final int User = 0; + public static final int Global = 1; + + public TQSettings() { + newTQSettings(); + } + private native void newTQSettings(); + public TQSettings(int format) { + newTQSettings(format); + } + private native void newTQSettings(int format); + public native boolean writeEntry(String arg1, boolean arg2); + public native boolean writeEntry(String arg1, double arg2); + public native boolean writeEntry(String arg1, int arg2); + public native boolean writeEntry(String arg1, String arg2); + public native boolean writeEntry(String arg1, String[] arg2); + public native boolean writeEntry(String arg1, String[] arg2, char sep); + public native ArrayList entryList(String arg1); + public native ArrayList subkeyList(String arg1); + public native ArrayList readListEntry(String arg1, boolean[] arg2); + public native ArrayList readListEntry(String arg1); + public native ArrayList readListEntry(String arg1, char sep, boolean[] arg3); + public native ArrayList readListEntry(String arg1, char sep); + public native String readEntry(String arg1, String def, boolean[] arg3); + public native String readEntry(String arg1, String def); + public native String readEntry(String arg1); + public native int readNumEntry(String arg1, int def, boolean[] arg3); + public native int readNumEntry(String arg1, int def); + public native int readNumEntry(String arg1); + public native double readDoubleEntry(String arg1, double def, boolean[] arg3); + public native double readDoubleEntry(String arg1, double def); + public native double readDoubleEntry(String arg1); + public native boolean readBoolEntry(String arg1, boolean def, boolean[] arg3); + public native boolean readBoolEntry(String arg1, boolean def); + public native boolean readBoolEntry(String arg1); + public native boolean removeEntry(String arg1); + public native void insertSearchPath(int arg1, String arg2); + public native void removeSearchPath(int arg1, String arg2); + public native void setPath(String domain, String product, int arg3); + public native void setPath(String domain, String product); + public native void beginGroup(String group); + public native void endGroup(); + public native void resetGroup(); + public native String group(); + public native boolean sync(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQShowEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQShowEvent.java new file mode 100644 index 00000000..374cb755 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQShowEvent.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQShowEvent extends TQEvent { + protected TQShowEvent(Class dummy){super((Class) null);} + public TQShowEvent() { + super((Class) null); + newTQShowEvent(); + } + private native void newTQShowEvent(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java b/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java new file mode 100644 index 00000000..ebc96889 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java @@ -0,0 +1,83 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** +************************************************* + $Id$ + +* Definition of TQSignal class + +* Created : 941201 + +* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + +* This file is part of the kernel module of the Qt GUI Toolkit. + +* This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + +* This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + +* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition + licenses may use this file in accordance with the Qt Commercial License + Agreement provided with the Software. + +* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + +* Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + +********************************************** See {@link TQSignalSignals} for signals emitted by TQSignal + @short $Id: qt/qsignal. + +*/ +public class TQSignal extends TQObject { + protected TQSignal(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSignal(TQObject parent, String name) { + super((Class) null); + newTQSignal(parent,name); + } + private native void newTQSignal(TQObject parent, String name); + public TQSignal(TQObject parent) { + super((Class) null); + newTQSignal(parent); + } + private native void newTQSignal(TQObject parent); + public TQSignal() { + super((Class) null); + newTQSignal(); + } + private native void newTQSignal(); + public native boolean connect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver, String member); + public native boolean disconnect(TQObject receiver); + public native void activate(); + public native boolean isBlocked(); + public native void block(boolean b); + public native void setParameter(int value); + public native int parameter(); + public native void setValue(TQVariant value); + public native TQVariant value(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapper.java b/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapper.java new file mode 100644 index 00000000..e5e9d590 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapper.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSignalMapperSignals} for signals emitted by TQSignalMapper +*/ +public class TQSignalMapper extends TQObject { + protected TQSignalMapper(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSignalMapper(TQObject parent, String name) { + super((Class) null); + newTQSignalMapper(parent,name); + } + private native void newTQSignalMapper(TQObject parent, String name); + public TQSignalMapper(TQObject parent) { + super((Class) null); + newTQSignalMapper(parent); + } + private native void newTQSignalMapper(TQObject parent); + public native void setMapping(TQObject sender, int identifier); + public native void setMapping(TQObject sender, String identifier); + public native void removeMappings(TQObject sender); + public native void map(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapperSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapperSignals.java new file mode 100644 index 00000000..a0dbd8af --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSignalMapperSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSignalMapperSignals { + void mapped(int arg1); + void mapped(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSignalSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSignalSignals.java new file mode 100644 index 00000000..6d79a8b3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSignalSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSignalSignals { + void signal(TQVariant arg1); + void intSignal(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSimpleRichText.java b/qtjava/javalib/org/trinitydesktop/qt/TQSimpleRichText.java new file mode 100644 index 00000000..4565b9a5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSimpleRichText.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSimpleRichText implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSimpleRichText(Class dummy){} + + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet) { + newTQSimpleRichText(text,fnt,context,sheet); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet); + public TQSimpleRichText(String text, TQFont fnt, String context) { + newTQSimpleRichText(text,fnt,context); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context); + public TQSimpleRichText(String text, TQFont fnt) { + newTQSimpleRichText(text,fnt); + } + private native void newTQSimpleRichText(String text, TQFont fnt); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor,linkUnderline); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor, boolean linkUnderline); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak,linkColor); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak, TQColor linkColor); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak) { + newTQSimpleRichText(text,fnt,context,sheet,factory,pageBreak); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory, int pageBreak); + public TQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory) { + newTQSimpleRichText(text,fnt,context,sheet,factory); + } + private native void newTQSimpleRichText(String text, TQFont fnt, String context, TQStyleSheet sheet, TQMimeSourceFactory factory); + public native void setWidth(int arg1); + public native void setWidth(TQPainter arg1, int arg2); + public native void setDefaultFont(TQFont f); + public native int width(); + public native int widthUsed(); + public native int height(); + public native void adjustSize(); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRect clipRect, TQColorGroup cg); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg, TQBrush paper); + public native void draw(TQPainter p, int x, int y, TQRegion clipRegion, TQColorGroup cg); + public native String context(); + public native String anchorAt(TQPoint pos); + public native boolean inText(TQPoint pos); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSize.java b/qtjava/javalib/org/trinitydesktop/qt/TQSize.java new file mode 100644 index 00000000..461159a7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSize.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSize implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSize(Class dummy){} + + public static final int ScaleFree = 0; + public static final int ScaleMin = 1; + public static final int ScaleMax = 2; + + public TQSize() { + newTQSize(); + } + private native void newTQSize(); + public TQSize(int w, int h) { + newTQSize(w,h); + } + private native void newTQSize(int w, int h); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean isValid(); + public native int width(); + public native int height(); + public native void setWidth(int w); + public native void setHeight(int h); + public native void transpose(); + public native void scale(int w, int h, int mode); + public native void scale(TQSize s, int mode); + public native TQSize expandedTo(TQSize arg1); + public native TQSize boundedTo(TQSize arg1); + public native short rwidth(); + public native short rheight(); + public native TQSize op_plus_assign(TQSize arg1); + public native TQSize op_minus_assign(TQSize arg1); + public native TQSize op_mult_assign(int c); + public native TQSize op_mult_assign(double c); + public native TQSize op_div_assign(int c); + public native TQSize op_div_assign(double c); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSizeGrip.java b/qtjava/javalib/org/trinitydesktop/qt/TQSizeGrip.java new file mode 100644 index 00000000..47e0c97d --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSizeGrip.java @@ -0,0 +1,33 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSizeGrip extends TQWidget { + protected TQSizeGrip(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSizeGrip(TQWidget parent, String name) { + super((Class) null); + newTQSizeGrip(parent,name); + } + private native void newTQSizeGrip(TQWidget parent, String name); + public TQSizeGrip(TQWidget parent) { + super((Class) null); + newTQSizeGrip(parent); + } + private native void newTQSizeGrip(TQWidget parent); + public native TQSize sizeHint(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java b/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java new file mode 100644 index 00000000..7ae8d6ce --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSizePolicy.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSizePolicy implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSizePolicy(Class dummy){} + + public static final int HSize = 6; + public static final int HMask = 0x3f; + public static final int VMask = HMask<<HSize; + public static final int MayGrow = 1; + public static final int ExpMask = 2; + public static final int MayShrink = 4; + + public static final int Fixed = 0; + public static final int Minimum = MayGrow; + public static final int Maximum = MayShrink; + public static final int Preferred = MayGrow|MayShrink; + public static final int MinimumExpanding = MayGrow|ExpMask; + public static final int Expanding = MayGrow|MayShrink|ExpMask; + public static final int Ignored = ExpMask; + + public static final int NoDirection = 0; + public static final int Horizontally = 1; + public static final int Vertically = 2; + public static final int Horizontal = Horizontally; + public static final int Vertical = Vertically; + public static final int BothDirections = Horizontally|Vertically; + + public TQSizePolicy() { + newTQSizePolicy(); + } + private native void newTQSizePolicy(); + public TQSizePolicy(int hor, int ver, boolean hfw) { + newTQSizePolicy(hor,ver,hfw); + } + private native void newTQSizePolicy(int hor, int ver, boolean hfw); + public TQSizePolicy(int hor, int ver) { + newTQSizePolicy(hor,ver); + } + 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 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 newTQSizePolicy(int hor, int ver, short hors, short vers); + public native int horData(); + public native int verData(); + public native boolean mayShrinkHorizontally(); + public native boolean mayShrinkVertically(); + public native boolean mayGrowHorizontally(); + public native boolean mayGrowVertically(); + public native int expanding(); + public native void setHorData(int d); + public native void setVerData(int d); + public native void setHeightForWidth(boolean b); + public native boolean hasHeightForWidth(); + 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); + public native void setVerStretch(short sf); + public native void transpose(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSjisCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQSjisCodec.java new file mode 100644 index 00000000..c2db72e3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSjisCodec.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +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 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 TQSjisCodec() { + super((Class) null); + newTQSjisCodec(); + } + private native void newTQSjisCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSlider.java b/qtjava/javalib/org/trinitydesktop/qt/TQSlider.java new file mode 100644 index 00000000..beaf6ad2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSlider.java @@ -0,0 +1,111 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSliderSignals} for signals emitted by TQSlider +*/ +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; + public static final int Below = 2; + public static final int Right = Below; + public static final int Both = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQSlider(TQWidget parent, String name) { + super((Class) null); + newTQSlider(parent,name); + } + private native void newTQSlider(TQWidget parent, String name); + public TQSlider(TQWidget parent) { + super((Class) null); + newTQSlider(parent); + } + private native void newTQSlider(TQWidget parent); + public TQSlider(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQSlider(arg1,parent,name); + } + private native void newTQSlider(int arg1, TQWidget parent, String name); + public TQSlider(int arg1, TQWidget parent) { + super((Class) null); + newTQSlider(arg1,parent); + } + 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); + newTQSlider(minValue,maxValue,pageStep,value,arg5,parent,name); + } + 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); + newTQSlider(minValue,maxValue,pageStep,value,arg5,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(TQPalette arg1); + public native int sliderStart(); + 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 TQSizePolicy sizePolicy(); + public native TQSize minimumSizeHint(); + public native void setTickmarks(int arg1); + public native int tickmarks(); + public native void setTickInterval(int arg1); + public native int tickInterval(); + public native int minValue(); + public native int maxValue(); + public native void setMinValue(int arg1); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native int pageStep(); + public native void setLineStep(int arg1); + public native void setPageStep(int arg1); + public native int value(); + public native void setValue(int arg1); + public native void addStep(); + public native void subtractStep(); + public native void addLine(); + public native void subtractLine(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void focusInEvent(TQFocusEvent 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 */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native void addPage(); + public native void subtractPage(); + public native void setRange(int minValue, int maxValue); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void stepChange(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSliderSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSliderSignals.java new file mode 100644 index 00000000..97fb695c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSliderSignals.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSliderSignals { + void valueChanged(int value); + void sliderPressed(); + void sliderMoved(int value); + void sliderReleased(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSocket.java b/qtjava/javalib/org/trinitydesktop/qt/TQSocket.java new file mode 100644 index 00000000..aa83b51a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSocket.java @@ -0,0 +1,108 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSocketSignals} for signals emitted by TQSocket +*/ +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; + + public static final int Idle = 0; + public static final int HostLookup = 1; + public static final int Connecting = 2; + public static final int Connected = 3; + public static final int Closing = 4; + public static final int Connection = Connected; + + public native TQMetaObject metaObject(); + public native String className(); + public TQSocket(TQObject parent, String name) { + super((Class) null); + newTQSocket(parent,name); + } + private native void newTQSocket(TQObject parent, String name); + public TQSocket(TQObject parent) { + super((Class) null); + newTQSocket(parent); + } + private native void newTQSocket(TQObject parent); + public TQSocket() { + super((Class) null); + newTQSocket(); + } + private native void newTQSocket(); + public native int state(); + public native int socket(); + public native void setSocket(int 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); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native boolean atEnd(); + public native long bytesAvailable(); + public native long waitForMore(int msecs, boolean[] timeout); + public native long waitForMore(int msecs); + public native long bytesToWrite(); + public native void clearPendingData(); + public native long readBlock(StringBuffer data, long maxlen); + public native long writeBlock(String data, long len); + public native long readLine(String data, long maxlen); + public native int getch(); + public native int putch(int arg1); + public native int ungetch(int arg1); + public native boolean canReadLine(); + public native String readLine(); + public native short port(); + public native short peerPort(); + 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); + public static native String tr(String arg1); + protected native void sn_read(boolean force); + protected native void sn_read(); + protected native void sn_write(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int flags(); + public native int mode(); + public native boolean isDirectAccess(); + public native boolean isSequentialAccess(); + public native boolean isCombinedAccess(); + public native boolean isBuffered(); + public native boolean isRaw(); + public native boolean isSynchronous(); + public native boolean isAsynchronous(); + public native boolean isTranslated(); + public native boolean isReadable(); + public native boolean isWritable(); + public native boolean isReadWrite(); + public native boolean isInactive(); + public native boolean isOpen(); + public native int status(); + public native void resetStatus(); + public native boolean reset(); + public native long writeBlock(byte[] data); + public native byte[] readAll(); + protected native void setFlags(int f); + protected native void setType(int arg1); + protected native void setMode(int arg1); + public native void setState(int arg1); + public native void setStatus(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSocketDevice.java b/qtjava/javalib/org/trinitydesktop/qt/TQSocketDevice.java new file mode 100644 index 00000000..06353dbe --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSocketDevice.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSocketDevice extends TQIODevice { + protected TQSocketDevice(Class dummy){super((Class) null);} + public static final int Stream = 0; + public static final int Datagram = 1; + + public static final int IPv4 = 0; + public static final int IPv6 = 1; + public static final int Unknown = 2; + + public static final int NoError = 0; + public static final int AlreadyBound = 1; + public static final int Inaccessible = 2; + public static final int NoResources = 3; + public static final int InternalError = 4; + public static final int Bug = InternalError; + public static final int Impossible = 5; + public static final int NoFiles = 6; + public static final int ConnectionRefused = 7; + public static final int NetworkFailure = 8; + public static final int UnknownError = 9; + + public TQSocketDevice(int type) { + super((Class) null); + newTQSocketDevice(type); + } + private native void newTQSocketDevice(int type); + public TQSocketDevice() { + super((Class) null); + newTQSocketDevice(); + } + private native void newTQSocketDevice(); + public TQSocketDevice(int type, int protocol, int dummy) { + super((Class) null); + newTQSocketDevice(type,protocol,dummy); + } + private native void newTQSocketDevice(int type, int protocol, int dummy); + public TQSocketDevice(int socket, int type) { + super((Class) null); + newTQSocketDevice(socket,type); + } + private native void newTQSocketDevice(int socket, int type); + public native boolean isValid(); + public native int type(); + public native int protocol(); + public native int socket(); + public native void setSocket(int socket, int type); + public native boolean open(int mode); + public native void close(); + public native void flush(); + public native long size(); + public native long at(); + public native boolean at(long arg1); + public native boolean atEnd(); + public native boolean blocking(); + public native void setBlocking(boolean arg1); + public native boolean addressReusable(); + public native void setAddressReusable(boolean arg1); + public native int receiveBufferSize(); + public native void setReceiveBufferSize(int arg1); + public native int sendBufferSize(); + public native void setSendBufferSize(int arg1); + 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(); + public native long waitForMore(int msecs, boolean[] timeout); + 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, 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 TQHostAddress address(); + public native TQHostAddress peerAddress(); + public native int error(); + protected native void setError(int err); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifier.java b/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifier.java new file mode 100644 index 00000000..beb3699c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifier.java @@ -0,0 +1,82 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** +************************************************* + $Id$ + +* Definition of TQSocketNotifier class + +* Created : 951114 + +* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + +* This file is part of the kernel module of the Qt GUI Toolkit. + +* This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + +* This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + +* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition + licenses may use this file in accordance with the Qt Commercial License + Agreement provided with the Software. + +* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + +* Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + +********************************************** See {@link TQSocketNotifierSignals} for signals emitted by TQSocketNotifier + @short $Id: qt/qsocketnotifier. + +*/ +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 TQMetaObject metaObject(); + public native String className(); + public TQSocketNotifier(int socket, int arg2, TQObject parent, String name) { + super((Class) null); + newTQSocketNotifier(socket,arg2,parent,name); + } + private native void newTQSocketNotifier(int socket, int arg2, TQObject parent, String name); + public TQSocketNotifier(int socket, int arg2, TQObject parent) { + super((Class) null); + newTQSocketNotifier(socket,arg2,parent); + } + private native void newTQSocketNotifier(int socket, int arg2, TQObject parent); + public TQSocketNotifier(int socket, int arg2) { + super((Class) null); + newTQSocketNotifier(socket,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(TQEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifierSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifierSignals.java new file mode 100644 index 00000000..83c6653f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSocketNotifierSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSocketNotifierSignals { + void activated(int socket); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSocketSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSocketSignals.java new file mode 100644 index 00000000..6bd789cf --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSocketSignals.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSocketSignals { + void hostFound(); + void connected(); + void connectionClosed(); + void delayedCloseFinished(); + void readyRead(); + void bytesWritten(int nbytes); + void error(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSound.java b/qtjava/javalib/org/trinitydesktop/qt/TQSound.java new file mode 100644 index 00000000..6d710cc1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSound.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSound extends TQObject { + protected TQSound(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSound(String filename, TQObject parent, String name) { + super((Class) null); + newTQSound(filename,parent,name); + } + private native void newTQSound(String filename, TQObject parent, String name); + public TQSound(String filename, TQObject parent) { + super((Class) null); + newTQSound(filename,parent); + } + private native void newTQSound(String filename, TQObject parent); + public TQSound(String filename) { + super((Class) null); + newTQSound(filename); + } + private native void newTQSound(String filename); + public native int loops(); + public native int loopsRemaining(); + public native void setLoops(int arg1); + public native String fileName(); + public native boolean isFinished(); + public native void play(); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean isAvailable(); + public static native void play(String filename); + public static native boolean available(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSpacerItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQSpacerItem.java new file mode 100644 index 00000000..7b4ef639 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSpacerItem.java @@ -0,0 +1,40 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +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); + newTQSpacerItem(w,h,hData,vData); + } + private native void newTQSpacerItem(int w, int h, int hData, int vData); + public TQSpacerItem(int w, int h, int hData) { + super((Class) null); + newTQSpacerItem(w,h,hData); + } + private native void newTQSpacerItem(int w, int h, int hData); + public TQSpacerItem(int w, int h) { + super((Class) null); + newTQSpacerItem(w,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 TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int expanding(); + public native boolean isEmpty(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native TQSpacerItem spacerItem(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSpinBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQSpinBox.java new file mode 100644 index 00000000..08fa80e5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSpinBox.java @@ -0,0 +1,116 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSpinBoxSignals} for signals emitted by TQSpinBox +*/ +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 TQMetaObject metaObject(); + public native String className(); + public TQSpinBox(TQWidget parent, String name) { + super((Class) null); + newTQSpinBox(parent,name); + } + private native void newTQSpinBox(TQWidget parent, String name); + public TQSpinBox(TQWidget parent) { + super((Class) null); + newTQSpinBox(parent); + } + private native void newTQSpinBox(TQWidget parent); + public TQSpinBox() { + super((Class) null); + newTQSpinBox(); + } + private native void newTQSpinBox(); + public TQSpinBox(int minValue, int maxValue, int step, TQWidget parent, String name) { + super((Class) null); + newTQSpinBox(minValue,maxValue,step,parent,name); + } + 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); + newTQSpinBox(minValue,maxValue,step,parent); + } + private native void newTQSpinBox(int minValue, int maxValue, int step, TQWidget parent); + public TQSpinBox(int minValue, int maxValue, int step) { + super((Class) null); + newTQSpinBox(minValue,maxValue,step); + } + private native void newTQSpinBox(int minValue, int maxValue, int step); + public TQSpinBox(int minValue, int maxValue) { + super((Class) null); + newTQSpinBox(minValue,maxValue); + } + private native void newTQSpinBox(int minValue, int maxValue); + public native String text(); + public native String prefix(); + public native String suffix(); + public native String cleanText(); + public native void setSpecialValueText(String text); + public native String specialValueText(); + public native void setWrapping(boolean on); + public native boolean wrapping(); + public native void setButtonSymbols(int arg1); + public native int buttonSymbols(); + 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); + public native void setMaxValue(int arg1); + public native int lineStep(); + public native void setLineStep(int arg1); + public native int value(); + 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); + public native void stepUp(); + public native void stepDown(); + public native void setEnabled(boolean enabled); + public native void selectAll(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native String mapValueToText(int value); + protected native int mapTextToValue(boolean[] ok); + protected native String currentValueText(); + protected native void updateDisplay(); + protected native void interpretText(); + protected native TQLineEdit editor(); + protected native void valueChange(); + protected native void rangeChange(); + 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; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native void addPage(); + public native void subtractPage(); + public native void addLine(); + public native void subtractLine(); + public native void setRange(int minValue, int maxValue); + public native int pageStep(); + public native void setSteps(int line, int page); + public native int bound(int arg1); + protected native int positionFromValue(int val, int space); + protected native int valueFromPosition(int pos, int space); + protected native void directSetValue(int val); + protected native int prevValue(); + protected native void stepChange(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSpinBoxSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSpinBoxSignals.java new file mode 100644 index 00000000..80bd77f4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSpinBoxSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSpinBoxSignals { + void valueChanged(int value); + void valueChanged(String valueText); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidget.java b/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidget.java new file mode 100644 index 00000000..e5d9e6cc --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidget.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSpinWidgetSignals} for signals emitted by TQSpinWidget +*/ +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 TQMetaObject metaObject(); + public native String className(); + public TQSpinWidget(TQWidget parent, String name) { + super((Class) null); + newTQSpinWidget(parent,name); + } + private native void newTQSpinWidget(TQWidget parent, String name); + public TQSpinWidget(TQWidget parent) { + super((Class) null); + newTQSpinWidget(parent); + } + private native void newTQSpinWidget(TQWidget parent); + public TQSpinWidget() { + super((Class) null); + newTQSpinWidget(); + } + 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(); + public native boolean isDownEnabled(); + public native void setButtonSymbols(int bs); + public native int buttonSymbols(); + public native void arrange(); + public native void stepUp(); + public native void stepDown(); + public static native String tr(String arg1, String arg2); + public static native String tr(String 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 */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidgetSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidgetSignals.java new file mode 100644 index 00000000..90bb4fe6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSpinWidgetSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSpinWidgetSignals { + void stepUpPressed(); + void stepDownPressed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreen.java b/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreen.java new file mode 100644 index 00000000..625cca71 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreen.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQSplashScreenSignals} for signals emitted by TQSplashScreen +*/ +public class TQSplashScreen extends TQWidget { + protected TQSplashScreen(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSplashScreen(TQPixmap pixmap, int f) { + super((Class) null); + newTQSplashScreen(pixmap,f); + } + private native void newTQSplashScreen(TQPixmap pixmap, int f); + public TQSplashScreen(TQPixmap pixmap) { + super((Class) null); + newTQSplashScreen(pixmap); + } + private native void newTQSplashScreen(TQPixmap pixmap); + public TQSplashScreen() { + super((Class) null); + newTQSplashScreen(); + } + 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, 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(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() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreenSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreenSignals.java new file mode 100644 index 00000000..1b060e45 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSplashScreenSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSplashScreenSignals { + void messageChanged(String str); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSplitter.java b/qtjava/javalib/org/trinitydesktop/qt/TQSplitter.java new file mode 100644 index 00000000..564a1362 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSplitter.java @@ -0,0 +1,83 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSplitter extends TQFrame { + protected TQSplitter(Class dummy){super((Class) null);} + public static final int DefaultResizeMode = 3; + + public static final int Stretch = 0; + public static final int KeepSize = 1; + public static final int FollowSizeHint = 2; + public static final int Auto = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQSplitter(TQWidget parent, String name) { + super((Class) null); + newTQSplitter(parent,name); + } + private native void newTQSplitter(TQWidget parent, String name); + public TQSplitter(TQWidget parent) { + super((Class) null); + newTQSplitter(parent); + } + private native void newTQSplitter(TQWidget parent); + public TQSplitter() { + super((Class) null); + newTQSplitter(); + } + private native void newTQSplitter(); + public TQSplitter(int arg1, TQWidget parent, String name) { + super((Class) null); + newTQSplitter(arg1,parent,name); + } + private native void newTQSplitter(int arg1, TQWidget parent, String name); + public TQSplitter(int arg1, TQWidget parent) { + super((Class) null); + newTQSplitter(arg1,parent); + } + private native void newTQSplitter(int arg1, TQWidget parent); + public TQSplitter(int arg1) { + super((Class) null); + newTQSplitter(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(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(TQWidget arg1); + public native void moveToLast(TQWidget arg1); + public native void refresh(); + 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(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(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); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSql.java b/qtjava/javalib/org/trinitydesktop/qt/TQSql.java new file mode 100644 index 00000000..e0dbb063 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSql.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSql implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSql(Class dummy){} + + public static final int None = -1; + public static final int Insert = 0; + public static final int Update = 1; + public static final int Delete = 2; + + public static final int BeforeFirst = -1; + public static final int AfterLast = -2; + + public static final int Cancel = -1; + public static final int No = 0; + public static final int Yes = 1; + + public static final int In = 1; + public static final int Out = 2; + public static final int InOut = 3; + + public static final int Tables = 0x01; + public static final int SystemTables = 0x02; + public static final int Views = 0x04; + public static final int AllTables = 0xff; + + public TQSql() { + newTQSql(); + } + private native void newTQSql(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlCursor.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlCursor.java new file mode 100644 index 00000000..c3885d5b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlCursor.java @@ -0,0 +1,139 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +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 TQSqlCursor(String name, boolean autopopulate, TQSqlDatabase db) { + super((Class) null); + newTQSqlCursor(name,autopopulate,db); + } + private native void newTQSqlCursor(String name, boolean autopopulate, TQSqlDatabase db); + public TQSqlCursor(String name, boolean autopopulate) { + super((Class) null); + newTQSqlCursor(name,autopopulate); + } + private native void newTQSqlCursor(String name, boolean autopopulate); + public TQSqlCursor(String name) { + super((Class) null); + newTQSqlCursor(name); + } + private native void newTQSqlCursor(String name); + public TQSqlCursor() { + super((Class) null); + newTQSqlCursor(); + } + private native void newTQSqlCursor(); + public TQSqlCursor(TQSqlCursor other) { + super((Class) null); + newTQSqlCursor(other); + } + 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 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); + public native int update(); + public native int del(boolean invalidate); + public native int del(); + public native void setMode(int flags); + public native int mode(); + public native void setCalculated(String name, boolean calculated); + public native boolean isCalculated(String name); + public native void setTrimmed(String name, boolean trim); + public native boolean isTrimmed(String name); + public native boolean isReadOnly(); + public native boolean canInsert(); + public native boolean canUpdate(); + public native boolean canDelete(); + public native boolean select(); + 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(TQSqlIndex sort); + public native TQSqlIndex sort(); + public native void setFilter(String filter); + public native String filter(); + public native void setName(String name, boolean autopopulate); + public native void setName(String name); + public native String name(); + public native String toString(String prefix, String sep); + public native String toString(String prefix); + public native String toString(); + public native boolean isNull(int i); + public native boolean isNull(String name); + protected native void afterSeek(); + public native boolean exec(String sql); + 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, 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() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native boolean isValid(); + public native boolean isActive(); + public native int at(); + public native String lastQuery(); + public native int numRowsAffected(); + public native TQSqlError lastError(); + public native boolean isSelect(); + public native int size(); + public native TQSqlDriver driver(); + public native TQSqlResult result(); + public native boolean isForwardOnly(); + public native void setForwardOnly(boolean forward); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native boolean next(); + public native boolean prev(); + public native boolean first(); + public native boolean last(); + public native boolean exec(); + public native boolean prepare(String query); + public native void bindValue(String placeholder, TQVariant val); + public native void bindValue(int pos, TQVariant val); + public native void addBindValue(TQVariant val); + public native void bindValue(String placeholder, TQVariant val, int type); + public native void bindValue(int pos, TQVariant val, int type); + public native void addBindValue(TQVariant val, int type); + public native TQVariant boundValue(String placeholder); + public native TQVariant boundValue(int pos); + // TQMap<TQString, TQVariant> boundValues(); >>>> NOT CONVERTED + public native String executedQuery(); + protected native void beforeSeek(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlDatabase.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDatabase.java new file mode 100644 index 00000000..362e7401 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDatabase.java @@ -0,0 +1,96 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSqlDatabase extends TQObject { + protected TQSqlDatabase(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public native boolean open(); + public native boolean open(String user, String password); + public native void close(); + public native boolean isOpen(); + public native boolean isOpenError(); + public native ArrayList tables(); + public native ArrayList tables(int type); + public native TQSqlIndex primaryIndex(String tablename); + public native TQSqlRecord record(String tablename); + public native TQSqlRecord record(TQSqlQueryInterface query); + public native TQSqlRecordInfo recordInfo(String tablename); + public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); + public native TQSqlQueryInterface exec(String query); + public native TQSqlQueryInterface exec(); + public native TQSqlError lastError(); + public native boolean transaction(); + public native boolean commit(); + public native boolean rollback(); + public native void setDatabaseName(String name); + public native void setUserName(String name); + public native void setPassword(String password); + public native void setHostName(String host); + public native void setPort(int p); + public native void setConnectOptions(String options); + public native void setConnectOptions(); + public native String databaseName(); + public native String userName(); + public native String password(); + public native String hostName(); + public native String driverName(); + public native int port(); + public native String connectOptions(); + public native TQSqlDriver driver(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQSqlDatabase addDatabase(String type, String connectionName); + public static native TQSqlDatabase addDatabase(String type); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver, String connectionName); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver); + public static native TQSqlDatabase database(String connectionName, boolean open); + public static native TQSqlDatabase database(String connectionName); + public static native TQSqlDatabase database(); + public static native void removeDatabase(String connectionName); + public static native void removeDatabase(TQSqlDatabase db); + public static native boolean contains(String connectionName); + public static native boolean contains(); + public static native ArrayList drivers(); + // void registerSqlDriver(const TQString& arg1,const TQSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED + public static native boolean isDriverAvailable(String name); + public TQSqlDatabase(String type, String name, TQObject parent, String objname) { + super((Class) null); + newTQSqlDatabase(type,name,parent,objname); + } + private native void newTQSqlDatabase(String type, String name, TQObject parent, String objname); + public TQSqlDatabase(String type, String name, TQObject parent) { + super((Class) null); + newTQSqlDatabase(type,name,parent); + } + private native void newTQSqlDatabase(String type, String name, TQObject parent); + public TQSqlDatabase(String type, String name) { + super((Class) null); + newTQSqlDatabase(type,name); + } + private native void newTQSqlDatabase(String type, String name); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname) { + super((Class) null); + newTQSqlDatabase(driver,parent,objname); + } + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent) { + super((Class) null); + newTQSqlDatabase(driver,parent); + } + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent); + public TQSqlDatabase(TQSqlDriver driver) { + super((Class) null); + newTQSqlDatabase(driver); + } + private native void newTQSqlDatabase(TQSqlDriver driver); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java new file mode 100644 index 00000000..5d3a5ef6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSqlDriver extends TQObject { + protected TQSqlDriver(Class dummy){super((Class) null);} + public static final int Transactions = 0; + public static final int QuerySize = 1; + public static final int BLOB = 2; + public static final int Unicode = 3; + public static final int PreparedQueries = 4; + public static final int NamedPlaceholders = 5; + public static final int PositionalPlaceholders = 6; + + public native TQMetaObject metaObject(); + public native String className(); + public native boolean isOpen(); + public native boolean isOpenError(); + public native boolean beginTransaction(); + public native boolean commitTransaction(); + public native boolean rollbackTransaction(); + public native ArrayList tables(String tableType); + public native TQSqlIndex primaryIndex(String tableName); + public native TQSqlRecord record(String tableName); + public native TQSqlRecord record(TQSqlQueryInterface query); + public native TQSqlRecordInfo recordInfo(String tablename); + public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); + public native String nullText(); + public native String formatValue(TQSqlField field, boolean trimStrings); + public native String formatValue(TQSqlField field); + public native TQSqlError lastError(); + public native boolean hasFeature(int f); + public native boolean open(String db, String user, String password, String host, int port); + public native boolean open(String db, String user, String password, String host); + public native boolean open(String db, String user, String password); + public native boolean open(String db, String user); + public native boolean open(String db); + public native void close(); + public native TQSqlQueryInterface createQuery(); + public native boolean open(String db, String user, String password, String host, int port, String connOpts); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlEditorFactory.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlEditorFactory.java new file mode 100644 index 00000000..c2a7a5ae --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlEditorFactory.java @@ -0,0 +1,33 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlEditorFactory extends TQEditorFactory { + protected TQSqlEditorFactory(Class dummy){super((Class) null);} + public TQSqlEditorFactory(TQObject parent, String name) { + super((Class) null); + newTQSqlEditorFactory(parent,name); + } + private native void newTQSqlEditorFactory(TQObject parent, String name); + public TQSqlEditorFactory(TQObject parent) { + super((Class) null); + newTQSqlEditorFactory(parent); + } + private native void newTQSqlEditorFactory(TQObject parent); + public TQSqlEditorFactory() { + super((Class) null); + newTQSqlEditorFactory(); + } + private native void newTQSqlEditorFactory(); + public native TQWidget createEditor(TQWidget parent, TQVariant variant); + public native TQWidget createEditor(TQWidget parent, TQSqlField field); + public static native TQEditorFactory defaultFactory(); + public static native void installDefaultFactory(TQSqlEditorFactory factory); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlError.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlError.java new file mode 100644 index 00000000..85880b57 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlError.java @@ -0,0 +1,58 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlError implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlError(Class dummy){} + + public static final int None = 0; + public static final int Connection = 1; + public static final int Statement = 2; + public static final int Transaction = 3; + public static final int Unknown = 4; + + public TQSqlError(String driverText, String databaseText, int type, int number) { + newTQSqlError(driverText,databaseText,type,number); + } + private native void newTQSqlError(String driverText, String databaseText, int type, int number); + public TQSqlError(String driverText, String databaseText, int type) { + newTQSqlError(driverText,databaseText,type); + } + private native void newTQSqlError(String driverText, String databaseText, int type); + public TQSqlError(String driverText, String databaseText) { + newTQSqlError(driverText,databaseText); + } + private native void newTQSqlError(String driverText, String databaseText); + public TQSqlError(String driverText) { + newTQSqlError(driverText); + } + private native void newTQSqlError(String driverText); + public TQSqlError() { + newTQSqlError(); + } + private native void newTQSqlError(); + public TQSqlError(TQSqlError other) { + newTQSqlError(other); + } + private native void newTQSqlError(TQSqlError other); + public native String driverText(); + public native void setDriverText(String driverText); + public native String databaseText(); + public native void setDatabaseText(String databaseText); + public native int type(); + public native void setType(int type); + public native int number(); + public native void setNumber(int number); + public native String text(); + public native void showMessage(String msg); + public native void showMessage(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlField.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlField.java new file mode 100644 index 00000000..47dbfffa --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlField.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlField implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlField(Class dummy){} + + public TQSqlField(String fieldName, int type) { + newTQSqlField(fieldName,type); + } + private native void newTQSqlField(String fieldName, int type); + public TQSqlField(String fieldName) { + newTQSqlField(fieldName); + } + private native void newTQSqlField(String fieldName); + public TQSqlField() { + newTQSqlField(); + } + private native void newTQSqlField(); + public TQSqlField(TQSqlField other) { + newTQSqlField(other); + } + private native void newTQSqlField(TQSqlField other); + public native boolean op_equals(TQSqlField other); + public native void setValue(TQVariant value); + public native TQVariant value(); + public native void setName(String name); + public native String name(); + public native void setNull(); + public native boolean isNull(); + public native void setReadOnly(boolean readOnly); + public native boolean isReadOnly(); + public native void clear(boolean nullify); + public native void clear(); + public native int type(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlFieldInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlFieldInfo.java new file mode 100644 index 00000000..c0da3f21 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlFieldInfo.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlFieldInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlFieldInfo(Class dummy){} + + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) { + newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated); + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) { + newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim); + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated) { + newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated); + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType) { + newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType); + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue) { + newTQSqlFieldInfo(name,typ,required,len,prec,defValue); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue); + public TQSqlFieldInfo(String name, int typ, int required, int len, int prec) { + newTQSqlFieldInfo(name,typ,required,len,prec); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec); + public TQSqlFieldInfo(String name, int typ, int required, int len) { + newTQSqlFieldInfo(name,typ,required,len); + } + private native void newTQSqlFieldInfo(String name, int typ, int required, int len); + public TQSqlFieldInfo(String name, int typ, int required) { + newTQSqlFieldInfo(name,typ,required); + } + private native void newTQSqlFieldInfo(String name, int typ, int required); + public TQSqlFieldInfo(String name, int typ) { + newTQSqlFieldInfo(name,typ); + } + private native void newTQSqlFieldInfo(String name, int typ); + public TQSqlFieldInfo(String name) { + newTQSqlFieldInfo(name); + } + private native void newTQSqlFieldInfo(String name); + public TQSqlFieldInfo() { + newTQSqlFieldInfo(); + } + private native void newTQSqlFieldInfo(); + public TQSqlFieldInfo(TQSqlFieldInfo other) { + newTQSqlFieldInfo(other); + } + private native void newTQSqlFieldInfo(TQSqlFieldInfo other); + public TQSqlFieldInfo(TQSqlField other, boolean generated) { + newTQSqlFieldInfo(other,generated); + } + private native void newTQSqlFieldInfo(TQSqlField other, boolean generated); + public TQSqlFieldInfo(TQSqlField other) { + newTQSqlFieldInfo(other); + } + private native void newTQSqlFieldInfo(TQSqlField other); + public native boolean op_equals(TQSqlFieldInfo f); + public native TQSqlField toField(); + public native int isRequired(); + public native int type(); + public native int length(); + public native int precision(); + public native TQVariant defaultValue(); + public native String name(); + public native int typeID(); + public native boolean isGenerated(); + public native boolean isTrim(); + public native boolean isCalculated(); + public native void setTrim(boolean trim); + public native void setGenerated(boolean gen); + public native void setCalculated(boolean calc); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlForm.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlForm.java new file mode 100644 index 00000000..5f8c1ccf --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlForm.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlForm extends TQObject { + protected TQSqlForm(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQSqlForm(TQObject parent, String name) { + super((Class) null); + newTQSqlForm(parent,name); + } + private native void newTQSqlForm(TQObject parent, String name); + public TQSqlForm(TQObject parent) { + super((Class) null); + newTQSqlForm(parent); + } + private native void newTQSqlForm(TQObject parent); + public TQSqlForm() { + super((Class) null); + newTQSqlForm(); + } + private native void newTQSqlForm(); + public native void insert(TQWidget widget, String field); + public native void remove(String field); + public native int count(); + public native TQWidget widget(int i); + public native TQSqlField widgetToField(TQWidget widget); + public native TQWidget fieldToWidget(TQSqlField field); + public native void installPropertyMap(TQSqlPropertyMap map); + public native void setRecord(TQSqlRecord buf); + public native void readField(TQWidget widget); + public native void writeField(TQWidget widget); + public native void readFields(); + public native void writeFields(); + public native void clear(); + public native void clearValues(boolean nullify); + public native void clearValues(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void insert(TQWidget widget, TQSqlField field); + protected native void remove(TQWidget widget); + protected native void clearMap(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlIndex.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlIndex.java new file mode 100644 index 00000000..fd6bd181 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlIndex.java @@ -0,0 +1,51 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSqlIndex extends TQSqlRecord { + protected TQSqlIndex(Class dummy){super((Class) null);} + public TQSqlIndex(String cursorName, String name) { + super((Class) null); + newTQSqlIndex(cursorName,name); + } + private native void newTQSqlIndex(String cursorName, String name); + public TQSqlIndex(String cursorName) { + super((Class) null); + newTQSqlIndex(cursorName); + } + private native void newTQSqlIndex(String cursorName); + public TQSqlIndex() { + super((Class) null); + newTQSqlIndex(); + } + private native void newTQSqlIndex(); + public TQSqlIndex(TQSqlIndex other) { + super((Class) null); + newTQSqlIndex(other); + } + private native void newTQSqlIndex(TQSqlIndex other); + public native void setCursorName(String cursorName); + public native String cursorName(); + public native void setName(String name); + public native String name(); + public native void append(TQSqlField field); + public native void append(TQSqlField field, boolean desc); + public native boolean isDescending(int i); + public native void setDescending(int i, boolean desc); + public native String toString(String prefix, String sep, boolean verbose); + public native String toString(String prefix, String sep); + public native String toString(String prefix); + public native String toString(); + public native ArrayList toStringList(String prefix, boolean verbose); + public native ArrayList toStringList(String prefix); + public native ArrayList toStringList(); + public static native TQSqlIndex fromStringList(String[] l, TQSqlCursor cursor); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlPropertyMap.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlPropertyMap.java new file mode 100644 index 00000000..d6b93ff3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlPropertyMap.java @@ -0,0 +1,27 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlPropertyMap implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlPropertyMap(Class dummy){} + + public TQSqlPropertyMap() { + newTQSqlPropertyMap(); + } + private native void newTQSqlPropertyMap(); + public native TQVariant property(TQWidget widget); + public native void setProperty(TQWidget widget, TQVariant value); + public native void insert(String classname, String property); + public native void remove(String classname); + public static native TQSqlPropertyMap defaultMap(); + public static native void installDefaultMap(TQSqlPropertyMap map); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java new file mode 100644 index 00000000..8da17c1c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java @@ -0,0 +1,76 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlQuery(Class dummy){} + + public TQSqlQuery(TQSqlResult r) { + newTQSqlQuery(r); + } + private native void newTQSqlQuery(TQSqlResult r); + public TQSqlQuery(String query, TQSqlDatabase db) { + newTQSqlQuery(query,db); + } + private native void newTQSqlQuery(String query, TQSqlDatabase db); + public TQSqlQuery(String query) { + newTQSqlQuery(query); + } + private native void newTQSqlQuery(String query); + public TQSqlQuery() { + newTQSqlQuery(); + } + private native void newTQSqlQuery(); + public TQSqlQuery(TQSqlDatabase db) { + newTQSqlQuery(db); + } + private native void newTQSqlQuery(TQSqlDatabase db); + public TQSqlQuery(TQSqlQueryInterface other) { + newTQSqlQuery(other); + } + private native void newTQSqlQuery(TQSqlQueryInterface other); + public native boolean isValid(); + public native boolean isActive(); + public native boolean isNull(int field); + public native int at(); + public native String lastQuery(); + public native int numRowsAffected(); + public native TQSqlError lastError(); + public native boolean isSelect(); + public native int size(); + public native TQSqlDriver driver(); + public native TQSqlResult result(); + public native boolean isForwardOnly(); + public native void setForwardOnly(boolean forward); + public native boolean exec(String query); + public native TQVariant value(int i); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native boolean next(); + public native boolean prev(); + public native boolean first(); + public native boolean last(); + public native boolean exec(); + public native boolean prepare(String query); + public native void bindValue(String placeholder, TQVariant val); + public native void bindValue(int pos, TQVariant val); + public native void addBindValue(TQVariant val); + public native void bindValue(String placeholder, TQVariant val, int type); + public native void bindValue(int pos, TQVariant val, int type); + public native void addBindValue(TQVariant val, int type); + public native TQVariant boundValue(String placeholder); + public native TQVariant boundValue(int pos); + // TQMap<TQString, TQVariant> boundValues(); >>>> NOT CONVERTED + public native String executedQuery(); + protected native void beforeSeek(); + protected native void afterSeek(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlQueryInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQueryInterface.java new file mode 100644 index 00000000..7f895972 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQueryInterface.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQSqlQueryInterface { + boolean isValid(); + boolean isActive(); + boolean isNull(int field); + int at(); + String lastQuery(); + int numRowsAffected(); + TQSqlError lastError(); + boolean isSelect(); + int size(); + TQSqlDriver driver(); + TQSqlResult result(); + boolean isForwardOnly(); + void setForwardOnly(boolean forward); + boolean exec(String query); + TQVariant value(int i); + boolean seek(int i, boolean relative); + boolean seek(int i); + boolean next(); + boolean prev(); + boolean first(); + boolean last(); + boolean exec(); + boolean prepare(String query); + void bindValue(String placeholder, TQVariant val); + void bindValue(int pos, TQVariant val); + void addBindValue(TQVariant val); + void bindValue(String placeholder, TQVariant val, int type); + void bindValue(int pos, TQVariant val, int type); + void addBindValue(TQVariant val, int type); + TQVariant boundValue(String placeholder); + TQVariant boundValue(int pos); + String executedQuery(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecord.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecord.java new file mode 100644 index 00000000..00526bed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecord.java @@ -0,0 +1,56 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSqlRecord implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlRecord(Class dummy){} + + public TQSqlRecord() { + newTQSqlRecord(); + } + private native void newTQSqlRecord(); + public TQSqlRecord(TQSqlRecord other) { + newTQSqlRecord(other); + } + private native void newTQSqlRecord(TQSqlRecord other); + public native TQVariant value(int i); + public native TQVariant value(String name); + public native void setValue(int i, TQVariant val); + public native void setValue(String name, TQVariant val); + public native boolean isGenerated(int i); + public native boolean isGenerated(String name); + public native void setGenerated(String name, boolean generated); + public native void setGenerated(int i, boolean generated); + public native void setNull(int i); + public native void setNull(String name); + public native boolean isNull(int i); + public native boolean isNull(String name); + public native int position(String name); + public native String fieldName(int i); + public native TQSqlField field(int i); + public native TQSqlField field(String name); + public native void append(TQSqlField field); + public native void insert(int pos, TQSqlField field); + public native void remove(int pos); + public native boolean isEmpty(); + public native boolean contains(String name); + public native void clear(); + public native void clearValues(boolean nullify); + public native void clearValues(); + public native int count(); + public native String toString(String prefix, String sep); + public native String toString(String prefix); + public native String toString(); + public native ArrayList toStringList(String prefix); + public native ArrayList toStringList(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecordInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecordInfo.java new file mode 100644 index 00000000..09e0de55 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlRecordInfo.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlRecordInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlRecordInfo(Class dummy){} + + public TQSqlRecordInfo() { + newTQSqlRecordInfo(); + } + private native void newTQSqlRecordInfo(); + // TQSqlRecordInfo* TQSqlRecordInfo(const TQSqlFieldInfoList& arg1); >>>> NOT CONVERTED + public TQSqlRecordInfo(TQSqlRecord other) { + newTQSqlRecordInfo(other); + } + private native void newTQSqlRecordInfo(TQSqlRecord other); + public native int contains(String fieldName); + public native TQSqlFieldInfo find(String fieldName); + public native TQSqlRecord toRecord(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlResult.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlResult.java new file mode 100644 index 00000000..20aa8f4e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlResult.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlResult implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlResult(Class dummy){} + + // void setExtension(TQSqlExtension* arg1); >>>> NOT CONVERTED + // TQSqlExtension* extension(); >>>> NOT CONVERTED +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStatusBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQStatusBar.java new file mode 100644 index 00000000..93c63fe1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStatusBar.java @@ -0,0 +1,50 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQStatusBarSignals} for signals emitted by TQStatusBar +*/ +public class TQStatusBar extends TQWidget { + protected TQStatusBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStatusBar(TQWidget parent, String name) { + super((Class) null); + newTQStatusBar(parent,name); + } + private native void newTQStatusBar(TQWidget parent, String name); + public TQStatusBar(TQWidget parent) { + super((Class) null); + newTQStatusBar(parent); + } + private native void newTQStatusBar(TQWidget parent); + public TQStatusBar() { + super((Class) null); + newTQStatusBar(); + } + private native void newTQStatusBar(); + public native void addWidget(TQWidget arg1, int stretch, boolean arg3); + public native void addWidget(TQWidget arg1, int stretch); + public native void addWidget(TQWidget arg1); + public native void removeWidget(TQWidget arg1); + public native void setSizeGripEnabled(boolean arg1); + public native boolean isSizeGripEnabled(); + public native void message(String arg1); + public native void message(String arg1, int arg2); + public native void clear(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void reformat(); + protected native void hideOrShow(); + public native boolean event(TQEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStatusBarSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQStatusBarSignals.java new file mode 100644 index 00000000..dff5b3da --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStatusBarSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQStatusBarSignals { + void messageChanged(String text); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStoredDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQStoredDrag.java new file mode 100644 index 00000000..caa6eea4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStoredDrag.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStoredDrag extends TQDragObject { + protected TQStoredDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStoredDrag(String mimeType, TQWidget dragSource, String name) { + super((Class) null); + newTQStoredDrag(mimeType,dragSource,name); + } + private native void newTQStoredDrag(String mimeType, TQWidget dragSource, String name); + public TQStoredDrag(String mimeType, TQWidget dragSource) { + super((Class) null); + newTQStoredDrag(mimeType,dragSource); + } + private native void newTQStoredDrag(String mimeType, TQWidget dragSource); + public TQStoredDrag(String mimeType) { + super((Class) null); + newTQStoredDrag(mimeType); + } + private native void newTQStoredDrag(String mimeType); + public native void setEncodedData(byte[] arg1); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java new file mode 100644 index 00000000..764ca004 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyle.java @@ -0,0 +1,356 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStyle extends TQObject { + protected TQStyle(Class dummy){super((Class) null);} + public static final int PE_ButtonCommand = 0; + public static final int PE_ButtonDefault = 1; + public static final int PE_ButtonBevel = 2; + public static final int PE_ButtonTool = 3; + public static final int PE_ButtonDropDown = 4; + public static final int PE_FocusRect = 5; + public static final int PE_ArrowUp = 6; + public static final int PE_ArrowDown = 7; + public static final int PE_ArrowRight = 8; + public static final int PE_ArrowLeft = 9; + public static final int PE_SpinWidgetUp = 10; + public static final int PE_SpinWidgetDown = 11; + public static final int PE_SpinWidgetPlus = 12; + public static final int PE_SpinWidgetMinus = 13; + public static final int PE_Indicator = 14; + public static final int PE_IndicatorMask = 15; + public static final int PE_ExclusiveIndicator = 16; + public static final int PE_ExclusiveIndicatorMask = 17; + public static final int PE_DockWindowHandle = 18; + public static final int PE_DockWindowSeparator = 19; + public static final int PE_DockWindowResizeHandle = 20; + public static final int PE_Splitter = 21; + public static final int PE_Panel = 22; + public static final int PE_PanelPopup = 23; + public static final int PE_PanelMenuBar = 24; + public static final int PE_PanelDockWindow = 25; + public static final int PE_TabBarBase = 26; + public static final int PE_HeaderSection = 27; + public static final int PE_HeaderArrow = 28; + public static final int PE_StatusBarSection = 29; + public static final int PE_GroupBoxFrame = 30; + public static final int PE_Separator = 31; + public static final int PE_SizeGrip = 32; + public static final int PE_CheckMark = 33; + public static final int PE_ScrollBarAddLine = 34; + public static final int PE_ScrollBarSubLine = 35; + public static final int PE_ScrollBarAddPage = 36; + public static final int PE_ScrollBarSubPage = 37; + public static final int PE_ScrollBarSlider = 38; + public static final int PE_ScrollBarFirst = 39; + public static final int PE_ScrollBarLast = 40; + public static final int PE_ProgressBarChunk = 41; + public static final int PE_PanelLineEdit = 42; + public static final int PE_PanelTabWidget = 43; + public static final int PE_WindowFrame = 44; + public static final int PE_CheckListController = 45; + public static final int PE_CheckListIndicator = 46; + public static final int PE_CheckListExclusiveIndicator = 47; + public static final int PE_PanelGroupBox = 48; + public static final int PE_RubberBand = 49; + public static final int PE_CustomBase = 0xf000000; + + public static final int Style_Default = 0x00000000; + public static final int Style_Enabled = 0x00000001; + public static final int Style_Raised = 0x00000002; + public static final int Style_Sunken = 0x00000004; + public static final int Style_Off = 0x00000008; + public static final int Style_NoChange = 0x00000010; + public static final int Style_On = 0x00000020; + public static final int Style_Down = 0x00000040; + public static final int Style_Horizontal = 0x00000080; + public static final int Style_HasFocus = 0x00000100; + public static final int Style_Top = 0x00000200; + public static final int Style_Bottom = 0x00000400; + public static final int Style_FocusAtBorder = 0x00000800; + public static final int Style_AutoRaise = 0x00001000; + public static final int Style_MouseOver = 0x00002000; + public static final int Style_Up = 0x00004000; + public static final int Style_Selected = 0x00008000; + public static final int Style_Active = 0x00010000; + public static final int Style_ButtonDefault = 0x00020000; + + public static final int CE_PushButton = 0; + public static final int CE_PushButtonLabel = 1; + public static final int CE_CheckBox = 2; + public static final int CE_CheckBoxLabel = 3; + public static final int CE_RadioButton = 4; + public static final int CE_RadioButtonLabel = 5; + public static final int CE_TabBarTab = 6; + public static final int CE_TabBarLabel = 7; + public static final int CE_ProgressBarGroove = 8; + public static final int CE_ProgressBarContents = 9; + public static final int CE_ProgressBarLabel = 10; + public static final int CE_PopupMenuItem = 11; + public static final int CE_MenuBarItem = 12; + public static final int CE_ToolButtonLabel = 13; + public static final int CE_MenuBarEmptyArea = 14; + public static final int CE_PopupMenuScroller = 15; + public static final int CE_DockWindowEmptyArea = 16; + public static final int CE_PopupMenuVerticalExtra = 17; + public static final int CE_PopupMenuHorizontalExtra = 18; + public static final int CE_ToolBoxTab = 19; + public static final int CE_HeaderLabel = 20; + public static final int CE_CustomBase = 0xf0000000; + + public static final int SR_PushButtonContents = 0; + public static final int SR_PushButtonFocusRect = 1; + public static final int SR_CheckBoxIndicator = 2; + public static final int SR_CheckBoxContents = 3; + public static final int SR_CheckBoxFocusRect = 4; + public static final int SR_RadioButtonIndicator = 5; + public static final int SR_RadioButtonContents = 6; + public static final int SR_RadioButtonFocusRect = 7; + public static final int SR_ComboBoxFocusRect = 8; + public static final int SR_SliderFocusRect = 9; + public static final int SR_DockWindowHandleRect = 10; + public static final int SR_ProgressBarGroove = 11; + public static final int SR_ProgressBarContents = 12; + public static final int SR_ProgressBarLabel = 13; + public static final int SR_ToolButtonContents = 14; + public static final int SR_DialogButtonAccept = 15; + public static final int SR_DialogButtonReject = 16; + public static final int SR_DialogButtonApply = 17; + public static final int SR_DialogButtonHelp = 18; + public static final int SR_DialogButtonAll = 19; + public static final int SR_DialogButtonAbort = 20; + public static final int SR_DialogButtonIgnore = 21; + public static final int SR_DialogButtonRetry = 22; + public static final int SR_DialogButtonCustom = 23; + public static final int SR_ToolBoxTabContents = 24; + public static final int SR_CustomBase = 0xf0000000; + + public static final int CC_SpinWidget = 0; + public static final int CC_ComboBox = 1; + public static final int CC_ScrollBar = 2; + public static final int CC_Slider = 3; + public static final int CC_ToolButton = 4; + public static final int CC_TitleBar = 5; + public static final int CC_ListView = 6; + public static final int CC_CustomBase = 0xf0000000; + + public static final int SC_None = 0x00000000; + public static final int SC_ScrollBarAddLine = 0x00000001; + public static final int SC_ScrollBarSubLine = 0x00000002; + public static final int SC_ScrollBarAddPage = 0x00000004; + public static final int SC_ScrollBarSubPage = 0x00000008; + public static final int SC_ScrollBarFirst = 0x00000010; + public static final int SC_ScrollBarLast = 0x00000020; + public static final int SC_ScrollBarSlider = 0x00000040; + public static final int SC_ScrollBarGroove = 0x00000080; + public static final int SC_SpinWidgetUp = 0x00000001; + public static final int SC_SpinWidgetDown = 0x00000002; + public static final int SC_SpinWidgetFrame = 0x00000004; + public static final int SC_SpinWidgetEditField = 0x00000008; + public static final int SC_SpinWidgetButtonField = 0x00000010; + public static final int SC_ComboBoxFrame = 0x00000001; + public static final int SC_ComboBoxEditField = 0x00000002; + public static final int SC_ComboBoxArrow = 0x00000004; + public static final int SC_ComboBoxListBoxPopup = 0x00000008; + public static final int SC_SliderGroove = 0x00000001; + public static final int SC_SliderHandle = 0x00000002; + public static final int SC_SliderTickmarks = 0x00000004; + public static final int SC_ToolButton = 0x00000001; + public static final int SC_ToolButtonMenu = 0x00000002; + public static final int SC_TitleBarLabel = 0x00000001; + public static final int SC_TitleBarSysMenu = 0x00000002; + public static final int SC_TitleBarMinButton = 0x00000004; + public static final int SC_TitleBarMaxButton = 0x00000008; + public static final int SC_TitleBarCloseButton = 0x00000010; + public static final int SC_TitleBarNormalButton = 0x00000020; + public static final int SC_TitleBarShadeButton = 0x00000040; + public static final int SC_TitleBarUnshadeButton = 0x00000080; + public static final int SC_ListView = 0x00000001; + public static final int SC_ListViewBranch = 0x00000002; + public static final int SC_ListViewExpand = 0x00000004; + public static final int SC_All = 0xffffffff; + + public static final int PM_ButtonMargin = 0; + public static final int PM_ButtonDefaultIndicator = 1; + public static final int PM_MenuButtonIndicator = 2; + public static final int PM_ButtonShiftHorizontal = 3; + public static final int PM_ButtonShiftVertical = 4; + public static final int PM_DefaultFrameWidth = 5; + public static final int PM_SpinBoxFrameWidth = 6; + public static final int PM_MaximumDragDistance = 7; + public static final int PM_ScrollBarExtent = 8; + public static final int PM_ScrollBarSliderMin = 9; + public static final int PM_SliderThickness = 10; + public static final int PM_SliderControlThickness = 11; + public static final int PM_SliderLength = 12; + public static final int PM_SliderTickmarkOffset = 13; + public static final int PM_SliderSpaceAvailable = 14; + public static final int PM_DockWindowSeparatorExtent = 15; + public static final int PM_DockWindowHandleExtent = 16; + public static final int PM_DockWindowFrameWidth = 17; + public static final int PM_MenuBarFrameWidth = 18; + public static final int PM_TabBarTabOverlap = 19; + public static final int PM_TabBarTabHSpace = 20; + public static final int PM_TabBarTabVSpace = 21; + public static final int PM_TabBarBaseHeight = 22; + public static final int PM_TabBarBaseOverlap = 23; + public static final int PM_ProgressBarChunkWidth = 24; + public static final int PM_SplitterWidth = 25; + public static final int PM_TitleBarHeight = 26; + public static final int PM_IndicatorWidth = 27; + public static final int PM_IndicatorHeight = 28; + public static final int PM_ExclusiveIndicatorWidth = 29; + public static final int PM_ExclusiveIndicatorHeight = 30; + public static final int PM_PopupMenuScrollerHeight = 31; + public static final int PM_CheckListButtonSize = 32; + public static final int PM_CheckListControllerSize = 33; + public static final int PM_PopupMenuFrameHorizontalExtra = 34; + public static final int PM_PopupMenuFrameVerticalExtra = 35; + public static final int PM_DialogButtonsSeparator = 36; + public static final int PM_DialogButtonsButtonWidth = 37; + public static final int PM_DialogButtonsButtonHeight = 38; + public static final int PM_MDIFrameWidth = 39; + public static final int PM_MDIMinimizedWidth = 40; + public static final int PM_HeaderMargin = 41; + public static final int PM_HeaderMarkSize = 42; + public static final int PM_HeaderGripMargin = 43; + public static final int PM_TabBarTabShiftHorizontal = 44; + public static final int PM_TabBarTabShiftVertical = 45; + public static final int PM_TabBarScrollButtonWidth = 46; + public static final int PM_MenuBarItemSpacing = 47; + public static final int PM_ToolBarItemSpacing = 48; + public static final int PM_CustomBase = 0xf0000000; + + public static final int CT_PushButton = 0; + public static final int CT_CheckBox = 1; + public static final int CT_RadioButton = 2; + public static final int CT_ToolButton = 3; + public static final int CT_ComboBox = 4; + public static final int CT_Splitter = 5; + public static final int CT_DockWindow = 6; + public static final int CT_ProgressBar = 7; + public static final int CT_PopupMenuItem = 8; + public static final int CT_TabBarTab = 9; + public static final int CT_Slider = 10; + public static final int CT_Header = 11; + public static final int CT_LineEdit = 12; + public static final int CT_MenuBar = 13; + public static final int CT_SpinBox = 14; + public static final int CT_SizeGrip = 15; + public static final int CT_TabWidget = 16; + public static final int CT_DialogButtons = 17; + public static final int CT_CustomBase = 0xf0000000; + + public static final int SH_EtchDisabledText = 0; + public static final int SH_GUIStyle = 1; + public static final int SH_ScrollBar_BackgroundMode = 2; + public static final int SH_ScrollBar_MiddleClickAbsolutePosition = 3; + public static final int SH_ScrollBar_ScrollWhenPointerLeavesControl = 4; + public static final int SH_TabBar_SelectMouseType = 5; + public static final int SH_TabBar_Alignment = 6; + public static final int SH_Header_ArrowAlignment = 7; + public static final int SH_Slider_SnapToValue = 8; + public static final int SH_Slider_SloppyKeyEvents = 9; + public static final int SH_ProgressDialog_CenterCancelButton = 10; + public static final int SH_ProgressDialog_TextLabelAlignment = 11; + public static final int SH_PrintDialog_RightAlignButtons = 12; + public static final int SH_MainWindow_SpaceBelowMenuBar = 13; + public static final int SH_FontDialog_SelectAssociatedText = 14; + public static final int SH_PopupMenu_AllowActiveAndDisabled = 15; + public static final int SH_PopupMenu_SpaceActivatesItem = 16; + public static final int SH_PopupMenu_SubMenuPopupDelay = 17; + public static final int SH_ScrollView_FrameOnlyAroundContents = 18; + public static final int SH_MenuBar_AltKeyNavigation = 19; + public static final int SH_ComboBox_ListMouseTracking = 20; + public static final int SH_PopupMenu_MouseTracking = 21; + public static final int SH_MenuBar_MouseTracking = 22; + public static final int SH_ItemView_ChangeHighlightOnFocus = 23; + public static final int SH_Widget_ShareActivation = 24; + public static final int SH_Workspace_FillSpaceOnMaximize = 25; + public static final int SH_ComboBox_Popup = 26; + public static final int SH_TitleBar_NoBorder = 27; + public static final int SH_ScrollBar_StopMouseOverSlider = 28; + public static final int SH_BlinkCursorWhenTextSelected = 29; + public static final int SH_RichText_FullWidthSelection = 30; + public static final int SH_PopupMenu_Scrollable = 31; + public static final int SH_GroupBox_TextLabelVerticalAlignment = 32; + public static final int SH_GroupBox_TextLabelColor = 33; + public static final int SH_PopupMenu_SloppySubMenus = 34; + public static final int SH_Table_GridLineColor = 35; + public static final int SH_LineEdit_PasswordCharacter = 36; + public static final int SH_DialogButtons_DefaultButton = 37; + public static final int SH_ToolBox_SelectedPageTitleBold = 38; + public static final int SH_TabBar_PreferNoArrows = 39; + public static final int SH_ScrollBar_LeftClickAbsolutePosition = 40; + public static final int SH_ListViewExpand_SelectMouseType = 41; + public static final int SH_UnderlineAccelerator = 42; + public static final int SH_ToolButton_Uses3D = 43; + public static final int SH_CustomBase = 0xf0000000; + + public static final int SP_TitleBarMinButton = 0; + public static final int SP_TitleBarMaxButton = 1; + public static final int SP_TitleBarCloseButton = 2; + public static final int SP_TitleBarNormalButton = 3; + public static final int SP_TitleBarShadeButton = 4; + public static final int SP_TitleBarUnshadeButton = 5; + public static final int SP_DockWindowCloseButton = 6; + public static final int SP_MessageBoxInformation = 7; + public static final int SP_MessageBoxWarning = 8; + public static final int SP_MessageBoxCritical = 9; + public static final int SP_MessageBoxQuestion = 10; + public static final int SP_CustomBase = 0xf0000000; + + public native TQMetaObject metaObject(); + public native String className(); + public native void polish(TQWidget arg1); + public native void unPolish(TQWidget arg1); + public native void polish(TQApplication arg1); + public native void unPolish(TQApplication arg1); + public native void polish(TQPalette arg1); + public native void polishPopupMenu(TQPopupMenu arg1); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text, int len); + public native TQRect itemRect(TQPainter p, TQRect r, int flags, boolean enabled, TQPixmap pixmap, String text); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len, TQColor penColor); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text, int len); + public native void drawItem(TQPainter p, TQRect r, int flags, TQColorGroup g, boolean enabled, TQPixmap pixmap, String text); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags, TQStyleOption arg6); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg, int flags); + public native void drawPrimitive(int pe, TQPainter p, TQRect r, TQColorGroup cg); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, TQStyleOption arg7); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawControl(int element, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawControlMask(int element, TQPainter p, TQWidget widget, TQRect r); + public native TQRect subRect(int r, TQWidget widget); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive, TQStyleOption arg9); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub, int subActive); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how, int sub); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg, int how); + public native void drawComplexControl(int control, TQPainter p, TQWidget widget, TQRect r, TQColorGroup cg); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r, TQStyleOption arg5); + public native void drawComplexControlMask(int control, TQPainter p, TQWidget widget, TQRect r); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc, TQStyleOption arg4); + public native TQRect querySubControlMetrics(int control, TQWidget widget, int sc); + public native int querySubControl(int control, TQWidget widget, TQPoint pos, TQStyleOption arg4); + public native int querySubControl(int control, TQWidget widget, TQPoint pos); + public native int pixelMetric(int metric, TQWidget widget); + public native int pixelMetric(int metric); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize, TQStyleOption arg4); + public native TQSize sizeFromContents(int contents, TQWidget widget, TQSize contentsSize); + // int styleHint(TQStyle::StyleHint arg1,const TQWidget* arg2,const TQStyleOption& arg3,TQStyleHintReturn* arg4); >>>> NOT CONVERTED + public native int styleHint(int stylehint, TQWidget widget, TQStyleOption arg3); + public native int styleHint(int stylehint, TQWidget widget); + public native int styleHint(int stylehint); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget, TQStyleOption arg3); + public native TQPixmap stylePixmap(int stylepixmap, TQWidget widget); + public native TQPixmap stylePixmap(int stylepixmap); + public native int defaultFrameWidth(); + public native void tabbarMetrics(TQWidget t, int[] hf, int[] vf, int[] ov); + public native TQSize scrollBarExtent(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native TQRect visualRect(TQRect logical, TQWidget w); + public static native TQRect visualRect(TQRect logical, TQRect bounding); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyleFactory.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyleFactory.java new file mode 100644 index 00000000..692c83bf --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyleFactory.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQStyleFactory implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQStyleFactory(Class dummy){} + + public TQStyleFactory() { + newTQStyleFactory(); + } + private native void newTQStyleFactory(); + public static native ArrayList keys(); + public static native TQStyle create(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyleOption.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyleOption.java new file mode 100644 index 00000000..6d0298ae --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyleOption.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStyleOption implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQStyleOption(Class dummy){} + + public static final int Default = 0; + + public TQStyleOption(int arg1) { + newTQStyleOption(arg1); + } + private native void newTQStyleOption(int arg1); + public TQStyleOption() { + newTQStyleOption(); + } + private native void newTQStyleOption(); + public TQStyleOption(int in1, int in2) { + newTQStyleOption(in1,in2); + } + private native void newTQStyleOption(int in1, int in2); + public TQStyleOption(int in1, int in2, int in3, int in4) { + newTQStyleOption(in1,in2,in3,in4); + } + private native void newTQStyleOption(int in1, int in2, int in3, int in4); + public TQStyleOption(TQMenuItem m) { + newTQStyleOption(m); + } + private native void newTQStyleOption(TQMenuItem m); + public TQStyleOption(TQMenuItem m, int in1) { + newTQStyleOption(m,in1); + } + private native void newTQStyleOption(TQMenuItem m, int in1); + public TQStyleOption(TQMenuItem m, int in1, int in2) { + newTQStyleOption(m,in1,in2); + } + private native void newTQStyleOption(TQMenuItem m, int in1, int in2); + public TQStyleOption(TQColor c) { + newTQStyleOption(c); + } + private native void newTQStyleOption(TQColor c); + public TQStyleOption(TQTab t) { + newTQStyleOption(t); + } + private native void newTQStyleOption(TQTab t); + public TQStyleOption(TQListViewItem i) { + newTQStyleOption(i); + } + private native void newTQStyleOption(TQListViewItem i); + public TQStyleOption(TQCheckListItem i) { + newTQStyleOption(i); + } + private native void newTQStyleOption(TQCheckListItem i); + public TQStyleOption(TQRect r) { + newTQStyleOption(r); + } + private native void newTQStyleOption(TQRect r); + public TQStyleOption(TQWidget w) { + newTQStyleOption(w); + } + private native void newTQStyleOption(TQWidget w); + public native boolean isDefault(); + public native int day(); + public native int lineWidth(); + public native int midLineWidth(); + public native int frameShape(); + public native int frameShadow(); + public native int headerSection(); + public native TQMenuItem menuItem(); + public native int maxIconWidth(); + public native int tabWidth(); + public native TQColor color(); + public native TQTab tab(); + public native TQCheckListItem checkListItem(); + public native TQListViewItem listViewItem(); + public native int arrowType(); + public native TQRect rect(); + public native TQWidget widget(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheet.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheet.java new file mode 100644 index 00000000..4a44f297 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheet.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStyleSheet extends TQObject { + protected TQStyleSheet(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQStyleSheet(TQObject parent, String name) { + super((Class) null); + newTQStyleSheet(parent,name); + } + private native void newTQStyleSheet(TQObject parent, String name); + public TQStyleSheet(TQObject parent) { + super((Class) null); + newTQStyleSheet(parent); + } + private native void newTQStyleSheet(TQObject parent); + public TQStyleSheet() { + super((Class) null); + newTQStyleSheet(); + } + private native void newTQStyleSheet(); + public native TQStyleSheetItem item(String name); + public native void insert(TQStyleSheetItem item); + // TQTextCustomItem* tag(const TQString& arg1,const TQMap<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 TQStyleSheet defaultSheet(); + public static native void setDefaultSheet(TQStyleSheet arg1); + public static native String escape(String arg1); + public static native String convertFromPlainText(String arg1, int mode); + public static native String convertFromPlainText(String arg1); + public static native boolean mightBeRichText(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheetItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheetItem.java new file mode 100644 index 00000000..7189587f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQStyleSheetItem.java @@ -0,0 +1,105 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQStyleSheetItem extends Qt { + protected TQStyleSheetItem(Class dummy){super((Class) null);} + public static final int Undefined = -1; + + public static final int DisplayBlock = 0; + public static final int DisplayInline = 1; + public static final int DisplayListItem = 2; + public static final int DisplayNone = 3; + public static final int DisplayModeUndefined = -1; + + public static final int VAlignBaseline = 0; + public static final int VAlignSub = 1; + public static final int VAlignSuper = 2; + + public static final int WhiteSpaceNormal = 0; + public static final int WhiteSpacePre = 1; + public static final int WhiteSpaceNoWrap = 2; + public static final int WhiteSpaceModeUndefined = -1; + + public static final int MarginLeft = 0; + public static final int MarginRight = 1; + public static final int MarginTop = 2; + public static final int MarginBottom = 3; + public static final int MarginFirstLine = 4; + public static final int MarginAll = 5; + public static final int MarginVertical = 6; + public static final int MarginHorizontal = 7; + public static final int MarginUndefined = -1; + + public static final int ListDisc = 0; + public static final int ListCircle = 1; + public static final int ListSquare = 2; + public static final int ListDecimal = 3; + public static final int ListLowerAlpha = 4; + public static final int ListUpperAlpha = 5; + public static final int ListStyleUndefined = -1; + + public TQStyleSheetItem(TQStyleSheet parent, String name) { + super((Class) null); + newTQStyleSheetItem(parent,name); + } + private native void newTQStyleSheetItem(TQStyleSheet parent, String name); + public TQStyleSheetItem(TQStyleSheetItem arg1) { + super((Class) null); + newTQStyleSheetItem(arg1); + } + private native void newTQStyleSheetItem(TQStyleSheetItem arg1); + public native String name(); + public native TQStyleSheet styleSheet(); + public native int displayMode(); + public native void setDisplayMode(int m); + public native int alignment(); + public native void setAlignment(int f); + public native int verticalAlignment(); + public native void setVerticalAlignment(int valign); + public native int fontWeight(); + public native void setFontWeight(int w); + public native int logicalFontSize(); + public native void setLogicalFontSize(int s); + public native int logicalFontSizeStep(); + public native void setLogicalFontSizeStep(int s); + public native int fontSize(); + public native void setFontSize(int s); + public native String fontFamily(); + public native void setFontFamily(String arg1); + public native int numberOfColumns(); + public native void setNumberOfColumns(int ncols); + public native TQColor color(); + public native void setColor(TQColor arg1); + public native boolean fontItalic(); + public native void setFontItalic(boolean arg1); + public native boolean definesFontItalic(); + public native boolean fontUnderline(); + public native void setFontUnderline(boolean arg1); + public native boolean definesFontUnderline(); + public native boolean fontStrikeOut(); + public native void setFontStrikeOut(boolean arg1); + public native boolean definesFontStrikeOut(); + public native boolean isAnchor(); + public native void setAnchor(boolean anc); + public native int whiteSpaceMode(); + public native void setWhiteSpaceMode(int m); + public native int margin(int m); + public native void setMargin(int arg1, int arg2); + public native int listStyle(); + public native void setListStyle(int arg1); + public native String contexts(); + public native void setContexts(String arg1); + public native boolean allowedInContext(TQStyleSheetItem arg1); + public native boolean selfNesting(); + public native void setSelfNesting(boolean arg1); + public native void setLineSpacing(int ls); + public native int lineSpacing(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSyntaxHighlighter.java b/qtjava/javalib/org/trinitydesktop/qt/TQSyntaxHighlighter.java new file mode 100644 index 00000000..78f0add9 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSyntaxHighlighter.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSyntaxHighlighter extends Qt { + protected TQSyntaxHighlighter(Class dummy){super((Class) null);} + public native int highlightParagraph(String text, int endStateOfLastPara); + public native void setFormat(int start, int count, TQFont font, TQColor color); + public native void setFormat(int start, int count, TQColor color); + public native void setFormat(int start, int count, TQFont font); + public native TQTextEdit textEdit(); + public native void rehighlight(); + public native int currentParagraph(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTab.java b/qtjava/javalib/org/trinitydesktop/qt/TQTab.java new file mode 100644 index 00000000..6f8a383a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTab.java @@ -0,0 +1,44 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTab extends Qt { + protected TQTab(Class dummy){super((Class) null);} + public TQTab() { + super((Class) null); + newTQTab(); + } + private native void newTQTab(); + public TQTab(String text) { + super((Class) null); + newTQTab(text); + } + private native void newTQTab(String text); + public TQTab(TQIconSet icon, String text) { + super((Class) null); + newTQTab(icon,text); + } + private native void newTQTab(TQIconSet icon, String text); + public TQTab(TQIconSet icon) { + super((Class) null); + newTQTab(icon); + } + private native void newTQTab(TQIconSet icon); + public native void setText(String text); + public native String text(); + public native void setIconSet(TQIconSet icon); + public native TQIconSet iconSet(); + public native void setRect(TQRect rect); + public native TQRect rect(); + public native void setEnabled(boolean enable); + public native boolean isEnabled(); + public native void setIdentifier(int i); + public native int identifier(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java new file mode 100644 index 00000000..c067209a --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabBar.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTabBarSignals} for signals emitted by TQTabBar +*/ +public class TQTabBar extends TQWidget { + protected TQTabBar(Class dummy){super((Class) null);} + public static final int RoundedAbove = 0; + public static final int RoundedBelow = 1; + public static final int TriangularAbove = 2; + public static final int TriangularBelow = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTabBar(TQWidget parent, String name) { + super((Class) null); + newTQTabBar(parent,name); + } + private native void newTQTabBar(TQWidget parent, String name); + public TQTabBar(TQWidget parent) { + super((Class) null); + newTQTabBar(parent); + } + private native void newTQTabBar(TQWidget parent); + public TQTabBar() { + super((Class) null); + newTQTabBar(); + } + private native void newTQTabBar(); + public native int shape(); + public native void setShape(int arg1); + public native void show(); + public native int addTab(TQTab arg1); + public native int insertTab(TQTab arg1, int index); + public native int insertTab(TQTab arg1); + public native void removeTab(TQTab arg1); + public native void setTabEnabled(int arg1, boolean arg2); + public native boolean isTabEnabled(int arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int currentTab(); + public native int keyboardFocusTab(); + public native TQTab tab(int arg1); + public native TQTab tabAt(int arg1); + public native int indexOf(int arg1); + public native int count(); + public native void layoutTabs(); + public native TQTab selectTab(TQPoint p); + public native void removeToolTip(int index); + public native void setToolTip(int index, String tip); + public native String toolTip(int index); + public native void setCurrentTab(int arg1); + public native void setCurrentTab(TQTab arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paint(TQPainter arg1, TQTab arg2, boolean arg3); + protected native void paintLabel(TQPainter arg1, TQRect arg2, TQTab arg3, boolean arg4); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void fontChange(TQFont arg1); + public native boolean event(TQEvent e); + // TQPtrList<TQTab>* tabList(); >>>> NOT CONVERTED + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabBarSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabBarSignals.java new file mode 100644 index 00000000..759da5fc --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabBarSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTabBarSignals { + void selected(int arg1); + void layoutChanged(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabDialog.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabDialog.java new file mode 100644 index 00000000..0670edc1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabDialog.java @@ -0,0 +1,89 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTabDialogSignals} for signals emitted by TQTabDialog +*/ +public class TQTabDialog extends TQDialog { + protected TQTabDialog(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTabDialog(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQTabDialog(parent,name,modal,f); + } + private native void newTQTabDialog(TQWidget parent, String name, boolean modal, int f); + public TQTabDialog(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQTabDialog(parent,name,modal); + } + private native void newTQTabDialog(TQWidget parent, String name, boolean modal); + public TQTabDialog(TQWidget parent, String name) { + super((Class) null); + newTQTabDialog(parent,name); + } + private native void newTQTabDialog(TQWidget parent, String name); + public TQTabDialog(TQWidget parent) { + super((Class) null); + newTQTabDialog(parent); + } + private native void newTQTabDialog(TQWidget parent); + public TQTabDialog() { + super((Class) null); + newTQTabDialog(); + } + private native void newTQTabDialog(); + public native void show(); + public native void setFont(TQFont font); + public native void addTab(TQWidget arg1, String arg2); + public native void addTab(TQWidget child, TQIconSet iconset, String label); + public native void addTab(TQWidget arg1, TQTab arg2); + public native void insertTab(TQWidget arg1, String arg2, int index); + public native void insertTab(TQWidget arg1, String arg2); + public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); + public native void insertTab(TQWidget child, TQIconSet iconset, String label); + public native void insertTab(TQWidget arg1, TQTab arg2, int index); + public native void insertTab(TQWidget arg1, TQTab arg2); + public native void changeTab(TQWidget arg1, String arg2); + public native void changeTab(TQWidget child, TQIconSet iconset, String label); + public native boolean isTabEnabled(TQWidget arg1); + public native void setTabEnabled(TQWidget arg1, boolean arg2); + public native boolean isTabEnabled(String arg1); + public native void setTabEnabled(String arg1, boolean arg2); + public native void showPage(TQWidget arg1); + public native void removePage(TQWidget arg1); + public native String tabLabel(TQWidget arg1); + public native TQWidget currentPage(); + public native void setDefaultButton(String text); + public native void setDefaultButton(); + public native boolean hasDefaultButton(); + public native void setHelpButton(String text); + public native void setHelpButton(); + public native boolean hasHelpButton(); + public native void setCancelButton(String text); + public native void setCancelButton(); + public native boolean hasCancelButton(); + public native void setApplyButton(String text); + public native void setApplyButton(); + public native boolean hasApplyButton(); + public native void setOKButton(String text); + public native void setOKButton(); + public native void setOkButton(String text); + public native void setOkButton(); + public native boolean hasOkButton(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native void styleChange(TQStyle arg1); + protected native void setTabBar(TQTabBar arg1); + protected native TQTabBar tabBar(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabDialogSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabDialogSignals.java new file mode 100644 index 00000000..822a6454 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabDialogSignals.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTabDialogSignals { + void aboutToShow(); + void applyButtonPressed(); + void cancelButtonPressed(); + void defaultButtonPressed(); + void helpButtonPressed(); + void currentChanged(TQWidget arg1); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabWidget.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabWidget.java new file mode 100644 index 00000000..248895fe --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabWidget.java @@ -0,0 +1,95 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTabWidgetSignals} for signals emitted by TQTabWidget +*/ +public class TQTabWidget extends TQWidget { + protected TQTabWidget(Class dummy){super((Class) null);} + public static final int Top = 0; + public static final int Bottom = 1; + + public static final int Rounded = 0; + public static final int Triangular = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTabWidget(TQWidget parent, String name, int f) { + super((Class) null); + newTQTabWidget(parent,name,f); + } + private native void newTQTabWidget(TQWidget parent, String name, int f); + public TQTabWidget(TQWidget parent, String name) { + super((Class) null); + newTQTabWidget(parent,name); + } + private native void newTQTabWidget(TQWidget parent, String name); + public TQTabWidget(TQWidget parent) { + super((Class) null); + newTQTabWidget(parent); + } + private native void newTQTabWidget(TQWidget parent); + public TQTabWidget() { + super((Class) null); + newTQTabWidget(); + } + private native void newTQTabWidget(); + public native void addTab(TQWidget arg1, String arg2); + public native void addTab(TQWidget child, TQIconSet iconset, String label); + public native void addTab(TQWidget arg1, TQTab arg2); + public native void insertTab(TQWidget arg1, String arg2, int index); + public native void insertTab(TQWidget arg1, String arg2); + public native void insertTab(TQWidget child, TQIconSet iconset, String label, int index); + public native void insertTab(TQWidget child, TQIconSet iconset, String label); + public native void insertTab(TQWidget arg1, TQTab arg2, int index); + public native void insertTab(TQWidget arg1, TQTab arg2); + public native void changeTab(TQWidget arg1, String arg2); + public native void changeTab(TQWidget child, TQIconSet iconset, String label); + public native boolean isTabEnabled(TQWidget arg1); + public native void setTabEnabled(TQWidget arg1, boolean arg2); + public native void setCornerWidget(TQWidget w, int corner); + public native void setCornerWidget(TQWidget w); + public native TQWidget cornerWidget(int corner); + public native TQWidget cornerWidget(); + public native String tabLabel(TQWidget arg1); + public native void setTabLabel(TQWidget p, String l); + public native TQIconSet tabIconSet(TQWidget w); + public native void setTabIconSet(TQWidget w, TQIconSet iconset); + public native void removeTabToolTip(TQWidget w); + public native void setTabToolTip(TQWidget w, String tip); + public native String tabToolTip(TQWidget w); + public native TQWidget currentPage(); + public native TQWidget page(int arg1); + public native String label(int arg1); + public native int currentPageIndex(); + public native int indexOf(TQWidget arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native int tabPosition(); + public native void setTabPosition(int arg1); + public native int tabShape(); + public native void setTabShape(int s); + public native int margin(); + public native void setMargin(int arg1); + public native int count(); + public native void setCurrentPage(int arg1); + public native void showPage(TQWidget arg1); + public native void removePage(TQWidget arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void showEvent(TQShowEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void setTabBar(TQTabBar arg1); + protected native TQTabBar tabBar(); + public native void styleChange(TQStyle arg1); + protected native void updateMask(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabWidgetSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabWidgetSignals.java new file mode 100644 index 00000000..8dfbc10f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabWidgetSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTabWidgetSignals { + void currentChanged(TQWidget arg1); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTable.java b/qtjava/javalib/org/trinitydesktop/qt/TQTable.java new file mode 100644 index 00000000..0f029929 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTable.java @@ -0,0 +1,212 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTableSignals} for signals emitted by TQTable +*/ +public class TQTable extends TQScrollView { + protected TQTable(Class dummy){super((Class) null);} + public static final int Single = 0; + public static final int Multi = 1; + public static final int SingleRow = 2; + public static final int MultiRow = 3; + public static final int NoSelection = 4; + + public static final int FollowStyle = 0; + public static final int SpreadSheet = 1; + + public static final int NotEditing = 0; + public static final int Editing = 1; + public static final int Replacing = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTable(TQWidget parent, String name) { + super((Class) null); + newTQTable(parent,name); + } + private native void newTQTable(TQWidget parent, String name); + public TQTable(TQWidget parent) { + super((Class) null); + newTQTable(parent); + } + private native void newTQTable(TQWidget parent); + public TQTable() { + super((Class) null); + newTQTable(); + } + private native void newTQTable(); + public TQTable(int numRows, int numCols, TQWidget parent, String name) { + super((Class) null); + newTQTable(numRows,numCols,parent,name); + } + private native void newTQTable(int numRows, int numCols, TQWidget parent, String name); + public TQTable(int numRows, int numCols, TQWidget parent) { + super((Class) null); + newTQTable(numRows,numCols,parent); + } + private native void newTQTable(int numRows, int numCols, TQWidget parent); + public TQTable(int numRows, int numCols) { + super((Class) null); + newTQTable(numRows,numCols); + } + private native void newTQTable(int numRows, int numCols); + public native TQHeader horizontalHeader(); + public native TQHeader verticalHeader(); + public native void setSelectionMode(int mode); + public native int selectionMode(); + public native void setItem(int row, int col, TQTableItem item); + public native void setText(int row, int col, String text); + public native void setPixmap(int row, int col, TQPixmap pix); + public native TQTableItem item(int row, int col); + public native String text(int row, int col); + public native TQPixmap pixmap(int row, int col); + public native void clearCell(int row, int col); + public native TQRect cellGeometry(int row, int col); + public native int columnWidth(int col); + public native int rowHeight(int row); + public native int columnPos(int col); + public native int rowPos(int row); + public native int columnAt(int x); + public native int rowAt(int y); + public native int numRows(); + public native int numCols(); + public native void updateCell(int row, int col); + public native boolean eventFilter(TQObject o, TQEvent arg2); + public native int currentRow(); + public native int currentColumn(); + public native void ensureCellVisible(int row, int col); + public native boolean isSelected(int row, int col); + public native boolean isRowSelected(int row, boolean full); + public native boolean isRowSelected(int row); + public native boolean isColumnSelected(int col, boolean full); + public native boolean isColumnSelected(int col); + public native int numSelections(); + public native TQTableSelection selection(int num); + public native int addSelection(TQTableSelection s); + public native void removeSelection(TQTableSelection s); + public native void removeSelection(int num); + public native int currentSelection(); + public native void selectCells(int start_row, int start_col, int end_row, int end_col); + public native void selectRow(int row); + public native void selectColumn(int col); + public native boolean showGrid(); + public native boolean columnMovingEnabled(); + public native boolean rowMovingEnabled(); + public native void sortColumn(int col, boolean ascending, boolean wholeRows); + public native void sortColumn(int col, boolean ascending); + public native void sortColumn(int col); + public native boolean sortOnInsert(); + public native void takeItem(TQTableItem i); + public native void setCellWidget(int row, int col, TQWidget e); + public native TQWidget cellWidget(int row, int col); + public native void clearCellWidget(int row, int col); + public native TQRect cellRect(int row, int col); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected); + public native void paintCell(TQPainter p, int row, int col, TQRect cr, boolean selected, TQColorGroup cg); + public native void paintFocus(TQPainter p, TQRect r); + public native TQSize sizeHint(); + public native boolean isReadOnly(); + public native boolean isRowReadOnly(int row); + public native boolean isColumnReadOnly(int col); + public native void setEnabled(boolean b); + public native void repaintSelections(); + public native void setFocusStyle(int fs); + public native int focusStyle(); + public native void updateHeaderStates(); + public native void setNumRows(int r); + public native void setNumCols(int r); + public native void setShowGrid(boolean b); + public native void hideRow(int row); + public native void hideColumn(int col); + public native void showRow(int row); + public native void showColumn(int col); + public native boolean isRowHidden(int row); + public native boolean isColumnHidden(int col); + public native void setColumnWidth(int col, int w); + public native void setRowHeight(int row, int h); + public native void adjustColumn(int col); + public native void adjustRow(int row); + public native void setColumnStretchable(int col, boolean stretch); + public native void setRowStretchable(int row, boolean stretch); + public native boolean isColumnStretchable(int col); + public native boolean isRowStretchable(int row); + public native void setSorting(boolean b); + public native void swapRows(int row1, int row2, boolean swapHeader); + public native void swapRows(int row1, int row2); + public native void swapColumns(int col1, int col2, boolean swapHeader); + public native void swapColumns(int col1, int col2); + public native void swapCells(int row1, int col1, int row2, int col2); + public native void setLeftMargin(int m); + public native void setTopMargin(int m); + public native void setCurrentCell(int row, int col); + public native void clearSelection(boolean repaint); + public native void clearSelection(); + public native void setColumnMovingEnabled(boolean b); + public native void setRowMovingEnabled(boolean b); + public native void setReadOnly(boolean b); + public native void setRowReadOnly(int row, boolean ro); + public native void setColumnReadOnly(int col, boolean ro); + public native void setDragEnabled(boolean b); + public native boolean dragEnabled(); + public native void insertRows(int row, int count); + public native void insertRows(int row); + public native void insertColumns(int col, int count); + public native void insertColumns(int col); + public native void removeRow(int row); + // void removeRows(const TQMemArray<int>& arg1); >>>> NOT CONVERTED + public native void removeColumn(int col); + // 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(TQPainter p, int cx, int cy, int cw, int ch); + protected native void contentsMousePressEvent(TQMouseEvent arg1); + protected native void contentsMouseMoveEvent(TQMouseEvent arg1); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void contentsMouseReleaseEvent(TQMouseEvent arg1); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + public native void showEvent(TQShowEvent e); + protected native void paintEvent(TQPaintEvent e); + // void setEditMode(TQTable::EditMode arg1,int arg2,int arg3); >>>> NOT CONVERTED + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native TQDragObject dragObject(); + protected native void startDrag(); + protected native void paintEmptyArea(TQPainter p, int cx, int cy, int cw, int ch); + protected native void activateNextCell(); + protected native TQWidget createEditor(int row, int col, boolean initFromCell); + protected native void setCellContentFromEditor(int row, int col); + protected native TQWidget beginEdit(int row, int col, boolean replace); + protected native void endEdit(int row, int col, boolean accept, boolean replace); + protected native void resizeData(int len); + protected native void insertWidget(int row, int col, TQWidget w); + protected native int indexOf(int row, int col); + protected native void windowActivationChange(boolean arg1); + protected native boolean isEditing(); + // TQTable::EditMode editMode(); >>>> NOT CONVERTED + protected native int currEditRow(); + protected native int currEditCol(); + protected native void columnWidthChanged(int col); + protected native void rowHeightChanged(int row); + protected native void columnIndexChanged(int section, int fromIndex, int toIndex); + protected native void rowIndexChanged(int section, int fromIndex, int toIndex); + protected native void columnClicked(int col); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTableItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQTableItem.java new file mode 100644 index 00000000..5d7e26f4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTableItem.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTableItem extends Qt { + protected TQTableItem(Class dummy){super((Class) null);} + public static final int Never = 0; + public static final int OnTyping = 1; + public static final int WhenCurrent = 2; + public static final int Always = 3; + + public TQTableItem(TQTable table, int et) { + super((Class) null); + newTQTableItem(table,et); + } + private native void newTQTableItem(TQTable table, int et); + public TQTableItem(TQTable table, int et, String text) { + super((Class) null); + newTQTableItem(table,et,text); + } + private native void newTQTableItem(TQTable table, int et, String text); + public TQTableItem(TQTable table, int et, String text, TQPixmap p) { + super((Class) null); + newTQTableItem(table,et,text,p); + } + private native void newTQTableItem(TQTable table, int et, String text, TQPixmap p); + public native TQPixmap pixmap(); + public native String text(); + public native void setPixmap(TQPixmap p); + public native void setText(String t); + public native TQTable table(); + public native int alignment(); + public native void setWordWrap(boolean b); + public native boolean wordWrap(); + public native int editType(); + public native TQWidget createEditor(); + public native void setContentFromEditor(TQWidget w); + public native void setReplaceable(boolean arg1); + public native boolean isReplaceable(); + public native String key(); + public native TQSize sizeHint(); + public native void setSpan(int rs, int cs); + public native int rowSpan(); + public native int colSpan(); + public native void setRow(int r); + public native void setCol(int c); + public native int row(); + public native int col(); + public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected); + public native void updateEditor(int oldRow, int oldCol); + public native void setEnabled(boolean b); + public native boolean isEnabled(); + public native int rtti(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTableSelection.java b/qtjava/javalib/org/trinitydesktop/qt/TQTableSelection.java new file mode 100644 index 00000000..705192a4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTableSelection.java @@ -0,0 +1,39 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTableSelection implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTableSelection(Class dummy){} + + public TQTableSelection() { + newTQTableSelection(); + } + private native void newTQTableSelection(); + public TQTableSelection(int start_row, int start_col, int end_row, int end_col) { + newTQTableSelection(start_row,start_col,end_row,end_col); + } + private native void newTQTableSelection(int start_row, int start_col, int end_row, int end_col); + public native void init(int row, int col); + public native void expandTo(int row, int col); + public native boolean op_equals(TQTableSelection s); + public native boolean op_not_equals(TQTableSelection s); + public native int topRow(); + public native int bottomRow(); + public native int leftCol(); + public native int rightCol(); + public native int anchorRow(); + public native int anchorCol(); + public native int numRows(); + public native int numCols(); + public native boolean isActive(); + public native boolean isEmpty(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTableSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTableSignals.java new file mode 100644 index 00000000..b88d73c0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTableSignals.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTableSignals { + void currentChanged(int row, int col); + void clicked(int row, int col, int button, TQPoint mousePos); + void doubleClicked(int row, int col, int button, TQPoint mousePos); + void pressed(int row, int col, int button, TQPoint mousePos); + void selectionChanged(); + void valueChanged(int row, int col); + void contextMenuRequested(int row, int col, TQPoint pos); + void dropped(TQDropEvent e); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTabletEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQTabletEvent.java new file mode 100644 index 00000000..a9c5159f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTabletEvent.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTabletEvent extends TQEvent { + protected TQTabletEvent(Class dummy){super((Class) null);} + public static final int NoDevice = -1; + public static final int Puck = 0; + public static final int Stylus = 1; + public static final int Eraser = 2; + + // TQTabletEvent* TQTabletEvent(TQEvent::Type arg1,const TQPoint& arg2,const TQPoint& arg3,int arg4,int arg5,int arg6,int arg7,const TQPair<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 TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int device(); + public native int isAccepted(); + public native void accept(); + public native void ignore(); + // TQPair<int, int> uniqueId(); >>>> NOT CONVERTED + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowser.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowser.java new file mode 100644 index 00000000..a72644ed --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowser.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTextBrowserSignals} for signals emitted by TQTextBrowser +*/ +public class TQTextBrowser extends TQTextEdit { + protected TQTextBrowser(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextBrowser(TQWidget parent, String name) { + super((Class) null); + newTQTextBrowser(parent,name); + } + private native void newTQTextBrowser(TQWidget parent, String name); + public TQTextBrowser(TQWidget parent) { + super((Class) null); + newTQTextBrowser(parent); + } + private native void newTQTextBrowser(TQWidget parent); + public TQTextBrowser() { + super((Class) null); + newTQTextBrowser(); + } + private native void newTQTextBrowser(); + public native String source(); + public native void setSource(String name); + public native void backward(); + public native void forward(); + public native void home(); + public native void reload(); + public native void setText(String txt); + public native void setText(String txt, String context); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void keyPressEvent(TQKeyEvent e); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowserSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowserSignals.java new file mode 100644 index 00000000..8f5eee99 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextBrowserSignals.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTextBrowserSignals { + void backwardAvailable(boolean arg1); + void forwardAvailable(boolean arg1); + void sourceChanged(String arg1); + void highlighted(String arg1); + void linkClicked(String arg1); + void anchorClicked(String arg1, String arg2); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextCodec.java new file mode 100644 index 00000000..0e72742c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextCodec.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextCodec implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextCodec(Class dummy){} + + public native String name(); + public native String mimeName(); + public native int mibEnum(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder makeEncoder(); + public native String toUnicode(String chars, int len); + public native String fromUnicode(String uc, int[] lenInOut); + public native String fromUnicode(String uc); + public native String toUnicode(byte[] arg1, int len); + public native String toUnicode(byte[] arg1); + public native String toUnicode(String arg1); + public native boolean canEncode(char arg1); + public native boolean canEncode(String arg1); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public native byte[] fromUnicode(String uc, int from, int len); + public native short characterFromUnicode(String str, int pos); + public static native TQTextCodec loadCharmap(TQIODeviceInterface arg1); + public static native TQTextCodec loadCharmapFile(String filename); + public static native TQTextCodec codecForMib(int mib); + public static native TQTextCodec codecForName(String hint, int accuracy); + public static native TQTextCodec codecForName(String hint); + public static native TQTextCodec codecForContent(String chars, int len); + public static native TQTextCodec codecForIndex(int i); + public static native TQTextCodec codecForLocale(); + public static native void setCodecForLocale(TQTextCodec c); + public static native TQTextCodec codecForTr(); + public static native void setCodecForTr(TQTextCodec c); + public static native TQTextCodec codecForCStrings(); + public static native void setCodecForCStrings(TQTextCodec c); + public static native void deleteAllCodecs(); + public static native String locale(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextDecoder.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextDecoder.java new file mode 100644 index 00000000..f9b330db --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextDecoder.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextDecoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextDecoder(Class dummy){} + + public native String toUnicode(String chars, int len); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextDrag.java new file mode 100644 index 00000000..d29646fa --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextDrag.java @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextDrag extends TQDragObject { + protected TQTextDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextDrag(String arg1, TQWidget dragSource, String name) { + super((Class) null); + newTQTextDrag(arg1,dragSource,name); + } + private native void newTQTextDrag(String arg1, TQWidget dragSource, String name); + public TQTextDrag(String arg1, TQWidget dragSource) { + super((Class) null); + newTQTextDrag(arg1,dragSource); + } + private native void newTQTextDrag(String arg1, TQWidget dragSource); + public TQTextDrag(String arg1) { + super((Class) null); + newTQTextDrag(arg1); + } + private native void newTQTextDrag(String arg1); + public TQTextDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQTextDrag(dragSource,name); + } + private native void newTQTextDrag(TQWidget dragSource, String name); + public TQTextDrag(TQWidget dragSource) { + super((Class) null); + newTQTextDrag(dragSource); + } + private native void newTQTextDrag(TQWidget dragSource); + public TQTextDrag() { + super((Class) null); + newTQTextDrag(); + } + private native void newTQTextDrag(); + public native void setText(String arg1); + public native void setSubtype(String arg1); + public native String format(int i); + public native byte[] encodedData(String arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, StringBuffer s); + public static native boolean decode(TQMimeSourceInterface e, StringBuffer s, StringBuffer subtype); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextEdit.java new file mode 100644 index 00000000..099610d7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextEdit.java @@ -0,0 +1,262 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQTextEditSignals} for signals emitted by TQTextEdit +*/ +public class TQTextEdit extends TQScrollView { + protected TQTextEdit(Class dummy){super((Class) null);} + public static final int NoWrap = 0; + public static final int WidgetWidth = 1; + public static final int FixedPixelWidth = 2; + public static final int FixedColumnWidth = 3; + + public static final int AtWordBoundary = 0; + public static final int AtWhiteSpace = AtWordBoundary; + public static final int Anywhere = 1; + public static final int AtWordOrDocumentBoundary = 2; + + public static final int AutoNone = 0; + public static final int AutoBulletList = 0x00000001; + public static final int AutoAll = 0xffffffff; + + public static final int ActionBackspace = 0; + public static final int ActionDelete = 1; + public static final int ActionReturn = 2; + public static final int ActionKill = 3; + public static final int ActionWordBackspace = 4; + public static final int ActionWordDelete = 5; + + public static final int MoveBackward = 0; + public static final int MoveForward = 1; + public static final int MoveWordBackward = 2; + public static final int MoveWordForward = 3; + public static final int MoveUp = 4; + public static final int MoveDown = 5; + public static final int MoveLineStart = 6; + public static final int MoveLineEnd = 7; + public static final int MoveHome = 8; + public static final int MoveEnd = 9; + public static final int MovePgUp = 10; + public static final int MovePgDown = 11; + + public static final int AlignNormal = 0; + public static final int AlignSuperScript = 1; + public static final int AlignSubScript = 2; + + public static final int RedoIndentation = 0x0001; + public static final int CheckNewLines = 0x0002; + public static final int RemoveSelected = 0x0004; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTextEdit(String text, String context, TQWidget parent, String name) { + super((Class) null); + newTQTextEdit(text,context,parent,name); + } + private native void newTQTextEdit(String text, String context, TQWidget parent, String name); + public TQTextEdit(String text, String context, TQWidget parent) { + super((Class) null); + newTQTextEdit(text,context,parent); + } + private native void newTQTextEdit(String text, String context, TQWidget parent); + public TQTextEdit(String text, String context) { + super((Class) null); + newTQTextEdit(text,context); + } + private native void newTQTextEdit(String text, String context); + public TQTextEdit(String text) { + super((Class) null); + newTQTextEdit(text); + } + private native void newTQTextEdit(String text); + public TQTextEdit(TQWidget parent, String name) { + super((Class) null); + newTQTextEdit(parent,name); + } + private native void newTQTextEdit(TQWidget parent, String name); + public TQTextEdit(TQWidget parent) { + super((Class) null); + newTQTextEdit(parent); + } + private native void newTQTextEdit(TQWidget parent); + public TQTextEdit() { + super((Class) null); + newTQTextEdit(); + } + private native void newTQTextEdit(); + public native void setPalette(TQPalette arg1); + public native String text(); + public native String text(int para); + public native int textFormat(); + public native String context(); + public native String documentTitle(); + public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo, int selNum); + public native void getSelection(int[] paraFrom, int[] indexFrom, int[] paraTo, int[] indexTo); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para, int[] index); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward, int[] para); + public native boolean find(String expr, boolean cs, boolean wo, boolean forward); + public native boolean find(String expr, boolean cs, boolean wo); + public native int paragraphs(); + public native int lines(); + public native int linesOfParagraph(int para); + public native int lineOfChar(int para, int chr); + public native int length(); + public native TQRect paragraphRect(int para); + public native int paragraphAt(TQPoint pos); + public native int charAt(TQPoint pos, int[] para); + public native int paragraphLength(int para); + public native TQStyleSheet styleSheet(); + public native TQMimeSourceFactory mimeSourceFactory(); + public native TQBrush paper(); + public native boolean linkUnderline(); + public native int heightForWidth(int w); + public native boolean hasSelectedText(); + public native String selectedText(); + public native boolean isUndoAvailable(); + public native boolean isRedoAvailable(); + public native int wordWrap(); + public native int wrapColumnOrWidth(); + public native int wrapPolicy(); + public native int tabStopWidth(); + public native String anchorAt(TQPoint pos); + public native String anchorAt(TQPoint pos, int a); + public native TQSize sizeHint(); + public native boolean isReadOnly(); + public native void getCursorPosition(int[] parag, int[] index); + public native boolean isModified(); + public native boolean italic(); + public native boolean bold(); + public native boolean underline(); + public native String family(); + public native int pointSize(); + public native TQColor color(); + public native TQFont font(); + public native TQFont currentFont(); + public native int alignment(); + public native int undoDepth(); + public native boolean getFormat(int para, int index, TQFont font, TQColor color, int verticalAlignment); + public native boolean getParagraphFormat(int para, TQFont font, TQColor color, int verticalAlignment, int[] alignment, int displayMode, int listStyle, int[] listDepth); + public native boolean isOverwriteMode(); + public native TQColor paragraphBackgroundColor(int para); + public native boolean isUndoRedoEnabled(); + public native boolean eventFilter(TQObject o, TQEvent e); + public native boolean tabChangesFocus(); + public native void setAutoFormatting(int features); + public native int autoFormatting(); + public native TQSyntaxHighlighter syntaxHighlighter(); + public native void setEnabled(boolean arg1); + public native void setMimeSourceFactory(TQMimeSourceFactory factory); + public native void setStyleSheet(TQStyleSheet styleSheet); + public native void scrollToAnchor(String name); + public native void setPaper(TQBrush pap); + public native void setLinkUnderline(boolean arg1); + public native void setWordWrap(int mode); + public native void setWrapColumnOrWidth(int arg1); + public native void setWrapPolicy(int policy); + public native void copy(); + public native void append(String text); + public native void setText(String txt); + public native void setText(String txt, String context); + public native void setTextFormat(int f); + public native void selectAll(boolean select); + public native void selectAll(); + public native void setTabStopWidth(int ts); + public native void zoomIn(int range); + public native void zoomIn(); + public native void zoomOut(int range); + public native void zoomOut(); + public native void zoomTo(int size); + public native void sync(); + public native void setReadOnly(boolean b); + public native void undo(); + public native void redo(); + public native void cut(); + public native void paste(); + public native void pasteSubType(String subtype); + public native void clear(); + public native void del(); + public native void indent(); + public native void setItalic(boolean b); + public native void setBold(boolean b); + public native void setUnderline(boolean b); + public native void setFamily(String f); + public native void setPointSize(int s); + public native void setColor(TQColor c); + public native void setFont(TQFont f); + public native void setVerticalAlignment(int a); + public native void setAlignment(int a); + public native void setParagType(int dm, int listStyle); + public native void setCursorPosition(int parag, int index); + public native void setSelection(int parag_from, int index_from, int parag_to, int index_to, int selNum); + public native void setSelection(int parag_from, int index_from, int parag_to, int index_to); + public native void setSelectionAttributes(int selNum, TQColor back, boolean invertText); + public native void setModified(boolean m); + public native void resetFormat(); + public native void setUndoDepth(int d); + // void setFormat(TQTextFormat* arg1,int arg2); >>>> NOT CONVERTED + public native void ensureCursorVisible(); + // void placeCursor(const TQPoint& arg1,TQTextCursor* arg2); >>>> NOT CONVERTED + public native void placeCursor(TQPoint pos); + public native void moveCursor(int action, boolean select); + public native void doKeyboardAction(int action); + public native void removeSelectedText(int selNum); + public native void removeSelectedText(); + public native void removeSelection(int selNum); + public native void removeSelection(); + public native void setCurrentFont(TQFont f); + public native void setOverwriteMode(boolean b); + public native void scrollToBottom(); + public native void insert(String text, int insertionFlags); + public native void insert(String text); + public native void insert(String text, boolean arg2, boolean arg3, boolean arg4); + public native void insert(String text, boolean arg2, boolean arg3); + public native void insert(String text, boolean arg2); + public native void insertAt(String text, int para, int index); + public native void removeParagraph(int para); + public native void insertParagraph(String text, int para); + public native void setParagraphBackgroundColor(int para, TQColor bg); + public native void clearParagraphBackground(int para); + public native void setUndoRedoEnabled(boolean b); + public native void setTabChangesFocus(boolean b); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void repaintChanged(); + protected native void updateStyles(); + protected native void drawContents(TQPainter p, int cx, int cy, int cw, int ch); + public native boolean event(TQEvent e); + protected native void keyPressEvent(TQKeyEvent e); + protected native void resizeEvent(TQResizeEvent e); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseMoveEvent(TQMouseEvent e); + protected native void contentsMouseReleaseEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void contentsWheelEvent(TQWheelEvent e); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void contentsDragEnterEvent(TQDragEnterEvent e); + protected native void contentsDragMoveEvent(TQDragMoveEvent e); + protected native void contentsDragLeaveEvent(TQDragLeaveEvent e); + protected native void contentsDropEvent(TQDropEvent e); + protected native void contentsContextMenuEvent(TQContextMenuEvent e); + protected native boolean focusNextPrevChild(boolean next); + // TQTextDocument* document(); >>>> NOT CONVERTED + // TQTextCursor* textCursor(); >>>> NOT CONVERTED + // void setDocument(TQTextDocument* arg1); >>>> NOT CONVERTED + protected native TQPopupMenu createPopupMenu(TQPoint pos); + protected native TQPopupMenu createPopupMenu(); + protected native void drawCursor(boolean visible); + protected native void windowActivationChange(boolean arg1); + protected native void doChangeInterval(); + protected native void sliderReleased(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextEditSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextEditSignals.java new file mode 100644 index 00000000..54c7987b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextEditSignals.java @@ -0,0 +1,21 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTextEditSignals { + void textChanged(); + void selectionChanged(); + void copyAvailable(boolean arg1); + void undoAvailable(boolean yes); + void redoAvailable(boolean yes); + void currentFontChanged(TQFont f); + void currentColorChanged(TQColor c); + void currentAlignmentChanged(int a); + void currentVerticalAlignmentChanged(int a); + // void cursorPositionChanged(TQTextCursor* arg1); >>>> NOT CONVERTED + void cursorPositionChanged(int para, int pos); + void returnPressed(); + void modificationChanged(boolean m); + void clicked(int parag, int index); + void doubleClicked(int parag, int index); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextEncoder.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextEncoder.java new file mode 100644 index 00000000..6fe4faff --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextEncoder.java @@ -0,0 +1,12 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextEncoder implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextEncoder(Class dummy){} + + public native String fromUnicode(String uc, int[] lenInOut); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextIStream.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextIStream.java new file mode 100644 index 00000000..e96e0a6f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextIStream.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextIStream extends TQTextStream { + protected TQTextIStream(Class dummy){super((Class) null);} + public TQTextIStream(String s) { + super((Class) null); + newTQTextIStream(s); + } + private native void newTQTextIStream(String s); + public TQTextIStream(byte[] ba) { + super((Class) null); + newTQTextIStream(ba); + } + private native void newTQTextIStream(byte[] ba); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextOStream.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextOStream.java new file mode 100644 index 00000000..9157154b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextOStream.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextOStream extends TQTextStream { + protected TQTextOStream(Class dummy){super((Class) null);} + public TQTextOStream(StringBuffer s) { + super((Class) null); + newTQTextOStream(s); + } + private native void newTQTextOStream(StringBuffer s); + public TQTextOStream(byte[] ba) { + super((Class) null); + newTQTextOStream(ba); + } + private native void newTQTextOStream(byte[] ba); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextStream.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextStream.java new file mode 100644 index 00000000..d1a00eeb --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextStream.java @@ -0,0 +1,101 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextStream implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTextStream(Class dummy){} + + public static final int skipws = 0x0001; + public static final int left = 0x0002; + public static final int right = 0x0004; + public static final int internal = 0x0008; + public static final int bin = 0x0010; + public static final int oct = 0x0020; + public static final int dec = 0x0040; + public static final int hex = 0x0080; + public static final int showbase = 0x0100; + public static final int showpoint = 0x0200; + public static final int uppercase = 0x0400; + public static final int showpos = 0x0800; + public static final int scientific = 0x1000; + public static final int fixed = 0x2000; + + public static final int Locale = 0; + public static final int Latin1 = 1; + public static final int Unicode = 2; + public static final int UnicodeNetworkOrder = 3; + public static final int UnicodeReverse = 4; + public static final int RawUnicode = 5; + public static final int UnicodeUTF8 = 6; + + public native void setEncoding(int arg1); + public native void setCodec(TQTextCodec arg1); + public native TQTextCodec codec(); + public TQTextStream() { + newTQTextStream(); + } + private native void newTQTextStream(); + public TQTextStream(TQIODeviceInterface arg1) { + newTQTextStream(arg1); + } + private native void newTQTextStream(TQIODeviceInterface arg1); + public TQTextStream(StringBuffer arg1, int mode) { + newTQTextStream(arg1,mode); + } + private native void newTQTextStream(StringBuffer arg1, int mode); + public TQTextStream(byte[] arg1, int mode) { + newTQTextStream(arg1,mode); + } + private native void newTQTextStream(byte[] arg1, int mode); + public native TQIODeviceInterface device(); + public native void setDevice(TQIODeviceInterface arg1); + public native void unsetDevice(); + public native boolean atEnd(); + public native boolean eof(); + public native TQTextStream op_read(char arg1); + // TQTextStream& op_read(signed short& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(short arg1); + // TQTextStream& op_read(signed int& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(int arg1); + // TQTextStream& op_read(signed long& arg1); >>>> NOT CONVERTED + public native TQTextStream op_read(long arg1); + public native TQTextStream op_read(float arg1); + public native TQTextStream op_read(double arg1); + public native TQTextStream op_read(String arg1); + public native TQTextStream op_read(StringBuffer arg1); + public native TQTextStream op_write(char arg1); + public native TQTextStream op_write(short arg1); + // TQTextStream& op_write(signed arg1); >>>> NOT CONVERTED + public native TQTextStream op_write(int arg1); + public native TQTextStream op_write(long arg1); + public native TQTextStream op_write(float arg1); + public native TQTextStream op_write(double arg1); + public native TQTextStream op_write(String arg1); + // TQTextStream& op_write(void* arg1); >>>> NOT CONVERTED + public native TQTextStream readRawBytes(String arg1, int len); + public native TQTextStream writeRawBytes(String arg1, int len); + public native String readLine(); + public native String read(); + public native void skipWhiteSpace(); + public native int flags(); + public native int flags(int f); + public native int setf(int bits); + public native int setf(int bits, int mask); + public native int unsetf(int bits); + public native void reset(); + public native int width(); + public native int width(int arg1); + public native int fill(); + public native int fill(int arg1); + public native int precision(); + public native int precision(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTextView.java b/qtjava/javalib/org/trinitydesktop/qt/TQTextView.java new file mode 100644 index 00000000..897aaa12 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTextView.java @@ -0,0 +1,53 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTextView extends TQTextEdit { + protected TQTextView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTextView(String text, String context, TQWidget parent, String name) { + super((Class) null); + newTQTextView(text,context,parent,name); + } + private native void newTQTextView(String text, String context, TQWidget parent, String name); + public TQTextView(String text, String context, TQWidget parent) { + super((Class) null); + newTQTextView(text,context,parent); + } + private native void newTQTextView(String text, String context, TQWidget parent); + public TQTextView(String text, String context) { + super((Class) null); + newTQTextView(text,context); + } + private native void newTQTextView(String text, String context); + public TQTextView(String text) { + super((Class) null); + newTQTextView(text); + } + private native void newTQTextView(String text); + public TQTextView(TQWidget parent, String name) { + super((Class) null); + newTQTextView(parent,name); + } + private native void newTQTextView(TQWidget parent, String name); + public TQTextView(TQWidget parent) { + super((Class) null); + newTQTextView(parent); + } + private native void newTQTextView(TQWidget parent); + public TQTextView() { + super((Class) null); + newTQTextView(); + } + private native void newTQTextView(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTimeEdit.java b/qtjava/javalib/org/trinitydesktop/qt/TQTimeEdit.java new file mode 100644 index 00000000..2b5da2ae --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTimeEdit.java @@ -0,0 +1,87 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Date; + +/** + See {@link TQTimeEditSignals} for signals emitted by TQTimeEdit +*/ +public class TQTimeEdit extends TQDateTimeEditBase { + protected TQTimeEdit(Class dummy){super((Class) null);} + public static final int Hours = 0x01; + public static final int Minutes = 0x02; + public static final int Seconds = 0x04; + public static final int AMPM = 0x10; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTimeEdit(TQWidget parent, String name) { + super((Class) null); + newTQTimeEdit(parent,name); + } + private native void newTQTimeEdit(TQWidget parent, String name); + public TQTimeEdit(TQWidget parent) { + super((Class) null); + newTQTimeEdit(parent); + } + private native void newTQTimeEdit(TQWidget parent); + public TQTimeEdit() { + super((Class) null); + newTQTimeEdit(); + } + private native void newTQTimeEdit(); + public TQTimeEdit(Date time, TQWidget parent, String name) { + super((Class) null); + newTQTimeEdit(time,parent,name); + } + private native void newTQTimeEdit(Date time, TQWidget parent, String name); + public TQTimeEdit(Date time, TQWidget parent) { + super((Class) null); + newTQTimeEdit(time,parent); + } + private native void newTQTimeEdit(Date time, TQWidget parent); + public TQTimeEdit(Date time) { + super((Class) null); + newTQTimeEdit(time); + } + private native void newTQTimeEdit(Date time); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native Date time(); + public native void setAutoAdvance(boolean advance); + public native boolean autoAdvance(); + public native void setMinValue(Date d); + public native Date minValue(); + public native void setMaxValue(Date d); + public native Date maxValue(); + public native void setRange(Date min, Date max); + public native String separator(); + public native void setSeparator(String s); + public native int display(); + public native void setDisplay(int disp); + public native void removeFirstNumber(int sec); + public native void setTime(Date time); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native boolean event(TQEvent e); + protected native void timerEvent(TQTimerEvent e); + protected native void resizeEvent(TQResizeEvent arg1); + public native void stepUp(); + public native void stepDown(); + public native String sectionFormattedText(int sec); + public native void addNumber(int sec, int num); + public native void removeLastNumber(int sec); + public native boolean setFocusSection(int s); + protected native boolean outOfRange(int h, int m, int s); + protected native void setHour(int h); + protected native void setMinute(int m); + protected native void setSecond(int s); + protected native void updateButtons(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTimeEditSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTimeEditSignals.java new file mode 100644 index 00000000..11b57a06 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTimeEditSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.Date; + +public interface TQTimeEditSignals { + void valueChanged(Date time); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTimer.java b/qtjava/javalib/org/trinitydesktop/qt/TQTimer.java new file mode 100644 index 00000000..f7b8f9b9 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTimer.java @@ -0,0 +1,81 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** +************************************************* + $Id$ + +* Definition of TQTimer class + +* Created : 931111 + +* Copyright (C) 1992-2005 Trolltech AS. All rights reserved. + +* This file is part of the kernel module of the Qt GUI Toolkit. + +* This file may be distributed under the terms of the Q Public License + as defined by Trolltech AS of Norway and appearing in the file + LICENSE.TQPL included in the packaging of this file. + +* This file may be distributed and/or modified under the terms of the + GNU General Public License version 2 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. + +* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition + licenses may use this file in accordance with the Qt Commercial License + Agreement provided with the Software. + +* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for + information about Qt Commercial License Agreements. + See http://www.trolltech.com/qpl/ for TQPL licensing information. + See http://www.trolltech.com/gpl/ for GPL licensing information. + +* Contact info@trolltech.com if any conditions of this licensing are + not clear to you. + +********************************************** See {@link TQTimerSignals} for signals emitted by TQTimer + @short $Id: qt/qtimer. + +*/ +public class TQTimer extends TQObject { + protected TQTimer(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQTimer(TQObject parent, String name) { + super((Class) null); + newTQTimer(parent,name); + } + private native void newTQTimer(TQObject parent, String name); + public TQTimer(TQObject parent) { + super((Class) null); + newTQTimer(parent); + } + private native void newTQTimer(TQObject parent); + public TQTimer() { + super((Class) null); + newTQTimer(); + } + private native void newTQTimer(); + public native boolean isActive(); + public native int start(int msec, boolean sshot); + public native int start(int msec); + public native void changeInterval(int msec); + public native void stop(); + public native int timerId(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native void singleShot(int msec, TQObject receiver, String member); + public native boolean event(TQEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTimerEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQTimerEvent.java new file mode 100644 index 00000000..73280e73 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTimerEvent.java @@ -0,0 +1,20 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTimerEvent extends TQEvent { + protected TQTimerEvent(Class dummy){super((Class) null);} + public TQTimerEvent(int timerId) { + super((Class) null); + newTQTimerEvent(timerId); + } + private native void newTQTimerEvent(int timerId); + public native int timerId(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTimerSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQTimerSignals.java new file mode 100644 index 00000000..764f5a89 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTimerSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQTimerSignals { + void timeout(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolBar.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolBar.java new file mode 100644 index 00000000..d0819529 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolBar.java @@ -0,0 +1,88 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQToolBar extends TQDockWindow { + protected TQToolBar(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine, String name); + public TQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, int arg3) { + super((Class) null); + newTQToolBar(label,arg2,arg3); + } + private native void newTQToolBar(String label, TQMainWindow arg2, int arg3); + public TQToolBar(String label, TQMainWindow arg2) { + super((Class) null); + newTQToolBar(label,arg2); + } + private native void newTQToolBar(String label, TQMainWindow arg2); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name,f); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name, int f); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine,name); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine, String name); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine) { + super((Class) null); + newTQToolBar(label,arg2,arg3,newLine); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3, boolean newLine); + public TQToolBar(String label, TQMainWindow arg2, TQWidget arg3) { + super((Class) null); + newTQToolBar(label,arg2,arg3); + } + private native void newTQToolBar(String label, TQMainWindow arg2, TQWidget arg3); + public TQToolBar(TQMainWindow parent, String name) { + super((Class) null); + newTQToolBar(parent,name); + } + private native void newTQToolBar(TQMainWindow parent, String name); + public TQToolBar(TQMainWindow parent) { + super((Class) null); + newTQToolBar(parent); + } + private native void newTQToolBar(TQMainWindow parent); + public TQToolBar() { + super((Class) null); + newTQToolBar(); + } + private native void newTQToolBar(); + public native void addSeparator(); + public native void show(); + public native void hide(); + public native TQMainWindow mainWindow(); + public native void setStretchableWidget(TQWidget arg1); + public native boolean event(TQEvent e); + public native void setLabel(String arg1); + public native String label(); + public native void clear(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); + public native void setOrientation(int o); + public native void setMinimumSize(int minw, int minh); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void resizeEvent(TQResizeEvent e); + public native void styleChange(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolBox.java new file mode 100644 index 00000000..05992193 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolBox.java @@ -0,0 +1,66 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQToolBoxSignals} for signals emitted by TQToolBox +*/ +public class TQToolBox extends TQFrame { + protected TQToolBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQToolBox(parent,name,f); + } + private native void newTQToolBox(TQWidget parent, String name, int f); + public TQToolBox(TQWidget parent, String name) { + super((Class) null); + newTQToolBox(parent,name); + } + private native void newTQToolBox(TQWidget parent, String name); + public TQToolBox(TQWidget parent) { + super((Class) null); + newTQToolBox(parent); + } + private native void newTQToolBox(TQWidget parent); + public TQToolBox() { + super((Class) null); + newTQToolBox(); + } + private native void newTQToolBox(); + public native int addItem(TQWidget item, String label); + public native int addItem(TQWidget item, TQIconSet iconSet, String label); + public native int insertItem(int index, TQWidget item, String label); + public native int insertItem(int index, TQWidget item, TQIconSet iconSet, String label); + public native int removeItem(TQWidget item); + public native void setItemEnabled(int index, boolean enabled); + public native boolean isItemEnabled(int index); + public native void setItemLabel(int index, String label); + public native String itemLabel(int index); + public native void setItemIconSet(int index, TQIconSet iconSet); + public native TQIconSet itemIconSet(int index); + public native void setItemToolTip(int index, String toolTip); + public native String itemToolTip(int index); + public native TQWidget currentItem(); + public native void setCurrentItem(TQWidget item); + public native int currentIndex(); + public native TQWidget item(int index); + public native int indexOf(TQWidget item); + public native int count(); + public native void setCurrentIndex(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void itemInserted(int index); + protected native void itemRemoved(int index); + public native void showEvent(TQShowEvent e); + protected native void frameChanged(); + public native void styleChange(TQStyle arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolBoxSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolBoxSignals.java new file mode 100644 index 00000000..0969c2ca --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolBoxSignals.java @@ -0,0 +1,7 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQToolBoxSignals { + void currentChanged(int index); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java new file mode 100644 index 00000000..1db010c1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQToolButton extends TQButton { + protected TQToolButton(Class dummy){super((Class) null);} + public static final int BesideIcon = 0; + public static final int BelowIcon = 1; + public static final int Right = BesideIcon; + public static final int Under = BelowIcon; + + public native TQMetaObject metaObject(); + public native String className(); + public TQToolButton(TQWidget parent, String name) { + super((Class) null); + newTQToolButton(parent,name); + } + private native void newTQToolButton(TQWidget parent, String name); + public TQToolButton(TQWidget parent) { + super((Class) null); + newTQToolButton(parent); + } + private native void newTQToolButton(TQWidget parent); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent); + public TQToolButton(int type, TQWidget parent, String name) { + super((Class) null); + newTQToolButton(type,parent,name); + } + private native void newTQToolButton(int type, TQWidget parent, String name); + public TQToolButton(int type, TQWidget parent) { + super((Class) null); + newTQToolButton(type,parent); + } + private native void newTQToolButton(int type, TQWidget parent); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setOnIconSet(TQIconSet arg1); + public native void setOffIconSet(TQIconSet arg1); + public native void setIconSet(TQIconSet arg1, boolean on); + public native TQIconSet onIconSet(); + public native TQIconSet offIconSet(); + public native TQIconSet iconSet(boolean on); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native boolean usesBigPixmap(); + public native boolean usesTextLabel(); + public native String textLabel(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); + public native void setPopupDelay(int delay); + public native int popupDelay(); + public native void openPopup(); + public native void setAutoRaise(boolean enable); + public native boolean autoRaise(); + public native int textPosition(); + public native void setText(String txt); + public native void setUsesBigPixmap(boolean enable); + public native void setUsesTextLabel(boolean enable); + public native void setTextLabel(String arg1, boolean arg2); + public native void setToggleButton(boolean enable); + public native void setOn(boolean enable); + public native void toggle(); + public native void setTextLabel(String arg1); + public native void setTextPosition(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void enterEvent(TQEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void moveEvent(TQMoveEvent arg1); + protected native boolean uses3D(); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void paletteChange(TQPalette arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolTip.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolTip.java new file mode 100644 index 00000000..5d89c744 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolTip.java @@ -0,0 +1,28 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQToolTip extends Qt { + protected TQToolTip(Class dummy){super((Class) null);} + public native TQWidget parentWidget(); + public native TQToolTipGroup group(); + public static native void add(TQWidget arg1, String arg2); + public static native void add(TQWidget arg1, String arg2, TQToolTipGroup arg3, String arg4); + public static native void remove(TQWidget arg1); + public static native void add(TQWidget arg1, TQRect arg2, String arg3); + public static native void add(TQWidget arg1, TQRect arg2, String arg3, TQToolTipGroup arg4, String arg5); + public static native void remove(TQWidget arg1, TQRect arg2); + public static native String textFor(TQWidget arg1, TQPoint pos); + public static native String textFor(TQWidget arg1); + public static native void hide(); + public static native TQFont font(); + public static native void setFont(TQFont arg1); + public static native TQPalette palette(); + public static native void setPalette(TQPalette arg1); + public static native void setEnabled(boolean enable); + public static native boolean enabled(); + public static native void setGloballyEnabled(boolean arg1); + public static native boolean isGloballyEnabled(); + public static native void setWakeUpDelay(int arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroup.java new file mode 100644 index 00000000..685be0f3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroup.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQToolTipGroupSignals} for signals emitted by TQToolTipGroup +*/ +public class TQToolTipGroup extends TQObject { + protected TQToolTipGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQToolTipGroup(TQObject parent, String name) { + super((Class) null); + newTQToolTipGroup(parent,name); + } + private native void newTQToolTipGroup(TQObject parent, String name); + public TQToolTipGroup(TQObject parent) { + super((Class) null); + newTQToolTipGroup(parent); + } + private native void newTQToolTipGroup(TQObject parent); + public native boolean delay(); + public native boolean enabled(); + public native void setDelay(boolean arg1); + public native void setEnabled(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroupSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroupSignals.java new file mode 100644 index 00000000..3799552e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolTipGroupSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQToolTipGroupSignals { + void showTip(String arg1); + void removeTip(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTranslator.java b/qtjava/javalib/org/trinitydesktop/qt/TQTranslator.java new file mode 100644 index 00000000..1f3f3515 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTranslator.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTranslator extends TQObject { + protected TQTranslator(Class dummy){super((Class) null);} + public static final int Everything = 0; + public static final int Stripped = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQTranslator(TQObject parent, String name) { + super((Class) null); + newTQTranslator(parent,name); + } + private native void newTQTranslator(TQObject parent, String name); + public TQTranslator(TQObject parent) { + super((Class) null); + newTQTranslator(parent); + } + private native void newTQTranslator(TQObject parent); + public TQTranslator() { + super((Class) null); + newTQTranslator(); + } + private native void newTQTranslator(); + public native String find(String context, String sourceText, String comment); + public native String find(String context, String sourceText); + public native TQTranslatorMessage findMessage(String arg1, String arg2, String arg3); + public native TQTranslatorMessage findMessage(String arg1, String arg2); + public native boolean load(String filename, String directory, String search_delimiters, String suffix); + public native boolean load(String filename, String directory, String search_delimiters); + public native boolean load(String filename, String directory); + public native boolean load(String filename); + public native boolean load(char[] data, int len); + public native void clear(); + public native boolean save(String filename, int mode); + public native boolean save(String filename); + public native void insert(TQTranslatorMessage arg1); + public native void insert(String context, String sourceText, String translation); + public native void remove(TQTranslatorMessage arg1); + public native void remove(String context, String sourceText); + public native boolean contains(String arg1, String arg2, String comment); + public native boolean contains(String arg1, String arg2); + public native void squeeze(int arg1); + public native void squeeze(); + public native void unsqueeze(); + // TQValueList<TQTranslatorMessage> messages(); >>>> NOT CONVERTED + public native boolean isEmpty(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTranslatorMessage.java b/qtjava/javalib/org/trinitydesktop/qt/TQTranslatorMessage.java new file mode 100644 index 00000000..ca1bc354 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTranslatorMessage.java @@ -0,0 +1,59 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTranslatorMessage implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQTranslatorMessage(Class dummy){} + + public static final int NoPrefix = 0; + public static final int Hash = 1; + public static final int HashContext = 2; + public static final int HashContextSourceText = 3; + public static final int HashContextSourceTextComment = 4; + + public TQTranslatorMessage() { + newTQTranslatorMessage(); + } + private native void newTQTranslatorMessage(); + public TQTranslatorMessage(String context, String sourceText, String comment, String translation) { + newTQTranslatorMessage(context,sourceText,comment,translation); + } + private native void newTQTranslatorMessage(String context, String sourceText, String comment, String translation); + public TQTranslatorMessage(String context, String sourceText, String comment) { + newTQTranslatorMessage(context,sourceText,comment); + } + private native void newTQTranslatorMessage(String context, String sourceText, String comment); + public TQTranslatorMessage(TQDataStream arg1) { + newTQTranslatorMessage(arg1); + } + private native void newTQTranslatorMessage(TQDataStream arg1); + public TQTranslatorMessage(TQTranslatorMessage m) { + newTQTranslatorMessage(m); + } + private native void newTQTranslatorMessage(TQTranslatorMessage m); + public native int hash(); + public native String context(); + public native String sourceText(); + public native String comment(); + public native void setTranslation(String translation); + public native String translation(); + public native void write(TQDataStream s, boolean strip, int prefix); + public native void write(TQDataStream s, boolean strip); + public native void write(TQDataStream s); + public native int commonPrefix(TQTranslatorMessage arg1); + public native boolean op_equals(TQTranslatorMessage m); + public native boolean op_not_equals(TQTranslatorMessage m); + public native boolean op_lt(TQTranslatorMessage m); + public native boolean op_lte(TQTranslatorMessage m); + public native boolean op_gt(TQTranslatorMessage m); + public native boolean op_gte(TQTranslatorMessage m); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQTsciiCodec.java b/qtjava/javalib/org/trinitydesktop/qt/TQTsciiCodec.java new file mode 100644 index 00000000..b01be339 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQTsciiCodec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQTsciiCodec extends TQTextCodec { + protected TQTsciiCodec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public native int heuristicNameMatch(String hint); + public TQTsciiCodec() { + super((Class) null); + newTQTsciiCodec(); + } + private native void newTQTsciiCodec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUriDrag.java b/qtjava/javalib/org/trinitydesktop/qt/TQUriDrag.java new file mode 100644 index 00000000..e0409cd1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUriDrag.java @@ -0,0 +1,65 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; +import org.trinitydesktop.qt.Qt; + +public class TQUriDrag extends TQStoredDrag { + protected TQUriDrag(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQUriDrag(String[] uris, TQWidget dragSource, String name) { + super((Class) null); + newTQUriDrag(uris,dragSource,name); + } + private native void newTQUriDrag(String[] uris, TQWidget dragSource, String name); + public TQUriDrag(String[] uris, TQWidget dragSource) { + super((Class) null); + newTQUriDrag(uris,dragSource); + } + private native void newTQUriDrag(String[] uris, TQWidget dragSource); + public TQUriDrag(String[] uris) { + super((Class) null); + newTQUriDrag(uris); + } + private native void newTQUriDrag(String[] uris); + public TQUriDrag(TQWidget dragSource, String name) { + super((Class) null); + newTQUriDrag(dragSource,name); + } + private native void newTQUriDrag(TQWidget dragSource, String name); + public TQUriDrag(TQWidget dragSource) { + super((Class) null); + newTQUriDrag(dragSource); + } + private native void newTQUriDrag(TQWidget dragSource); + public TQUriDrag() { + super((Class) null); + newTQUriDrag(); + } + private native void newTQUriDrag(); + public native void setFilenames(String[] fnames); + public native void setFileNames(String[] fnames); + public native void setUnicodeUris(String[] uuris); + public native void setUris(String[] uris); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native String uriToLocalFile(String arg1); + public static native String localFileToUri(String arg1); + public static native String uriToUnicodeUri(String arg1); + public static native String unicodeUriToUri(String arg1); + public static native boolean canDecode(TQMimeSourceInterface e); + public static native boolean decode(TQMimeSourceInterface e, String[] i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, String[] i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, String[] i); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public static native boolean decode(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeToUnicodeUris(TQMimeSourceInterface e, ArrayList i); + public static native boolean decodeLocalFiles(TQMimeSourceInterface e, ArrayList i); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUrl.java b/qtjava/javalib/org/trinitydesktop/qt/TQUrl.java new file mode 100644 index 00000000..3db7b857 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUrl.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQUrl implements QtSupport, TQUrlInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUrl(Class dummy){} + + public TQUrl() { + newTQUrl(); + } + private native void newTQUrl(); + public TQUrl(String url) { + newTQUrl(url); + } + private native void newTQUrl(String url); + public TQUrl(TQUrlInterface url) { + newTQUrl(url); + } + private native void newTQUrl(TQUrlInterface url); + public TQUrl(TQUrlInterface url, String relUrl, boolean checkSlash) { + newTQUrl(url,relUrl,checkSlash); + } + private native void newTQUrl(TQUrlInterface url, String relUrl, boolean checkSlash); + public TQUrl(TQUrlInterface url, String relUrl) { + newTQUrl(url,relUrl); + } + private native void newTQUrl(TQUrlInterface url, String relUrl); + public native String protocol(); + public native void setProtocol(String protocol); + public native String user(); + public native void setUser(String user); + public native boolean hasUser(); + public native String password(); + public native void setPassword(String pass); + public native boolean hasPassword(); + public native String host(); + public native void setHost(String user); + public native boolean hasHost(); + public native int port(); + public native void setPort(int port); + public native boolean hasPort(); + public native String path(boolean correct); + public native String path(); + public native void setPath(String path); + public native boolean hasPath(); + public native void setEncodedPathAndQuery(String enc); + public native String encodedPathAndQuery(); + public native void setQuery(String txt); + public native String query(); + public native String ref(); + public native void setRef(String txt); + public native boolean hasRef(); + public native boolean isValid(); + public native boolean isLocalFile(); + public native void addPath(String path); + public native void setFileName(String txt); + public native String fileName(); + public native String dirPath(); + public native boolean op_equals(TQUrlInterface url); + public native boolean op_equals(String url); + public native String toString(boolean encodedPath, boolean forcePrependProtocol); + public native String toString(boolean encodedPath); + public native String toString(); + public native boolean cdUp(); + public static native void decode(StringBuffer url); + public static native void encode(StringBuffer url); + public static native boolean isRelativeUrl(String url); + protected native void reset(); + protected native boolean parse(String url); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUrlInfo.java b/qtjava/javalib/org/trinitydesktop/qt/TQUrlInfo.java new file mode 100644 index 00000000..b3b5e753 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUrlInfo.java @@ -0,0 +1,77 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.Calendar; + +public class TQUrlInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUrlInfo(Class dummy){} + + public static final int ReadOwner = 00400; + public static final int WriteOwner = 00200; + public static final int ExeOwner = 00100; + public static final int ReadGroup = 00040; + public static final int WriteGroup = 00020; + public static final int ExeGroup = 00010; + public static final int ReadOther = 00004; + public static final int WriteOther = 00002; + public static final int ExeOther = 00001; + + public TQUrlInfo() { + newTQUrlInfo(); + } + private native void newTQUrlInfo(); + public TQUrlInfo(TQUrlOperator path, String file) { + newTQUrlInfo(path,file); + } + private native void newTQUrlInfo(TQUrlOperator path, String file); + public TQUrlInfo(TQUrlInfo ui) { + newTQUrlInfo(ui); + } + private native void newTQUrlInfo(TQUrlInfo ui); + public TQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newTQUrlInfo(name,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newTQUrlInfo(String name, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public TQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable) { + newTQUrlInfo(url,permissions,owner,group,size,lastModified,lastRead,isDir,isFile,isSymLink,isWritable,isReadable,isExecutable); + } + private native void newTQUrlInfo(TQUrlInterface url, int permissions, String owner, String group, long size, Calendar lastModified, Calendar lastRead, boolean isDir, boolean isFile, boolean isSymLink, boolean isWritable, boolean isReadable, boolean isExecutable); + public native void setName(String name); + public native void setDir(boolean b); + public native void setFile(boolean b); + public native void setSymLink(boolean b); + public native void setOwner(String s); + public native void setGroup(String s); + public native void setSize(long size); + public native void setWritable(boolean b); + public native void setReadable(boolean b); + public native void setPermissions(int p); + public native void setLastModified(Calendar dt); + public native boolean isValid(); + public native String name(); + public native int permissions(); + public native String owner(); + public native String group(); + public native long size(); + public native Calendar lastModified(); + public native Calendar lastRead(); + public native boolean isDir(); + public native boolean isFile(); + public native boolean isSymLink(); + public native boolean isWritable(); + public native boolean isReadable(); + public native boolean isExecutable(); + public native boolean op_equals(TQUrlInfo i); + public static native boolean greaterThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + public static native boolean lessThan(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + public static native boolean equal(TQUrlInfo i1, TQUrlInfo i2, int sortBy); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUrlInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQUrlInterface.java new file mode 100644 index 00000000..982ccdf7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUrlInterface.java @@ -0,0 +1,43 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQUrlInterface { + String protocol(); + void setProtocol(String protocol); + String user(); + void setUser(String user); + boolean hasUser(); + String password(); + void setPassword(String pass); + boolean hasPassword(); + String host(); + void setHost(String user); + boolean hasHost(); + int port(); + void setPort(int port); + boolean hasPort(); + String path(boolean correct); + String path(); + void setPath(String path); + boolean hasPath(); + void setEncodedPathAndQuery(String enc); + String encodedPathAndQuery(); + void setQuery(String txt); + String query(); + String ref(); + void setRef(String txt); + boolean hasRef(); + boolean isValid(); + boolean isLocalFile(); + void addPath(String path); + void setFileName(String txt); + String fileName(); + String dirPath(); + boolean op_equals(TQUrlInterface url); + boolean op_equals(String url); + String toString(boolean encodedPath, boolean forcePrependProtocol); + String toString(boolean encodedPath); + String toString(); + boolean cdUp(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperator.java b/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperator.java new file mode 100644 index 00000000..e738c7f3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperator.java @@ -0,0 +1,111 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQUrlOperatorSignals} for signals emitted by TQUrlOperator +*/ +public class TQUrlOperator extends TQObject implements TQUrlInterface { + protected TQUrlOperator(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQUrlOperator() { + super((Class) null); + newTQUrlOperator(); + } + private native void newTQUrlOperator(); + public TQUrlOperator(String urL) { + super((Class) null); + newTQUrlOperator(urL); + } + private native void newTQUrlOperator(String urL); + public TQUrlOperator(TQUrlOperator url) { + super((Class) null); + newTQUrlOperator(url); + } + private native void newTQUrlOperator(TQUrlOperator url); + public TQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash) { + super((Class) null); + newTQUrlOperator(url,relUrl,checkSlash); + } + private native void newTQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash); + public TQUrlOperator(TQUrlOperator url, String relUrl) { + super((Class) null); + newTQUrlOperator(url,relUrl); + } + private native void newTQUrlOperator(TQUrlOperator url, String relUrl); + public native void setPath(String path); + public native boolean cdUp(); + public native TQNetworkOperation listChildren(); + public native TQNetworkOperation mkdir(String dirname); + public native TQNetworkOperation remove(String filename); + public native TQNetworkOperation rename(String oldname, String newname); + public native TQNetworkOperation get(String location); + public native TQNetworkOperation get(); + public native TQNetworkOperation put(byte[] data, String location); + public native TQNetworkOperation put(byte[] data); + // TQPtrList<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 TQUrlInfo info(String entry); + public native void stop(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void reset(); + protected native boolean parse(String url); + protected native boolean checkValid(); + protected native void clearEntries(); + protected native void getNetworkProtocol(); + protected native void deleteNetworkProtocol(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native String protocol(); + public native void setProtocol(String protocol); + public native String user(); + public native void setUser(String user); + public native boolean hasUser(); + public native String password(); + public native void setPassword(String pass); + public native boolean hasPassword(); + public native String host(); + public native void setHost(String user); + public native boolean hasHost(); + public native int port(); + public native void setPort(int port); + public native boolean hasPort(); + public native String path(boolean correct); + public native String path(); + public native boolean hasPath(); + public native void setEncodedPathAndQuery(String enc); + public native String encodedPathAndQuery(); + public native void setQuery(String txt); + public native String query(); + public native String ref(); + public native void setRef(String txt); + public native boolean hasRef(); + public native boolean isValid(); + public native boolean isLocalFile(); + public native void addPath(String path); + public native void setFileName(String txt); + public native String fileName(); + public native String dirPath(); + public native boolean op_equals(TQUrlInterface url); + public native boolean op_equals(String url); + public native String toString(boolean encodedPath, boolean forcePrependProtocol); + public native String toString(boolean encodedPath); + public native String toString(); + public static native void decode(StringBuffer url); + public static native void encode(StringBuffer url); + public static native boolean isRelativeUrl(String url); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperatorSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperatorSignals.java new file mode 100644 index 00000000..22b70988 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUrlOperatorSignals.java @@ -0,0 +1,16 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +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/trinitydesktop/qt/TQUtf16Codec.java b/qtjava/javalib/org/trinitydesktop/qt/TQUtf16Codec.java new file mode 100644 index 00000000..a6941152 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUtf16Codec.java @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQUtf16Codec extends TQTextCodec { + protected TQUtf16Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native TQTextEncoder makeEncoder(); + public native int heuristicContentMatch(String chars, int len); + public TQUtf16Codec() { + super((Class) null); + newTQUtf16Codec(); + } + private native void newTQUtf16Codec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUtf8Codec.java b/qtjava/javalib/org/trinitydesktop/qt/TQUtf8Codec.java new file mode 100644 index 00000000..0288cd5e --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUtf8Codec.java @@ -0,0 +1,25 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQUtf8Codec extends TQTextCodec { + protected TQUtf8Codec(Class dummy){super((Class) null);} + public native int mibEnum(); + public native String name(); + public native TQTextDecoder makeDecoder(); + public native String fromUnicode(String uc, int[] lenInOut); + public native String toUnicode(String chars, int len); + public native int heuristicContentMatch(String chars, int len); + public TQUtf8Codec() { + super((Class) null); + newTQUtf8Codec(); + } + private native void newTQUtf8Codec(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQUuid.java b/qtjava/javalib/org/trinitydesktop/qt/TQUuid.java new file mode 100644 index 00000000..bac63e97 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQUuid.java @@ -0,0 +1,54 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQUuid implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQUuid(Class dummy){} + + public static final int VarUnknown = -1; + public static final int NCS = 0; + public static final int DCE = 2; + public static final int Microsoft = 6; + public static final int Reserved = 7; + + public static final int VerUnknown = -1; + public static final int Time = 1; + public static final int EmbeddedPOSIX = 2; + public static final int Name = 3; + public static final int Random = 4; + + public TQUuid() { + newTQUuid(); + } + private native void newTQUuid(); + public TQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8) { + newTQUuid(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8); + } + private native void newTQUuid(int l, short w1, short w2, short b1, short b2, short b3, short b4, short b5, short b6, short b7, short b8); + public TQUuid(TQUuid uuid) { + newTQUuid(uuid); + } + private native void newTQUuid(TQUuid uuid); + public TQUuid(String arg1) { + newTQUuid(arg1); + } + private native void newTQUuid(String arg1); + public native String toString(); + public native boolean isNull(); + public native boolean op_equals(TQUuid orig); + public native boolean op_not_equals(TQUuid orig); + public native boolean op_lt(TQUuid other); + public native boolean op_gt(TQUuid other); + public native int variant(); + public native int version(); + public static native TQUuid createUuid(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQVBox.java new file mode 100644 index 00000000..ca05d615 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVBox.java @@ -0,0 +1,38 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQVBox extends TQHBox { + protected TQVBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVBox(TQWidget parent, String name, int f) { + super((Class) null); + newTQVBox(parent,name,f); + } + private native void newTQVBox(TQWidget parent, String name, int f); + public TQVBox(TQWidget parent, String name) { + super((Class) null); + newTQVBox(parent,name); + } + private native void newTQVBox(TQWidget parent, String name); + public TQVBox(TQWidget parent) { + super((Class) null); + newTQVBox(parent); + } + private native void newTQVBox(TQWidget parent); + public TQVBox() { + super((Class) null); + newTQVBox(); + } + private native void newTQVBox(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVBoxLayout.java b/qtjava/javalib/org/trinitydesktop/qt/TQVBoxLayout.java new file mode 100644 index 00000000..7bc50efb --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVBoxLayout.java @@ -0,0 +1,68 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQVBoxLayout extends TQBoxLayout { + protected TQVBoxLayout(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVBoxLayout(TQWidget parent, int border, int spacing, String name) { + super((Class) null); + newTQVBoxLayout(parent,border,spacing,name); + } + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing, String name); + public TQVBoxLayout(TQWidget parent, int border, int spacing) { + super((Class) null); + newTQVBoxLayout(parent,border,spacing); + } + private native void newTQVBoxLayout(TQWidget parent, int border, int spacing); + public TQVBoxLayout(TQWidget parent, int border) { + super((Class) null); + newTQVBoxLayout(parent,border); + } + private native void newTQVBoxLayout(TQWidget parent, int border); + public TQVBoxLayout(TQWidget parent) { + super((Class) null); + newTQVBoxLayout(parent); + } + private native void newTQVBoxLayout(TQWidget parent); + public TQVBoxLayout(TQLayout parentLayout, int spacing, String name) { + super((Class) null); + newTQVBoxLayout(parentLayout,spacing,name); + } + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing, String name); + public TQVBoxLayout(TQLayout parentLayout, int spacing) { + super((Class) null); + newTQVBoxLayout(parentLayout,spacing); + } + private native void newTQVBoxLayout(TQLayout parentLayout, int spacing); + public TQVBoxLayout(TQLayout parentLayout) { + super((Class) null); + newTQVBoxLayout(parentLayout); + } + private native void newTQVBoxLayout(TQLayout parentLayout); + public TQVBoxLayout(int spacing, String name) { + super((Class) null); + newTQVBoxLayout(spacing,name); + } + private native void newTQVBoxLayout(int spacing, String name); + public TQVBoxLayout(int spacing) { + super((Class) null); + newTQVBoxLayout(spacing); + } + private native void newTQVBoxLayout(int spacing); + public TQVBoxLayout() { + super((Class) null); + newTQVBoxLayout(); + } + private native void newTQVBoxLayout(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVButtonGroup.java b/qtjava/javalib/org/trinitydesktop/qt/TQVButtonGroup.java new file mode 100644 index 00000000..0e81d4d7 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVButtonGroup.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQVButtonGroup extends TQButtonGroup { + protected TQVButtonGroup(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVButtonGroup(TQWidget parent, String name) { + super((Class) null); + newTQVButtonGroup(parent,name); + } + private native void newTQVButtonGroup(TQWidget parent, String name); + public TQVButtonGroup(TQWidget parent) { + super((Class) null); + newTQVButtonGroup(parent); + } + private native void newTQVButtonGroup(TQWidget parent); + public TQVButtonGroup() { + super((Class) null); + newTQVButtonGroup(); + } + private native void newTQVButtonGroup(); + public TQVButtonGroup(String title, TQWidget parent, String name) { + super((Class) null); + newTQVButtonGroup(title,parent,name); + } + private native void newTQVButtonGroup(String title, TQWidget parent, String name); + public TQVButtonGroup(String title, TQWidget parent) { + super((Class) null); + newTQVButtonGroup(title,parent); + } + private native void newTQVButtonGroup(String title, TQWidget parent); + public TQVButtonGroup(String title) { + super((Class) null); + newTQVButtonGroup(title); + } + private native void newTQVButtonGroup(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVGroupBox.java b/qtjava/javalib/org/trinitydesktop/qt/TQVGroupBox.java new file mode 100644 index 00000000..fb792a6f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVGroupBox.java @@ -0,0 +1,48 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQVGroupBox extends TQGroupBox { + protected TQVGroupBox(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQVGroupBox(TQWidget parent, String name) { + super((Class) null); + newTQVGroupBox(parent,name); + } + private native void newTQVGroupBox(TQWidget parent, String name); + public TQVGroupBox(TQWidget parent) { + super((Class) null); + newTQVGroupBox(parent); + } + private native void newTQVGroupBox(TQWidget parent); + public TQVGroupBox() { + super((Class) null); + newTQVGroupBox(); + } + private native void newTQVGroupBox(); + public TQVGroupBox(String title, TQWidget parent, String name) { + super((Class) null); + newTQVGroupBox(title,parent,name); + } + private native void newTQVGroupBox(String title, TQWidget parent, String name); + public TQVGroupBox(String title, TQWidget parent) { + super((Class) null); + newTQVGroupBox(title,parent); + } + private native void newTQVGroupBox(String title, TQWidget parent); + public TQVGroupBox(String title) { + super((Class) null); + newTQVGroupBox(title); + } + private native void newTQVGroupBox(String title); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQValidator.java b/qtjava/javalib/org/trinitydesktop/qt/TQValidator.java new file mode 100644 index 00000000..aea42f77 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQValidator.java @@ -0,0 +1,35 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQValidator extends TQObject { + protected TQValidator(Class dummy){super((Class) null);} + public static final int Invalid = 0; + public static final int Intermediate = 1; + public static final int Valid = Intermediate; + public static final int Acceptable = 2; + + public native TQMetaObject metaObject(); + public native String className(); + public TQValidator(TQObject parent, String name) { + super((Class) null); + newTQValidator(parent,name); + } + private native void newTQValidator(TQObject parent, String name); + public TQValidator(TQObject parent) { + super((Class) null); + newTQValidator(parent); + } + private native void newTQValidator(TQObject parent); + public native int validate(StringBuffer arg1, int[] arg2); + public native void fixup(StringBuffer arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java b/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java new file mode 100644 index 00000000..c2a24616 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java @@ -0,0 +1,276 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.Date; + +public class TQVariant implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQVariant(Class dummy){} + + public static final int Invalid = 0; + public static final int Map = 1; + public static final int List = 2; + public static final int String = 3; + public static final int StringList = 4; + public static final int Font = 5; + public static final int Pixmap = 6; + public static final int Brush = 7; + public static final int Rect = 8; + public static final int Size = 9; + public static final int Color = 10; + public static final int Palette = 11; + public static final int ColorGroup = 12; + public static final int IconSet = 13; + public static final int Point = 14; + public static final int Image = 15; + public static final int Int = 16; + public static final int UInt = 17; + public static final int Bool = 18; + public static final int Double = 19; + public static final int CString = 20; + public static final int PointArray = 21; + public static final int Region = 22; + public static final int Bitmap = 23; + public static final int Cursor = 24; + public static final int SizePolicy = 25; + public static final int Date = 26; + public static final int Time = 27; + public static final int DateTime = 28; + public static final int ByteArray = 29; + public static final int BitArray = 30; + public static final int KeySequence = 31; + public static final int Pen = 32; + public static final int LongLong = 33; + public static final int ULongLong = 34; + + public TQVariant() { + newTQVariant(); + } + private native void newTQVariant(); + public TQVariant(TQVariant arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQVariant arg1); + public TQVariant(TQDataStream s) { + newTQVariant(s); + } + private native void newTQVariant(TQDataStream s); + public TQVariant(String arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(String arg1); + public TQVariant(String[] arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(String[] arg1); + public TQVariant(TQFont arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQFont arg1); + public TQVariant(TQPixmap arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPixmap arg1); + public TQVariant(TQImage arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQImage arg1); + public TQVariant(TQBrush arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQBrush arg1); + public TQVariant(TQPoint arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPoint arg1); + public TQVariant(TQRect arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQRect arg1); + public TQVariant(TQSize arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQSize arg1); + public TQVariant(TQColor arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQColor arg1); + public TQVariant(TQPalette arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPalette arg1); + public TQVariant(TQColorGroup arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQColorGroup arg1); + public TQVariant(TQIconSet arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQIconSet arg1); + public TQVariant(TQPointArray arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPointArray arg1); + public TQVariant(TQRegion arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQRegion arg1); + public TQVariant(TQBitmap arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQBitmap arg1); + public TQVariant(TQCursor arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQCursor arg1); + public TQVariant(Calendar arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(Calendar arg1); + public TQVariant(Date arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(Date arg1); + public TQVariant(byte[] arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(byte[] arg1); + // TQVariant* TQVariant(const TQBitArray& arg1); >>>> NOT CONVERTED + public TQVariant(TQKeySequence arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQKeySequence arg1); + public TQVariant(TQPen arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQPen arg1); + // TQVariant* TQVariant(const TQValueList<TQVariant>& arg1); >>>> NOT CONVERTED + // TQVariant* TQVariant(const TQMap<TQString, TQVariant>& arg1); >>>> NOT CONVERTED + public TQVariant(int arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(int arg1); + public TQVariant(long arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(long arg1); + public TQVariant(boolean arg1, int arg2) { + newTQVariant(arg1,arg2); + } + private native void newTQVariant(boolean arg1, int arg2); + public TQVariant(double arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(double arg1); + public TQVariant(TQSizePolicy arg1) { + newTQVariant(arg1); + } + private native void newTQVariant(TQSizePolicy arg1); + public native boolean op_equals(TQVariant arg1); + public native boolean op_not_equals(TQVariant arg1); + public native int type(); + public native String typeName(); + public native boolean canCast(int arg1); + public native boolean cast(int arg1); + public native boolean isValid(); + public native boolean isNull(); + public native void clear(); + public native String toString(); + public native String toCString(); + public native ArrayList toStringList(); + public native TQFont toFont(); + public native TQPixmap toPixmap(); + public native TQImage toImage(); + public native TQBrush toBrush(); + public native TQPoint toPoint(); + public native TQRect toRect(); + public native TQSize toSize(); + public native TQColor toColor(); + public native TQPalette toPalette(); + public native TQColorGroup toColorGroup(); + public native TQIconSet toIconSet(); + public native TQPointArray toPointArray(); + public native TQBitmap toBitmap(); + public native TQRegion toRegion(); + public native TQCursor toCursor(); + public native Calendar toDate(); + public native Date toTime(); + public native Calendar toDateTime(); + public native byte[] toByteArray(); + // const TQBitArray toBitArray(); >>>> NOT CONVERTED + public native TQKeySequence toKeySequence(); + public native TQPen toPen(); + public native int toInt(boolean[] ok); + public native int toInt(); + public native int toUInt(boolean[] ok); + public native int toUInt(); + public native long toLongLong(boolean[] ok); + public native long toLongLong(); + public native long toULongLong(boolean[] ok); + public native long toULongLong(); + public native boolean toBool(); + public native double toDouble(boolean[] ok); + public native double toDouble(); + // const TQValueList<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 TQFont asFont(); + public native TQPixmap asPixmap(); + public native TQImage asImage(); + public native TQBrush asBrush(); + public native TQPoint asPoint(); + public native TQRect asRect(); + public native TQSize asSize(); + public native TQColor asColor(); + public native TQPalette asPalette(); + public native TQColorGroup asColorGroup(); + public native TQIconSet asIconSet(); + public native TQPointArray asPointArray(); + public native TQBitmap asBitmap(); + public native TQRegion asRegion(); + public native TQCursor asCursor(); + public native Calendar asDate(); + public native Date asTime(); + public native Calendar asDateTime(); + public native byte[] asByteArray(); + // TQBitArray& asBitArray(); >>>> NOT CONVERTED + public native TQKeySequence asKeySequence(); + public native TQPen asPen(); + public native int asInt(); + public native int asUInt(); + // TTQ_LLONG& asLongLong(); >>>> NOT CONVERTED + // TQ_ULLONG& asULongLong(); >>>> NOT CONVERTED + public native boolean asBool(); + public native double asDouble(); + // 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); + public static native int nameToType(String name); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWMatrix.java b/qtjava/javalib/org/trinitydesktop/qt/TQWMatrix.java new file mode 100644 index 00000000..199690b5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWMatrix.java @@ -0,0 +1,63 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQWMatrix implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQWMatrix(Class dummy){} + + public static final int Points = 0; + public static final int Areas = 1; + + public TQWMatrix() { + newTQWMatrix(); + } + private native void newTQWMatrix(); + public TQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy) { + newTQWMatrix(m11,m12,m21,m22,dx,dy); + } + private native void newTQWMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native void setMatrix(double m11, double m12, double m21, double m22, double dx, double dy); + public native double m11(); + public native double m12(); + public native double m21(); + public native double m22(); + public native double dx(); + public native double dy(); + public native void map(int x, int y, int[] tx, int[] ty); + public native void map(double x, double y, double[] tx, double[] ty); + public native TQRect mapRect(TQRect arg1); + public native TQPoint map(TQPoint p); + public native TQRect map(TQRect r); + public native TQPointArray map(TQPointArray a); + public native TQRegion map(TQRegion r); + public native TQRegion mapToRegion(TQRect r); + public native TQPointArray mapToPolygon(TQRect r); + public native void reset(); + public native boolean isIdentity(); + public native TQWMatrix translate(double dx, double dy); + public native TQWMatrix scale(double sx, double sy); + public native TQWMatrix shear(double sh, double sv); + public native TQWMatrix rotate(double a); + public native boolean isInvertible(); + public native double det(); + public native TQWMatrix invert(boolean[] arg1); + public native TQWMatrix invert(); + public native boolean op_equals(TQWMatrix arg1); + public native boolean op_not_equals(TQWMatrix arg1); + public native TQWMatrix op_mult_assign(TQWMatrix arg1); + public native TQPoint op_mult(TQPoint arg1); + public native TQRegion op_mult(TQRect arg1); + public native TQRegion op_mult(TQRegion arg1); + public native TQPointArray op_mult(TQPointArray a); + public static native void setTransformationMode(int m); + public static native int transformationMode(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWhatsThis.java b/qtjava/javalib/org/trinitydesktop/qt/TQWhatsThis.java new file mode 100644 index 00000000..1662451f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWhatsThis.java @@ -0,0 +1,37 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQWhatsThis extends Qt { + protected TQWhatsThis(Class dummy){super((Class) null);} + public TQWhatsThis(TQWidget arg1) { + super((Class) null); + newTQWhatsThis(arg1); + } + private native void newTQWhatsThis(TQWidget arg1); + public native String text(TQPoint arg1); + public native boolean clicked(String href); + public static native void setFont(TQFont font); + public static native void add(TQWidget arg1, String arg2); + public static native void remove(TQWidget arg1); + public static native String textFor(TQWidget arg1, TQPoint pos, boolean includeParents); + public static native String textFor(TQWidget arg1, TQPoint pos); + public static native String textFor(TQWidget arg1); + public static native TQToolButton whatsThisButton(TQWidget parent); + public static native void enterWhatsThisMode(); + public static native boolean inWhatsThisMode(); + public static native void leaveWhatsThisMode(String arg1, TQPoint pos, TQWidget w); + public static native void leaveWhatsThisMode(String arg1, TQPoint pos); + public static native void leaveWhatsThisMode(String arg1); + public static native void leaveWhatsThisMode(); + public static native void display(String text, TQPoint pos, TQWidget w); + public static native void display(String text, TQPoint pos); + public static native void display(String text); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWheelEvent.java b/qtjava/javalib/org/trinitydesktop/qt/TQWheelEvent.java new file mode 100644 index 00000000..bb1a2e68 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWheelEvent.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQWheelEvent extends TQEvent { + protected TQWheelEvent(Class dummy){super((Class) null);} + public TQWheelEvent(TQPoint pos, int delta, int state, int orient) { + super((Class) null); + newTQWheelEvent(pos,delta,state,orient); + } + private native void newTQWheelEvent(TQPoint pos, int delta, int state, int orient); + public TQWheelEvent(TQPoint pos, int delta, int state) { + super((Class) null); + newTQWheelEvent(pos,delta,state); + } + private native void newTQWheelEvent(TQPoint pos, int delta, int state); + public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient) { + super((Class) null); + newTQWheelEvent(pos,globalPos,delta,state,orient); + } + private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state, int orient); + public TQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state) { + super((Class) null); + newTQWheelEvent(pos,globalPos,delta,state); + } + private native void newTQWheelEvent(TQPoint pos, TQPoint globalPos, int delta, int state); + public native int delta(); + public native TQPoint pos(); + public native TQPoint globalPos(); + public native int x(); + public native int y(); + public native int globalX(); + public native int globalY(); + public native int state(); + public native int orientation(); + public native boolean isAccepted(); + public native void accept(); + public native void ignore(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWidget.java b/qtjava/javalib/org/trinitydesktop/qt/TQWidget.java new file mode 100644 index 00000000..37789d33 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWidget.java @@ -0,0 +1,337 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQWidget extends TQObject implements TQPaintDeviceInterface { + protected TQWidget(Class dummy){super((Class) null);} + public static final int NoFocus = 0; + public static final int TabFocus = 0x1; + public static final int ClickFocus = 0x2; + public static final int StrongFocus = TabFocus|ClickFocus|0x8; + public static final int WheelFocus = StrongFocus|0x4; + + public static final int WidgetOrigin = 0; + public static final int ParentOrigin = 1; + public static final int WindowOrigin = 2; + public static final int AncestorOrigin = 3; + + public native TQMetaObject metaObject(); + public native String className(); + public TQWidget(TQWidget parent, String name, int f) { + super((Class) null); + newTQWidget(parent,name,f); + } + private native void newTQWidget(TQWidget parent, String name, int f); + public TQWidget(TQWidget parent, String name) { + super((Class) null); + newTQWidget(parent,name); + } + private native void newTQWidget(TQWidget parent, String name); + public TQWidget(TQWidget parent) { + super((Class) null); + newTQWidget(parent); + } + private native void newTQWidget(TQWidget parent); + public TQWidget() { + super((Class) null); + newTQWidget(); + } + private native void newTQWidget(); + public native long winId(); + public native void setName(String name); + public native TQStyle style(); + public native void setStyle(TQStyle arg1); + public native TQStyle setStyle(String arg1); + public native boolean isTopLevel(); + public native boolean isDialog(); + public native boolean isPopup(); + public native boolean isDesktop(); + public native boolean isModal(); + public native boolean isEnabled(); + public native boolean isEnabledTo(TQWidget arg1); + public native boolean isEnabledToTLW(); + public native TQRect frameGeometry(); + public native TQRect geometry(); + public native int x(); + public native int y(); + public native TQPoint pos(); + public native TQSize frameSize(); + public native TQSize size(); + public native int width(); + public native int height(); + public native TQRect rect(); + public native TQRect childrenRect(); + public native TQRegion childrenRegion(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int minimumWidth(); + public native int minimumHeight(); + public native int maximumWidth(); + public native int maximumHeight(); + public native void setMinimumSize(TQSize arg1); + public native void setMinimumSize(int minw, int minh); + public native void setMaximumSize(TQSize arg1); + public native void setMaximumSize(int maxw, int maxh); + public native void setMinimumWidth(int minw); + public native void setMinimumHeight(int minh); + public native void setMaximumWidth(int maxw); + public native void setMaximumHeight(int maxh); + public native TQSize sizeIncrement(); + public native void setSizeIncrement(TQSize arg1); + public native void setSizeIncrement(int w, int h); + public native TQSize baseSize(); + public native void setBaseSize(TQSize arg1); + public native void setBaseSize(int basew, int baseh); + public native void setFixedSize(TQSize arg1); + public native void setFixedSize(int w, int h); + public native void setFixedWidth(int w); + public native void setFixedHeight(int h); + public native TQPoint mapToGlobal(TQPoint arg1); + public native TQPoint mapFromGlobal(TQPoint arg1); + public native TQPoint mapToParent(TQPoint arg1); + public native TQPoint mapFromParent(TQPoint arg1); + public native TQPoint mapTo(TQWidget arg1, TQPoint arg2); + public native TQPoint mapFrom(TQWidget arg1, TQPoint arg2); + public native TQWidget topLevelWidget(); + public native int backgroundMode(); + public native void setBackgroundMode(int arg1); + public native void setBackgroundMode(int arg1, int arg2); + public native TQColor foregroundColor(); + public native TQColor eraseColor(); + public native void setEraseColor(TQColor arg1); + public native TQPixmap erasePixmap(); + public native void setErasePixmap(TQPixmap arg1); + public native TQColorGroup colorGroup(); + public native TQPalette palette(); + public native boolean ownPalette(); + public native void setPalette(TQPalette arg1); + public native void unsetPalette(); + public native TQColor paletteForegroundColor(); + public native void setPaletteForegroundColor(TQColor arg1); + public native TQColor paletteBackgroundColor(); + public native void setPaletteBackgroundColor(TQColor arg1); + public native TQPixmap paletteBackgroundPixmap(); + public native void setPaletteBackgroundPixmap(TQPixmap arg1); + public native TQBrush backgroundBrush(); + public native TQFont font(); + public native boolean ownFont(); + public native void setFont(TQFont arg1); + public native void unsetFont(); + public native TQFontMetrics fontMetrics(); + public native TQFontInfo fontInfo(); + public native TQCursor cursor(); + public native boolean ownCursor(); + public native void setCursor(TQCursor arg1); + public native void unsetCursor(); + public native String caption(); + public native TQPixmap icon(); + public native String iconText(); + public native boolean hasMouseTracking(); + public native boolean hasMouse(); + public native void setMask(TQBitmap arg1); + public native void setMask(TQRegion arg1); + public native void clearMask(); + public native TQColor backgroundColor(); + public native void setBackgroundColor(TQColor arg1); + public native TQPixmap backgroundPixmap(); + public native void setBackgroundPixmap(TQPixmap arg1); + public native boolean isActiveWindow(); + public native void setActiveWindow(); + public native boolean isFocusEnabled(); + public native int focusPolicy(); + public native void setFocusPolicy(int arg1); + public native boolean hasFocus(); + public native void setFocusProxy(TQWidget arg1); + public native TQWidget focusProxy(); + public native void setInputMethodEnabled(boolean b); + public native boolean isInputMethodEnabled(); + public native void grabMouse(); + public native void grabMouse(TQCursor arg1); + public native void releaseMouse(); + public native void grabKeyboard(); + public native void releaseKeyboard(); + public native boolean isUpdatesEnabled(); + public native boolean close(boolean alsoDelete); + public native boolean isVisible(); + public native boolean isVisibleTo(TQWidget arg1); + public native boolean isVisibleToTLW(); + public native TQRect visibleRect(); + public native boolean isHidden(); + public native boolean isShown(); + public native boolean isMinimized(); + public native boolean isMaximized(); + public native boolean isFullScreen(); + public native int windowState(); + public native void setWindowState(int windowState); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native TQSizePolicy sizePolicy(); + public native void setSizePolicy(TQSizePolicy arg1); + public native void setSizePolicy(int hor, int ver, boolean hfw); + public native void setSizePolicy(int hor, int ver); + public native int heightForWidth(int arg1); + public native TQRegion clipRegion(); + public native TQLayout layout(); + public native void updateGeometry(); + public native void reparent(TQWidget parent, int arg2, TQPoint arg3, boolean showIt); + public native void reparent(TQWidget parent, int arg2, TQPoint arg3); + public native void reparent(TQWidget parent, TQPoint arg2, boolean showIt); + public native void reparent(TQWidget parent, TQPoint arg2); + public native void recreate(TQWidget parent, int f, TQPoint p, boolean showIt); + public native void recreate(TQWidget parent, int f, TQPoint p); + public native void erase(); + public native void erase(int x, int y, int w, int h); + public native void erase(TQRect arg1); + public native void erase(TQRegion arg1); + public native void scroll(int dx, int dy); + public native void scroll(int dx, int dy, TQRect arg3); + public native void drawText(int x, int y, String arg3); + public native void drawText(TQPoint arg1, String arg2); + public native TQWidget focusWidget(); + public native TQRect microFocusHint(); + public native boolean acceptDrops(); + public native void setAcceptDrops(boolean on); + public native void setAutoMask(boolean arg1); + public native boolean autoMask(); + public native void setBackgroundOrigin(int arg1); + public native int backgroundOrigin(); + public native TQPoint backgroundOffset(); + public native boolean customWhatsThis(); + public native TQWidget parentWidget(boolean sameWindow); + public native TQWidget parentWidget(); + public native int testWState(int s); + public native int testWFlags(int f); + public native TQWidget childAt(int x, int y, boolean includeThis); + public native TQWidget childAt(int x, int y); + public native TQWidget childAt(TQPoint arg1, boolean includeThis); + public native TQWidget childAt(TQPoint arg1); + public native void setWindowOpacity(double level); + public native double windowOpacity(); + public native void setPalette(TQPalette p, boolean arg2); + public native void setFont(TQFont f, boolean arg2); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + public native void setCaption(String arg1); + public native void setIcon(TQPixmap arg1); + public native void setIconText(String arg1); + public native void setMouseTracking(boolean enable); + public native void setFocus(); + public native void clearFocus(); + public native void setUpdatesEnabled(boolean enable); + public native void update(); + public native void update(int x, int y, int w, int h); + public native void update(TQRect arg1); + public native void repaint(); + public native void repaint(boolean erase); + public native void repaint(int x, int y, int w, int h, boolean erase); + public native void repaint(int x, int y, int w, int h); + public native void repaint(TQRect arg1, boolean erase); + public native void repaint(TQRect arg1); + public native void repaint(TQRegion arg1, boolean erase); + public native void repaint(TQRegion arg1); + public native void show(); + public native void hide(); + public native void setShown(boolean show); + public native void setHidden(boolean hide); + public native void iconify(); + public native void showMinimized(); + public native void showMaximized(); + public native void showFullScreen(); + public native void showNormal(); + public native void polish(); + public native void constPolish(); + public native boolean close(); + public native void raise(); + public native void lower(); + public native void stackUnder(TQWidget arg1); + public native void move(int x, int y); + public native void move(TQPoint arg1); + public native void resize(int w, int h); + public native void resize(TQSize arg1); + public native void setGeometry(int x, int y, int w, int h); + public native void setGeometry(TQRect arg1); + public native void adjustSize(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public static native void setTabOrder(TQWidget arg1, TQWidget arg2); + public static native TQWidget mouseGrabber(); + public static native TQWidget keyboardGrabber(); + public static native TQWidget find(long arg1); + // TQWidgetMapper* wmapper(); >>>> NOT CONVERTED + public native boolean event(TQEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseDoubleClickEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void keyReleaseEvent(TQKeyEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void enterEvent(TQEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void moveEvent(TQMoveEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + protected native void contextMenuEvent(TQContextMenuEvent arg1); + protected native void imStartEvent(TQIMEvent arg1); + protected native void imComposeEvent(TQIMEvent arg1); + protected native void imEndEvent(TQIMEvent arg1); + protected native void tabletEvent(TQTabletEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dragMoveEvent(TQDragMoveEvent arg1); + protected native void dragLeaveEvent(TQDragLeaveEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + public native void showEvent(TQShowEvent arg1); + protected native void hideEvent(TQHideEvent arg1); + protected native void updateMask(); + public native void styleChange(TQStyle arg1); + protected native void enabledChange(boolean oldEnabled); + protected native void paletteChange(TQPalette arg1); + protected native void fontChange(TQFont arg1); + protected native void windowActivationChange(boolean oldActive); + protected native int metric(int arg1); + protected native void resetInputContext(); + protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); + protected native void create(long arg1, boolean initializeWindow); + protected native void create(long arg1); + protected native void create(); + protected native void destroy(boolean destroyWindow, boolean destroySubWindows); + protected native void destroy(boolean destroyWindow); + protected native void destroy(); + protected native int getWState(); + protected native void setWState(int arg1); + protected native void clearWState(int n); + protected native int getWFlags(); + protected native void setWFlags(int arg1); + protected native void clearWFlags(int n); + protected native boolean focusNextPrevChild(boolean next); + // TQWExtra* extraData(); >>>> NOT CONVERTED + // TQTLWExtra* topData(); >>>> NOT CONVERTED + protected native TQFocusData focusData(); + protected native void setKeyCompression(boolean arg1); + protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text, TQFont f); + protected native void setMicroFocusHint(int x, int y, int w, int h, boolean text); + protected native void setMicroFocusHint(int x, int y, int w, int h); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); + public native int devType(); + public native boolean isExtDev(); + public native boolean paintingActive(); + public native void setResolution(int arg1); + public native int resolution(); + // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED + protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); + protected native int fontMet(TQFont arg1, int arg2, String arg3); + protected native int fontMet(TQFont arg1, int arg2); + protected native int fontInf(TQFont arg1, int arg2); + /** Internal method */ + protected native long paintDevice(); + +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWidgetItem.java b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetItem.java new file mode 100644 index 00000000..d6766b24 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetItem.java @@ -0,0 +1,29 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQWidgetItem extends TQLayoutItem { + protected TQWidgetItem(Class dummy){super((Class) null);} + public TQWidgetItem(TQWidget w) { + super((Class) null); + newTQWidgetItem(w); + } + private native void newTQWidgetItem(TQWidget w); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize maximumSize(); + public native int expanding(); + public native boolean isEmpty(); + public native void setGeometry(TQRect arg1); + public native TQRect geometry(); + public native TQWidget widget(); + public native boolean hasHeightForWidth(); + public native int heightForWidth(int arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStack.java b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStack.java new file mode 100644 index 00000000..78bd1ecc --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStack.java @@ -0,0 +1,57 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQWidgetStackSignals} for signals emitted by TQWidgetStack +*/ +public class TQWidgetStack extends TQFrame { + protected TQWidgetStack(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQWidgetStack(TQWidget parent, String name) { + super((Class) null); + newTQWidgetStack(parent,name); + } + private native void newTQWidgetStack(TQWidget parent, String name); + public TQWidgetStack(TQWidget parent) { + super((Class) null); + newTQWidgetStack(parent); + } + private native void newTQWidgetStack(TQWidget parent); + public TQWidgetStack() { + super((Class) null); + newTQWidgetStack(); + } + private native void newTQWidgetStack(); + public TQWidgetStack(TQWidget parent, String name, int f) { + super((Class) null); + newTQWidgetStack(parent,name,f); + } + private native void newTQWidgetStack(TQWidget parent, String name, int f); + public native int addWidget(TQWidget arg1, int arg2); + public native int addWidget(TQWidget arg1); + public native void removeWidget(TQWidget arg1); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void show(); + public native TQWidget widget(int arg1); + public native int id(TQWidget arg1); + public native TQWidget visibleWidget(); + public native void setFrameRect(TQRect arg1); + public native void raiseWidget(int arg1); + public native void raiseWidget(TQWidget arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void frameChanged(); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void setChildGeometries(); + protected native void childEvent(TQChildEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStackSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStackSignals.java new file mode 100644 index 00000000..46bbedcd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWidgetStackSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQWidgetStackSignals { + void aboutToShow(int arg1); + void aboutToShow(TQWidget arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWizard.java b/qtjava/javalib/org/trinitydesktop/qt/TQWizard.java new file mode 100644 index 00000000..2c61dbfc --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWizard.java @@ -0,0 +1,78 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +/** + See {@link TQWizardSignals} for signals emitted by TQWizard +*/ +public class TQWizard extends TQDialog { + protected TQWizard(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + public TQWizard(TQWidget parent, String name, boolean modal, int f) { + super((Class) null); + newTQWizard(parent,name,modal,f); + } + private native void newTQWizard(TQWidget parent, String name, boolean modal, int f); + public TQWizard(TQWidget parent, String name, boolean modal) { + super((Class) null); + newTQWizard(parent,name,modal); + } + private native void newTQWizard(TQWidget parent, String name, boolean modal); + public TQWizard(TQWidget parent, String name) { + super((Class) null); + newTQWizard(parent,name); + } + private native void newTQWizard(TQWidget parent, String name); + public TQWizard(TQWidget parent) { + super((Class) null); + newTQWizard(parent); + } + private native void newTQWizard(TQWidget parent); + public TQWizard() { + super((Class) null); + newTQWizard(); + } + private native void newTQWizard(); + public native void show(); + public native void setFont(TQFont font); + public native void addPage(TQWidget arg1, String arg2); + public native void insertPage(TQWidget arg1, String arg2, int arg3); + public native void removePage(TQWidget arg1); + public native String title(TQWidget arg1); + public native void setTitle(TQWidget arg1, String arg2); + public native TQFont titleFont(); + public native void setTitleFont(TQFont arg1); + public native void showPage(TQWidget arg1); + public native TQWidget currentPage(); + public native TQWidget page(int arg1); + public native int pageCount(); + public native int indexOf(TQWidget arg1); + public native boolean appropriate(TQWidget arg1); + public native void setAppropriate(TQWidget arg1, boolean arg2); + public native TQPushButton backButton(); + public native TQPushButton nextButton(); + public native TQPushButton finishButton(); + public native TQPushButton cancelButton(); + public native TQPushButton helpButton(); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native void setBackEnabled(TQWidget arg1, boolean arg2); + public native void setNextEnabled(TQWidget arg1, boolean arg2); + public native void setFinishEnabled(TQWidget arg1, boolean arg2); + public native void setHelpEnabled(TQWidget arg1, boolean arg2); + public native void setFinish(TQWidget arg1, boolean arg2); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void layOutButtonRow(TQHBoxLayout arg1); + protected native void layOutTitleRow(TQHBoxLayout arg1, String arg2); + protected native void back(); + protected native void next(); + protected native void help(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWizardSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQWizardSignals.java new file mode 100644 index 00000000..2fdaff70 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWizardSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQWizardSignals { + void helpClicked(); + void selected(String arg1); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWorkspace.java b/qtjava/javalib/org/trinitydesktop/qt/TQWorkspace.java new file mode 100644 index 00000000..0692b309 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWorkspace.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQWorkspaceSignals} for signals emitted by TQWorkspace +*/ +public class TQWorkspace extends TQWidget { + protected TQWorkspace(Class dummy){super((Class) null);} + public static final int CreationOrder = 0; + public static final int StackingOrder = 1; + + public native TQMetaObject metaObject(); + public native String className(); + public TQWorkspace(TQWidget parent, String name) { + super((Class) null); + newTQWorkspace(parent,name); + } + private native void newTQWorkspace(TQWidget parent, String name); + public TQWorkspace(TQWidget parent) { + super((Class) null); + newTQWorkspace(parent); + } + private native void newTQWorkspace(TQWidget parent); + public TQWorkspace() { + super((Class) null); + newTQWorkspace(); + } + private native void newTQWorkspace(); + public native TQWidget activeWindow(); + public native ArrayList windowList(); + public native ArrayList windowList(int order); + public native TQSize sizeHint(); + public native boolean scrollBarsEnabled(); + public native void setScrollBarsEnabled(boolean enable); + public native void setPaletteBackgroundColor(TQColor arg1); + public native void setPaletteBackgroundPixmap(TQPixmap arg1); + public native void cascade(); + public native void tile(); + public native void closeActiveWindow(); + public native void closeAllWindows(); + public native void activateNextWindow(); + public native void activatePrevWindow(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + public native void styleChange(TQStyle arg1); + protected native void childEvent(TQChildEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + public native void showEvent(TQShowEvent e); + protected native void hideEvent(TQHideEvent e); + protected native void wheelEvent(TQWheelEvent e); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQWorkspaceSignals.java b/qtjava/javalib/org/trinitydesktop/qt/TQWorkspaceSignals.java new file mode 100644 index 00000000..a669a901 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQWorkspaceSignals.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import java.util.ArrayList; + +public interface TQWorkspaceSignals { + void windowActivated(TQWidget w); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlAttributes.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlAttributes.java new file mode 100644 index 00000000..264a7954 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlAttributes.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlAttributes implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlAttributes(Class dummy){} + + public TQXmlAttributes() { + newTQXmlAttributes(); + } + private native void newTQXmlAttributes(); + public native int index(String qName); + public native int index(String uri, String localPart); + public native int length(); + public native int count(); + public native String localName(int index); + public native String qName(int index); + public native String uri(int index); + public native String type(int index); + public native String type(String qName); + public native String type(String uri, String localName); + public native String value(int index); + public native String value(String qName); + public native String value(String uri, String localName); + public native void clear(); + public native void append(String qName, String uri, String localPart, String value); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandler.java new file mode 100644 index 00000000..674cff20 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandler.java @@ -0,0 +1,23 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlContentHandler implements QtSupport, TQXmlContentHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlContentHandler(Class dummy){} + + public native void setDocumentLocator(TQXmlLocator locator); + public native boolean startDocument(); + public native boolean endDocument(); + public native boolean startPrefixMapping(String prefix, String uri); + public native boolean endPrefixMapping(String prefix); + public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + public native boolean endElement(String namespaceURI, String localName, String qName); + public native boolean characters(String ch); + public native boolean ignorableWhitespace(String ch); + public native boolean processingInstruction(String target, String data); + public native boolean skippedEntity(String name); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandlerInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandlerInterface.java new file mode 100644 index 00000000..5f6eed48 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlContentHandlerInterface.java @@ -0,0 +1,18 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlContentHandlerInterface { + void setDocumentLocator(TQXmlLocator locator); + boolean startDocument(); + boolean endDocument(); + boolean startPrefixMapping(String prefix, String uri); + boolean endPrefixMapping(String prefix); + boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + boolean endElement(String namespaceURI, String localName, String qName); + boolean characters(String ch); + boolean ignorableWhitespace(String ch); + boolean processingInstruction(String target, String data); + boolean skippedEntity(String name); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandler.java new file mode 100644 index 00000000..3ad5dbfd --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandler.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlDTDHandler implements QtSupport, TQXmlDTDHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlDTDHandler(Class dummy){} + + public native boolean notationDecl(String name, String publicId, String systemId); + public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandlerInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandlerInterface.java new file mode 100644 index 00000000..a35047b6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDTDHandlerInterface.java @@ -0,0 +1,9 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlDTDHandlerInterface { + boolean notationDecl(String name, String publicId, String systemId); + boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandler.java new file mode 100644 index 00000000..d9091458 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandler.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlDeclHandler implements QtSupport, TQXmlDeclHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlDeclHandler(Class dummy){} + + public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + public native boolean internalEntityDecl(String name, String value); + public native boolean externalEntityDecl(String name, String publicId, String systemId); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandlerInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandlerInterface.java new file mode 100644 index 00000000..7cb7a3b2 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDeclHandlerInterface.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlDeclHandlerInterface { + boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + boolean internalEntityDecl(String name, String value); + boolean externalEntityDecl(String name, String publicId, String systemId); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlDefaultHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDefaultHandler.java new file mode 100644 index 00000000..6d1dc024 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlDefaultHandler.java @@ -0,0 +1,47 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlDefaultHandler extends TQXmlLexicalHandler implements TQXmlContentHandlerInterface, TQXmlDTDHandlerInterface, TQXmlDeclHandlerInterface, TQXmlEntityResolverInterface, TQXmlErrorHandlerInterface, TQXmlLexicalHandlerInterface { + protected TQXmlDefaultHandler(Class dummy){super((Class) null);} + public TQXmlDefaultHandler() { + super((Class) null); + newTQXmlDefaultHandler(); + } + private native void newTQXmlDefaultHandler(); + public native void setDocumentLocator(TQXmlLocator locator); + public native boolean startDocument(); + public native boolean endDocument(); + public native boolean startPrefixMapping(String prefix, String uri); + public native boolean endPrefixMapping(String prefix); + public native boolean startElement(String namespaceURI, String localName, String qName, TQXmlAttributes atts); + public native boolean endElement(String namespaceURI, String localName, String qName); + public native boolean characters(String ch); + public native boolean ignorableWhitespace(String ch); + public native boolean processingInstruction(String target, String data); + public native boolean skippedEntity(String name); + public native boolean warning(TQXmlParseException exception); + public native boolean error(TQXmlParseException exception); + public native boolean fatalError(TQXmlParseException exception); + public native boolean notationDecl(String name, String publicId, String systemId); + public native boolean unparsedEntityDecl(String name, String publicId, String systemId, String notationName); + public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + public native boolean startDTD(String name, String publicId, String systemId); + public native boolean endDTD(); + public native boolean startEntity(String name); + public native boolean endEntity(String name); + public native boolean startCDATA(); + public native boolean endCDATA(); + public native boolean comment(String ch); + public native boolean attributeDecl(String eName, String aName, String type, String valueDefault, String value); + public native boolean internalEntityDecl(String name, String value); + public native boolean externalEntityDecl(String name, String publicId, String systemId); + public native String errorString(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolver.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolver.java new file mode 100644 index 00000000..a7114d96 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolver.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlEntityResolver implements QtSupport, TQXmlEntityResolverInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlEntityResolver(Class dummy){} + + public native boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolverInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolverInterface.java new file mode 100644 index 00000000..d86cef77 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlEntityResolverInterface.java @@ -0,0 +1,8 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlEntityResolverInterface { + boolean resolveEntity(String publicId, String systemId, TQXmlInputSource ret); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandler.java new file mode 100644 index 00000000..5f27bd22 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandler.java @@ -0,0 +1,15 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlErrorHandler implements QtSupport, TQXmlErrorHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlErrorHandler(Class dummy){} + + public native boolean warning(TQXmlParseException exception); + public native boolean error(TQXmlParseException exception); + public native boolean fatalError(TQXmlParseException exception); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandlerInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandlerInterface.java new file mode 100644 index 00000000..0aa367a4 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlErrorHandlerInterface.java @@ -0,0 +1,10 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlErrorHandlerInterface { + boolean warning(TQXmlParseException exception); + boolean error(TQXmlParseException exception); + boolean fatalError(TQXmlParseException exception); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlInputSource.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlInputSource.java new file mode 100644 index 00000000..fa7d7093 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlInputSource.java @@ -0,0 +1,41 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlInputSource implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlInputSource(Class dummy){} + + public TQXmlInputSource() { + newTQXmlInputSource(); + } + private native void newTQXmlInputSource(); + public TQXmlInputSource(TQIODeviceInterface dev) { + newTQXmlInputSource(dev); + } + private native void newTQXmlInputSource(TQIODeviceInterface dev); + public TQXmlInputSource(TQFile file) { + newTQXmlInputSource(file); + } + private native void newTQXmlInputSource(TQFile file); + public TQXmlInputSource(TQTextStream stream) { + newTQXmlInputSource(stream); + } + private native void newTQXmlInputSource(TQTextStream stream); + public native void setData(String dat); + public native void setData(byte[] dat); + public native void fetchData(); + public native String data(); + public native char next(); + public native void reset(); + protected native String fromRawData(byte[] data, boolean beginning); + protected native String fromRawData(byte[] data); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandler.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandler.java new file mode 100644 index 00000000..94064298 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandler.java @@ -0,0 +1,19 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlLexicalHandler implements QtSupport, TQXmlLexicalHandlerInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlLexicalHandler(Class dummy){} + + public native boolean startDTD(String name, String publicId, String systemId); + public native boolean endDTD(); + public native boolean startEntity(String name); + public native boolean endEntity(String name); + public native boolean startCDATA(); + public native boolean endCDATA(); + public native boolean comment(String ch); + public native String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandlerInterface.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandlerInterface.java new file mode 100644 index 00000000..12dc4d1f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLexicalHandlerInterface.java @@ -0,0 +1,14 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + + +public interface TQXmlLexicalHandlerInterface { + boolean startDTD(String name, String publicId, String systemId); + boolean endDTD(); + boolean startEntity(String name); + boolean endEntity(String name); + boolean startCDATA(); + boolean endCDATA(); + boolean comment(String ch); + String errorString(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlLocator.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLocator.java new file mode 100644 index 00000000..1ece4167 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlLocator.java @@ -0,0 +1,13 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlLocator implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlLocator(Class dummy){} + + public native int columnNumber(); + public native int lineNumber(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlNamespaceSupport.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlNamespaceSupport.java new file mode 100644 index 00000000..7b4d2e0f --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlNamespaceSupport.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQXmlNamespaceSupport implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlNamespaceSupport(Class dummy){} + + public TQXmlNamespaceSupport() { + newTQXmlNamespaceSupport(); + } + private native void newTQXmlNamespaceSupport(); + public native void setPrefix(String arg1, String arg2); + public native String prefix(String arg1); + public native String uri(String arg1); + public native void splitName(String arg1, StringBuffer arg2, StringBuffer arg3); + public native void processName(String arg1, boolean arg2, StringBuffer arg3, StringBuffer arg4); + public native ArrayList prefixes(); + public native ArrayList prefixes(String arg1); + public native void pushContext(); + public native void popContext(); + public native void reset(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlParseException.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlParseException.java new file mode 100644 index 00000000..dff47be9 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlParseException.java @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlParseException implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlParseException(Class dummy){} + + public TQXmlParseException(String name, int c, int l, String p, String s) { + newTQXmlParseException(name,c,l,p,s); + } + private native void newTQXmlParseException(String name, int c, int l, String p, String s); + public TQXmlParseException(String name, int c, int l, String p) { + newTQXmlParseException(name,c,l,p); + } + private native void newTQXmlParseException(String name, int c, int l, String p); + public TQXmlParseException(String name, int c, int l) { + newTQXmlParseException(name,c,l); + } + private native void newTQXmlParseException(String name, int c, int l); + public TQXmlParseException(String name, int c) { + newTQXmlParseException(name,c); + } + private native void newTQXmlParseException(String name, int c); + public TQXmlParseException(String name) { + newTQXmlParseException(name); + } + private native void newTQXmlParseException(String name); + public TQXmlParseException() { + newTQXmlParseException(); + } + private native void newTQXmlParseException(); + public native int columnNumber(); + public native int lineNumber(); + public native String publicId(); + public native String systemId(); + public native String message(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlReader.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlReader.java new file mode 100644 index 00000000..55799638 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlReader.java @@ -0,0 +1,32 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlReader implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQXmlReader(Class dummy){} + + public native boolean feature(String name, boolean[] ok); + public native boolean feature(String name); + public native void setFeature(String name, boolean value); + public native boolean hasFeature(String name); + // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED + // void* property(const TQString& arg1); >>>> NOT CONVERTED + // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED + public native boolean hasProperty(String name); + public native void setEntityResolver(TQXmlEntityResolverInterface handler); + public native TQXmlEntityResolverInterface entityResolver(); + public native void setDTDHandler(TQXmlDTDHandlerInterface handler); + public native TQXmlDTDHandlerInterface DTDHandler(); + public native void setContentHandler(TQXmlContentHandlerInterface handler); + public native TQXmlContentHandlerInterface contentHandler(); + public native void setErrorHandler(TQXmlErrorHandlerInterface handler); + public native TQXmlErrorHandlerInterface errorHandler(); + public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); + public native TQXmlLexicalHandlerInterface lexicalHandler(); + public native void setDeclHandler(TQXmlDeclHandlerInterface handler); + public native TQXmlDeclHandlerInterface declHandler(); + public native boolean parse(TQXmlInputSource input); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQXmlSimpleReader.java b/qtjava/javalib/org/trinitydesktop/qt/TQXmlSimpleReader.java new file mode 100644 index 00000000..f36044b5 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQXmlSimpleReader.java @@ -0,0 +1,42 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQXmlSimpleReader extends TQXmlReader { + protected TQXmlSimpleReader(Class dummy){super((Class) null);} + public TQXmlSimpleReader() { + super((Class) null); + newTQXmlSimpleReader(); + } + private native void newTQXmlSimpleReader(); + public native boolean feature(String name, boolean[] ok); + public native boolean feature(String name); + public native void setFeature(String name, boolean value); + public native boolean hasFeature(String name); + // void* property(const TQString& arg1,bool* arg2); >>>> NOT CONVERTED + // void* property(const TQString& arg1); >>>> NOT CONVERTED + // void setProperty(const TQString& arg1,void* arg2); >>>> NOT CONVERTED + public native boolean hasProperty(String name); + public native void setEntityResolver(TQXmlEntityResolverInterface handler); + public native TQXmlEntityResolverInterface entityResolver(); + public native void setDTDHandler(TQXmlDTDHandlerInterface handler); + public native TQXmlDTDHandlerInterface DTDHandler(); + public native void setContentHandler(TQXmlContentHandlerInterface handler); + public native TQXmlContentHandlerInterface contentHandler(); + public native void setErrorHandler(TQXmlErrorHandlerInterface handler); + public native TQXmlErrorHandlerInterface errorHandler(); + public native void setLexicalHandler(TQXmlLexicalHandlerInterface handler); + public native TQXmlLexicalHandlerInterface lexicalHandler(); + public native void setDeclHandler(TQXmlDeclHandlerInterface handler); + public native TQXmlDeclHandlerInterface declHandler(); + public native boolean parse(TQXmlInputSource input); + public native boolean parse(TQXmlInputSource input, boolean incremental); + public native boolean parseContinue(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/WeakValueMap.java b/qtjava/javalib/org/trinitydesktop/qt/WeakValueMap.java new file mode 100644 index 00000000..25989191 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/WeakValueMap.java @@ -0,0 +1,68 @@ +/** From Section 12.5.3, Reference Queues page 324-326 + of 'The Java Programming Language, Third Edition'. + + But why wasn't it included in the java.util Collection package? + */ + + +package org.trinitydesktop.qt; + +import java.lang.ref.*; +import java.util.*; + +public class WeakValueMap extends HashMap { + private ReferenceQueue reaped = new ReferenceQueue(); + + private static class ValueRef extends WeakReference { + private final Object key; // key for value + + ValueRef(Object val, Object key, ReferenceQueue q) { + super(val, q); + this.key = key; + } + } + + public Object put(Object key, Object value) { + reap(); + ValueRef vr = new ValueRef(value, key, reaped); + return super.put(key, vr); + } + + public Object get(Object key) { + reap(); + ValueRef vr = (ValueRef) super.get(key); + if (vr == null) { + return null; + } else { + return vr.get(); + } + } + + /** Force an entry to be removed if it is known to be invalid, + rather than waiting for the garbage collector to put it + on the reaped queue. + */ + public Object remove(Object key) { + reap(); + ValueRef vr = (ValueRef) super.get(key); + if (vr == null) { + return null; + } else { + vr.clear(); + super.remove(key); + return null; + } + } + + public int size() { + reap(); + return super.size(); + } + + public void reap() { + ValueRef ref; + while ((ref = (ValueRef) reaped.poll()) != null) { + super.remove(ref.key); + } + } +} diff --git a/qtjava/javalib/org/trinitydesktop/qt/qtjava.java b/qtjava/javalib/org/trinitydesktop/qt/qtjava.java new file mode 100644 index 00000000..105fa3d3 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/qtjava.java @@ -0,0 +1,285 @@ +/*************************************************************************** + qtjava.java - description + ------------------- + begin : Tue Oct 31 06:12:14 2000 + copyright : (C) 2000 Lost Highway Ltd. All rights reserved. + email : Lost_Highway@tipitina.demon.co.uk + written by : Richard Dale. + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +package org.trinitydesktop.qt; + +import java.util.*; +import java.lang.Error; + +/** The 'Run the Qt Java library' class'. Various utility methods to manage + the mapping between C++ and java instances. Used in conjunction the C++ methods + in QtSupport.cpp and JavaSlot.cpp. + + @author Richard Dale <Richard_Dale@tipitina.demon.co.uk> + */ +public class qtjava { + /** Uses a C++ key to retrieve the corresponding Java instance */ + public static WeakValueMap qtKeyToJavaMap = null; + + /** Allows a JavaSignal proxy instance to be retrieved for a given Java + instance/Signal name combination */ + public static HashMap qtSignalDictionary = null; + + /** Allows a JavaSlot proxy instance to be retrieved for a given Java + instance/Slot name combination */ + public static HashMap qtSlotDictionary = null; + + /** Register a JavaVM pointer to make it easy to retrieve the current + JNIEnv later */ + private native static void registerJVM(); + + /** Get/set the C++ instance for a given Java instance */ + private native static void setQt(Object obj, long qt); + private native static long getQt(Object obj); + + /** If a C++ instance has been allocated in the Java World, it will + be deleted within the corresponding Java instance's finalize method. */ + private native static void setAllocatedInJavaWorld(Object obj, boolean yn); + private native static boolean allocatedInJavaWorld(Object obj); + + /** This member allows a typecast of an instance which wraps a + Qt instance, to a more specialized type. */ + private static QtSupport dynamicCast(String type, QtSupport source) { + boolean sourceAllocatedInJavaWorld = allocatedInJavaWorld(source); + long qtHandle = getQt(source); + + removeObjectForQtKey(qtHandle); + setAllocatedInJavaWorld(source, false); + return (QtSupport) objectForQtKey(qtHandle, type, sourceAllocatedInJavaWorld); + } + + /** Add a 'C++ qt instance key/Java instance value' pair to the map */ + public static void setObjectForQtKey(Object obj, long qt) { + qtKeyToJavaMap.put(Long.toString(qt).intern(), obj); + return; + } + + /** Remove a 'C++ qt instance key/Java instance value' pair from the map. + Normally an entry would be removed when its map value is the last reference + left to the java instance, and it becomes a weak reference to be reaped. + But C++ can reuse a heap address for a C++ ref without giving the java runtime + a chance to do any garbage collection and tidy up the corresponding entry in the + 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 TQEvent after its event handler has + returned). + */ + public static void removeObjectForQtKey(long qt) { + qtKeyToJavaMap.remove(Long.toString(qt).intern()); + return; + } + + /** 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 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 + original 'approximate' Class passed to the method. + + Note that a java equivalent of the C++ instance doesn't have + to be instantiated to do this */ + private native static Class classFromQtMetaData(Class approximateClass, String approximateClassName, long qt); + + /** Retrieves a corresponding Java instance for a given C++ instance. Allocates + the Java instance if it doesn't already exist. */ + public static Object objectForQtKey(long qt, String className, boolean allocatedInJavaWorld) { + Object result; + Class aClass; + + result = qtKeyToJavaMap.get(Long.toString(qt).intern()); + + if (result == null) { + try { + aClass = Class.forName(toFullyQualifiedClassName(className)); + } catch (ClassNotFoundException e) { + Qt.tqWarning("Error class not found: " + toFullyQualifiedClassName(className)); + return null; + } + + if (QtSupport.class.isAssignableFrom(aClass)) { + if (TQObject.class.isAssignableFrom(aClass)) { + aClass = qtjava.classFromQtMetaData(aClass, aClass.getName(), qt); + } + + try { + result = qtjava.allocateInstance(aClass); + } catch (InstantiationException e) { + Qt.tqWarning("Can't instantiate : " + toFullyQualifiedClassName(className)); + return null; + } catch (IllegalAccessException e) { + Qt.tqWarning("Illegal access to class : " + toFullyQualifiedClassName(className)); + return null; + } + + setQt(result, qt); + setAllocatedInJavaWorld(result, allocatedInJavaWorld); + } else { + // A Java instance without a wrapped Qt C++ instance (eg a list) + try { + result = aClass.newInstance(); + } catch (InstantiationException e) { + return null; + } catch (IllegalAccessException e) { + return null; + } + } + + setObjectForQtKey(result, qt); + } + + return result; + } + + /** When a C++ instance has been deleted. Retrieves a corresponding Java instance for a given C++ instance. Sets + the '_allocatedInJavaWorld' flag to false. */ + public static void qtKeyDeleted(long qt) { + Object result = qtKeyToJavaMap.get(Long.toString(qt).intern()); + + if ( result != null + && QtSupport.class.isAssignableFrom(result.getClass()) ) + { + setAllocatedInJavaWorld(result, false); + } + } + + /** Converts any unqualified class names in a signal or slot string to the fully qualified versions */ + public static String toFullyQualifiedClassName(String className) { + if (className.equals("String")) { + return "java.lang.String"; + } else if (className.equals("Date")) { + return "java.util.Date"; + } else if (className.equals("Calendar")) { + return "java.util.GregorianCalendar"; + } else if (className.equals("ArrayList")) { + return "java.util.ArrayList"; + } else if (className.equals("ByteArrayOutputStream")) { + return "java.io.ByteArrayOutputStream"; + } else if (className.equals("Job")) { + return "org.trinitydesktop.koala.Job"; + } else if (className.equals("Part")) { + return "org.trinitydesktop.koala.Part"; + } else if (className.equals("Slave")) { + return "org.trinitydesktop.koala.Slave"; + } else if (className.equals("DOMNode")) { + return "org.trinitydesktop.koala.DOMNode"; + } else if (className.startsWith("Q")) { + return "org.trinitydesktop.qt." + className; + } else if (className.startsWith("K")) { + return "org.trinitydesktop.koala." + className; + } + return className; + } + + /** Converts from a list Java types in a signal or slot string, to the fully qualified equivalent */ + private static String toNormalizedTypeSignature(String typeSignature) { + StringBuffer normalizedTypeSignature = new StringBuffer( typeSignature.substring( 0, + typeSignature.indexOf('(') + 1 ) ); + StringTokenizer tokenizer = new StringTokenizer( typeSignature.substring( typeSignature.indexOf('(') + 1, + typeSignature.indexOf(')') ), + "," ); + + while (tokenizer.hasMoreTokens()) { + String token = tokenizer.nextToken(); + + if ( token.equals("boolean") + || token.equals("byte") + || token.equals("char") + || token.equals("long") + || token.equals("int") + || token.equals("short") + || token.equals("float") + || token.equals("double") ) + { + normalizedTypeSignature.append(token); + } else { + normalizedTypeSignature.append(toFullyQualifiedClassName(token)); + } + + if (tokenizer.hasMoreTokens()) { + normalizedTypeSignature.append(","); + } + } + + normalizedTypeSignature.append(")"); + return normalizedTypeSignature.toString(); + } + + /** Returns a new C++ JavaSignal proxy instance, to forward the signal + onto the target Java slot */ + private native static long newJavaSignal(); + + /** Looks up a 'qt instance/signal name' key and returns the corresponding + JavaSignal instance */ + public static long signalForSender(long qt, String signal) { + String normalizedSignal = toNormalizedTypeSignature(signal); + String key = (Long.toString(qt) + normalizedSignal).intern(); + Long result = (Long) qtSignalDictionary.get(key); + + if (result == null) { + long javaSignal = newJavaSignal(); + qtSignalDictionary.put(key, new Long(javaSignal)); + return javaSignal; + } else { + return result.longValue(); + } + } + + /** Initialises the JavaSlot factory */ + private native static void setJavaSlotFactory(); + + /** Returns a new C++ JavaSlot proxy instance, to receive signals + and invoke the target Java slot */ + 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, TQObject receiver, String slot) { + String normalizedSlot = toNormalizedTypeSignature(slot); + String key = (Long.toString(qt) + normalizedSlot).intern(); + Long result = (Long) qtSlotDictionary.get(key); + + if (result == null) { + long javaSlot = newJavaSlot(receiver, normalizedSlot); + qtSlotDictionary.put(key, new Long(javaSlot)); + return javaSlot; + } else { + return result.longValue(); + } + } + + private static boolean _initialized = false; + + public static void initialize() { + if (!_initialized) { + System.loadLibrary("qtjava"); + qtjava.registerJVM(); + qtjava.setJavaSlotFactory(); + qtKeyToJavaMap = new WeakValueMap(); + qtSignalDictionary = new HashMap(); + qtSlotDictionary = new HashMap(); + _initialized = true; + } + } + + static { + initialize(); + } +} |