Qt 6.7 中的新类和函数

此页面包含 Qt 6.7 引入的所有新类和函数的综合列表。

新名称空间

(从 6.7 起) namespace QtVideo

新类

A
QAndroidScreen ( QNativeInterface )
QAtomicScopedValueRollback
C
QChildWindowEvent
G
QGrpcBidirStream
QGrpcChannelOperation
QGrpcClientInterceptor
QGrpcClientInterceptorManager
QGrpcClientStream
QGrpcInterceptorContinuation
QGrpcServerStream
H
QHttpHeaders
N
QNetworkRequestFactory
O
QOpcUaDiagnosticInfo
QOpcUaEnumDefinition
QOpcUaEnumField
QOpcUaGenericStructHandler
QOpcUaGenericStructValue
QOpcUaHistoryEvent
QOpcUaHistoryReadEventRequest
QOpcUaStructureDefinition
QOpcUaStructureField
QOpcUaVariant
P
partial_ordering ( Qt )
QProtobufBaseSerializer
QProtobufJsonSerializer
Q
QQuick3DRenderExtension
QQuickRhiItem
QQuickRhiItemRenderer
R
QRestAccessManager
QRestReply
QRhiWidget
S
QSGTextNode
QSpan
QSSGCameraHelpers
QSSGFrameData
QSSGModelHelpers
QSSGRenderContextInterface
QSSGRenderExtension
QSSGRenderExtensionHelpers
QSSGRenderHelpers
QSSGRhiContext
QSSGRhiGraphicsPipelineState
QSSGRhiSamplerDescription
QStaticLatin1StringMatcher
strong_ordering ( Qt )
T
Tag ( QFont )
W
QWaylandScreen ( QNativeInterface )
QWebEngineDesktopMediaRequest
QWebEngineWebAuthPinRequest
QWebEngineWebAuthUxRequest
QWindowsScreen ( QNativeInterface )
weak_ordering ( Qt )

新成员函数

QAbstractGrpcChannel :

(从 6.7 起) virtual void call (std::shared_ptr<QGrpcChannelOperation> channelOperation ) = 0
(从 6.7 起) virtual void startBidirStream (std::shared_ptr<QGrpcChannelOperation> channelOperation ) = 0
(从 6.7 起) virtual void startClientStream (std::shared_ptr<QGrpcChannelOperation> channelOperation ) = 0
(从 6.7 起) virtual void startServerStream (std::shared_ptr<QGrpcChannelOperation> channelOperation ) = 0

QAbstractGrpcClient :

(从 6.7 起) const std::shared_ptr<QAbstractGrpcChannel> & channel ()
(从 6.7 起) void channelChanged ()

QAnyStringView :

(从 6.7 起) QDebug operator<< (QDebug d , QAnyStringView s )

QAtomicInteger :

(从 6.7 起) void qYieldCpu ()

QByteArrayView :

(从 6.7 起) std::string_view operator std::string_view () const

QCalendar :

(从 6.7 起) QDate matchCenturyToWeekday (const QCalendar::YearMonthDay & parts , int dow ) const

QCanDbcFileParser :

(从 6.7 起) bool parseData (QStringView data )

QCborStreamReader :

(从 6.7 起) QByteArray readAllByteArray ()
(从 6.7 起) QString readAllString ()
(从 6.7 起) QByteArray readAllUtf8String ()
(从 6.7 起) bool readAndAppendToByteArray (QByteArray & dst )
(从 6.7 起) bool readAndAppendToString (QString & dst )
(从 6.7 起) bool readAndAppendToUtf8String (QByteArray & dst )
(从 6.7 起) QCborStreamReader::StringResult<QByteArray> readUtf8String ()

QCheckBox :

(从 6.7 起) void checkStateChanged (Qt::CheckState state )

QCoreApplication :

(从 6.7 起) void processEvents (QEventLoop::ProcessEventsFlags flags , QDeadlineTimer deadline )

QDBusAbstractInterface :

(从 6.7 起) bool isInteractiveAuthorizationAllowed () const
(从 6.7 起) void setInteractiveAuthorizationAllowed (bool enable )

QDataStream :

(从 6.7 起) QDataStream & readBytes (char *& s , qint64 & l )

QDate :

(从 6.7 起) QDate fromString (QStringView string , QStringView format , int baseYear )
(从 6.7 起) QDate fromString (QStringView string , QStringView format , int baseYear , QCalendar cal )
(从 6.7 起) QDate fromString (const QString & string , QStringView format , int baseYear )
(从 6.7 起) QDate fromString (const QString & string , const QString & format , int baseYear )

QDateTime :

(从 6.7 起) QDateTime fromString (QStringView string , QStringView format , int baseYear )
(从 6.7 起) QDateTime fromString (QStringView string , QStringView format , int baseYear , QCalendar cal )
(从 6.7 起) QDateTime fromString (const QString & string , QStringView format , int baseYear )
(从 6.7 起) QDateTime fromString (const QString & string , const QString & format , int baseYear )

QDebug :

(从 6.7 起) QDebug & operator<< (std::nullopt_t)
(从 6.7 起) QDebug & operator<< (T i128 )
(从 6.7 起) QDebug & operator<< (T u128 )
(从 6.7 起) bool quoteStrings () const
(从 6.7 起) void setQuoteStrings (bool b )

QEventLoop :

(从 6.7 起) void processEvents (QEventLoop::ProcessEventsFlags flags , QDeadlineTimer deadline )

QEventLoopLocker :

(从 6.7 起) QEventLoopLocker & operator= (QEventLoopLocker && other )
(从 6.7 起) void swap (QEventLoopLocker & other )
(从 6.7 起) void swap (QEventLoopLocker & lhs , QEventLoopLocker & rhs )

QFont :

(从 6.7 起) void clearFeatures ()
(从 6.7 起) void clearVariableAxes ()
(从 6.7 起) QList<QFont::Tag> featureTags () const
(从 6.7 起) quint32 featureValue (QFont::Tag tag ) const
(从 6.7 起) bool isFeatureSet (QFont::Tag tag ) const
(从 6.7 起) bool isVariableAxisSet (QFont::Tag tag ) const
(从 6.7 起) void setFeature (QFont::Tag tag , quint32 value )
(从 6.7 起) void setVariableAxis (QFont::Tag tag , float value )
(从 6.7 起) void unsetFeature (QFont::Tag tag )
(从 6.7 起) void unsetVariableAxis (QFont::Tag tag )
(从 6.7 起) QList<QFont::Tag> variableAxisTags () const
(从 6.7 起) float variableAxisValue (QFont::Tag tag ) const

QHttpServerRequest :

(从 6.7 起) QSslConfiguration sslConfiguration () const

QIcon :

(从 6.7 起) QIcon fromTheme (QIcon::ThemeIcon icon )
(从 6.7 起) QIcon fromTheme (QIcon::ThemeIcon icon , const QIcon & fallback )
(从 6.7 起) bool hasThemeIcon (QIcon::ThemeIcon icon )

QJniObject :

(从 6.7 起) auto callStaticMethod (const char * methodName , Args &&... args )

QMetaObject :

(从 6.7 起) bool invokeMethod (QObject * context , Functor && function , Qt::ConnectionType type , QTemplatedMetaMethodReturnArgument<FunctorReturnType> ret , Args &&... arguments )
(从 6.7 起) bool invokeMethod (QObject * context , Functor && function , QTemplatedMetaMethodReturnArgument<FunctorReturnType> ret , Args &&... arguments )
(从 6.7 起) bool invokeMethod (QObject * context , Functor && function , Qt::ConnectionType type , Args &&... arguments )
(从 6.7 起) bool invokeMethod (QObject * context , Functor && function , Args &&... arguments )

QNetworkAccessManager :

(从 6.7 起) QNetworkReply * get (const QNetworkRequest & request , QIODevice * data )
(从 6.7 起) QNetworkReply * get (const QNetworkRequest & request , const QByteArray & data )
(从 6.7 起) void setTransferTimeout (std::chrono::milliseconds duration )
(从 6.7 起) std::chrono::milliseconds transferTimeoutAsDuration () const

QNetworkRequest :

(从 6.7 起) void setTransferTimeout (std::chrono::milliseconds duration )
(从 6.7 起) std::chrono::milliseconds transferTimeoutAsDuration () const

QObject :

(从 6.7 起) T findChild (Qt::FindChildOptions options ) const

QOpcUaAttributeOperand :

(从 6.7 起) bool operator!= (const QOpcUaAttributeOperand & lhs , const QOpcUaAttributeOperand & rhs )
(从 6.7 起) bool operator== (const QOpcUaAttributeOperand & lhs , const QOpcUaAttributeOperand & rhs )

QOpcUaClient :

(从 6.7 起) QOpcUaHistoryReadResponse * readHistoryEvents (const QOpcUaHistoryReadEventRequest & request )
(从 6.7 起) bool registerNodes (const QStringList & nodesToRegister )
(从 6.7 起) void registerNodesFinished (const QStringList & nodesToRegister , const QStringList & registeredNodeIds , QOpcUa::UaStatusCode statusCode )
(从 6.7 起) bool unregisterNodes (const QStringList & nodesToUnregister )
(从 6.7 起) void unregisterNodesFinished (const QStringList & nodesToUnregister , QOpcUa::UaStatusCode statusCode )

QOpcUaContentFilterElement :

(从 6.7 起) bool operator!= (const QOpcUaContentFilterElement & lhs , const QOpcUaContentFilterElement & rhs )

QOpcUaDataValue :

(从 6.7 起) QVariant operator QVariant () const
(从 6.7 起) bool operator!= (const QOpcUaDataValue & lhs , const QOpcUaDataValue & rhs )
(从 6.7 起) bool operator== (const QOpcUaDataValue & lhs , const QOpcUaDataValue & rhs )
(从 6.7 起) quint16 serverPicoseconds () const
(从 6.7 起) void setServerPicoseconds (quint16 serverPicoseconds )
(从 6.7 起) void setSourcePicoseconds (quint16 sourcePicoseconds )
(从 6.7 起) quint16 sourcePicoseconds () const

QOpcUaElementOperand :

(从 6.7 起) bool operator!= (const QOpcUaElementOperand & lhs , const QOpcUaElementOperand & rhs )
(从 6.7 起) bool operator== (const QOpcUaElementOperand & lhs , const QOpcUaElementOperand & rhs )

QOpcUaGenericStructHandler :

(从 6.7 起) bool initialized () const

QOpcUaHistoryReadRawRequest :

(从 6.7 起) void setTimestampsToReturn (QOpcUa::TimestampsToReturn timestampsToReturn )
(从 6.7 起) QOpcUa::TimestampsToReturn timestampsToReturn () const

QOpcUaHistoryReadResponse :

(从 6.7 起) QList<QOpcUaHistoryEvent> events () const
(从 6.7 起) void readHistoryEventsFinished (const QList<QOpcUaHistoryEvent> & 结果 , QOpcUa::UaStatusCode serviceResult )

QOpcUaLiteralOperand :

(从 6.7 起) bool operator!= (const QOpcUaLiteralOperand & lhs , const QOpcUaLiteralOperand & rhs )
(从 6.7 起) bool operator== (const QOpcUaLiteralOperand & lhs , const QOpcUaLiteralOperand & rhs )

QOpcUaMonitoringParameters :

(从 6.7 起) QHash<quint32, QOpcUa::UaStatusCode> failedTriggeredItemsStatus () const
(从 6.7 起) void setFailedTriggeredItemsStatus (const QHash<quint32, QOpcUa::UaStatusCode> & status )
(从 6.7 起) void setTriggeredItemIds (const QSet<quint32> & ids )
(从 6.7 起) QSet<quint32> triggeredItemIds () const

QOpcUaNode :

(从 6.7 起) QOpcUaHistoryReadResponse * readHistoryEvents (const QDateTime & startTime , const QDateTime & endTime , QOpcUaMonitoringParameters::EventFilter & filter , quint32 numValues )
(从 6.7 起) QOpcUaHistoryReadResponse * readHistoryRaw (const QDateTime & startTime , const QDateTime & endTime , quint32 numValues , bool returnBounds , QOpcUa::TimestampsToReturn timestampsToReturn )
(从 6.7 起) void valueAttributeUpdated (const QVariant & value )

QOpcUaRelativePathElement :

(从 6.7 起) QVariant operator QVariant () const
(从 6.7 起) bool operator!= (const QOpcUaRelativePathElement & lhs , const QOpcUaRelativePathElement & rhs )

QOpcUaSimpleAttributeOperand :

(从 6.7 起) bool operator!= (const QOpcUaSimpleAttributeOperand & lhs , const QOpcUaSimpleAttributeOperand & rhs )

QPartialOrdering :

(从 6.7 起) bool is_eq (QPartialOrdering o )
(从 6.7 起) bool is_gt (QPartialOrdering o )
(从 6.7 起) bool is_gteq (QPartialOrdering o )
(从 6.7 起) bool is_lt (QPartialOrdering o )
(从 6.7 起) bool is_lteq (QPartialOrdering o )
(从 6.7 起) bool is_neq (QPartialOrdering o )

QProcess :

(从 6.7 起) void failChildProcessModifier (const char * description , int error )

QProtobufMessage :

(从 6.7 起) QList<QByteArray> unknownFieldData (qint32 field ) const
(从 6.7 起) QList<qint32> unknownFieldNumbers () const

QProtobufSerializer :

(从 6.7 起) void shouldPreserveUnknownFields (bool preserveUnknownFields )

QQuickTextDocument :

(preliminary) void save ()
(preliminary) void saveAs (const QUrl & url )
(从 6.7 起) void setTextDocument (QTextDocument * document )
(从 6.7 起) void textDocumentChanged ()

QQuickView :

(从 6.7 起) void loadFromModule (QAnyStringView uri , QAnyStringView typeName )

QQuickWebEngineProfile :

(从 6.7 起) void clearHttpCacheCompleted ()

QQuickWindow :

(从 6.7 起) QSGTextNode * createTextNode () const

QRawFont :

(从 6.7 起) QByteArray fontTable (QFont::Tag tag ) const

QRemoteObjectHost :

(从 6.7 起) void setLocalServerOptions (QLocalServer::SocketOptions options )

QRhiColorAttachment :

(从 6.7 起) int multiViewCount () const
(从 6.7 起) void setMultiViewCount (int count )

QRhiGraphicsPipeline :

(从 6.7 起) int multiViewCount () const
(从 6.7 起) void setMultiViewCount (int count )

QShader :

(从 6.7 起) QShader & operator= (QShader && other )
(从 6.7 起) void swap (QShader & other )

QShaderBaker :

(从 6.7 起) void setMultiViewCount (int count )

QSharedPointer :

(从 6.7 起) bool owner_before (const QSharedPointer<X> & other ) const
(从 6.7 起) bool owner_before (const QWeakPointer<X> & other ) const
(从 6.7 起) bool owner_equal (const QSharedPointer<X> & other ) const
(从 6.7 起) bool owner_equal (const QWeakPointer<X> & other ) const
(从 6.7 起) size_t owner_hash () const

QSignalBlocker :

(从 6.7 起) void dismiss ()

QSqlQuery :

(从 6.7 起) bool isPositionalBindingEnabled () const
(从 6.7 起) void setPositionalBindingEnabled (bool enable )

QStaticLatin1StringMatcher :

(从 6.7 起) auto qMakeStaticCaseInsensitiveLatin1StringMatcher (const char (&)[N] patternToMatch )
(从 6.7 起) auto qMakeStaticCaseSensitiveLatin1StringMatcher (const char (&)[N] patternToMatch )

QString :

(从 6.7 起) std::u16string_view operator std::u16string_view () const

QStringList :

(从 6.7 起) QStringList filter (const QStringMatcher & matcher ) const
(从 6.7 起) QStringList filter (QLatin1StringView str , Qt::CaseSensitivity cs ) const

QStringMatcher :

(从 6.7 起) QStringView patternView () const

QStringView :

(从 6.7 起) bool isLower () const
(从 6.7 起) bool isUpper () const
(从 6.7 起) std::u16string_view operator std::u16string_view () const

QSvgWidget :

(从 6.7 起) QtSvg::Options options () const
(从 6.7 起) void setOptions (QtSvg::Options options )

QTemporaryFile :

(从 6.7 起) QTemporaryFile * createNativeFile (const std::filesystem::path & fileName )
(从 6.7 起) bool rename (const std::filesystem::path & newName )
(从 6.7 起) void setFileTemplate (const std::filesystem::path & name )

QUtf8StringView :

(从 6.7 起) std::basic_string_view<QUtf8StringView::storage_type> operator std::basic_string_view<QUtf8StringView::storage_type> () const

QVariant :

(从 6.7 起) QVariant fromMetaType (QMetaType type , const void * copy )
(从 6.7 起) T qvariant_cast (QVariant && value )

QVulkanWindow :

(从 6.7 起) void setEnabledFeaturesModifier (const QVulkanWindow::EnabledFeaturesModifier & modifier )
(从 6.7 起) void setEnabledFeaturesModifier (QVulkanWindow::EnabledFeatures2Modifier modifier )

QWaylandSeat :

(从 6.7 起) void sendUnicodeKeyPressEvent (uint unicode )
(从 6.7 起) void sendUnicodeKeyReleaseEvent (uint unicode )

QWeakPointer :

(从 6.7 起) bool owner_before (const QWeakPointer<X> & other ) const
(从 6.7 起) bool owner_before (const QSharedPointer<X> & other ) const
(从 6.7 起) bool owner_equal (const QWeakPointer<X> & other ) const
(从 6.7 起) bool owner_equal (const QSharedPointer<X> & other ) const
(从 6.7 起) size_t owner_hash () const

QWebEnginePage :

(从 6.7 起) void webAuthUxRequested (QWebEngineWebAuthUxRequest * request )

QWebEngineProfile :

(从 6.7 起) void clearHttpCacheCompleted ()

QWebEngineUrlRequestInfo :

(从 6.7 起) QIODevice * requestBody () const

QWebEngineUrlRequestJob :

(从 6.7 起) QIODevice * requestBody () const

名称空间中的新函数

(从 6.7 起) Qt::strong_ordering compareThreeWay (Enum lhs , Enum rhs )
(从 6.7 起) Qt::strong_ordering compareThreeWay (const LeftType * lhs , const RightType * rhs )
(从 6.7 起) Qt::partial_ordering compareThreeWay (FloatType lhs , IntType rhs )
(从 6.7 起) Qt::partial_ordering compareThreeWay (IntType lhs , FloatType rhs )
(从 6.7 起) Qt::partial_ordering compareThreeWay (LeftFloat lhs , RightFloat rhs )
(从 6.7 起) Qt::strong_ordering compareThreeWay (LeftInt lhs , RightInt rhs )
(从 6.7 起) void qSleep (std::chrono::milliseconds msecs )
(从 6.7 起) void qWait (std::chrono::milliseconds msecs )
(从 6.7 起) bool qWaitFor (Functor predicate , QDeadlineTimer deadline )
(从 6.7 起) bool qWaitForWindowFocused (QWidget * widget , QDeadlineTimer timeout )
(从 6.7 起) bool qWaitForWindowFocused (QWindow * window , QDeadlineTimer timeout )

新全局函数

(从 6.7 起) auto qCompareThreeWay (const LeftType & lhs , const RightType & rhs )
(从 6.7 起) void qDrawPlainRoundedRect (QPainter * painter , const QRect & rect , qreal rx , qreal ry , const QColor & lineColor , int lineWidth , const QBrush * fill )
(从 6.7 起) void qDrawPlainRoundedRect (QPainter * painter , int x , int y , int width , int height , qreal rx , qreal ry , const QColor & lineColor , int lineWidth , const QBrush * fill )

新宏

(从 6.7 起) QT_NO_CONTEXTLESS_CONNECT
(从 6.7 起) Q_NODISCARD_CTOR_X ( message )
(从 6.7 起) Q_NODISCARD_X ( message )

新枚举类型

(从 6.7 起) enum class TransitionResolution { Reject, RelativeToBefore, RelativeToAfter, PreferBefore, PreferAfter, …, LegacyBehavior }
(从 6.7 起) enum class ThemeIcon { AddressBookNew, ApplicationExit, AppointmentNew, CallStart, CallStop, …, NThemeIcons }
(从 6.7 起) enum class TagSeparator { Dash, Underscore }
(从 6.7 起) enum class TimestampsToReturn { Source, Server, Both, Neither, Invalid }
(从 6.7 起) enum Option { NoOption, Tiny12FeaturesOnly }
(从 6.7 起) enum class Rotation { None, Clockwise90, Clockwise180, Clockwise270 }

New Enum Values

enum value ApplicationAttribute::AA_QtQuickUseDefaultSizePolicy
enum value Key::Key_micro
enum value Language::Anii
enum value Language::Kangri
enum value Language::Venetian
enum value NodeAttribute::DataTypeDefinition
enum value Parameter::TriggeredItemIds
enum value StandardLocation::GenericStateLocation
enum value StandardLocation::StateLocation
enum value Status::SizeLimitExceeded
enum value Type::ChildWindowAdded
enum value Type::ChildWindowRemoved
enum value Type::ParentWindowAboutToChange
enum value Type::ParentWindowChange
enum value UnixProcessFlag::CreateNewSession
enum value UnixProcessFlag::DisconnectControllingTerminal
enum value UnixProcessFlag::ResetIds

新类型别名

(从 6.7 起) const_pointer
(从 6.7 起) pointer
(从 6.7 起) QRhiShaderResourceBindingSet
(从 6.7 起) EnabledFeatures2Modifier

新特性

新的变量

(从 6.7 起) DefaultTwoDigitBaseYear

新 QML 类型

B
BlendAnimationNode
BlendTreeNode
N
NetworkInformation
Q
QQmlAbstractGrpcChannel
QQmlGrpcCallOptions
QQmlGrpcChannelOptions
QQmlGrpcHttp2Channel
QQmlGrpcMetadata
R
RenderExtension
S
sslConfiguration
sslDtlsConfiguration
sslKey
T
TextSelection
TimelineAnimationNode
W
WindowContainer

新 QML 特性

QML 类型 ConvexMeshShape :

(从 6.7 起) geometry : Geometry

QML 类型 CustomMaterial :

(从 6.7 起) destinationAlphaBlend : enumeration
(从 6.7 起) sourceAlphaBlend : enumeration

QML 类型 GeoJsonData :

(从 6.7 起) model : QVariant
(从 6.7 起) sourceUrl : QUrl

QML 类型 HeightFieldShape :

(从 6.7 起) image : Image

QML 类型 Item :

(从 6.7 起) focusPolicy : enumeration

QML 类型 MediaPlayer :

(从 6.7 起) autoPlay : bool

QML 类型 PathText :

(从 6.7 起) font.variableAxes : object

QML 类型 PhysicsWorld :

(从 6.7 起) numThreads : int
(从 6.7 起) reportKinematicKinematicCollisions : bool
(从 6.7 起) reportStaticKinematicCollisions : bool

QML 类型 Rectangle :

(从 6.7 起) bottomLeftRadius : real
(从 6.7 起) bottomRightRadius : real
(从 6.7 起) topLeftRadius : real
(从 6.7 起) topRightRadius : real

QML 类型 Shape :

(从 6.7 起) horizontalAlignment : enumeration
(从 6.7 起) verticalAlignment : enumeration

QML 类型 ShapePath :

(从 6.7 起) pathHints : PathHints

QML 类型 SystemPalette :

(从 6.7 起) accent : color

QML 类型 Text :

(从 6.7 起) font.variableAxes : object

QML 类型 TextDocument :

(preliminary) errorString : string
(preliminary) modified : bool
(preliminary) source : url
(preliminary) status : enumeration

QML 类型 TextEdit :

(preliminary) cursorSelection : QtQuick::TextSelection
(从 6.7 起) font.variableAxes : object

QML 类型 TextInput :

(从 6.7 起) font.variableAxes : object

QML 类型 Texture :

(从 6.7 起) textureProvider : RenderExtension

QML 类型 TriangleMeshShape :

(从 6.7 起) geometry : Geometry

QML 类型 视频 :

(从 6.7 起) autoPlay : bool

QML 类型 View3D :

(从 6.7 起) effectiveTextureSize : size
(从 6.7 起) explicitTextureHeight : int
(从 6.7 起) explicitTextureWidth : int

QML 类型 Window :

(preliminary) parent : var

QML 类型 cameraDevice :

(从 6.7 起) correctionAngle : QtVideo::Rotation

新 QML 方法

QML 类型 StackView :

(从 6.7 起) Item popCurrentItem ( operation )
(从 6.7 起) Item popToIndex ( index , operation )
(从 6.7 起) Item popToItem ( item , operation )
(从 6.7 起) Item pushItem ( item , properties , operation )
(从 6.7 起) Item pushItem ( component , properties , operation )
(从 6.7 起) Item pushItem ( url , properties , operation )
(从 6.7 起) Item pushItems ( , operation )
(从 6.7 起) Item replaceCurrentItem ( , operation )
(从 6.7 起) Item replaceCurrentItem ( item , properties , operation )
(从 6.7 起) Item replaceCurrentItem ( component , properties , operation )
(从 6.7 起) Item replaceCurrentItem ( url , properties , operation )

QML 类型 TextDocument :

(preliminary) void save ()
(preliminary) void saveAs (url url )

QML 类型 WaylandSeat :

(从 6.7 起) void sendUnicodeKeyPressEvent (uint unicode )
(从 6.7 起) void sendUnicodeKeyReleaseEvent (uint unicode )