From 6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:34:45 -0600 Subject: Rename additional global TQt functions --- .../oscar/liboscar/tests/clientstream_test.cpp | 4 ++-- .../protocols/oscar/liboscar/tests/logintest.cpp | 4 ++-- .../oscar/liboscar/tests/ssigrouptest.cpp | 8 +++---- kopete/protocols/oscar/liboscar/tests/ssitest.cpp | 26 +++++++++++----------- .../oscar/liboscar/tests/userinfotest.cpp | 6 ++--- 5 files changed, 24 insertions(+), 24 deletions(-) (limited to 'kopete/protocols/oscar/liboscar/tests') 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 list = m_manager->contactsFromGroup("FirstGroup"); TQValueList::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 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 ); -- cgit v1.2.1