summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/netcom.h')
-rw-r--r--client/netcom.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/netcom.h b/client/netcom.h
index e6478a5..a8be6f6 100644
--- a/client/netcom.h
+++ b/client/netcom.h
@@ -34,6 +34,8 @@
#include <QNetworkAccessManager>
#include <QNetworkRequest>
+#include <QWidget>
+
//#define USE_SSL
//#include "widgets/widget.h"
@@ -49,7 +51,7 @@ typedef enum {
class NetCom : public QObject {
Q_OBJECT
public:
- NetCom(QString host, quint16 port);
+ NetCom(QWidget *wdg, QString host, quint16 port);
~NetCom();
QDomDocument send(QString templ, QString macro = "", bool lockgui = true);
@@ -73,6 +75,7 @@ private:
QNetworkRequest request;
// QString sessionid;
+ QWidget *wdg;
QMap<QNetworkReply *, bool> finished;