summaryrefslogtreecommitdiff
path: root/noncore/net/ubrowser/httpcomm.h
Side-by-side diff
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
@@ -21,4 +21,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <qdragobject.h>
#include <qtextbrowser.h>
+#include <qcstring.h>
+#include <qimage.h>
#include <stdio.h>
@@ -30,5 +32,5 @@ 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();
@@ -50,4 +52,5 @@ private:
unsigned int bRead;
QTextDrag *text;
+ QImageDrag *image;
QTextBrowser *browser;
bool chunked;
@@ -55,3 +58,4 @@ private:
unsigned int clength;
int status;
+ bool isImage;
};