summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/netcom.h')
-rw-r--r--client/netcom.h21
1 files changed, 6 insertions, 15 deletions
diff --git a/client/netcom.h b/client/netcom.h
index 718d5a6..35db221 100644
--- a/client/netcom.h
+++ b/client/netcom.h
@@ -31,9 +31,6 @@
#include <QString>
#include <QTcpSocket>
#include <QDomDocument>
-#include <QHttp>
-
-//#define USE_SSL
//#include "widgets/widget.h"
class Widget;
@@ -48,23 +45,17 @@ public:
void send(QVector< Widget* > widgets, QString templ, QString macro, QString version);
public slots:
- void stateChanged(int state);
- void readyRead(const QHttpResponseHeader &resp);
-
-#ifdef USE_SSL
- void sslError(const QList<QSslError> &errlst);
-#endif
+ void readyRead();
private:
- volatile bool transfering;
+ volatile bool transmitting;
+ QTcpSocket socket;
+
+ QByteArray buffer;
+ QDomDocument res_doc;
QString user;
QString cpr;
-
- QHttp http;
-
- QByteArray buffer;
- QString sessionid;
};
#endif/*__PRACRO_NETCOM_H__*/