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 } |
enum | QRemoteObjectPacketTypeEnum { Invalid, Handshake, InitPacket, InitDynamicPacket, AddObject, …, Pong } |
Variables
const int | dataStreamVersion |
const QLatin1String | protocolVersion |
Functions
void | copyStoredProperties(const QMetaObject *mo, const void *src, void *dst) |
void | copyStoredProperties(const QMetaObject *mo, const void *src, QDataStream &dst) |
void | copyStoredProperties(const QMetaObject *mo, QDataStream &src, void *dst) |
void | copyStoredProperties(const T *src, T *dst) |
void | copyStoredProperties(const T *src, QDataStream &dst) |
void | copyStoredProperties(QDataStream &src, T *dst) |
QString | getTypeNameAndMetaobjectFromClassInfo(const QMetaObject *&meta) |
typename std::underlying_type<E>::type | to_underlying(E e) |
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().
enum QtRemoteObjects::QRemoteObjectPacketTypeEnum
Variable Documentation
const int QtRemoteObjects::dataStreamVersion
const QLatin1String QtRemoteObjects::protocolVersion
Function Documentation
void QtRemoteObjects::copyStoredProperties(const QMetaObject *mo, const void *src, void *dst)
void QtRemoteObjects::copyStoredProperties(const QMetaObject *mo, const void *src, QDataStream &dst)
void QtRemoteObjects::copyStoredProperties(const QMetaObject *mo, QDataStream &src, void *dst)
template <typename T> void QtRemoteObjects::copyStoredProperties(const T *src, T *dst)
template <typename T> void QtRemoteObjects::copyStoredProperties(const T *src, QDataStream &dst)
template <typename T> void QtRemoteObjects::copyStoredProperties(QDataStream &src, T *dst)
QString QtRemoteObjects::getTypeNameAndMetaobjectFromClassInfo(const QMetaObject *&meta)
template <typename E> typename std::underlying_type<E>::type QtRemoteObjects::to_underlying(E e)
© 2022 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.