summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar
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/oscar
parentb251e315b57c6665336289a940e9b1d4a179e463 (diff)
downloadtdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.tar.gz
tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.zip
Rename additional global TQt functions
Diffstat (limited to 'kopete/protocols/oscar')
-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
9 files changed, 34 insertions, 34 deletions
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 );