Module qtjambi
Package io.qt

Class QtObject

All Implemented Interfaces:
QtObjectInterface
Direct Known Subclasses:
GLDEBUGPROC.Impl, GLsync, PropertyReaderInterface.Impl, QAbstractCameraController.InputState, QAbstractEventDispatcher.TimerInfo, QAbstractFileEngine, QAbstractFileEngineHandler, QAbstractFileEngineIterator, QAbstractFunctor, QAbstractGraphicsShapeItem, QAbstractOAuth.ModifyParametersFunction.Impl, QAbstractOpenGLFunctions, QAbstractTextDocumentLayout.PaintContext, QAbstractTextDocumentLayout.Selection, QAbstractUndoItem.Impl, QAbstractVideoBuffer, QAbstractXmlNodeModel, QAbstractXmlReceiver, QAccelerometerFilter.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, QAltimeterFilter.Impl, QAmbientLightFilter.Impl, QAmbientTemperatureFilter.Impl, QAnimationCallback, QAnimationClipData, QAspectJob, QAudioBuffer, QAudioDeviceInfo, QAudioEncoderSettings, QAudioFormat, QAudioSystemFactoryInterface.Impl, QAuthenticator, QBackendNode, QBackendNodeMapper, QBackingStore, QBasicTimer, QBitArray, QBluetoothAddress, QBluetoothDeviceInfo, QBluetoothHostInfo, QBluetoothServiceInfo, QBluetoothTransferRequest, QBrush, QByteArray, QByteArrayMatcher, QCalendar, QCalendar.YearMonthDay, QCamera.FrameRateRange, QCameraFocusZone, QCameraInfo, QCameraViewfinderSettings, QCanBusDevice.Filter, QCanBusDeviceInfo, QCanBusFactory.Impl, QCanBusFactoryV2.Impl, QCanBusFrame, QCanBusFrame.TimeStamp, QCborArray, QCborError, QCborMap, QCborParserError, QCborStreamReader, QCborStreamWriter, QCborValue, QChannel, QChannelComponent, QCollator, QCollatorSortKey, QColor, QColormap, QColorSpace, QColorTransform, QCommandLineOption, QCommandLineParser, QCompassFilter.Impl, QCompressedHelpInfo, QCryptographicHash, QCursor, QDataStream, QDate, QDateTime, QDBusArgument, QDBusConnection, QDBusContext.Impl, QDBusError, QDBusMessage, QDBusObjectPath, QDBusPendingCall.Impl, QDBusReply, QDBusSignature, QDBusUnixFileDescriptor, QDBusVariant, QDeadlineTimer, QDesktopServices, QDir, QDirIterator, QDistanceFilter.Impl, QDnsDomainNameRecord, QDnsHostAddressRecord, QDnsMailExchangeRecord, QDnsServiceRecord, QDnsTextRecord, QDomImplementation, QDomNamedNodeMap, QDomNode, QDomNodeList, QDtlsClientVerifier.GeneratorParameters, QEasingCurve, QEasingCurve.EasingFunction.Impl, QElapsedTimer, QEvent, QEventLoopLocker, QFactoryInterface.Impl, QFileDialog.FileContentHandler.Impl, QFileIconProvider, QFileInfo, QFont, QFontDatabase, QFontInfo, QFontMetrics, QFontMetricsF, QFormLayout.TakeRowResult, QFuture, QFutureIterator, QFutureSynchronizer, QFutureSynchronizerVoid, QFutureVoid, QGenericPluginFactory, QGeoAddress, QGeoAreaMonitorInfo, QGeoCoordinate, QGeoLocation, QGeoManeuver, QGeoPositionInfo, QGeoPositionInfoSourceFactory.Impl, QGeoPositionInfoSourceFactoryV2.Impl, QGeoRoute, QGeoRouteRequest, QGeoRouteSegment, QGeoSatelliteInfo, QGeoServiceProviderFactory.Impl, QGeoServiceProviderFactoryV2.Impl, QGeoServiceProviderFactoryV3.Impl, QGeoShape, QGestureRecognizer, QGlyphRun, QGradient, QGraphicsItem.Impl, QGraphicsItemGroup, QGraphicsLayout, QGraphicsLayoutItem.Impl, QGraphicsLineItem, QGraphicsPixmapItem, QGyroscopeFilter.Impl, QHelpContentItem, QHelpFilterData, QHelpLink, QHelpSearchQuery, QHelpSearchResult, QHolsterFilter.Impl, QHostAddress, QHostInfo, QHstsPolicy, QHttp2Configuration, QHttpPart, QHumidityFilter.Impl, QIcon, QIconEngine, QIconEngine.ScaledPixmapArgument, QImage, QImageEncoderSettings, QImageIOHandler, QImageReader, QImageWriter, QInputMethodEvent.Attribute, QIPv6Address, QIRProximityFilter.Impl, QItemEditorCreatorBase.Impl, QItemEditorFactory, QItemSelectionRange, QJsonArray, QJsonDocument, QJsonObject, QJsonParseError, QJsonValue, QJSValue, QJSValueIterator, QKeyFrame, QKeySequence, QLayoutItem.Impl, QLevelOfDetailBoundingSphere, QLibraryInfo, QLidFilter.Impl, QLightFilter.Impl, QLine, QLineF, QLinuxFbFunctions, QListWidgetItem, QLocale, QLockFile, QLowEnergyAdvertisingData, QLowEnergyAdvertisingParameters, QLowEnergyAdvertisingParameters.AddressInfo, QLowEnergyCharacteristic, QLowEnergyCharacteristicData, QLowEnergyConnectionParameters, QLowEnergyDescriptor, QLowEnergyDescriptorData, QLowEnergyServiceData, QMacPasteboardMime, QMagnetometerFilter.Impl, QMargins, QMarginsF, QMatrix2x2, QMatrix2x3, QMatrix2x4, QMatrix3x2, QMatrix3x3, QMatrix3x4, QMatrix4x2, QMatrix4x3, QMatrix4x4, QMediaBindableInterface.Impl, QMediaContent, QMediaResource, QMediaServiceCameraInfoInterface.Impl, QMediaServiceDefaultDeviceInterface.Impl, QMediaServiceFeaturesInterface.Impl, QMediaServiceProviderFactoryInterface.Impl, QMediaServiceProviderHint, QMediaServiceSupportedDevicesInterface.Impl, QMediaServiceSupportedFormatsInterface.Impl, QMediaTimeInterval, QMediaTimeRange, QMessageAuthenticationCode, QMetaType, QMetaType.GenericValue, QMimeDatabase, QMimeType, QModbusDataUnit, QModbusDeviceIdentification, QModbusPdu, QModbusRequestCalculatorFunction.Impl, QModbusResponseCalculatorFunction.Impl, QModbusTcpConnectionObserver.Impl, QMutex, QNetworkAddressEntry, QNetworkCacheMetaData, QNetworkConfiguration, QNetworkCookie, QNetworkDatagram, QNetworkInterface, QNetworkProxy, QNetworkProxyFactory, QNetworkProxyQuery, QNetworkRequest, QNodeId, QNodeIdTypePair, QOAuth1Signature, QObject, QOcspResponse, QOpenGLBuffer, QOpenGLDebugMessage, QOpenGLFramebufferObject, QOpenGLFramebufferObjectFormat, QOpenGLFunctions, QOpenGLPaintDevice, QOpenGLPixelTransferOptions, QOpenGLTexture, QOpenGLTextureBlitter, QOpenGLVersionProfile, QOpenGLVersionStatus, QOpenGLVertexArrayObject.Binder, QOperatingSystemVersion, QOrientationFilter.Impl, QOutputRange, QPagedPaintDevice.Impl, QPagedPaintDevice.Margins, QPageLayout, QPageSize, QPaintDevice.Impl, QPaintEngine, QPaintEngineState, QPainter, QPainter.PixmapFragment, QPainterPath, QPainterPath.Element, QPainterPathStroker, QPalette, QPen, QPersistentModelIndex, QPicture, QPictureIO, QPictureIOHandler.Impl, QPixelFormat, QPixmap, QPixmapCache, QPixmapCache.Key, QPlace, QPlaceAttribute, QPlaceCategory, QPlaceContactDetail, QPlaceContent, QPlaceContentRequest, QPlaceIcon, QPlaceMatchRequest, QPlaceRatings, QPlaceSearchRequest, QPlaceSearchResult, QPlaceSupplier, QPlaceUser, QPoint, QPointF, QPointingDeviceUniqueId, QPressureFilter.Impl, QPrintEngine, QPrinter, QPrinterInfo, QProcessEnvironment, QProximityFilter.Impl, QQmlAbstractUrlInterceptor.Impl, QQmlContext.PropertyPair, QQmlDebuggingEnabler, QQmlEngineExtensionInterface.Impl, QQmlError, QQmlExtensionInterface.Impl, QQmlFile, QQmlImageProviderBase.Impl, QQmlIncubationController.Impl, QQmlIncubator, QQmlListProperty, QQmlListReference, QQmlNetworkAccessManagerFactory.Impl, QQmlParserStatus.Impl, QQmlProperty, QQmlPropertyValueSource.Impl, QQmlScriptString, QQmlTypesExtensionInterface.Impl, QQuaternion, QQuickFramebufferObject.Renderer, QQuickImageProvider, QQuickItem.UpdatePaintNodeData, QQuickWindow.GraphicsStateInfo, QRawFont, QRayCasterHit, QReadWriteLock, QRect, QRectF, QRegExp, QRegion, QRegularExpression, QRegularExpressionMatch, QRegularExpressionMatchIterator, QRemoteObjectHostBase.RemoteObjectNameFilter.Impl, QRemoteObjectNode.RemoteObjectSchemaHandler.Impl, QRemoteObjectPendingCall.Impl, QRemoteObjectSourceLocationInfo, QResource, QRgba64, QRotationFilter.Impl, QRunnable.Impl, QSceneChange, QScriptable.Impl, QScriptClass, QScriptClassPropertyIterator, QScriptContext, QScriptContextInfo, QScriptEngine.FunctionSignature.Impl, QScriptEngineAgent, QScriptExtensionInterface.Impl, QScriptProgram, QScriptString, QScriptSyntaxCheckResult, QScriptValue, QScrollerProperties, QScxmlCompiler, QScxmlCompiler.Loader.Impl, QScxmlDataModel.ForeachLoopBody.Impl, QScxmlError, QScxmlEvent, QScxmlExecutableContent.AssignmentInfo, QScxmlExecutableContent.EvaluatorInfo, QScxmlExecutableContent.ForeachInfo, QScxmlExecutableContent.InvokeInfo, QScxmlExecutableContent.ParameterInfo, QScxmlTableData.Impl, QSemaphore, QSensorBackendFactory.Impl, QSensorChangesInterface.Impl, QSensorFilter.Impl, QSensorGesturePluginInterface.Impl, QSensorManager, QSensorPluginInterface.Impl, QSerialPortInfo, QSettings.ReadFunc.Impl, QSettings.WriteFunc.Impl, QSGGeometry, QSGGeometry.Attribute, QSGGeometry.AttributeSet, QSGGeometry.ColoredPoint2D, QSGGeometry.Point2D, QSGGeometry.TexturedPoint2D, QSGMaterial, QSGMaterialRhiShader.GraphicsPipelineState, QSGMaterialRhiShader.RenderState, QSGMaterialShader, QSGMaterialShader.RenderState, QSGMaterialType, QSGNode, QSGNodeVisitor, QSGRendererInterface.Impl, QSGRenderNode.RenderState, QSignalBlocker, QSize, QSizeF, QSizePolicy, QSourceLocation, QSpacerItem, QSqlDatabase, QSqlDriverCreatorBase, QSqlError, QSqlField, QSqlQuery, QSqlRecord, QSqlRelation, QSqlResult, QSslCertificate, QSslCertificateExtension, QSslCipher, QSslConfiguration, QSslDiffieHellmanParameters, QSslEllipticCurve, QSslError, QSslKey, QSslPreSharedKeyAuthenticator, QStandardItem, QStandardPaths, QStaticPlugin, QStaticText, QStorageInfo, QStringMatcher, QStyleFactory, QStyleHintReturn, QStyleOption, QSurface.Impl, QSurfaceFormat, QSvgGenerator, QTableWidgetItem, QTableWidgetSelectionRange, QTapFilter.Impl, QtConcurrent.MedianDouble, QTemporaryDir, QTextBlock, QTextBlock.iterator, QTextBlockUserData, QTextBoundaryFinder, QTextCodec, QTextCodec.ConverterState, QTextCursor, QTextDecoder, QTextDocumentFragment, QTextDocumentWriter, QTextEdit.ExtraSelection, QTextEncoder, QTextFormat, QTextFragment, QTextFrame.iterator, QTextInlineObject, QTextItem, QTextLayout, QTextLayout.FormatRange, QTextLength, QTextLine, QTextObjectInterface.Impl, QTextOption, QTextOption.Tab, QTextStream, QTextTableCell, QTextToSpeechPlugin, QTextureData, QTextureDataUpdate, QTextureImageData, QtGadget, QThreadStorage, QTileRules, QTiltFilter.Impl, QTime, QTimeZone, QTimeZone.OffsetData, QtJambiAbstractMapObject, QtJambiAbstractMultiMapObject, QtJambiCollectionObject, QtJambiIteratorObject, QToolTip, QTouchDevice, QTouchEvent.TouchPoint, QtQml.ObjectCallback.Impl, QtQml.QQmlAttachedPropertiesFunc.Impl, QtQml.ValueCallback.Impl, QTransform, QTreeWidgetItem, QTreeWidgetItemIterator, QUndoCommand, QUrl, QUrlQuery, QUuid, QVector2D, QVector3D, QVector4D, QVersionNumber, QVideoEncoderSettings, QVideoFilterRunnable, QVideoFrame, QVideoSurfaceFormat, QVoice, QWaitCondition, QWebEngineCertificateError, QWebEngineClientCertificateSelection, QWebEngineClientCertificateStore, QWebEngineContextMenuData, QWebEngineCookieStore.CookieFilter.Impl, QWebEngineCookieStore.FilterRequest, QWebEngineFindTextResult, QWebEngineFullScreenRequest, QWebEngineHistory, QWebEngineHistoryItem, QWebEngineHttpRequest, QWebEngineProfile.NotificationPresenter.Impl, QWebEngineQuotaRequest, QWebEngineRegisterProtocolHandlerRequest, QWebEngineScript, QWebEngineScriptCollection, QWebEngineSettings, QWebEngineUrlRequestInfo, QWebEngineUrlScheme, QWebSocketCorsAuthenticator, QWhatsThis, QWidgetItem, QWinJumpListCategory, QWinJumpListItem, QX11Info, QXmlAttributes, QXmlContentHandler.Impl, QXmlDeclHandler.Impl, QXmlDefaultHandler, QXmlDTDHandler.Impl, QXmlEntityResolver.Impl, QXmlErrorHandler.Impl, QXmlInputSource, QXmlItem, QXmlLexicalHandler.Impl, QXmlLocator, QXmlName, QXmlNamePool, QXmlNamespaceSupport, QXmlNodeModelIndex, QXmlParseException, QXmlQuery, QXmlReader, QXmlResultItems, QXmlSchema, QXmlSchemaValidator, 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.