summaryrefslogtreecommitdiffstats
path: root/plugins/webinterface/httpclienthandler.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:39:49 -0600
committerSlávek Banko <[email protected]>2012-06-06 03:48:48 +0200
commit161e93feae40489201edee480db6802a9a61b0a4 (patch)
tree77e3e4aeae8d388ac7a7f5d1f0a8cf67045ee4a8 /plugins/webinterface/httpclienthandler.cpp
parent1d7c126b63cbc97bba847f61e7c9ee89b80a390c (diff)
downloadktorrent-161e93feae40489201edee480db6802a9a61b0a4.tar.gz
ktorrent-161e93feae40489201edee480db6802a9a61b0a4.zip
Remove additional unneeded tq method conversions
(cherry picked from commit bb37c4052a9edfff2196984cef241b1ce2df7bb3)
Diffstat (limited to 'plugins/webinterface/httpclienthandler.cpp')
-rw-r--r--plugins/webinterface/httpclienthandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webinterface/httpclienthandler.cpp b/plugins/webinterface/httpclienthandler.cpp
index 1ad2d8d..cba0372 100644
--- a/plugins/webinterface/httpclienthandler.cpp
+++ b/plugins/webinterface/httpclienthandler.cpp
@@ -171,7 +171,7 @@ namespace kt
void HttpClientHandler::send500(HttpResponseHeader & hdr)
{
// Out(SYS_WEB|LOG_DEBUG) << "Sending 500 " << endl;
- TQString data = TQString(HTTP_500_ERROR).tqarg("An internal server error occured !");
+ TQString data = TQString(HTTP_500_ERROR).arg("An internal server error occured !");
hdr.setValue("Content-Length",TQString::number(data.length()));
TQTextStream os(client);
@@ -199,7 +199,7 @@ namespace kt
php = new PhpHandler(php_exe,php_iface);
if (!php->executeScript(php_file,args))
{
- TQString data = TQString(HTTP_500_ERROR).tqarg("Failed to launch PHP executable !");
+ TQString data = TQString(HTTP_500_ERROR).arg("Failed to launch PHP executable !");
hdr.setResponseCode(500);
hdr.setValue("Content-Length",TQString::number(data.utf8().length()));