QtRemoteObjects Namespace
El espacio de nombres QtRemoteObjects contiene identificadores utilizados en el módulo Objetos Remotos, así como algunas funciones utilizadas desde el código generado por el Compilador de Réplicas (repc). Más...
| 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 } |
Documentación de tipos
enum QtRemoteObjects::InitialAction
Este tipo enum especifica la acción inicial al adquirir una Réplica derivada de QAbstractItemModel.
| Constante | Valor | Descripción |
|---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Sólo se solicita el tamaño del modelo antes de que se emita la señal initialized, no se preconfigurarán datos antes. |
QtRemoteObjects::PrefetchData | 1 | Se pueden preconfigurar 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.