From 7d4b246bc728b73e9d38e110619222dd89c1fd1c Mon Sep 17 00:00:00 2001 From: spiralman Date: Sat, 03 Aug 2002 03:25:31 +0000 Subject: fixed relative links (except from forward and back buttons), added initial image code (not working), changes to chunked encoding (still not working, might be a qsocket issue) --- (limited to 'noncore/net/ubrowser/httpcomm.h') 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 #include #include #include +#include +#include #include @@ -29,7 +31,7 @@ Q_OBJECT public: HttpComm(QSocket *newSocket, QTextBrowser *newBrowser); void setUp(QString *newName); - void setStuff(QString newHost, QString newPortS, QString newFile, QTextDrag *newText); + void setStuff(QString newHost, QString newPortS, QString newFile, QTextDrag *newText, QImageDrag *newImage, bool newIsImage); void parseHeader(); void processBody(); public slots: @@ -49,9 +51,11 @@ private: unsigned int length; unsigned int bRead; QTextDrag *text; + QImageDrag *image; QTextBrowser *browser; bool chunked; bool lengthset; unsigned int clength; int status; + bool isImage; }; -- cgit v0.9.0.2