diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:40:04 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:54 +0200 |
commit | e21c70f0573896c6503317f4684f2f421a57fd11 (patch) | |
tree | a10be14e724e53e07ea7bd6ac24ddac6957052f9 /src/kvilib/net/kvi_http.cpp | |
parent | edb69b6a65e67dd6368b8b0ae16a8bf4105ca76d (diff) | |
download | kvirc-e21c70f0573896c6503317f4684f2f421a57fd11.tar.gz kvirc-e21c70f0573896c6503317f4684f2f421a57fd11.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit f91149819be7e7f45e68f22876f3c0062a11d4b9)
Diffstat (limited to 'src/kvilib/net/kvi_http.cpp')
-rw-r--r-- | src/kvilib/net/kvi_http.cpp | 8 |
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; } |