QtRemoteObjects Namespace

QtRemoteObjects 名前空間には、リモートオブジェクトモジュールで使用される識別子と、Replica Compiler (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()も参照

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