summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/netcom.h')
-rw-r--r--client/netcom.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/client/netcom.h b/client/netcom.h
index 35db221..e11509b 100644
--- a/client/netcom.h
+++ b/client/netcom.h
@@ -31,6 +31,7 @@
#include <QString>
#include <QTcpSocket>
#include <QDomDocument>
+#include <QHttp>
//#include "widgets/widget.h"
class Widget;
@@ -45,17 +46,17 @@ public:
void send(QVector< Widget* > widgets, QString templ, QString macro, QString version);
public slots:
- void readyRead();
+ void done(bool);
private:
- volatile bool transmitting;
- QTcpSocket socket;
-
- QByteArray buffer;
- QDomDocument res_doc;
+ volatile bool transfering;
QString user;
QString cpr;
+
+ QHttp http;
+
+ QByteArray buffer;
};
#endif/*__PRACRO_NETCOM_H__*/