Deprecated API
Contents
-
FieldDescriptionUse suspending() instead.Handle QEvent::ApplicationFontChange insteadHandle QEvent::ApplicationPaletteChange insteadUse documentActivated() insteadUse documentsActivated() instead
-
MethodDescriptionUse
QXYSeries.points()
insteadUse 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 insteadUseQTimeZone.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().UseQDropEvent.modifiers()
insteadUseQDropEvent.buttons()
insteadUse position().toPoint()UseQDropEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadHandle QPaintEvent insteadUseQFont.weight()
insteadUseQFont.setWeight(io.qt.gui.QFont.Weight)
insteadUseQFontInfo.weight()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUse actualSize(size) insteadUse actualSize(size) insteadUse actualSize(size) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUse pixmap(size, devicePixelRatio) insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteadUse globalPosition().toPoint()UseQSinglePointEvent.position()
insteadUse position().toPoint()UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.scenePosition()
insteadUse setColorSpace(QColorSpace) instead.UseQSinglePointEvent.globalPosition()
insteadUseQSinglePointEvent.globalPosition()
insteadUse globalPosition().x()Use globalPosition().y()use globalPosition().x()use globalPosition().y()UseQSinglePointEvent.position()
insteadUseQSinglePointEvent.position()
insteaduse pointingDevice().uniqueId()Use position().x()Use position().y()UseQTextCharFormat.fontFamilies()
insteadUseQPointerEvent.points()
insteadUseQFlags.testFlags(QFlags)
instead.UseQFlags.testFlags(QtAbstractFlagEnumerator...)
instead.UseQtUtilities.jambiDeploymentDir()
instead.UseQSqlField.setMetaType(io.qt.core.QMetaType)
insteadUseQSqlField.metaType()
insteadQSqlQuery 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.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.