From a45977185a485624095bff1a15024e9199eee676 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 1 Jan 2016 22:05:42 +0100 Subject: reorganize source files into SAP and agents --- webproxytrans.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 webproxytrans.h (limited to 'webproxytrans.h') diff --git a/webproxytrans.h b/webproxytrans.h deleted file mode 100644 index 950c7b9..0000000 --- a/webproxytrans.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef WEBPROXYTRANS_H -#define WEBPROXYTRANS_H - -#include -#include - -class WebProxyConn; - -class WebProxyTrans : public QObject -{ - Q_OBJECT -public: - explicit WebProxyTrans(int transactionId, bool tunnel, const QString &host, int port, WebProxyConn *conn); - - int transactionId() const; - - void write(const QByteArray &data); - -signals: - void connected(); - void dataReceived(const QByteArray &data); - void error(); - void disconnected(); - -private slots: - void handleSocketConnected(); - void handleSocketDataWritten(qint64 written); - void handleSocketDataReady(); - void handleSocketDisconnected(); - -private: - WebProxyConn* conn(); - void writeFromBuffer(); - -private: - int _transactionId; - bool _tunnel; - QTcpSocket *_socket; - QByteArray _outBuf; -}; - -#endif // WEBPROXYTRANS_H -- cgit v1.2.3