diff options
author | Timothy Pearson <[email protected]> | 2012-03-01 13:34:45 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-01 13:34:45 -0600 |
commit | 6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (patch) | |
tree | 35c87e21025b800ecd5840f96a9638c964e930b8 /kopete/protocols/yahoo | |
parent | b251e315b57c6665336289a940e9b1d4a179e463 (diff) | |
download | tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.tar.gz tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.zip |
Rename additional global TQt functions
Diffstat (limited to 'kopete/protocols/yahoo')
5 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/client.cpp b/kopete/protocols/yahoo/libkyahoo/client.cpp index 77252ac1..d293f646 100644 --- a/kopete/protocols/yahoo/libkyahoo/client.cpp +++ b/kopete/protocols/yahoo/libkyahoo/client.cpp @@ -825,7 +825,7 @@ void Client::send( Transfer* request ) void Client::debug(const TQString &str) { - qDebug( "CLIENT: %s", str.ascii() ); + tqDebug( "CLIENT: %s", str.ascii() ); } Task * Client::rootTask() diff --git a/kopete/protocols/yahoo/libkyahoo/coreprotocol.cpp b/kopete/protocols/yahoo/libkyahoo/coreprotocol.cpp index 573c5ccf..12b9561c 100644 --- a/kopete/protocols/yahoo/libkyahoo/coreprotocol.cpp +++ b/kopete/protocols/yahoo/libkyahoo/coreprotocol.cpp @@ -87,7 +87,7 @@ void CoreProtocol::addIncomingData( const TQByteArray & incomingBytes ) /* if ( m_eventProtocol->state() == EventProtocol::OutOfSync ) { - qDebug( " - protocol thinks it's out of sync, discarding the rest of the buffer and hoping the server regains sync soon..." ); + tqDebug( " - protocol thinks it's out of sync, discarding the rest of the buffer and hoping the server regains sync soon..." ); m_in.truncate( 0 ); } */ @@ -219,7 +219,7 @@ void CoreProtocol::reset() void CoreProtocol::slotOutgoingData( const TQByteArray &out ) { - qDebug( "%s", out.data() ); + tqDebug( "%s", out.data() ); } bool CoreProtocol::okToProceed( TQDataStream &din) diff --git a/kopete/protocols/yahoo/libkyahoo/inputprotocolbase.cpp b/kopete/protocols/yahoo/libkyahoo/inputprotocolbase.cpp index 5ef1047d..41fbb0a7 100644 --- a/kopete/protocols/yahoo/libkyahoo/inputprotocolbase.cpp +++ b/kopete/protocols/yahoo/libkyahoo/inputprotocolbase.cpp @@ -52,7 +52,7 @@ bool InputProtocolBase::okToProceed() if ( m_din->atEnd() ) { m_state = NeedMore; - qDebug( "InputProtocol::okToProceed() - Server message ended prematurely!" ); + tqDebug( "InputProtocol::okToProceed() - Server message ended prematurely!" ); } else return true; @@ -71,7 +71,7 @@ bool InputProtocolBase::safeReadBytes( TQCString & data, uint & len ) m_bytes += sizeof( TQ_UINT32 ); if ( val > 1024 ) return false; - //qDebug( "EventProtocol::safeReadBytes() - expecting %i bytes", val ); + //tqDebug( "EventProtocol::safeReadBytes() - expecting %i bytes", val ); TQCString temp( val ); if ( val != 0 ) { @@ -86,7 +86,7 @@ bool InputProtocolBase::safeReadBytes( TQCString & data, uint & len ) // if ( (quint8)( * ( temp.data() + ( temp.length() - 1 ) ) ) == 0xFF ) if ( temp.length() < static_cast<int>( val - 1 ) ) { - qDebug( "InputProtocol::safeReadBytes() - string broke, giving up, only got: %i bytes out of %i", temp.length(), val ); + tqDebug( "InputProtocol::safeReadBytes() - string broke, giving up, only got: %i bytes out of %i", temp.length(), val ); m_state = NeedMore; return false; } diff --git a/kopete/protocols/yahoo/libkyahoo/task.cpp b/kopete/protocols/yahoo/libkyahoo/task.cpp index ccebaef3..9ae7861b 100644 --- a/kopete/protocols/yahoo/libkyahoo/task.cpp +++ b/kopete/protocols/yahoo/libkyahoo/task.cpp @@ -141,7 +141,7 @@ bool Task::take( Transfer * transfer) if(t->take( transfer )) { - qDebug( "Transfer ACCEPTED by: %s", t->className() ); + tqDebug( "Transfer ACCEPTED by: %s", t->className() ); return true; } } @@ -161,7 +161,7 @@ void Task::safeDelete() void Task::onGo() { - qDebug( "ERROR: calling default NULL onGo() for this task, you should reimplement this!"); + tqDebug( "ERROR: calling default NULL onGo() for this task, you should reimplement this!"); } void Task::onDisconnect() diff --git a/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp b/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp index 0d05d853..c5427d3e 100644 --- a/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp +++ b/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp @@ -256,7 +256,7 @@ void ClientStream::write( Transfer *request ) void cs_dump( const TQByteArray &bytes ) { #if 0 - qDebug( "contains: %i bytes ", bytes.count() ); + tqDebug( "contains: %i bytes ", bytes.count() ); uint count = 0; while ( count < bytes.count() ) { @@ -369,11 +369,11 @@ void ClientStream::bs_readyRead() { // kdDebug(YAHOO_RAW_DEBUG) ; TQByteArray a; - //qDebug( "size of storage for incoming data is %i bytes.", a.size() ); + //tqDebug( "size of storage for incoming data is %i bytes.", a.size() ); a = d->bs->read(); //TQCString cs(a.data(), a.size()+1); - //qDebug("ClientStream: recv: %d [%s]\n", a.size(), cs.data()); + //tqDebug("ClientStream: recv: %d [%s]\n", a.size(), cs.data()); //kdDebug(YAHOO_RAW_DEBUG) << " recv: " << a.size() <<" bytes"; //cs_dump( a ); |