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/qremoteobjectregistry.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/qremoteobjectregistry.h')
-rw-r--r-- | src/remoteobjects/qremoteobjectregistry.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/remoteobjects/qremoteobjectregistry.h b/src/remoteobjects/qremoteobjectregistry.h index 1c3e3e2..920594b 100644 --- a/src/remoteobjects/qremoteobjectregistry.h +++ b/src/remoteobjects/qremoteobjectregistry.h @@ -71,8 +71,10 @@ protected Q_SLOTS: private: void initialize() Q_DECL_OVERRIDE; - explicit QRemoteObjectRegistry(QObject *parent = Q_NULLPTR); + explicit QRemoteObjectRegistry(); + explicit QRemoteObjectRegistry(QRemoteObjectNode *node, const QString &name); QRemoteObjectSourceLocations hostedSources; + friend class QRemoteObjectNodePrivate; }; QT_END_NAMESPACE |