diff options
Diffstat (limited to 'client/netcom.h')
-rw-r--r-- | client/netcom.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/netcom.h b/client/netcom.h index 46d40d0..332f4bd 100644 --- a/client/netcom.h +++ b/client/netcom.h @@ -54,8 +54,8 @@ public: NetCom(QString host, quint16 port); ~NetCom(); - void send(QString templ, QString macro = ""); - void send(QVector< Widget* > widgets, QString templ, + void send(QString course, QString templ = "", QString macro = ""); + void send(QVector< Widget* > widgets, QString course, QString templ, QString macro, QString version); void initConnection(); @@ -66,6 +66,7 @@ public: QString sessionid; QString user; QString patientid; + QString course; QString templ; signals: @@ -84,7 +85,7 @@ private: QMap<QNetworkReply *, bool> finished; - void makeTransfer(QDomDocument &dom, session_state_t state = none); + void makeTransfer(QByteArray body, session_state_t state, QString uri = ""); }; #endif/*__PRACRO_NETCOM_H__*/ |