summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-08 07:55:50 +0000
committerdeva <deva>2011-02-08 07:55:50 +0000
commit9d1dc91e1e2c11ea6df8e163b0e43f1dd43655d5 (patch)
tree2d62a606fd2efb2e18f96f12a3be09c0e0544ec5 /client/netcom.h
parentae91057323802dbfe5797cab6fd923149503b213 (diff)
Fix 'freeze' (disabled mainwindow after server comm) bug.
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;