summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectreplica_p.h
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2021-06-01 15:25:01 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2021-06-17 16:01:57 +0200
commitdd1a09d3a2406736e76bf3065b1895b24d9b402e (patch)
tree0b2647f7e033838cd914d5e0aeff4f1a23019ee9 /src/remoteobjects/qremoteobjectreplica_p.h
parentbf1356479b3b2be598b3f46e8be2c05b29af945c (diff)
Rename the classes for adding a custom transport support
Added QtRO prefix to IoDeviceBase, ServerIoDevice and ClientIoDevice classes. These classes are exported and can be used externally for supporting a custom transport by deriving from them and implementing the virtual methods. Added the prefix also to ExternalIoDevice, to keep the naming consistent. Pick-to: 6.2 Change-Id: I64845cff55687a127d2c43de03ecc65ac9bd321b Reviewed-by: Brett Stottlemyer <bstottle@ford.com> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/remoteobjects/qremoteobjectreplica_p.h')
-rw-r--r--src/remoteobjects/qremoteobjectreplica_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remoteobjects/qremoteobjectreplica_p.h b/src/remoteobjects/qremoteobjectreplica_p.h
index 9f350c4..dde0317 100644
--- a/src/remoteobjects/qremoteobjectreplica_p.h
+++ b/src/remoteobjects/qremoteobjectreplica_p.h
@@ -66,7 +66,7 @@ QT_BEGIN_NAMESPACE
class QRemoteObjectReplica;
class QRemoteObjectSource;
-class IoDeviceBase;
+class QtROIoDeviceBase;
class QReplicaImplementationInterface
{
@@ -165,7 +165,7 @@ public:
QRemoteObjectPendingCall sendCommandWithReply(int serialId);
bool waitForFinished(const QRemoteObjectPendingCall &call, int timeout) override;
void notifyAboutReply(int ackedSerialId, const QVariant &value) override;
- void setConnection(IoDeviceBase *conn);
+ void setConnection(QtROIoDeviceBase *conn);
void setDisconnected();
void _q_send(QMetaObject::Call call, int index, const QVariantList &args) override;
@@ -176,7 +176,7 @@ public:
QList<QRemoteObjectReplica *> m_parentsNeedingConnect;
QVariantList m_propertyStorage;
QList<int> m_childIndices;
- QPointer<IoDeviceBase> connectionToSource;
+ QPointer<QtROIoDeviceBase> connectionToSource;
// pending call data
int m_curSerialId = 1; // 0 is reserved for heartbeat signals