このページでは

QtRemoteObjects Namespace

QtRemoteObjects 名前空間には、Remote Objects モジュールで使用される識別子に加え、Replica コンパイラ (repc) によって生成されたコードから使用されるいくつかの関数が含まれています。詳細...

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

種類

enum InitialAction { FetchRootSize, PrefetchData }

詳細な説明

型のドキュメント

enum QtRemoteObjects::InitialAction

この列挙型は、QAbstractItemModel から派生したレプリカを取得する際の初期動作を指定します。

定数値定数値
QtRemoteObjects::FetchRootSize0initialized シグナルが発行される前に、モデルのサイズのみが要求され、それ以前はデータはプリフェッチされません。
QtRemoteObjects::PrefetchData1initialized シグナルが発行される前に、一部のデータをプリフェッチすることができます。

QRemoteObjectNode::acquireModel() および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.