En esta página

QtRemoteObjects Namespace

El espacio de nombres QtRemoteObjects contiene identificadores que se utilizan en el módulo «Remote Objects», así como algunas funciones que se emplean en el código generado por el compilador Replica (repc). Más información...

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

Tipos

enum InitialAction { FetchRootSize, PrefetchData }

Descripción detallada

Documentación de tipos

enum QtRemoteObjects::InitialAction

Este tipo de enumeración especifica la acción inicial al adquirir una réplica derivada de ` QAbstractItemModel`.

ConstanteValorDescripción
QtRemoteObjects::FetchRootSize0Solo se solicita el tamaño del modelo antes de que se emita la señal « initialized »; no se precargarán datos antes de ese momento.
QtRemoteObjects::PrefetchData1Se pueden precargar algunos datos antes de que se emita la señal « initialized ».

Véase también « QRemoteObjectNode::acquireModel()» y « QRemoteObjectReplica::initialized()».

© 2026 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.