summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:34:45 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:34:45 -0600
commit6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71 (patch)
tree35c87e21025b800ecd5840f96a9638c964e930b8 /kopete/protocols/oscar/liboscar/tests/ssitest.cpp
parentb251e315b57c6665336289a940e9b1d4a179e463 (diff)
downloadtdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.tar.gz
tdenetwork-6efceb1cf68e8a942d28bba4be8fa65b2e8f3c71.zip
Rename additional global TQt functions
Diffstat (limited to 'kopete/protocols/oscar/liboscar/tests/ssitest.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/tests/ssitest.cpp26
1 files changed, 13 insertions, 13 deletions
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" );