QtRemoteObjects Namespace

The QtRemoteObjects namespace contains identifiers used in the Remote Objects module, as well as some functions used from code generated by the Replica Compiler (repc). More...

Header: #include <QtRemoteObjects>
CMake: find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake: QT += remoteobjects

Types

enum InitialAction { FetchRootSize, PrefetchData }

Detailed Description

Type Documentation

enum QtRemoteObjects::InitialAction

This enum type specifies the initial action when acquiring a Replica derived from QAbstractItemModel.

ConstantValueDescription
QtRemoteObjects::FetchRootSize0Only the size of the model is requested before the initialized signal is emitted, no data will be prefetched before that.
QtRemoteObjects::PrefetchData1Some data can be prefetched before the initialized signal is emitted.

See also QRemoteObjectNode::acquireModel() and QRemoteObjectReplica::initialized().

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.