QtRemoteObjects Namespace
The QtRemoteObjects namespace contains identifiers used in the Remote Objects module, as well as some functions used from code generated by the Replica Compiler (repc). More...
Header: | #include <QtRemoteObjects> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
qmake: | QT += remoteobjects |
Types
enum | InitialAction { FetchRootSize, PrefetchData } |
Detailed Description
Type Documentation
enum QtRemoteObjects::InitialAction
This enum type specifies the initial action when acquiring a Replica derived from QAbstractItemModel.
Constant | Value | Description |
---|---|---|
QtRemoteObjects::FetchRootSize | 0 | Only the size of the model is requested before the initialized signal is emitted, no data will be prefetched before that. |
QtRemoteObjects::PrefetchData | 1 | Some data can be prefetched before the initialized signal is emitted. |
See also QRemoteObjectNode::acquireModel() and QRemoteObjectReplica::initialized().