QtRemoteObjects Namespace | Qt Remote Objects 5.15.19

- Qt 5.15
- Qt Remote Objects
- QtRemoteObjects Namespace
- Qt 5.15.19 Reference Documentation

# 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>
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().