summaryrefslogtreecommitdiff
path: root/noncore/net/ubrowser/httpcomm.h
Unidiff
Diffstat (limited to 'noncore/net/ubrowser/httpcomm.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/ubrowser/httpcomm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/ubrowser/httpcomm.h b/noncore/net/ubrowser/httpcomm.h
index c20fe72..d6f63fc 100644
--- a/noncore/net/ubrowser/httpcomm.h
+++ b/noncore/net/ubrowser/httpcomm.h
@@ -20,6 +20,8 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20#include <qstringlist.h> 20#include <qstringlist.h>
21#include <qdragobject.h> 21#include <qdragobject.h>
22#include <qtextbrowser.h> 22#include <qtextbrowser.h>
23#include <qcstring.h>
24#include <qimage.h>
23 25
24#include <stdio.h> 26#include <stdio.h>
25 27
@@ -29,7 +31,7 @@ Q_OBJECT
29public: 31public:
30 HttpComm(QSocket *newSocket, QTextBrowser *newBrowser); 32 HttpComm(QSocket *newSocket, QTextBrowser *newBrowser);
31 void setUp(QString *newName); 33 void setUp(QString *newName);
32 void setStuff(QString newHost, QString newPortS, QString newFile, QTextDrag *newText); 34 void setStuff(QString newHost, QString newPortS, QString newFile, QTextDrag *newText, QImageDrag *newImage, bool newIsImage);
33 void parseHeader(); 35 void parseHeader();
34 void processBody(); 36 void processBody();
35public slots: 37public slots:
@@ -49,9 +51,11 @@ private:
49 unsigned int length; 51 unsigned int length;
50 unsigned int bRead; 52 unsigned int bRead;
51 QTextDrag *text; 53 QTextDrag *text;
54 QImageDrag *image;
52 QTextBrowser *browser; 55 QTextBrowser *browser;
53 bool chunked; 56 bool chunked;
54 bool lengthset; 57 bool lengthset;
55 unsigned int clength; 58 unsigned int clength;
56 int status; 59 int status;
60 bool isImage;
57}; 61};