From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- kpf/src/Response.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kpf/src/Response.cpp') diff --git a/kpf/src/Response.cpp b/kpf/src/Response.cpp index da25a8a6..67d4f206 100644 --- a/kpf/src/Response.cpp +++ b/kpf/src/Response.cpp @@ -22,7 +22,7 @@ */ #include -#include +#include #include #include @@ -90,7 +90,7 @@ namespace KPF if (request.protocol() >= 1.0) { s = TQString(request.protocolString()) - + TQString(" %1 %2\r\n").arg(code_).arg(responseName(code_)); + + TQString(" %1 %2\r\n").tqarg(code_).tqarg(responseName(code_)); } break; @@ -103,7 +103,7 @@ namespace KPF case 501: case 505: s = TQString(request.protocolString()) - + TQString(" %1 %2\r\n").arg(code_).arg(responseName(code_)) + + TQString(" %1 %2\r\n").tqarg(code_).tqarg(responseName(code_)) + data(code_, request); break; @@ -178,7 +178,7 @@ namespace KPF } TQString contentLength = - TQString("Content-Length: %1\r\n").arg(html.length()); + TQString("Content-Length: %1\r\n").tqarg(html.length()); return (contentType + contentLength + "\r\n" + html); } -- cgit v1.2.1