summaryrefslogtreecommitdiff
path: root/hostmanagerconn.h
diff options
context:
space:
mode:
Diffstat (limited to 'hostmanagerconn.h')
-rw-r--r--hostmanagerconn.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hostmanagerconn.h b/hostmanagerconn.h
index ab143a0..1361d21 100644
--- a/hostmanagerconn.h
+++ b/hostmanagerconn.h
@@ -2,6 +2,7 @@
#define HOSTMANAGERPEER_H
#include <QtCore/QVariant>
+#include <QtCore/QJsonObject>
#include "sapconnection.h"
#include "sapsocket.h"
@@ -13,9 +14,9 @@ public:
HostManagerConn(SAPConnection *conn, QObject *parent = 0);
private:
- void sendMessage(const QString &json);
- void sendMessage(const QVariantMap &msg);
- void handleMessage(const QVariantMap &msg);
+ void sendMessage(const QJsonObject &obj);
+
+ void handleMessage(const QJsonObject &obj);
void performTimeSync();