summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/http.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/parser/http.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/parser/http.h')
-rw-r--r--klinkstatus/src/parser/http.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/klinkstatus/src/parser/http.h b/klinkstatus/src/parser/http.h
index 5878cfd1..b955d25d 100644
--- a/klinkstatus/src/parser/http.h
+++ b/klinkstatus/src/parser/http.h
@@ -21,8 +21,8 @@
#ifndef HTTP_H
#define HTTP_H
-#include <qhttp.h>
-#include <qstring.h>
+#include <tqhttp.h>
+#include <tqstring.h>
class HttpResponseHeader: public QHttpResponseHeader
@@ -30,39 +30,39 @@ class HttpResponseHeader: public QHttpResponseHeader
public:
HttpResponseHeader();
- HttpResponseHeader(const QHttpResponseHeader & header);
- HttpResponseHeader(QString const& str);
+ HttpResponseHeader(const TQHttpResponseHeader & header);
+ HttpResponseHeader(TQString const& str);
virtual ~HttpResponseHeader();
void parseLocation();
- QString const& location() const;
- QString charset() const;
+ TQString const& location() const;
+ TQString charset() const;
/**
* Parses the charset from this kind of server response:
* Content-Type: text/html; charset=EUC-JP
* Return an empty string in case it doesn't find nothing.
*/
- static QString charset(QString const& contentTypeHttpHeaderLine);
+ static TQString charset(TQString const& contentTypeHttpHeaderLine);
private:
- QString location_;
+ TQString location_;
};
inline HttpResponseHeader::HttpResponseHeader()
- : QHttpResponseHeader()
+ : TQHttpResponseHeader()
{
}
-inline HttpResponseHeader::HttpResponseHeader(const QHttpResponseHeader & /*header*/)
- : QHttpResponseHeader()
+inline HttpResponseHeader::HttpResponseHeader(const TQHttpResponseHeader & /*header*/)
+ : TQHttpResponseHeader()
{
}
-inline HttpResponseHeader::HttpResponseHeader(QString const& str)
- : QHttpResponseHeader()
+inline HttpResponseHeader::HttpResponseHeader(TQString const& str)
+ : TQHttpResponseHeader()
{
parse(str);
}
@@ -71,7 +71,7 @@ inline HttpResponseHeader::~HttpResponseHeader()
{
}
-inline QString const& HttpResponseHeader::location() const
+inline TQString const& HttpResponseHeader::location() const
{
return location_;
}