Module qtjambi
Package io.qt

Class QtObject

All Implemented Interfaces:
QtObjectInterface
Direct Known Subclasses:
CustomWidgetInterface, GLDEBUGPROC.Impl, GLsync, PropertyReaderInterface.Impl, QAbstractEventDispatcher.TimerInfo, QAbstractExtensionFactory.Impl, QAbstractExtensionManager.Impl, QAbstractFileEngine, QAbstractFileEngineHandler, QAbstractFileEngineIterator, QAbstractFileIconProvider, QAbstractFormBuilder, QAbstractFunctor.Impl, QAbstractFuture, QAbstractGraphicsShapeItem, QAbstractOAuth.ModifyParametersFunction.Impl, QAbstractOpenGLFunctions, QAbstractTextDocumentLayout.PaintContext, QAbstractTextDocumentLayout.Selection, QAbstractUndoItem.Impl, QAccessible, QAccessible.ActivationObserver.Impl, QAccessible.InterfaceFactory.Impl, QAccessible.RootObjectHandler.Impl, QAccessible.State, QAccessible.UpdateHandler.Impl, QAccessibleActionInterface.Impl, QAccessibleBridge, QAccessibleEditableTextInterface.Impl, QAccessibleEvent, QAccessibleImageInterface.Impl, QAccessibleInterface.Impl, QAccessibleObject, QAccessibleTableCellInterface.Impl, QAccessibleTableInterface.Impl, QAccessibleTextInterface.Impl, QAccessibleValueInterface.Impl, QAnimationCallback, QAnimationClipData, QAspectJob, QAuthenticator, QBackendNode, QBackendNodeMapper, QBackingStore, QBasicMutex, QBasicTimer, QBitArray, QBrush, QByteArray, QByteArrayMatcher, QByteArrayView, QCalendar, QCalendar.YearMonthDay, QCborArray, QCborError, QCborMap, QCborParserError, QCborStreamReader, QCborStreamWriter, QCborValue, QChannel, QChannelComponent, QCollator, QCollatorSortKey, QColor, QColormap, QColorSpace, QColorTransform, QCommandLineOption, QCommandLineParser, QCompressedHelpInfo, QCryptographicHash, QCursor, QDataStream, QDate, QDateTime, QDBusArgument, QDBusConnection, QDBusContext.Impl, QDBusError, QDBusMessage, QDBusObjectPath, QDBusPendingCall.Impl, QDBusReply, QDBusSignature, QDBusUnixFileDescriptor, QDBusVariant, QDeadlineTimer, QDebug, QDebugStateSaver, QDesignerContainerExtension.Impl, QDesignerCustomWidgetCollectionInterface.Impl, QDesignerCustomWidgetInterface.Impl, QDesignerDynamicPropertySheetExtension.Impl, QDesignerFormEditorPluginInterface.Impl, QDesignerFormWindowCursorInterface.Impl, QDesignerLanguageExtension.Impl, QDesignerLayoutDecorationExtension.Impl, QDesignerMemberSheetExtension.Impl, QDesignerMetaDataBaseItemInterface.Impl, QDesignerOptionsPageInterface.Impl, QDesignerPromotionInterface.Impl, QDesignerPromotionInterface.PromotedClass, QDesignerPropertySheetExtension.Impl, QDesignerSettingsInterface.Impl, QDesignerTaskMenuExtension.Impl, QDesignerWidgetBoxInterface.Category, QDesignerWidgetBoxInterface.Widget, QDesignerWidgetDataBaseItemInterface.Impl, QDesktopServices, QDir, QDirIterator, QDnsDomainNameRecord, QDnsHostAddressRecord, QDnsMailExchangeRecord, QDnsServiceRecord, QDnsTextRecord, QDomImplementation, QDomNamedNodeMap, QDomNode, QDomNodeList, QDtlsClientVerifier.GeneratorParameters, QEasingCurve, QEasingCurve.EasingFunction.Impl, QElapsedTimer, QEvent, QEventLoopLocker, QEventPoint, QFactoryInterface.Impl, QFileDialog.FileContentHandler.Impl, QFileInfo, QFont, QFontDatabase, QFontInfo, QFontMetrics, QFontMetricsF, QFormLayout.TakeRowResult, QFutureInterfaceBase, QGenericPluginFactory, QGestureRecognizer, QGlyphRun, QGradient, QGraphicsItem.Impl, QGraphicsItemGroup, QGraphicsLayout, QGraphicsLayoutItem.Impl, QGraphicsLineItem, QGraphicsPixmapItem, QHelpContentItem, QHelpFilterData, QHelpLink, QHelpSearchQuery, QHelpSearchResult, QHostAddress, QHostInfo, QHstsPolicy, QHttp2Configuration, QHttpPart, QIcon, QIconEngine, QIconEngine.ScaledPixmapArgument, QImage, QImageIOHandler, QImageReader, QImageWriter, QInputMethodEvent.Attribute, QIPv6Address, QItemEditorCreatorBase.Impl, QItemEditorFactory, QItemSelectionRange, QJsonArray, QJsonDocument, QJsonObject, QJsonParseError, QJsonValue, QJSValue, QJSValueIterator, QKeyCombination, QKeyFrame, QKeySequence, QLayoutItem.Impl, QLevelOfDetailBoundingSphere, QLibraryInfo, QLine, QLineF, QListWidgetItem, QLocale, QLockFile, QLoggingCategory, QLoggingCategory.CategoryFilter.Impl, QMargins, QMarginsF, QMatrix2x2, QMatrix2x3, QMatrix2x4, QMatrix3x2, QMatrix3x3, QMatrix3x4, QMatrix4x2, QMatrix4x3, QMatrix4x4, QMessageAuthenticationCode, QMessageLogContext, QMetaEnum, QMetaMethod, QMetaProperty, QMetaType, QMetaType.GenericObject, QMetaType.GenericValue, QMimeDatabase, QMimeType, QNativeInterface.QSGD3D11Texture.Impl, QNativeInterface.QSGOpenGLTexture.Impl, QNetworkAddressEntry, QNetworkCacheMetaData, QNetworkCookie, QNetworkDatagram, QNetworkInterface, QNetworkProxy, QNetworkProxyFactory, QNetworkProxyQuery, QNetworkRequest, QNodeId, QNodeIdTypePair, QOAuth1Signature, QObject, QOcspResponse, QOpenGLBuffer, QOpenGLDebugMessage, QOpenGLFramebufferObject, QOpenGLFramebufferObjectFormat, QOpenGLFunctions, QOpenGLPaintDevice, QOpenGLPixelTransferOptions, QOpenGLTexture, QOpenGLTextureBlitter, QOpenGLVersionFunctionsFactory, QOpenGLVersionProfile, QOpenGLVersionStatus, QOpenGLVertexArrayObject.Binder, QOperatingSystemVersion, QPagedPaintDevice.Impl, QPageLayout, QPageRanges, QPageRanges.Range, QPageSize, QPaintDevice.Impl, QPaintEngine, QPaintEngineState, QPainter, QPainter.PixmapFragment, QPainterPath, QPainterPath.Element, QPainterPathStroker, QPalette, QPen, QPersistentModelIndex, QPicture, QPixelFormat, QPixmap, QPixmapCache, QPixmapCache.Key, QPoint, QPointF, QPointingDeviceUniqueId, QPrintEngine, QPrinter, QPrinterInfo, QProcessEnvironment, QPromise, QPropertyBindingError, QPropertyObserverBase, QQmlAbstractUrlInterceptor.Impl, QQmlContext.PropertyPair, QQmlDebuggingEnabler, QQmlEngineExtensionInterface.Impl, QQmlError, QQmlExtensionInterface.Impl, QQmlFile, QQmlIncubationController.Impl, QQmlIncubator, QQmlListProperty, QQmlListReference, QQmlNetworkAccessManagerFactory.Impl, QQmlParserStatus.Impl, QQmlProperty, QQmlPropertyValueSource.Impl, QQmlScriptString, QQmlTypesExtensionInterface.Impl, QQuaternion, QQuick3D, QQuick3DGeometry.Attribute, QQuickFramebufferObject.Renderer, QQuickGraphicsConfiguration, QQuickGraphicsDevice, QQuickItem.UpdatePaintNodeData, QQuickRenderTarget, QQuickWindow.GraphicsStateInfo, QRandomGenerator, QRawFont, QRayCasterHit, QReadWriteLock, QRect, QRectF, QRecursiveMutex, QRegion, QRegularExpression, QRegularExpressionMatch, QRegularExpressionMatchIterator, QResource, QRgba64, QRunnable.Impl, QScrollerProperties, QSemaphore, QSettings.ReadFunc.Impl, QSettings.WriteFunc.Impl, QSGGeometry, QSGGeometry.Attribute, QSGGeometry.AttributeSet, QSGGeometry.ColoredPoint2D, QSGGeometry.Point2D, QSGGeometry.TexturedPoint2D, QSGMaterial, QSGMaterialShader, QSGMaterialShader.GraphicsPipelineState, QSGMaterialShader.RenderState, QSGMaterialType, QSGNode, QSGNodeVisitor, QSGRendererInterface.Impl, QSGRenderNode.RenderState, QSignalBlocker, QSize, QSizeF, QSizePolicy, QSpacerItem, QSpontaneKeyEvent, QSqlDatabase, QSqlDriverCreatorBase, QSqlError, QSqlField, QSqlQuery, QSqlRecord, QSqlRelation, QSqlResult, QSslCertificate, QSslCertificateExtension, QSslCipher, QSslConfiguration, QSslDiffieHellmanParameters, QSslEllipticCurve, QSslError, QSslKey, QSslPreSharedKeyAuthenticator, QStandardItem, QStandardPaths, QStaticPlugin, QStaticText, QStorageInfo, QStringConverterBase, QStringConverterBase.State, QStringMatcher, QStyleFactory, QStyleHintReturn, QStyleOption, QSurface.Impl, QSurfaceFormat, QSvgGenerator, QSystemSemaphore, QTableWidgetItem, QTableWidgetSelectionRange, QTemporaryDir, QTest.QBenchmarkIterationController, QTest.QTouchEventSequence, QTestEvent, QTextBlock, QTextBlock.iterator, QTextBlockUserData, QTextBoundaryFinder, QTextCursor, QTextDocumentFragment, QTextDocumentWriter, QTextEdit.ExtraSelection, QTextFormat, QTextFragment, QTextFrame.iterator, QTextInlineObject, QTextItem, QTextLayout, QTextLayout.FormatRange, QTextLength, QTextLine, QTextObjectInterface.Impl, QTextOption, QTextOption.Tab, QTextStream, QTextTableCell, QTextureData, QTextureDataUpdate, QTextureImageData, QTextureImageDataGenerator.Impl, QtGadget, QThreadStorage, QTileRules, QTime, QTimeZone, QTimeZone.OffsetData, QtJambiAbstractMapObject, QtJambiAbstractMultiMapObject, QtJambiCollectionObject, QtJambiIteratorObject, QtMessageHandler.Impl, QToolTip, QtQml.ObjectCallback.Impl, QtQml.QQmlAttachedPropertiesFunc.Impl, QtQml.ValueCallback.Impl, QTransform, QTreeWidgetItem, QTreeWidgetItemIterator, QUndoCommand, QUntypedBindable, QUntypedPropertyBinding, QUntypedPropertyData, QUrl, QUrlQuery, QUuid, QVector2D, QVector3D, QVector4D, QVersionNumber, QVoidPromise, QWaitCondition, QWhatsThis, QWidgetItem, QXmlStreamAttribute, QXmlStreamEntityDeclaration, QXmlStreamEntityResolver, QXmlStreamNamespaceDeclaration, QXmlStreamNotationDeclaration, QXmlStreamReader, QXmlStreamWriter

public abstract class QtObject
extends QtJambiObject
The super class of all class types in Qt Jambi. Loading this class or any of its subclasses will imply a dependency on both the Qt Jambi library and the Qt libraries.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    protected static class  QtObject.QPrivateConstructor
    This type is used as solo argument for internal constructors.
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
      QtObject()
    Creates a new QtObject.
    protected QtObject​(QtObject.QPrivateConstructor p)
    Constructor for internal use only.
  • Method Summary

    Modifier and Type Method Description
    void dispose()
    Explicitly removes the native resources held by the object.
    boolean equals​(Object other)
    Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.
    boolean isDisposed()
    Is java object connected to native object?

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • dispose

      public final void dispose()
      Explicitly removes the native resources held by the object. Note that though this method does not guarantee that the object will be garbage collected, it is not safe to reference the object after it has been disposed.
    • isDisposed

      @QtUninvokable public final boolean isDisposed()
      Is java object connected to native object?
      Returns:
      true if disposed
    • equals

      public boolean equals​(Object other)
      Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation.
      Overrides:
      equals in class Object
      Parameters:
      other - The object with which to compare
      Returns:
      true if the native resources of the two objects are one and the same.