summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-18 17:22:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-18 17:22:41 +0900
commit9f6eae232482179563b83880e4c0379bc8727cda (patch)
tree33309428133340b841210e5fd527025ca7f9c313 /src
parentbe245111d8cc8ccf3614aa3191bc4e9b7ab0aefd (diff)
downloadtdeio-sword-9f6eae232482179563b83880e4c0379bc8727cda.tar.gz
tdeio-sword-9f6eae232482179563b83880e4c0379bc8727cda.zip
Use dedicated kdDebug area.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/tdeio_sword.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tdeio_sword.cpp b/src/tdeio_sword.cpp
index 0e244e2..384f09d 100644
--- a/src/tdeio_sword.cpp
+++ b/src/tdeio_sword.cpp
@@ -55,10 +55,10 @@ extern "C" {
int kdemain(int argc, char **argv) {
TDEInstance instance("tdeio_sword");
- kdDebug(7101) << "*** Starting tdeio_sword " << endl;
+ kdDebug(7135) << "*** Starting tdeio_sword " << endl;
if (argc != 4) {
- kdDebug(7101) <<
+ kdDebug(7135) <<
"Usage: tdeio_sword protocol domain-socket1 domain-socket2"
<< endl;
exit(-1);
@@ -67,7 +67,7 @@ extern "C" {
KioSword::SwordProtocol slave(argv[2], argv[3]);
slave.dispatchLoop();
- kdDebug(7101) << "*** tdeio_sword Done" << endl;
+ kdDebug(7135) << "*** tdeio_sword Done" << endl;
return 0;
}
}
@@ -86,14 +86,14 @@ namespace KioSword
const TQCString & app_socket)
: SlaveBase("tdeio_sword", pool_socket, app_socket)
{
- kdDebug() << "SwordProtocol::SwordProtocol()" << endl;
+ kdDebug(7135) << "SwordProtocol::SwordProtocol()" << endl;
m_config = TDEGlobal::config();
}
SwordProtocol::~SwordProtocol()
{
- kdDebug() << "SwordProtocol::~SwordProtocol()" << endl;
+ kdDebug(7135) << "SwordProtocol::~SwordProtocol()" << endl;
}
void SwordProtocol::get(const KURL & url)
@@ -102,12 +102,12 @@ namespace KioSword
TQString query;
TQString error;
- kdDebug() << "SwordProtocol::get(const KURL& url)" << endl;
+ kdDebug(7135) << "SwordProtocol::get(const KURL& url)" << endl;
- /* kdDebug() << "Seconds: " << url.query() << endl;
+ /* kdDebug(7135) << "Seconds: " << url.query() << endl;
TQString remoteServer = url.host();
int remotePort = url.port();
- kdDebug() << "myURL: " << url.prettyURL() << endl; */
+ kdDebug(7135) << "myURL: " << url.prettyURL() << endl; */
// Send the mimeType as soon as it is known
mimeType("text/html");