summaryrefslogtreecommitdiffstats
path: root/kpf/src/Request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/Request.cpp')
-rw-r--r--kpf/src/Request.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpf/src/Request.cpp b/kpf/src/Request.cpp
index 442e4993..886aac44 100644
--- a/kpf/src/Request.cpp
+++ b/kpf/src/Request.cpp
@@ -56,7 +56,7 @@ namespace KPF
{
TQString line(*it);
- int colonPos = line.find(':');
+ int colonPos = line.tqfind(':');
if (-1 != colonPos)
{
@@ -114,7 +114,7 @@ namespace KPF
s.remove(0, 5);
- int dotPos = s.find('.');
+ int dotPos = s.tqfind('.');
if (-1 != dotPos)
{
@@ -224,31 +224,31 @@ namespace KPF
return haveIfUnmodifiedSince_;
}
- QString
+ TQString
Request::path() const
{
return path_;
}
- QString
+ TQString
Request::host() const
{
return host_;
}
- QDateTime
+ TQDateTime
Request::ifModifiedSince() const
{
return ifModifiedSince_;
}
- QDateTime
+ TQDateTime
Request::ifUnmodifiedSince() const
{
return ifUnmodifiedSince_;
}
- QCString
+ TQCString
Request::protocolString() const
{
TQCString s("HTTP/");
@@ -346,14 +346,14 @@ namespace KPF
expectContinue_ = false;
haveRange_ = false;
persist_ = false;
- path_ = TQString::null;
- host_ = TQString::null;
+ path_ = TQString();
+ host_ = TQString();
ifModifiedSince_ = TQDateTime();
ifUnmodifiedSince_ = TQDateTime();
range_.clear();
}
- QString
+ TQString
Request::clean(const TQString & _path) const
{
TQString s(_path);
@@ -367,7 +367,7 @@ namespace KPF
// Double slash -> slash.
TQRegExp r("\\/\\/+");
- s.replace(r, "/");
+ s.tqreplace(r, "/");
return s;
}