diff options
author | Kevin Funk <kevin.funk.ford@kdab.com> | 2017-10-06 14:46:48 +0200 |
---|---|---|
committer | Kevin Funk <kevin.funk@kdab.com> | 2017-10-06 16:42:06 +0000 |
commit | ccf29e3c8045ef40584d3543fcd028b03e557588 (patch) | |
tree | 67fc8270385f8e5875a051676945a930e56a9105 /src/remoteobjects/doc/snippets | |
parent | ed2544b8fc624358b6c7d9239dd5fcddd9afbf51 (diff) |
Rename ReplicaPrivate -> ReplicaImplementation
All those implementations for the QtROReplica ('InProcess', 'Connected',
'RemoteObject') aren't technically d-pointers. Mark them as such by
naming them differently.
This also has the nice benefit that one does not override QObject's
'd_ptr' variable accidentally with these implementation instances.
Needed in order to pimpl QRemoteObjectRegistry properly
Change-Id: I88322e37d2ff7e5044980e8fdf9f713d6be80c38
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'src/remoteobjects/doc/snippets')
-rw-r--r-- | src/remoteobjects/doc/snippets/doc_src_remoteobjects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remoteobjects/doc/snippets/doc_src_remoteobjects.cpp b/src/remoteobjects/doc/snippets/doc_src_remoteobjects.cpp index a549ab7..3ab3280 100644 --- a/src/remoteobjects/doc/snippets/doc_src_remoteobjects.cpp +++ b/src/remoteobjects/doc/snippets/doc_src_remoteobjects.cpp @@ -73,7 +73,7 @@ hostNode.enableRemoting<MinuteTimerSourceAPI>(&timer); //! [create_replica] #include "rep_TimeModel_replica.h" -QScopedPointer<MinuteTimerReplica> d_ptr; +QScopedPointer<MinuteTimerReplica> d_impl; //! [create_replica] //! [dynamic_replica] @@ -81,7 +81,7 @@ QRemoteObjectDynamicReplica *dynamicRep; //! [dynamic_replica] //! [acquire_replica] -d_ptr->reset(clientNode.acquire("MinuteTimer")); +d_impl->reset(clientNode.acquire("MinuteTimer")); *dynamicRep = clientNode.acquire("MinuteTimer"); //! [acquire_replica] |