QtRemoteObjects Namespace
L'espace de noms QtRemoteObjects contient des identifiants utilisés dans le module Remote Objects, ainsi que certaines fonctions utilisées dans le code généré par le Replica Compiler (repc). Plus d'informations...
| En-tête : | #include <QtRemoteObjects> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake : | QT += remoteobjects |
Types
| enum | InitialAction { FetchRootSize, PrefetchData } |
Documentation des types
enum QtRemoteObjects::InitialAction
Ce type d'énumération spécifie l'action initiale lors de l'acquisition d'une réplique dérivée de QAbstractItemModel.
| Constante | Valeur | Description |
|---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Seule la taille du modèle est demandée avant l'émission du signal initialized, aucune donnée ne sera prétirée avant cela. |
QtRemoteObjects::PrefetchData | 1 | Certaines données peuvent être traitées avant l'émission du signal initialized. |
Voir également QRemoteObjectNode::acquireModel() et 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.