diff options
author | deva <deva> | 2010-02-12 13:47:10 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-12 13:47:10 +0000 |
commit | 305ddf3bdb16177420f480b006550508174a734e (patch) | |
tree | 193f4a72f10e3194dc188e75fbf70e1c5c795fac /client/netcom.h | |
parent | 85584af165fdcabac284addeba2461af08de8b75 (diff) |
Revert to old protocol
Diffstat (limited to 'client/netcom.h')
-rw-r--r-- | client/netcom.h | 21 |
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__*/ |