이 페이지에서

QtRemoteObjects Namespace

QtRemoteObjects 네임스페이스에는 Remote Objects 모듈에서 사용되는 식별자와 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 에서 파생된 Replica를 획득할 때 수행되는 초기 동작을 지정합니다.

상수값상수값
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.