QtRemoteObjects Namespace
Der Namespace „QtRemoteObjects“ enthält Bezeichner, die im Modul „Remote Objects“ verwendet werden, sowie einige Funktionen, auf die im vom Replica Compiler (repc) generierten Code zugegriffen wird. Mehr...
| Header: | #include <QtRemoteObjects> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
| qmake: | QT += remoteobjects |
Typen
| enum | InitialAction { FetchRootSize, PrefetchData } |
Typdokumentation
enum QtRemoteObjects::InitialAction
Dieser Enum-Typ legt die anfängliche Aktion beim Abrufen einer Replik fest, die von „ QAbstractItemModel “ abgeleitet ist.
| Konstante | Wert | Beschreibung |
|---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Vor dem Auslösen des Signals „ initialized “ wird lediglich die Größe des Modells abgefragt; zuvor werden keine Daten vorab abgerufen. |
QtRemoteObjects::PrefetchData | 1 | Einige Daten können vor der Ausgabe des Signals „ initialized “ vorab geladen werden. |
Siehe auch „ QRemoteObjectNode::acquireModel()“ und „ 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.