summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/ssitest.cpp
diff options
context:
space:
mode:
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" );