summaryrefslogtreecommitdiffstats
path: root/src/kvilib/net/kvi_http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/net/kvi_http.cpp')
-rw-r--r--src/kvilib/net/kvi_http.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kvilib/net/kvi_http.cpp b/src/kvilib/net/kvi_http.cpp
index 6b3dd912..9e87d78c 100644
--- a/src/kvilib/net/kvi_http.cpp
+++ b/src/kvilib/net/kvi_http.cpp
@@ -164,7 +164,7 @@ bool KviHttpRequest::start()
if((!kvi_strEqualCI(m_url.protocol().ptr(),"http")) && (!kvi_strEqualCI(m_url.protocol().ptr(),"https")))
{
resetInternalStatus();
- m_szLastError=__tr2qs("Unsupported protocol %1").tqarg(m_url.protocol().ptr());
+ m_szLastError=__tr2qs("Unsupported protocol %1").arg(m_url.protocol().ptr());
return false;
}
@@ -409,7 +409,7 @@ bool KviHttpRequest::openFile()
TQString tmp = m_szFileName;
do {
i++;
- m_szFileName = tmp + TQString(".kvirnm-%1").tqarg(i);
+ m_szFileName = tmp + TQString(".kvirnm-%1").arg(i);
} while(KviFile::exists(m_szFileName));
}
break;
@@ -419,7 +419,7 @@ bool KviHttpRequest::openFile()
TQString tmp;
do {
i++;
- tmp = m_szFileName + TQString(".kvirnm-%1").tqarg(i);
+ tmp = m_szFileName + TQString(".kvirnm-%1").arg(i);
} while(KviFile::exists(tmp));
TQDir d;
if(!d.rename(m_szFileName,tmp))
@@ -494,7 +494,7 @@ bool KviHttpRequest::processHeader(KviStr &szHeader)
{
// the response is invalid ?
resetInternalStatus();
- m_szLastError=__tr2qs("Invalid HTTP response: %s").tqarg(szResponse.ptr());
+ m_szLastError=__tr2qs("Invalid HTTP response: %s").arg(szResponse.ptr());
emit terminated(false);
return false;
}