QtRemoteObjects Namespace
O namespace QtRemoteObjects contém identificadores utilizados no módulo Remote Objects, bem como algumas funções utilizadas no código gerado pelo Replica Compiler (repc). Mais...
| Cabeçalho: | #include <QtRemoteObjects> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake: | QT += remoteobjects |
Tipos
| enum | InitialAction { FetchRootSize, PrefetchData } |
Documentação dos tipos
enum QtRemoteObjects::InitialAction
Este tipo de enumeração especifica a ação inicial ao adquirir uma réplica derivada de ` QAbstractItemModel`.
| Constante | Valor | Descrição |
|---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Apenas o tamanho do modelo é solicitado antes da emissão do sinal ` initialized `; nenhum dado será pré-buscado antes disso. |
QtRemoteObjects::PrefetchData | 1 | Alguns dados podem ser pré-buscados antes que o sinal ` initialized ` seja emitido. |
Veja também ` QRemoteObjectNode::acquireModel()` e ` 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.