author | spiralman <spiralman> | 2002-08-03 03:25:31 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-08-03 03:25:31 (UTC) |
commit | 7d4b246bc728b73e9d38e110619222dd89c1fd1c (patch) (unidiff) | |
tree | 7e6fbb8bbb106967993fa786a917fccde43970f3 /noncore/net/ubrowser/httpcomm.h | |
parent | 4005263f7c64a631f4df9aeece83321ba818160d (diff) | |
download | opie-7d4b246bc728b73e9d38e110619222dd89c1fd1c.zip opie-7d4b246bc728b73e9d38e110619222dd89c1fd1c.tar.gz opie-7d4b246bc728b73e9d38e110619222dd89c1fd1c.tar.bz2 |
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)
Diffstat (limited to 'noncore/net/ubrowser/httpcomm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/ubrowser/httpcomm.h | 6 |
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 | |||
29 | public: | 31 | public: |
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(); |
35 | public slots: | 37 | public 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 | }; |