diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-09-03 03:00:43 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-09-03 03:00:49 +0200 |
commit | a23672bad7e28cc0b9c573ad6909e15a46390657 (patch) | |
tree | 069269c02119b21e410e2cb7fb2a97aff3c35f8f /src | |
parent | cd85f82a1be9753c8259abd53914d5eabd6e7c48 (diff) | |
parent | 2f90e4cfbb80fbbbe4002ab8b15cb866914b0eae (diff) |
Merge "Merge remote-tracking branch 'origin/5.14' into dev"
Diffstat (limited to 'src')
-rw-r--r-- | src/remoteobjects/qremoteobjectnode.cpp | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/remoteobjects/qremoteobjectnode.cpp b/src/remoteobjects/qremoteobjectnode.cpp index 32e85b9..8cbaa71 100644 --- a/src/remoteobjects/qremoteobjectnode.cpp +++ b/src/remoteobjects/qremoteobjectnode.cpp @@ -387,6 +387,8 @@ void QRemoteObjectNode::registerExternalSchema(const QString &schema, QRemoteObj configured with the provided address. If no \a hostUrl is provided, the internal node will be a QRemoteObjectNode (not HostNode). + Returns \c true if the object is acquired from the internal node. + \sa reverseProxy() */ bool QRemoteObjectHostBase::proxy(const QUrl ®istryUrl, const QUrl &hostUrl, RemoteObjectNameFilter filter) @@ -469,8 +471,8 @@ bool QRemoteObjectHostBase::proxy(const QUrl ®istryUrl, const QUrl &hostUrl, network to be acquired(), reverseProxy() allows \l Source objects to be "pushed" to an otherwise inaccessible network. - Note: \l proxy() needs to be called before \l reverseProxy(), and a - \a hostUrl needs to be provided to \l proxy for \l reverseProxy() to work. The + \note proxy() needs to be called before \l reverseProxy(), and a + hostUrl needs to be provided to \l proxy for \l reverseProxy() to work. The \l reverseProxy() method allows a separate \a filter to be applied. This reverseProxy specific filter will receive notifications of new \l Source objects on proxyNode and acquire them on the internal node if they pass the @@ -1647,9 +1649,9 @@ QRemoteObjectHostBase::QRemoteObjectHostBase(QRemoteObjectHostBasePrivate &d, QO Constructs a new QRemoteObjectHost Node (i.e., a Node that supports exposing \l Source objects on the QtRO network) with the given \a parent. This constructor is meant specific to support QML in the future as it will - not be available to connect to until \l {QRemoteObjectHost::}{setHostUrl}() is called. + not be available to connect to until \l {QRemoteObjectHost::}{setHostUrl} is called. - \sa {QRemoteObjectHost::}{setHostUrl}(), setRegistryUrl() + \sa setHostUrl(), setRegistryUrl() */ QRemoteObjectHost::QRemoteObjectHost(QObject *parent) : QRemoteObjectHostBase(*new QRemoteObjectHostPrivate, parent) @@ -1665,7 +1667,7 @@ QRemoteObjectHost::QRemoteObjectHost(QObject *parent) {AllowExternalRegistration}) if the schema of the url should be used as an \l {External Schemas} {External Schema} by the registry. - \sa {QRemoteObjectHost::}{setHostUrl}(), setRegistryUrl() + \sa setHostUrl(), setRegistryUrl() */ QRemoteObjectHost::QRemoteObjectHost(const QUrl &address, const QUrl ®istryAddress, AllowedSchemas allowedSchemas, QObject *parent) @@ -1815,7 +1817,7 @@ bool QRemoteObjectHostBase::setHostUrl(const QUrl &hostAddress, AllowedSchemas a Returns the host address for the QRemoteObjectNode as a QUrl. If the Node is not a Host node, it return an empty QUrl. - \sa {QRemoteObjectHost}{setHostUrl}() + \sa setHostUrl() */ QUrl QRemoteObjectHost::hostUrl() const { @@ -1845,6 +1847,8 @@ bool QRemoteObjectHost::setHostUrl(const QUrl &hostAddress, AllowedSchemas allow Node's use the \l {QRemoteObjectNode::setRegistryUrl} method initiate a connection to the Registry. + Returns \c true if the registry address is set, otherwise \c false. + \sa QRemoteObjectRegistryHost(), QRemoteObjectNode::setRegistryUrl */ bool QRemoteObjectRegistryHost::setRegistryUrl(const QUrl ®istryUrl) @@ -2088,7 +2092,7 @@ void QRemoteObjectNode::addClientSideConnection(QIODevice *ioDevice) loc parameter contains the information about the added Source, including name, type and the QUrl of the hosting Node. - \sa remoteObjectRemoved, instances + \sa remoteObjectRemoved(), instances() */ /*! @@ -2259,8 +2263,9 @@ bool QRemoteObjectHostBase::enableRemoting(QAbstractItemModel *model, const QStr */ /*! - \internal Enables a host node to provide remote access to a QObject \a - object with the API defined by \a api. Client nodes connected to the node + \internal + Enables a host node to provide remote access to a QObject \a object + with the API defined by \a api. Client nodes connected to the node hosting this object may obtain Replicas of this Source. Returns \c false if the current node is a client node, or if the QObject is |