summaryrefslogtreecommitdiffstats
path: root/src/remoteobjects/qremoteobjectreplica_p.h
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk.ford@kdab.com>2014-11-20 16:00:12 +0100
committerKevin Funk <kevin.funk@kdab.com>2014-11-21 15:33:49 +0100
commit8a9b583a4ac401cb290b5028a010f0ccb7d874de (patch)
treebdf9e931df92c554c90a1d679e7f2395403c0f1b /src/remoteobjects/qremoteobjectreplica_p.h
parent99db4e8aea86ff2f452cfe900afee9a9f00a65e0 (diff)
Put packetization types into private API
Change-Id: Id95fdece9b19a81a4960e9a19239d3b8d6f3904a Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Diffstat (limited to 'src/remoteobjects/qremoteobjectreplica_p.h')
-rw-r--r--src/remoteobjects/qremoteobjectreplica_p.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/remoteobjects/qremoteobjectreplica_p.h b/src/remoteobjects/qremoteobjectreplica_p.h
index 32bdb7e..0502417 100644
--- a/src/remoteobjects/qremoteobjectreplica_p.h
+++ b/src/remoteobjects/qremoteobjectreplica_p.h
@@ -56,7 +56,12 @@ class QRemoteObjectReplica;
class QRemoteObjectSourcePrivate;
class ClientIoDevice;
-using namespace QRemoteObjectPackets;
+namespace QRemoteObjectPackets {
+class QInitDynamicPacket;
+class QInvokePacket;
+class QInvokeReplyPacket;
+class QRemoteObjectPacket;
+}
class QRemoteObjectReplicaPrivate : public QObject
{
@@ -83,7 +88,7 @@ public:
virtual QRemoteObjectPendingCall _q_sendWithReply(QMetaObject::Call call, int index, const QVariantList &args) = 0;
//Dynamic replica functions
- virtual void initializeMetaObject(const QInitDynamicPacket *packet);
+ virtual void initializeMetaObject(const QRemoteObjectPackets::QInitDynamicPacket *packet);
QString m_objectName;
const QMetaObject *m_metaObject;
@@ -113,14 +118,14 @@ public:
bool sendCommand(const QRemoteObjectPackets::QRemoteObjectPacket *packet);
QRemoteObjectPendingCall sendCommandWithReply(QRemoteObjectPackets::QInvokePacket* packet);
bool waitForFinished(const QRemoteObjectPendingCall &call, int timeout);
- void notifyAboutReply(const QInvokeReplyPacket* replyPacket);
+ void notifyAboutReply(const QRemoteObjectPackets::QInvokeReplyPacket* replyPacket);
void setConnection(ClientIoDevice *conn);
void setDisconnected();
void _q_send(QMetaObject::Call call, int index, const QVariantList &args) Q_DECL_OVERRIDE;
QRemoteObjectPendingCall _q_sendWithReply(QMetaObject::Call call, int index, const QVariantList& args) Q_DECL_OVERRIDE;
- void initializeMetaObject(const QInitDynamicPacket *packet) Q_DECL_OVERRIDE;
+ void initializeMetaObject(const QRemoteObjectPackets::QInitDynamicPacket *packet) Q_DECL_OVERRIDE;
QAtomicInt isSet;
QVector<QRemoteObjectReplica *> m_parentsNeedingConnect;
QVariantList m_propertyStorage;