diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-10-29 18:21:41 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-17 13:30:05 +0100 |
commit | eb6ac02bb511f14a2506fb2f3c94d84d469e42cd (patch) | |
tree | 138827ff0c8800f67b7725c352950f0df421916b /src/modules/dcc/marshal.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 <slavek.banko@axis.cz>
(cherry picked from commit 7cc4356bc2eceb5a66c2263bff44aa472d2ca290)
Diffstat (limited to 'src/modules/dcc/marshal.cpp')
-rw-r--r-- | src/modules/dcc/marshal.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/dcc/marshal.cpp b/src/modules/dcc/marshal.cpp index 6d69dccf..0a386eec 100644 --- a/src/modules/dcc/marshal.cpp +++ b/src/modules/dcc/marshal.cpp @@ -88,10 +88,10 @@ void KviDccMarshal::reset() m_fd = KVI_INVALID_SOCKET; } #ifdef COMPILE_SSL_SUPPORT -// debug("MARSHAL RESETTING (SSL=%d)",m_pSSL); +// tqDebug("MARSHAL RESETTING (SSL=%d)",m_pSSL); if(m_pSSL) { -// debug("MARSHAL CLEARING THE SSL"); +// tqDebug("MARSHAL CLEARING THE SSL"); KviSSLMaster::freeSSL(m_pSSL); m_pSSL = 0; } @@ -267,12 +267,12 @@ void KviDccMarshal::doListen() if(kvi_socket_getsockname(m_fd,sareal.socketAddress(),&size)) { -// debug("GETSOCKNAMEOK"); +// tqDebug("GETSOCKNAMEOK"); m_szPort.setNum(sareal.port()); m_uPort = sareal.port(); -// debug("REALPORT %u",m_uPort); +// tqDebug("REALPORT %u",m_uPort); } else { -// debug("GETSOCKNAMEFAILED"); +// tqDebug("GETSOCKNAMEFAILED"); } // and setup the READ notifier... @@ -560,7 +560,7 @@ void KviDccMarshal::snActivated(int) void KviDccMarshal::doSSLHandshake(int) { #ifdef COMPILE_SSL_SUPPORT -// debug("DO SSL HANDSHAKE"); +// tqDebug("DO SSL HANDSHAKE"); if(m_pSn) { delete m_pSn; @@ -569,7 +569,7 @@ void KviDccMarshal::doSSLHandshake(int) if(!m_pSSL) { - debug("Ops... I've lost the SSL class ?"); + tqDebug("Ops... I've lost the SSL class ?"); reset(); emit error(KviError_internalError); return; // ops ? @@ -581,9 +581,9 @@ void KviDccMarshal::doSSLHandshake(int) { case KviSSL::Success: // done! -// debug("EMITTING CONNECTED"); +// tqDebug("EMITTING CONNECTED"); emit connected(); -// debug("CONNECTED EMITTED"); +// tqDebug("CONNECTED EMITTED"); break; case KviSSL::WantRead: m_pSn = new TQSocketNotifier((int)m_fd,TQSocketNotifier::Read); @@ -627,7 +627,7 @@ void KviDccMarshal::doSSLHandshake(int) break; } #else //!COMPILE_SSL_SUPPORT - debug("Ops.. ssl handshake without ssl support!...aborting!"); + tqDebug("Ops.. ssl handshake without ssl support!...aborting!"); exit(-1); #endif //!COMPILE_SSL_SUPPORT } |