summaryrefslogtreecommitdiffstats
path: root/src/kvilib/net/kvi_http.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
commitf91149819be7e7f45e68f22876f3c0062a11d4b9 (patch)
treeea2e0b384a225b9fcedd5ec44e08d1ad2fc2570b /src/kvilib/net/kvi_http.cpp
parent32a249baaef1b910bffd79734c78cac3671f00f2 (diff)
downloadkvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.tar.gz
kvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.zip
Remove additional unneeded tq method conversions
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;
}