summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_ktorrentdcopinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/torrent/tc_ktorrentdcopinterface.cpp')
-rw-r--r--src/modules/torrent/tc_ktorrentdcopinterface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.cpp b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
index be2dea52..b679c782 100644
--- a/src/modules/torrent/tc_ktorrentdcopinterface.cpp
+++ b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
@@ -55,11 +55,11 @@ TORR_IMPLEMENT_DESCRIPTOR(
else \
msg = "Something's wrong here! KTorrent's DCOP interface has probably changed."; \
m_lastError = __tr2qs_ctx(TQString(msg), "torrent"); \
- debug("%s (%s:%d): %s", __PRETTY_FUNCTION__, __FILE__, __LINE__, (const char*)msg); \
+ tqDebug("%s (%s:%d): %s", __PRETTY_FUNCTION__, __FILE__, __LINE__, (const char*)msg); \
#define ERROR_MSG_RANGE(I, SIZE) \
KviTQString::sprintf(m_lastError, __tr2qs_ctx("Index out of range: %d [0-%d]!", "torrent"), I, (SIZE>0)?(SIZE-1):0); \
- debug("%s (%s:%d): Index out of range: %d [0-%d]!", __PRETTY_FUNCTION__ , __FILE__, __LINE__, I, (SIZE>0)?(SIZE-1):0);
+ tqDebug("%s (%s:%d): Index out of range: %d [0-%d]!", __PRETTY_FUNCTION__ , __FILE__, __LINE__, I, (SIZE>0)?(SIZE-1):0);
#define ERROR_RET_BOOL \
{ \
@@ -194,7 +194,7 @@ bool KviKTorrentDCOPInterface::start(int i)
{
CHECK_RANGE_BOOL(i, m_ti.size())
- debug("starting %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
+ tqDebug("starting %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
if (!voidRetIntDCOPCall("KTorrent", "start(int)", m_ti[i].num))
ERROR_RET_BOOL
@@ -205,7 +205,7 @@ bool KviKTorrentDCOPInterface::stop(int i)
{
CHECK_RANGE_BOOL(i, m_ti.size())
- debug("stopping %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
+ tqDebug("stopping %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
if (!voidRetIntBoolDCOPCall("KTorrent", "stop(int, bool)", m_ti[i].num, true))
ERROR_RET_BOOL
@@ -216,7 +216,7 @@ bool KviKTorrentDCOPInterface::announce(int i)
{
CHECK_RANGE_BOOL(i, m_ti.size())
- debug("announcing %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
+ tqDebug("announcing %s [%d]", (const char*)m_ti[i].name, m_ti[i].num);
if (!voidRetIntDCOPCall("KTorrent", "announce(int)", m_ti[i].num))
ERROR_RET_BOOL
return true;
@@ -270,7 +270,7 @@ TQString KviKTorrentDCOPInterface::filePriority(int i, int file)
CHECK_RANGE_STRING(file, ret.size())
- debug("prio: %d", ret[file]);
+ tqDebug("prio: %d", ret[file]);
switch (ret[file])
{
case 1: return "low";