diff options
author | Brett Stottlemyer <bstottle@ford.com> | 2015-12-25 16:54:05 -0500 |
---|---|---|
committer | Brett Stottlemyer <bstottle@ford.com> | 2015-12-31 17:31:35 +0000 |
commit | a44d83f55ac90076c1186e90d7edab375aa9858d (patch) | |
tree | 86e447608eb62deeb853fae0e4886912b95f037c /src/remoteobjects/qremoteobjectnode_p.h | |
parent | 6bb46905ab0717b5f62f19aae559c2a9fcc4668d (diff) |
Add default constructor for Replicas
This requires a code refactor to let the Replica initialize
itself, rather than have the Node's acquire() call do the
initialization.
It also requires adding a 2nd constructor for all Replica
types.
Change-Id: I2bcad98a6b5a8ac958e8206cd5069f48e230f2d4
Reviewed-by: Continuous Integration (KDAB) <build@kdab.com>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectnode_p.h')
-rw-r--r-- | src/remoteobjects/qremoteobjectnode_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remoteobjects/qremoteobjectnode_p.h b/src/remoteobjects/qremoteobjectnode_p.h index 6652844..cfd2554 100644 --- a/src/remoteobjects/qremoteobjectnode_p.h +++ b/src/remoteobjects/qremoteobjectnode_p.h @@ -72,7 +72,7 @@ public: virtual QRemoteObjectSourceLocations remoteObjectAddresses() const; - QRemoteObjectReplica *acquire(const QMetaObject *, QRemoteObjectReplica *, const QString &); + QRemoteObjectReplica *getReplicaPrivate(const QMetaObject *, QRemoteObjectReplica *, const QString &); void connectReplica(QObject *object, QRemoteObjectReplica *instance); void openConnectionIfNeeded(const QString &name); |