diff options
author | Slávek Banko <[email protected]> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-01-17 13:30:05 +0100 |
commit | eb6ac02bb511f14a2506fb2f3c94d84d469e42cd (patch) | |
tree | 138827ff0c8800f67b7725c352950f0df421916b /src/modules/torrent/tc_ktorrentdcopinterface.cpp | |
parent | 351c95fe16505298db187a17e4ceff8d2377190b (diff) | |
download | kvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.tar.gz kvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.zip |
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 7cc4356bc2eceb5a66c2263bff44aa472d2ca290)
Diffstat (limited to 'src/modules/torrent/tc_ktorrentdcopinterface.cpp')
-rw-r--r-- | src/modules/torrent/tc_ktorrentdcopinterface.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.cpp b/src/modules/torrent/tc_ktorrentdcopinterface.cpp index c74174d5..046186e8 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"; |