QtRemoteObjects Namespace

Der QtRemoteObjects-Namensraum enthält Bezeichner, die im Modul Remote Objects verwendet werden, sowie einige Funktionen, die im vom Replica Compiler (repc) erzeugten Code verwendet werden. Mehr...

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

Typen

enum InitialAction { FetchRootSize, PrefetchData }

Detaillierte Beschreibung

Typ-Dokumentation

enum QtRemoteObjects::InitialAction

Dieser Enum-Typ gibt die anfängliche Aktion an, wenn eine von QAbstractItemModel abgeleitete Replik erworben wird.

KonstanteWertBeschreibung
QtRemoteObjects::FetchRootSize0Nur die Größe des Modells wird angefordert, bevor das Signal initialized gesendet wird, vorher werden keine Daten abgefragt.
QtRemoteObjects::PrefetchData1Einige Daten können vor dem Aussenden des initialized Signals vorgeholt werden.

Siehe auch QRemoteObjectNode::acquireModel() und QRemoteObjectReplica::initialized().

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