summaryrefslogtreecommitdiffstats
path: root/kopete/protocols
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:34:45 -0600
commit6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (patch)
tree35c87e21025b800ecd5840f96a9638c964e930b8 /kopete/protocols
parentb251e315b57c6665336289a940e9b1d4a179e463 (diff)
downloadtdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.tar.gz
tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.zip
Rename additional global TQt functions
Diffstat (limited to 'kopete/protocols')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/client.cpp2
-rw-r--r--kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp2
-rw-r--r--kopete/protocols/groupwise/libgroupwise/inputprotocolbase.cpp4
-rw-r--r--kopete/protocols/groupwise/libgroupwise/securestream.cpp2
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tests/clientstream_test.cpp18
-rw-r--r--kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp4
-rw-r--r--kopete/protocols/jabber/jabbercapabilitiesmanager.cpp2
-rw-r--r--kopete/protocols/jabber/jingle/jinglevoicecaller.cpp34
-rw-r--r--kopete/protocols/jabber/jingle/jinglevoicesession.cpp4
-rw-r--r--kopete/protocols/jabber/libiris/cutestuff/util/sha1.cpp2
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp2
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp2
-rw-r--r--kopete/protocols/msn/sha1.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/client.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/inputprotocolbase.cpp6
-rw-r--r--kopete/protocols/oscar/liboscar/oscarclientstream.cpp6
-rw-r--r--kopete/protocols/oscar/liboscar/task.cpp6
-rw-r--r--kopete/protocols/oscar/liboscar/tests/clientstream_test.cpp4
-rw-r--r--kopete/protocols/oscar/liboscar/tests/logintest.cpp4
-rw-r--r--kopete/protocols/oscar/liboscar/tests/ssigrouptest.cpp8
-rw-r--r--kopete/protocols/oscar/liboscar/tests/ssitest.cpp26
-rw-r--r--kopete/protocols/oscar/liboscar/tests/userinfotest.cpp6
-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
27 files changed, 85 insertions, 85 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/client.cpp b/kopete/protocols/groupwise/libgroupwise/client.cpp
index 5df0d1de..21c1b1d0 100644
--- a/kopete/protocols/groupwise/libgroupwise/client.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/client.cpp
@@ -468,7 +468,7 @@ void Client::debug( const TQString &str )
#ifdef LIBGW_USE_KDEBUG
kdDebug( GROUPWISE_DEBUG_LIBGW ) << "debug: " << str << endl;
#else
- qDebug( "CLIENT: %s\n", str.ascii() );
+ tqDebug( "CLIENT: %s\n", str.ascii() );
#endif
}
diff --git a/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp b/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
index 449adfe0..1041fb9c 100644
--- a/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/coreprotocol.cpp
@@ -122,7 +122,7 @@ void CoreProtocol::debug( const TQString &str )
#ifdef LIBGW_USE_KDEBUG
kdDebug( 14191 ) << "debug: " << str << endl;
#else
- qDebug( "GW RAW PROTO: %s\n", str.ascii() );
+ tqDebug( "GW RAW PROTO: %s\n", str.ascii() );
#endif
}
diff --git a/kopete/protocols/groupwise/libgroupwise/inputprotocolbase.cpp b/kopete/protocols/groupwise/libgroupwise/inputprotocolbase.cpp
index 415905bf..d2ff9756 100644
--- a/kopete/protocols/groupwise/libgroupwise/inputprotocolbase.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/inputprotocolbase.cpp
@@ -38,7 +38,7 @@ void InputProtocolBase::debug( const TQString &str )
#ifdef LIBGW_USE_KDEBUG
kdDebug( 14191 ) << "debug: " << str << endl;
#else
- qDebug( "GW RAW PROTO: %s\n", str.ascii() );
+ tqDebug( "GW RAW PROTO: %s\n", str.ascii() );
#endif
}
@@ -83,7 +83,7 @@ bool InputProtocolBase::safeReadBytes( TQCString & data, uint & len )
m_bytes += sizeof( TQ_UINT32 );
if ( val > NMFIELD_MAX_STR_LENGTH )
return false;
- //qDebug( "EventProtocol::safeReadBytes() - expecting %i bytes", val );
+ //tqDebug( "EventProtocol::safeReadBytes() - expecting %i bytes", val );
TQCString temp( val );
if ( val != 0 )
{
diff --git a/kopete/protocols/groupwise/libgroupwise/securestream.cpp b/kopete/protocols/groupwise/libgroupwise/securestream.cpp
index 6898c18e..569090c0 100644
--- a/kopete/protocols/groupwise/libgroupwise/securestream.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/securestream.cpp
@@ -533,7 +533,7 @@ void SecureStream::writeRawData(const TQByteArray &a)
void SecureStream::incomingData(const TQByteArray &a)
{
appendRead(a);
- //qDebug( "SecureStream::incomingData() got %i bytes ", a.size() );
+ //tqDebug( "SecureStream::incomingData() got %i bytes ", a.size() );
if(bytesAvailable())
readyRead();
diff --git a/kopete/protocols/groupwise/libgroupwise/tests/clientstream_test.cpp b/kopete/protocols/groupwise/libgroupwise/tests/clientstream_test.cpp
index 4272d956..7a0c039b 100644
--- a/kopete/protocols/groupwise/libgroupwise/tests/clientstream_test.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/tests/clientstream_test.cpp
@@ -37,26 +37,26 @@ void ClientStreamTest::slotDoTest()
dn.dn = "maeuschen";
dn.server = "reiser.suse.de";
// connect to server
- qDebug( "connecting to server ");
+ tqDebug( "connecting to server ");
myTestObject->connectToServer( dn, true ); // fine up to here...
}
void ClientStreamTest::slotConnected()
{
- qDebug( "connection is up");
+ tqDebug( "connection is up");
}
void ClientStreamTest::slotWarning(int warning)
{
- qDebug( "warning: %i", warning);
+ tqDebug( "warning: %i", warning);
}
void ClientStreamTest::slotsend(int layer)
{
- qDebug( "security layer is up: %i", layer);
+ tqDebug( "security layer is up: %i", layer);
RequestFactory testFactory;
// we're not connecting...
- qDebug( "sending request" );
+ tqDebug( "sending request" );
// send a request
TQCString command("login");
Request * firstRequest = testFactory.request( command );
@@ -68,23 +68,23 @@ void ClientStreamTest::slotsend(int layer)
lst.append( new Field::SingleField( NM_A_IP_ADDRESS, 0, NMFIELD_TYPE_UTF8, "10.10.11.103" ) );
firstRequest->setFields( lst );
myTestObject->write( firstRequest );
- qDebug( "done");
+ tqDebug( "done");
}
void ClientStreamTest::slotTLSHandshaken()
{
- qDebug( "TLS handshake complete" );
+ tqDebug( "TLS handshake complete" );
int validityResult = myTLS->certificateValidityResult ();
if( validityResult == QCA::TLS::Valid )
{
- qDebug( "Certificate is valid, continuing.");
+ tqDebug( "Certificate is valid, continuing.");
// valid certificate, continue
myTLSHandler->continueAfterHandshake ();
}
else
{
- qDebug( "Certificate is not valid, continuing" );
+ tqDebug( "Certificate is not valid, continuing" );
// certificate is not valid, query the user
/* if(handleTLSWarning (validityResult, server (), myself()->contactId ()) == KMessageBox::Continue)
{*/
diff --git a/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp b/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp
index ceb29632..d0605239 100644
--- a/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp
@@ -59,11 +59,11 @@ TQStringList UserDetailsManager::knownDNs()
void UserDetailsManager::addDetails( const ContactDetails & details )
{
- //qDebug( "UserDetailsManager::addContact, got %s, we now know: ", details.dn.ascii() );
+ //tqDebug( "UserDetailsManager::addContact, got %s, we now know: ", details.dn.ascii() );
m_detailsMap.insert( details.dn, details );
/* TQStringList keys = m_detailsMap.keys();
dump( keys );
- qDebug( "UserDetailsManager::addContact, pending: " );
+ tqDebug( "UserDetailsManager::addContact, pending: " );
dump( m_pendingDNs );*/
}
diff --git a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp
index 3688565a..c1affb1e 100644
--- a/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp
+++ b/kopete/protocols/jabber/jabbercapabilitiesmanager.cpp
@@ -208,7 +208,7 @@ TQPair<Jid,JabberAccount*> JabberCapabilitiesManager::CapabilitiesInformation::n
}
else if( (*it).second->isConnected() )
{
- //qDebug("caps.cpp: Account isn't active");
+ //tqDebug("caps.cpp: Account isn't active");
kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "Account isn't connected." << endl;
return TQPair<Jid,JabberAccount*>( (*it).first,(*it).second );
diff --git a/kopete/protocols/jabber/jingle/jinglevoicecaller.cpp b/kopete/protocols/jabber/jingle/jinglevoicecaller.cpp
index f6911a3b..e25c7c3c 100644
--- a/kopete/protocols/jabber/jingle/jinglevoicecaller.cpp
+++ b/kopete/protocols/jabber/jingle/jinglevoicecaller.cpp
@@ -36,8 +36,8 @@
#include "jabberaccount.h"
#include <kdebug.h>
-#define qDebug( X ) kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << X << endl
-#define qWarning( X ) kdWarning() <<k_funcinfo<< X << endl
+#define tqDebug( X ) kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << X << endl
+#define tqWarning( X ) kdWarning() <<k_funcinfo<< X << endl
// ----------------------------------------------------------------------------
@@ -111,10 +111,10 @@ void JingleClientSlots::callCreated(cricket::Call *call)
void JingleClientSlots::callDestroyed(cricket::Call *call)
{
- qDebug("JingleClientSlots: Call destroyed");
+ tqDebug("JingleClientSlots: Call destroyed");
Jid jid(call->sessions()[0]->remote_address().c_str());
if (voiceCaller_->calling(jid)) {
- qDebug(TQString("Removing unterminated call to %1").arg(jid.full()));
+ tqDebug(TQString("Removing unterminated call to %1").arg(jid.full()));
voiceCaller_->removeCall(jid);
emit voiceCaller_->terminated(jid);
}
@@ -138,7 +138,7 @@ void JingleClientSlots::requestSignaling()
void JingleClientSlots::stateChanged(cricket::Call *call, cricket::Session *session, cricket::Session::State state)
{
- qDebug(TQString("jinglevoicecaller.cpp: State changed (%1)").arg(state));
+ tqDebug(TQString("jinglevoicecaller.cpp: State changed (%1)").arg(state));
// Why is c_str() stuff needed to make it compile on OS X ?
Jid jid(session->remote_address().c_str());
@@ -156,7 +156,7 @@ void JingleClientSlots::stateChanged(cricket::Call *call, cricket::Session *sess
}
else if (state == cricket::Session::STATE_SENTMODIFY) { }
else if (state == cricket::Session::STATE_RECEIVEDMODIFY) {
- qWarning(TQString("jinglevoicecaller.cpp: RECEIVEDMODIFY not implemented yet (was from %1)").arg(jid.full()));
+ tqWarning(TQString("jinglevoicecaller.cpp: RECEIVEDMODIFY not implemented yet (was from %1)").arg(jid.full()));
}
else if (state == cricket::Session::STATE_SENTREJECT) { }
else if (state == cricket::Session::STATE_RECEIVEDREJECT) {
@@ -195,9 +195,9 @@ void JingleVoiceCaller::initialize()
return;
TQString jid = ((ClientStream&) account()->client()->client()->stream()).jid().full();
- qDebug(TQString("jinglevoicecaller.cpp: Creating new caller for %1").arg(jid));
+ tqDebug(TQString("jinglevoicecaller.cpp: Creating new caller for %1").arg(jid));
if (jid.isEmpty()) {
- qWarning("jinglevoicecaller.cpp: Empty JID");
+ tqWarning("jinglevoicecaller.cpp: Empty JID");
return;
}
@@ -271,7 +271,7 @@ bool JingleVoiceCaller::calling(const Jid& jid)
void JingleVoiceCaller::call(const Jid& jid)
{
- qDebug(TQString("jinglevoicecaller.cpp: Calling %1").arg(jid.full()));
+ tqDebug(TQString("jinglevoicecaller.cpp: Calling %1").arg(jid.full()));
cricket::Call *c = ((cricket::PhoneSessionClient*)(phone_client_))->CreateCall();
c->InitiateSession(buzz::Jid(jid.full().ascii()));
phone_client_->SetFocus(c);
@@ -279,7 +279,7 @@ void JingleVoiceCaller::call(const Jid& jid)
void JingleVoiceCaller::accept(const Jid& j)
{
- qDebug("jinglevoicecaller.cpp: Accepting call");
+ tqDebug("jinglevoicecaller.cpp: Accepting call");
cricket::Call* call = calls_[j.full()];
if (call != NULL) {
call->AcceptSession(call->sessions()[0]);
@@ -289,7 +289,7 @@ void JingleVoiceCaller::accept(const Jid& j)
void JingleVoiceCaller::reject(const Jid& j)
{
- qDebug("jinglevoicecaller.cpp: Rejecting call");
+ tqDebug("jinglevoicecaller.cpp: Rejecting call");
cricket::Call* call = calls_[j.full()];
if (call != NULL) {
call->RejectSession(call->sessions()[0]);
@@ -299,7 +299,7 @@ void JingleVoiceCaller::reject(const Jid& j)
void JingleVoiceCaller::terminate(const Jid& j)
{
- qDebug(TQString("jinglevoicecaller.cpp: Terminating call to %1").arg(j.full()));
+ tqDebug(TQString("jinglevoicecaller.cpp: Terminating call to %1").arg(j.full()));
cricket::Call* call = calls_[j.full()];
if (call != NULL) {
call->Terminate();
@@ -314,20 +314,20 @@ void JingleVoiceCaller::sendStanza(const char* stanza)
void JingleVoiceCaller::registerCall(const Jid& jid, cricket::Call* call)
{
- qDebug("jinglevoicecaller.cpp: Registering call\n");
+ tqDebug("jinglevoicecaller.cpp: Registering call\n");
kdDebug(14000) << k_funcinfo << jid.full() << endl;
if (!calls_.contains(jid.full())) {
calls_[jid.full()] = call;
}
// else {
-// qWarning("jinglevoicecaller.cpp: Auto-rejecting call because another call is currently open");
+// tqWarning("jinglevoicecaller.cpp: Auto-rejecting call because another call is currently open");
// call->RejectSession(call->sessions()[0]);
// }
}
void JingleVoiceCaller::removeCall(const Jid& j)
{
- qDebug(TQString("JingleVoiceCaller: Removing call to %1").arg(j.full()));
+ tqDebug(TQString("JingleVoiceCaller: Removing call to %1").arg(j.full()));
calls_.remove(j.full());
}
@@ -341,7 +341,7 @@ void JingleVoiceCaller::receiveStanza(const TQString& stanza)
Jid from = Jid(doc.documentElement().attribute("from"));
TQString type = doc.documentElement().attribute("type");
if (type == "unavailable" && calls_.contains(from.full())) {
- qDebug("JingleVoiceCaller: User went offline without closing a call.");
+ tqDebug("JingleVoiceCaller: User went offline without closing a call.");
removeCall(from);
emit terminated(from);
}
@@ -363,7 +363,7 @@ void JingleVoiceCaller::receiveStanza(const TQString& stanza)
// Spread the word
if (ok) {
- qDebug(TQString("jinglevoicecaller.cpp: Handing down %1").arg(stanza));
+ tqDebug(TQString("jinglevoicecaller.cpp: Handing down %1").arg(stanza));
buzz::XmlElement *e = buzz::XmlElement::ForStr(stanza.ascii());
phone_client_->OnIncomingStanza(e);
}
diff --git a/kopete/protocols/jabber/jingle/jinglevoicesession.cpp b/kopete/protocols/jabber/jingle/jinglevoicesession.cpp
index daa0d7c0..8a6331d6 100644
--- a/kopete/protocols/jabber/jingle/jinglevoicesession.cpp
+++ b/kopete/protocols/jabber/jingle/jinglevoicesession.cpp
@@ -115,7 +115,7 @@ public:
{}
else if (state == cricket::Session::STATE_RECEIVEDMODIFY)
{
- //qWarning(TQString("jinglevoicecaller.cpp: RECEIVEDMODIFY not implemented yet (was from %1)").arg(jid.full()));
+ //tqWarning(TQString("jinglevoicecaller.cpp: RECEIVEDMODIFY not implemented yet (was from %1)").arg(jid.full()));
}
else if (state == cricket::Session::STATE_SENTREJECT)
{}
@@ -299,7 +299,7 @@ void JingleVoiceSession::receiveStanza(const TQString &stanza)
TQString type = doc.documentElement().attribute("type");
if( type == "unavailable" && hasPeer(peers(), from) )
{
- //qDebug("JingleVoiceCaller: User went offline without closing a call.");
+ //tqDebug("JingleVoiceCaller: User went offline without closing a call.");
kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << "User went offline without closing a call." << endl;
emit terminated();
}
diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/sha1.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/sha1.cpp
index f7b3c3a9..0fefd995 100644
--- a/kopete/protocols/jabber/libiris/cutestuff/util/sha1.cpp
+++ b/kopete/protocols/jabber/libiris/cutestuff/util/sha1.cpp
@@ -41,7 +41,7 @@ SHA1::SHA1()
{
int wordSize;
- qSysInfo(&wordSize, &bigEndian);
+ tqSysInfo(&wordSize, &bigEndian);
}
unsigned long SHA1::blk0(TQ_UINT32 i)
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp
index 1b1dc1c7..d4509def 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp
@@ -31,7 +31,7 @@ static void ensureEndian()
if(!haveEndian) {
haveEndian = true;
int wordSize;
- qSysInfo(&wordSize, &bigEndian);
+ tqSysInfo(&wordSize, &bigEndian);
}
}
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp
index 009f0136..2f242bcb 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_vcard.cpp
@@ -111,7 +111,7 @@ static TQString image2type(const TQByteArray &ba)
if ( format == "JPEG" )
return "image/jpeg";
- qWarning("WARNING! VCard::image2type: unknown format = '%s'", format.latin1());
+ tqWarning("WARNING! VCard::image2type: unknown format = '%s'", format.latin1());
return "image/unknown";
}
diff --git a/kopete/protocols/msn/sha1.cpp b/kopete/protocols/msn/sha1.cpp
index d7c6549b..c8609209 100644
--- a/kopete/protocols/msn/sha1.cpp
+++ b/kopete/protocols/msn/sha1.cpp
@@ -39,7 +39,7 @@ SHA1::SHA1()
{
int wordSize;
- qSysInfo(&wordSize, &bigEndian);
+ tqSysInfo(&wordSize, &bigEndian);
}
unsigned long SHA1::blk0(TQ_UINT32 i)
diff --git a/kopete/protocols/oscar/liboscar/client.cpp b/kopete/protocols/oscar/liboscar/client.cpp
index 28f841c2..f0073b47 100644
--- a/kopete/protocols/oscar/liboscar/client.cpp
+++ b/kopete/protocols/oscar/liboscar/client.cpp
@@ -608,7 +608,7 @@ void Client::setIsIcq( bool isIcq )
void Client::debug( const TQString& str )
{
Q_UNUSED(str);
-// qDebug( "CLIENT: %s", str.ascii() );
+// tqDebug( "CLIENT: %s", str.ascii() );
}
void Client::initializeStaticTasks()
diff --git a/kopete/protocols/oscar/liboscar/inputprotocolbase.cpp b/kopete/protocols/oscar/liboscar/inputprotocolbase.cpp
index 4b27166b..296a4bca 100644
--- a/kopete/protocols/oscar/liboscar/inputprotocolbase.cpp
+++ b/kopete/protocols/oscar/liboscar/inputprotocolbase.cpp
@@ -53,7 +53,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 ( (TQ_UINT8)( * ( temp.data() + ( temp.length() - 1 ) ) ) == 0xFF )
if ( temp.length() < ( 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/oscar/liboscar/oscarclientstream.cpp b/kopete/protocols/oscar/liboscar/oscarclientstream.cpp
index 22c68df6..1872f378 100644
--- a/kopete/protocols/oscar/liboscar/oscarclientstream.cpp
+++ b/kopete/protocols/oscar/liboscar/oscarclientstream.cpp
@@ -107,7 +107,7 @@ public:
ClientStream::ClientStream(Connector *conn, TQObject *parent)
:Stream(parent)
{
- //qDebug("CLIENTSTREAM::ClientStream");
+ //tqDebug("CLIENTSTREAM::ClientStream");
d = new Private;
d->mode = ClientMode;
@@ -266,7 +266,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() )
{
@@ -373,7 +373,7 @@ void ClientStream::bs_error(int)
void ClientStream::bs_readyRead()
{
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();
#if LIBOSCAR_DEBUG
diff --git a/kopete/protocols/oscar/liboscar/task.cpp b/kopete/protocols/oscar/liboscar/task.cpp
index d797031d..80e63bea 100644
--- a/kopete/protocols/oscar/liboscar/task.cpp
+++ b/kopete/protocols/oscar/liboscar/task.cpp
@@ -140,11 +140,11 @@ 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;
}
//else
- //qDebug( "Transfer refused by: %s", t->className() );
+ //tqDebug( "Transfer refused by: %s", t->className() );
}
return false;
@@ -162,7 +162,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/oscar/liboscar/tests/clientstream_test.cpp b/kopete/protocols/oscar/liboscar/tests/clientstream_test.cpp
index a7c16cea..77563c05 100644
--- a/kopete/protocols/oscar/liboscar/tests/clientstream_test.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/clientstream_test.cpp
@@ -29,13 +29,13 @@ void ClientStreamTest::slotDoTest()
{
TQString server = TQString::fromLatin1("login.oscar.aol.com");
// connect to server
- qDebug( "connecting to server ");
+ tqDebug( "connecting to server ");
myTestObject->connectToServer( server, true ); // fine up to here...
}
void ClientStreamTest::slotConnected()
{
- qDebug( "connection is up");
+ tqDebug( "connection is up");
connected = true;
}
diff --git a/kopete/protocols/oscar/liboscar/tests/logintest.cpp b/kopete/protocols/oscar/liboscar/tests/logintest.cpp
index 1d3728aa..d1025059 100644
--- a/kopete/protocols/oscar/liboscar/tests/logintest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/logintest.cpp
@@ -31,7 +31,7 @@ void LoginTest::slotDoTest()
{
TQString server = TQString::fromLatin1("login.oscar.aol.com");
// connect to server
- qDebug( "connecting to server ");
+ tqDebug( "connecting to server ");
myClient->setIsIcq( true );
myClient->start( server, 5190, "userid", "password" );
@@ -41,7 +41,7 @@ void LoginTest::slotDoTest()
void LoginTest::slotConnected()
{
- qDebug( "connection is up");
+ tqDebug( "connection is up");
connected = true;
}
diff --git a/kopete/protocols/oscar/liboscar/tests/ssigrouptest.cpp b/kopete/protocols/oscar/liboscar/tests/ssigrouptest.cpp
index 6ca733cc..410b6021 100644
--- a/kopete/protocols/oscar/liboscar/tests/ssigrouptest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/ssigrouptest.cpp
@@ -31,7 +31,7 @@ void LoginTest::slotDoTest()
{
TQString server = TQString::fromLatin1("login.oscar.aol.com");
// connect to server
- qDebug( "connecting to server ");
+ tqDebug( "connecting to server ");
myClient->setIsIcq( true );
myClient->start( server, 5190, "userid", "password" );
@@ -42,7 +42,7 @@ void LoginTest::slotDoTest()
void LoginTest::slotConnected()
{
- qDebug( "connection is up");
+ tqDebug( "connection is up");
connected = true;
}
@@ -56,7 +56,7 @@ int main(int argc, char ** argv)
void LoginTest::runAddGroupTest()
{
- qDebug( "running ssi group add test" );
+ tqDebug( "running ssi group add test" );
TQString group = TQString::fromLatin1( "dummygroup" );
myClient->addGroup( group );
TQTimer::singleShot( 5000, this, TQT_SLOT( runDelGroupTest() ) );
@@ -64,7 +64,7 @@ void LoginTest::runAddGroupTest()
void LoginTest::runDelGroupTest()
{
- qDebug( "running ssi group del test" );
+ tqDebug( "running ssi group del test" );
TQString group = TQString::fromLatin1( "dummygroup" );
myClient->removeGroup( group );
}
diff --git a/kopete/protocols/oscar/liboscar/tests/ssitest.cpp b/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
index 7669a945..3e4592ad 100644
--- a/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
@@ -53,49 +53,49 @@ void SSITest::testIt()
//try to find a group by name
ssi = m_manager->findGroup("SecondGroup");
if ( ssi )
- qDebug( TQString("Found group SecondGroup with gid=%1").arg( ssi->gid() ).latin1());
+ tqDebug( TQString("Found group SecondGroup with gid=%1").arg( ssi->gid() ).latin1());
else
- qDebug( "Oops, group SecondGroup not found" );
+ tqDebug( "Oops, group SecondGroup not found" );
//try to find a group by gid
ssi = m_manager->findGroup( 3 );
if ( ssi )
- qDebug( TQString("Found group 3 with name=%1").arg( ssi->name() ).latin1() );
+ tqDebug( TQString("Found group 3 with name=%1").arg( ssi->name() ).latin1() );
else
- qDebug( "Oops, group 3 not found" );
+ tqDebug( "Oops, group 3 not found" );
//try to find a contact by name
ssi = m_manager->findContact("ThirdContact");
if ( ssi )
- qDebug( TQString( "Found contact ThirdContact with gid=%1" ).arg( ssi->gid() ).latin1() );
+ tqDebug( TQString( "Found contact ThirdContact with gid=%1" ).arg( ssi->gid() ).latin1() );
else
- qDebug( "Oops, contact ThirdContact not found" );
+ tqDebug( "Oops, contact ThirdContact not found" );
//try to find a contact using the name and the group name
ssi = m_manager->findContact("FourthContact","SecondGroup");
if ( ssi )
- qDebug( TQString("Found contact FourthContact with bid=%1").arg( ssi->bid() ).latin1() );
+ tqDebug( TQString("Found contact FourthContact with bid=%1").arg( ssi->bid() ).latin1() );
else
- qDebug( "Oops, contact FourthContact not found" );
+ tqDebug( "Oops, contact FourthContact not found" );
//try to find an invalid group
ssi = m_manager->findGroup("InvalidGroup");
if ( !ssi )
- qDebug( "Good! It has detected the group is invalid :)" );
+ tqDebug( "Good! It has detected the group is invalid :)" );
//contacts from a group
TQValueList<SSI*> list = m_manager->contactsFromGroup("FirstGroup");
TQValueList<SSI*>::iterator it;
- qDebug( "Contacts from group FirtsGroup:" );
+ tqDebug( "Contacts from group FirtsGroup:" );
for ( it = list.begin(); it != list.end(); ++it)
- qDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
+ tqDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
//the group list
TQValueList<SSI*> list2 = m_manager->groupList();
- qDebug( "Group list:" );
+ tqDebug( "Group list:" );
for ( it = list2.begin(); it != list2.end(); ++it)
- qDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
+ tqDebug( TQString(" name=%1").arg( (*it)->name() ).latin1() );
//remove a group - this shouldn't report any debug line
m_manager->removeGroup( "SecondGroup" );
diff --git a/kopete/protocols/oscar/liboscar/tests/userinfotest.cpp b/kopete/protocols/oscar/liboscar/tests/userinfotest.cpp
index fb346d26..8d75b79d 100644
--- a/kopete/protocols/oscar/liboscar/tests/userinfotest.cpp
+++ b/kopete/protocols/oscar/liboscar/tests/userinfotest.cpp
@@ -31,7 +31,7 @@ void LoginTest::slotDoTest()
{
TQString server = TQString::fromLatin1("login.oscar.aol.com");
// connect to server
- qDebug( "connecting to server ");
+ tqDebug( "connecting to server ");
myClient->setIsIcq( true );
myClient->start( server, 5190, "userid", "password" );
@@ -43,7 +43,7 @@ void LoginTest::slotDoTest()
void LoginTest::slotConnected()
{
- qDebug( "connection is up");
+ tqDebug( "connection is up");
connected = true;
}
@@ -57,7 +57,7 @@ int main(int argc, char ** argv)
void LoginTest::runUserInfoTest()
{
- qDebug( "running user info test" );
+ tqDebug( "running user info test" );
TQString contact = TQString::fromLatin1( "userid" );
myClient->requestFullInfo( contact );
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 );