diff options
Diffstat (limited to 'languages/cpp/app_templates/tdeioslave/slave.cpp')
-rw-r--r-- | languages/cpp/app_templates/tdeioslave/slave.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/app_templates/tdeioslave/slave.cpp b/languages/cpp/app_templates/tdeioslave/slave.cpp index 3c780e7f..683d959e 100644 --- a/languages/cpp/app_templates/tdeioslave/slave.cpp +++ b/languages/cpp/app_templates/tdeioslave/slave.cpp @@ -26,22 +26,22 @@ using namespace TDEIO; -kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket) - : SlaveBase("kio_%{APPNAMELC}", pool_socket, app_socket) +tdeio_%{APPNAMELC}Protocol::tdeio_%{APPNAMELC}Protocol(const TQCString &pool_socket, const TQCString &app_socket) + : SlaveBase("tdeio_%{APPNAMELC}", pool_socket, app_socket) { - kdDebug() << "kio_%{APPNAMELC}Protocol::kio_%{APPNAMELC}Protocol()" << endl; + kdDebug() << "tdeio_%{APPNAMELC}Protocol::tdeio_%{APPNAMELC}Protocol()" << endl; } -kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol() +tdeio_%{APPNAMELC}Protocol::~tdeio_%{APPNAMELC}Protocol() { - kdDebug() << "kio_%{APPNAMELC}Protocol::~kio_%{APPNAMELC}Protocol()" << endl; + kdDebug() << "tdeio_%{APPNAMELC}Protocol::~tdeio_%{APPNAMELC}Protocol()" << endl; } -void kio_%{APPNAMELC}Protocol::get(const KURL& url ) +void tdeio_%{APPNAMELC}Protocol::get(const KURL& url ) { - kdDebug() << "kio_%{APPNAMELC}::get(const KURL& url)" << endl ; + kdDebug() << "tdeio_%{APPNAMELC}::get(const KURL& url)" << endl ; kdDebug() << "Seconds: " << url.query() << endl; TQString remoteServer = url.host(); @@ -52,14 +52,14 @@ void kio_%{APPNAMELC}Protocol::get(const KURL& url ) // Send the mimeType as soon as it is known mimeType("text/plain"); // Send the data - TQString theData = "This is a test of kio_%{APPNAMELC}"; + TQString theData = "This is a test of tdeio_%{APPNAMELC}"; data(TQCString(theData.local8Bit())); data(TQByteArray()); // empty array means we're done sending the data finished(); } -void kio_%{APPNAMELC}Protocol::mimetype(const KURL & /*url*/) +void tdeio_%{APPNAMELC}Protocol::mimetype(const KURL & /*url*/) { mimeType("text/plain"); finished(); @@ -70,19 +70,19 @@ extern "C" { int kdemain(int argc, char **argv) { - TDEInstance instance( "kio_%{APPNAMELC}" ); + TDEInstance instance( "tdeio_%{APPNAMELC}" ); - kdDebug(7101) << "*** Starting kio_%{APPNAMELC} " << endl; + kdDebug(7101) << "*** Starting tdeio_%{APPNAMELC} " << endl; if (argc != 4) { - kdDebug(7101) << "Usage: kio_%{APPNAMELC} protocol domain-socket1 domain-socket2" << endl; + kdDebug(7101) << "Usage: tdeio_%{APPNAMELC} protocol domain-socket1 domain-socket2" << endl; exit(-1); } - kio_%{APPNAMELC}Protocol slave(argv[2], argv[3]); + tdeio_%{APPNAMELC}Protocol slave(argv[2], argv[3]); slave.dispatchLoop(); - kdDebug(7101) << "*** kio_%{APPNAMELC} Done" << endl; + kdDebug(7101) << "*** tdeio_%{APPNAMELC} Done" << endl; return 0; } } |