summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBrett Stottlemyer <bstottle@ford.com>2016-04-23 19:36:58 -0400
committerBrett Stottlemyer <bstottle@ford.com>2016-04-29 16:31:40 +0000
commit362fe3092c4123e1274e9710ec7928a9a31f4ec3 (patch)
tree0b7aeb074bb9771949b1ef5d3a84f60c6ef04704 /examples
parent6dcee009f92c4d382401683260fe3a0d815affcf (diff)
Rename dynamic acquire method
Change from acquire(const QString &name) to acquireDynamic(...) to help with the upcoming qdoc updates, since qdoc couldn't tell the difference between the templated acquire() and the acquire for dynamic replicas. This is more consistent with acquireModel anyway. Change-Id: I3fba5747268992df40c787cee399f4761664b883 Reviewed-by: Continuous Integration (KDAB) <build@kdab.com> Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/RemoteObjects/SimpleSwitch/DirectConnectDynamicClient/main.cpp2
-rw-r--r--examples/RemoteObjects/SimpleSwitch/RegistryConnectedClient/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/RemoteObjects/SimpleSwitch/DirectConnectDynamicClient/main.cpp b/examples/RemoteObjects/SimpleSwitch/DirectConnectDynamicClient/main.cpp
index 7af8d46..7b0a06d 100644
--- a/examples/RemoteObjects/SimpleSwitch/DirectConnectDynamicClient/main.cpp
+++ b/examples/RemoteObjects/SimpleSwitch/DirectConnectDynamicClient/main.cpp
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
QRemoteObjectNode repNode; // create remote object node
repNode.connectToNode(QUrl(QStringLiteral("local:replica"))); // connect with remote host node
- ptr.reset(repNode.acquire("SimpleSwitch")); // acquire replica of source from host node
+ ptr.reset(repNode.acquireDynamic("SimpleSwitch")); // acquire replica of source from host node
DynamicClient rswitch(ptr); // create client switch object and pass replica reference to it
diff --git a/examples/RemoteObjects/SimpleSwitch/RegistryConnectedClient/main.cpp b/examples/RemoteObjects/SimpleSwitch/RegistryConnectedClient/main.cpp
index e8de42a..ea3d6fe 100644
--- a/examples/RemoteObjects/SimpleSwitch/RegistryConnectedClient/main.cpp
+++ b/examples/RemoteObjects/SimpleSwitch/RegistryConnectedClient/main.cpp
@@ -50,7 +50,7 @@ int main(int argc, char *argv[])
QRemoteObjectNode repNode(QUrl(QStringLiteral("local:registry")));
- ptr.reset(repNode.acquire("SimpleSwitch")); // acquire replica of source from host node
+ ptr.reset(repNode.acquireDynamic("SimpleSwitch")); // acquire replica of source from host node
DynamicClient rswitch(ptr); // create client switch object and pass replica reference to it