Deprecated API
Contents
-
Deprecated Classes
-
Deprecated Enums
-
Deprecated Annotation Types
-
Deprecated FieldsFieldDescriptionThe native name of this enum entry is misleading. Use
QJSEngine.ObjectOwnership.JavaOwnership
instead.
-
Deprecated MethodsMethodDescriptionUse
QBitArray.assign(io.qt.core.QBitArray)
instead.Use the QByteArrayView overload.Use the QByteArrayView overload.Use the QByteArrayView overload.Use the QByteArrayView overload.Use the QByteArrayView overload.Use the QByteArrayView overload.UseQByteArray.assign(io.qt.core.QByteArray)
instead.UseQByteArray.assign(java.lang.String)
instead.UseQByteArray.toArray()
instead.UseQCborArray.assign(io.qt.core.QCborArray)
instead.UseQCborMap.assign(io.qt.core.QCborMap)
instead.UseQCborValue.assign(boolean)
instead.UseQCborValue.assign(double)
instead.UseQCborValue.assign(int)
instead.UseQCborValue.assign(long)
instead.UseQCborValue.assign(io.qt.core.QByteArray)
instead.UseQCborValue.assign(io.qt.core.QCborArray)
instead.UseQCborValue.assign(io.qt.core.QCborKnownTags)
instead.UseQCborValue.assign(io.qt.core.QCborMap)
instead.UseQCborValue.assign(io.qt.core.QCborSimpleType)
instead.UseQCborValue.assign(io.qt.core.QCborTag)
instead.UseQCborValue.assign(io.qt.core.QCborValue)
instead.UseQCborValue.assign(io.qt.core.QCborValue.Type)
instead.UseQCborValue.assign(java.lang.String)
instead.UseQChildEvent.assign(io.qt.core.QChildEvent)
instead.UseQDataStream.readRawData(byte[])
instead.UseQDataStream.readRawData(byte[], int, int)
instead.UseQDataStream.readRawData(java.nio.ByteBuffer)
instead.UseQDataStream.writeRawData(byte[])
instead.UseQDataStream.writeRawData(byte[], int, int)
instead.UseQDataStream.writeRawData(java.nio.ByteBuffer)
instead.UseQEvent.assign(io.qt.core.QEvent)
instead.Use isSuspending() or isSuspended() instead.Use suspend() instead.Use setSuspended() instead.Use toggleSuspended() instead.Use setSuspended() instead.Use toggleSuspended() instead.useQIODevice.fromBuffer(java.nio.Buffer)
instead.UseQJsonObject.set(java.lang.String, boolean)
instead.UseQJsonObject.set(java.lang.String, double)
instead.UseQJsonObject.set(java.lang.String, int)
instead.UseQJsonObject.set(java.lang.String, long)
instead.UseQJsonObject.set(java.lang.String, java.lang.String)
instead.UseQMetaType.qMetaTypeId(Class, QMetaType...)
instead.UseQMetaType.qRegisterMetaType(Class, QMetaType...)
instead.UseQPluginLoader.qRegisterPluginInterface(Class)
instead.UseQPluginLoader.qRegisterStaticPluginFunction(QObject)
instead.UseQPluginLoader.qRegisterStaticPluginFunction(Class)
instead.io.qt.core.QPluginLoader.registerStaticPluginFunction(Class<? extends QObject>, Map<String, Object>) Use size() or length() instead.UseQTimerEvent.assign(io.qt.core.QTimerEvent)
instead.Usenew QUrl("qrc:path")
instead.UseQDataStream.readObject(Class, QMetaType...)
instead.UseQDataStream.readObject(Class, QMetaType...)
instead.UseQDataStream.writeObject(Object)
instead.UseQDataStream.writeObject(Object)
instead.Use typeId() or metaType().Use associatedObjects() with qobject_cast() insteadUse associatedObjects() with qobject_cast() insteadUse parent() with qobject_cast() insteadUseQActionEvent.assign(io.qt.gui.QActionEvent)
instead.UseQClipboard.text(io.qt.core.QString)
insteadUseQClipboard.text(io.qt.core.QString, Mode)
insteadUseQCloseEvent.assign(io.qt.gui.QCloseEvent)
instead.Use the overload without argument instead.Use the overload without argument instead.UseQDragEnterEvent.assign(io.qt.gui.QDragEnterEvent)
instead.UseQDragLeaveEvent.assign(io.qt.gui.QDragLeaveEvent)
instead.UseQDragMoveEvent.assign(io.qt.gui.QDragMoveEvent)
instead.UseQDropEvent.modifiers()
insteadUseQDropEvent.buttons()
insteadUse position().toPoint()UseQDropEvent.position()
insteadUseQDropEvent.assign(io.qt.gui.QDropEvent)
instead.UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQEnterEvent.assign(io.qt.gui.QEnterEvent)
instead.UseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQEventPoint.assign(io.qt.gui.QEventPoint)
instead.Handle QPaintEvent insteadUseQExposeEvent.assign(io.qt.gui.QExposeEvent)
instead.UseQFileOpenEvent.assign(io.qt.gui.QFileOpenEvent)
instead.UseQFocusEvent.assign(io.qt.gui.QFocusEvent)
instead.UseQHelpEvent.assign(io.qt.gui.QHelpEvent)
instead.UseQHideEvent.assign(io.qt.gui.QHideEvent)
instead.UseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQHoverEvent.assign(io.qt.gui.QHoverEvent)
instead.UseQIconDragEvent.assign(io.qt.gui.QIconDragEvent)
instead.UseQInputEvent.assign(io.qt.gui.QInputEvent)
instead.UseQKeyEvent.assign(io.qt.gui.QKeyEvent)
instead.Use matrix.map(point) insteadUse matrix.map(point) insteadUse matrix.map(vector) insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQMouseEvent.assign(io.qt.gui.QMouseEvent)
instead.UseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQMoveEvent.assign(io.qt.gui.QMoveEvent)
instead.Use globalPosition().toPoint()UseQSinglePointEvent.position()
insteadUse position().toPoint()UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUseQPaintEvent.assign(io.qt.gui.QPaintEvent)
instead.UseQPointerEvent.assign(io.qt.gui.QPointerEvent)
instead.UseQResizeEvent.assign(io.qt.gui.QResizeEvent)
instead.UseQScrollEvent.assign(io.qt.gui.QScrollEvent)
instead.Use parent() and qobject_cast insteadUseQShortcutEvent.assign(io.qt.gui.QShortcutEvent)
instead.UseQStatusTipEvent.assign(io.qt.gui.QStatusTipEvent)
instead.UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUse globalPosition().x()Use globalPosition().y()use globalPosition().x()use globalPosition().y()UseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQTabletEvent.assign(io.qt.gui.QTabletEvent)
instead.use pointingDevice().uniqueId()Use position().x()Use position().y()UseQTextCharFormat.fontFamilies()
insteadPass a quality value, the default is 100UseQTouchEvent.assign(io.qt.gui.QTouchEvent)
instead.UseQPointerEvent.points()
insteadExtend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingExtend the QVector3D to a QVector4D with 1.0 as the w coordinate before multiplyingUseQWheelEvent.assign(io.qt.gui.QWheelEvent)
instead.UseQVideoFrame.rotation()
insteadUseQVideoFrame.assign(io.qt.multimedia.QVideoFrame)
instead.UseQAuthenticator.assign(io.qt.network.QAuthenticator)
instead.UseQHttpPart.assign(io.qt.network.QHttpPart)
instead.UseQFlags.testFlags(QtAbstractFlagEnumerator...)
instead.UseQFlags.testFlags(QFlags)
instead.UseQJSPrimitiveValue.plus(boolean)
instead.UseQJSPrimitiveValue.plus(double)
instead.UseQJSPrimitiveValue.plus(int)
instead.UseQJSPrimitiveValue.plus(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.plus(java.lang.String)
instead.UseQJSPrimitiveValue.div(boolean)
instead.UseQJSPrimitiveValue.div(double)
instead.UseQJSPrimitiveValue.div(int)
instead.UseQJSPrimitiveValue.div(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.div(java.lang.String)
instead.UseQJSPrimitiveValue.rem(boolean)
instead.UseQJSPrimitiveValue.rem(double)
instead.UseQJSPrimitiveValue.rem(int)
instead.UseQJSPrimitiveValue.rem(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.rem(java.lang.String)
instead.UseQJSPrimitiveValue.times(boolean)
instead.UseQJSPrimitiveValue.times(double)
instead.UseQJSPrimitiveValue.times(int)
instead.UseQJSPrimitiveValue.times(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.times(java.lang.String)
instead.UseQJSPrimitiveValue.minus(boolean)
instead.UseQJSPrimitiveValue.minus(double)
instead.UseQJSPrimitiveValue.minus(int)
instead.UseQJSPrimitiveValue.minus(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.minus(java.lang.String)
instead.UseQtUtilities.jambiDeploymentDir()
instead.io.qt.sensors.QAccelerometerFilter.Impl.filter(QSensorReading) io.qt.sensors.QAmbientLightFilter.Impl.filter(QSensorReading) io.qt.sensors.QAmbientTemperatureFilter.Impl.filter(QSensorReading) io.qt.sensors.QCompassFilter.Impl.filter(QSensorReading) io.qt.sensors.QGyroscopeFilter.Impl.filter(QSensorReading) io.qt.sensors.QHumidityFilter.Impl.filter(QSensorReading) io.qt.sensors.QIRProximityFilter.Impl.filter(QSensorReading) io.qt.sensors.QLidFilter.Impl.filter(QSensorReading) io.qt.sensors.QLightFilter.Impl.filter(QSensorReading) io.qt.sensors.QMagnetometerFilter.Impl.filter(QSensorReading) io.qt.sensors.QOrientationFilter.Impl.filter(QSensorReading) io.qt.sensors.QPressureFilter.Impl.filter(QSensorReading) io.qt.sensors.QProximityFilter.Impl.filter(QSensorReading) io.qt.sensors.QRotationFilter.Impl.filter(QSensorReading) io.qt.sensors.QTapFilter.Impl.filter(QSensorReading) io.qt.sensors.QTiltFilter.Impl.filter(QSensorReading) UseQSqlField.setMetaType(io.qt.core.QMetaType)
insteadUseQSqlField.metaType()
insteadUseQTest.QFETCH(String, Class, io.qt.core.QMetaType...)
instead.Don't use QVERIFY_EXCEPTION_THROWN(expr, type) anymore, use QVERIFY_THROWS_EXCEPTION(type, expr...) insteadUseQWebSocketServer.socketDescriptor()
insteadUseQWebSocketServer.setSocketDescriptor(long)
insteadUse the overload taking Qt::AlignmentUseQStyleOption.assign(io.qt.widgets.QStyleOption)
instead.Use the overload taking Qt::AlignmentUse the overload taking Qt::Alignment
-
Deprecated ConstructorsConstructorDescriptionUse the constructor taking a QMetaType instead.Use QString insteadUse QString insteadUse the constructor using a QMetaType insteadUse the constructor using a QMetaType insteadRequesting host quota is no longer supported.
-
Deprecated Enum ConstantsEnum ConstantDescription