summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/libkyahoo
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo')
-rw-r--r--kopete/protocols/yahoo/libkyahoo/client.cpp2
-rw-r--r--kopete/protocols/yahoo/libkyahoo/coreprotocol.cpp4
-rw-r--r--kopete/protocols/yahoo/libkyahoo/inputprotocolbase.cpp6
-rw-r--r--kopete/protocols/yahoo/libkyahoo/task.cpp4
-rw-r--r--kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp6
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 );