Deprecated API
Contents
-
FieldDescriptionUse suspending() instead.Handle QEvent::ApplicationFontChange insteadHandle QEvent::ApplicationPaletteChange insteadUse documentActivated() insteadUse documentsActivated() instead
-
MethodDescriptionUse
QXYSeries.points()
insteadUseQBitArray.assign(io.qt.core.QBitArray)
instead.UseQByteArray.assign(io.qt.core.QByteArray)
instead.UseQByteArray.assign(io.qt.core.QByteArray)
instead.Useinvalid @link
{@link #assign(java.nio.@Nullable Buffer)
UseQByteArray.assign(String)
instead.UseQCborArray.assign(io.qt.core.QCborArray)
instead.UseQCborMap.assign(io.qt.core.QCborMap)
instead.UseQCborValue.assign(io.qt.core.QCborValue)
instead.UseQChildEvent.assign(io.qt.core.QChildEvent)
instead.UseQEvent.assign(io.qt.core.QEvent)
instead.Use isSuspending() or isSuspended() instead.Use suspend() instead.Use setSuspended() instead.Use toggleSuspended() instead.Use isSuspending() or isSuspended() instead.Use setSuspended() instead.Use toggleSuspended() instead.Use isSuspending() or isSuspended() instead.Use suspended() instead.Use setSuspended() instead.Use toggleSuspended() instead.UseQLocale.codeToTerritory(java.lang.String)
insteadQuery territory() on each entry from matchingLocales() insteadUseQLocale.territory()
insteadUse territoryToCode(Territory) insteadUse territoryToString(Territory) insteadUseQLocale.nativeTerritoryName()
insteadUseQMetaType.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 char16_t* overload.Use QHashSeed insteadUse QHashSeed insteadUseQTimerEvent.assign(io.qt.core.QTimerEvent)
instead.UseQTimeZone.territory()
insteadUsenew 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().UseQActionEvent.assign(io.qt.gui.QActionEvent)
instead.UseQCloseEvent.assign(io.qt.gui.QCloseEvent)
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.UseQFont.weight()
insteadUseQFont.setWeight(io.qt.gui.QFont.Weight)
insteadUseQFontInfo.weight()
insteadUseQHelpEvent.assign(io.qt.gui.QHelpEvent)
instead.UseQHideEvent.assign(io.qt.gui.QHideEvent)
instead.UseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQHoverEvent.assign(io.qt.gui.QHoverEvent)
instead.Use actualSize(size) insteadUse actualSize(size) insteadUse actualSize(size) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUseQIconDragEvent.assign(io.qt.gui.QIconDragEvent)
instead.UseQInputEvent.assign(io.qt.gui.QInputEvent)
instead.UseQKeyEvent.assign(io.qt.gui.QKeyEvent)
instead.UseQSinglePointEvent.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.UseQShortcutEvent.assign(io.qt.gui.QShortcutEvent)
instead.UseQStatusTipEvent.assign(io.qt.gui.QStatusTipEvent)
instead.Use setColorSpace(QColorSpace) 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()
insteadUseQTouchEvent.assign(io.qt.gui.QTouchEvent)
instead.UseQPointerEvent.points()
insteadExtend the QVector3D to a QVector4D before multiplyingUseQWheelEvent.assign(io.qt.gui.QWheelEvent)
instead.UseQVideoFrame.assign(io.qt.multimedia.QVideoFrame)
instead.UseQAuthenticator.assign(io.qt.network.QAuthenticator)
instead.UseQHttpPart.assign(io.qt.network.QHttpPart)
instead.UseQFlags.testFlags(QFlags)
instead.UseQFlags.testFlags(QtAbstractFlagEnumerator...)
instead.UseQJSPrimitiveValue.plus(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.div(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.rem(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.times(io.qt.qml.QJSPrimitiveValue)
instead.UseQJSPrimitiveValue.minus(io.qt.qml.QJSPrimitiveValue)
instead.UseQtUtilities.jambiDeploymentDir()
instead.UseQSqlField.setMetaType(io.qt.core.QMetaType)
insteadUseQSqlField.metaType()
insteadQSqlQuery is not meant to be copied. Use move assignment instead.QSqlQuery is not meant to be copied. Pass it by move instead.UseQTest.QFETCH(String, Class, io.qt.core.QMetaType...)
instead.UseQWebSocketServer.socketDescriptor()
insteadUseQWebSocketServer.setSocketDescriptor(long)
insteadUse the QFontMetricsF constructor instead.UseQStyleOption.assign(io.qt.widgets.QStyleOption)
instead.UseQWidget.isWindow()
instead
-
ConstructorDescriptionUse the constructor taking a QMetaType instead.Use fromPixmap instead.Call the static functions insteadUse the other constructorUse another constructorUse another constructorUse the constructor using a QMetaType insteadUse the constructor using a QMetaType insteadQSqlQuery is not meant to be copied. Use move construction instead.
-
Enum ConstantDescriptionDiscoveringService was renamed to RemoteServiceDiscovering.DiscoveryRequired was renamed to RemoteService.ServiceDiscovered was renamed to RemoteServiceDiscovered.Use RelocatableType instead.Use AnchorAtOffsetMatchOption instead"High-DPI scaling is always enabled. " This attribute no longer has any effect."High-DPI scaling is always enabled. " This attribute no longer has any effect."High-DPI pixmaps are always enabled. " This attribute no longer has any effect.Use CompareNotEqual instead.