summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectregistry.cpp
diff options
context:
space:
mode:
authorBrett Stottlemyer <bstottle@ford.com>2015-05-08 06:40:02 -0400
committerBrett Stottlemyer <bstottle@ford.com>2015-05-08 10:41:01 +0000
commit00f517d41aa9bdaf847702e8cb0c18065d5fb301 (patch)
treec45d164e3756003c979f1dc5437e725bf837ff1d /src/remoteobjects/qremoteobjectregistry.cpp
parentf59a4919a5cfc58204312125cf461882e2ced9e7 (diff)
Update documentation
Document new QAbstractItemModel methods as well as the (internal) pushToRegistryIfNeeded() method. Change-Id: I6d9d70497eb4cf81b2dc019cdc76a6feb486c7c2 Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectregistry.cpp')
-rw-r--r--src/remoteobjects/qremoteobjectregistry.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/remoteobjects/qremoteobjectregistry.cpp b/src/remoteobjects/qremoteobjectregistry.cpp
index 64e09de..79d6e59 100644
--- a/src/remoteobjects/qremoteobjectregistry.cpp
+++ b/src/remoteobjects/qremoteobjectregistry.cpp
@@ -165,6 +165,13 @@ void QRemoteObjectRegistry::removeSource(const QRemoteObjectSourceLocation &entr
send(QMetaObject::InvokeMetaMethod, index, args);
}
+/*!
+ \internal
+ This internal function supports the edge case where the \l Registry
+ is connected after \l Source objects are added to this \l Node, or
+ the connection to the \l Registry is lost. When connected/reconnected, this
+ function synchronizes local \l Source objects with the \l Registry.
+*/
void QRemoteObjectRegistry::pushToRegistryIfNeeded()
{
if (!isReplicaValid())