diff options
Diffstat (limited to 'languages/cpp/app_templates/kioslave/slave.cpp')
-rw-r--r-- | languages/cpp/app_templates/kioslave/slave.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/app_templates/kioslave/slave.cpp b/languages/cpp/app_templates/kioslave/slave.cpp index df32aebf..c8dc5d81 100644 --- a/languages/cpp/app_templates/kioslave/slave.cpp +++ b/languages/cpp/app_templates/kioslave/slave.cpp @@ -1,8 +1,8 @@ -#include <qcstring.h> -#include <qsocket.h> -#include <qdatetime.h> -#include <qbitarray.h> +#include <tqcstring.h> +#include <tqsocket.h> +#include <tqdatetime.h> +#include <tqbitarray.h> #include <stdlib.h> #include <math.h> @@ -26,7 +26,7 @@ using namespace KIO; -kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const QCString &pool_socket, const QCString &app_socket) +kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket) : SlaveBase("kio_%{APPNAMELC}", pool_socket, app_socket) { kdDebug() << "kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol()" << endl; @@ -44,7 +44,7 @@ void kio_%{APPNAMELC}Protocol::get(const KURL& url ) kdDebug() << "kio_%{APPNAMELC}::get(const KURL& url)" << endl ; kdDebug() << "Seconds: " << url.query() << endl; - QString remoteServer = url.host(); + TQString remoteServer = url.host(); int remotePort = url.port(); kdDebug() << "myURL: " << url.prettyURL() << endl; @@ -52,9 +52,9 @@ void kio_%{APPNAMELC}Protocol::get(const KURL& url ) // Send the mimeType as soon as it is known mimeType("text/plain"); // Send the data - QString theData = "This is a test of kio_%{APPNAMELC}"; - data(QCString(theData.local8Bit())); - data(QByteArray()); // empty array means we're done sending the data + TQString theData = "This is a test of kio_%{APPNAMELC}"; + data(TQCString(theData.local8Bit())); + data(TQByteArray()); // empty array means we're done sending the data finished(); } |