diff options
Diffstat (limited to 'kopete/protocols/groupwise/gwcontactlist.cpp')
-rw-r--r-- | kopete/protocols/groupwise/gwcontactlist.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/groupwise/gwcontactlist.cpp b/kopete/protocols/groupwise/gwcontactlist.cpp index ecca8912..08810b85 100644 --- a/kopete/protocols/groupwise/gwcontactlist.cpp +++ b/kopete/protocols/groupwise/gwcontactlist.cpp @@ -42,7 +42,7 @@ GWContactInstance * GWContactList::addContactInstance( unsigned int id, unsigned GWContactInstance * contact = 0; while ( (obj = it.current()) != 0 ) { - GWFolder * folder = ::tqqt_cast< GWFolder * >( obj ); + GWFolder * folder = ::tqt_cast< GWFolder * >( obj ); if ( folder && folder->id == parent ) { contact = new GWContactInstance( folder, id, sequence, displayName, dn ); @@ -62,7 +62,7 @@ GWFolder * GWContactList::findFolderById( unsigned int id ) GWFolder * candidate, * folder = 0; while ( (obj = it.current()) != 0 ) { - candidate = ::tqqt_cast< GWFolder * >( obj ); + candidate = ::tqt_cast< GWFolder * >( obj ); if ( candidate->id == id ) { folder = candidate; @@ -82,7 +82,7 @@ GWFolder * GWContactList::findFolderByName( const TQString & displayName ) GWFolder * folder = 0; while ( (obj = it.current()) != 0 ) { - GWFolder * candidate = ::tqqt_cast< GWFolder * >( obj ); + GWFolder * candidate = ::tqt_cast< GWFolder * >( obj ); if ( candidate->displayName == displayName ) { folder = candidate; @@ -102,7 +102,7 @@ int GWContactList::maxSequenceNumber() unsigned int sequence = 0; while ( (obj = it.current()) != 0 ) { - GWFolder * current = ::tqqt_cast< GWFolder * >( obj ); + GWFolder * current = ::tqt_cast< GWFolder * >( obj ); sequence = TQMAX( sequence, current->sequence ); ++it; } @@ -119,7 +119,7 @@ GWContactInstanceList GWContactList::instancesWithDn( const TQString & dn ) while ( (obj = it.current()) != 0 ) { ++it; - GWContactInstance * current = ::tqqt_cast<GWContactInstance *>( obj ); + GWContactInstance * current = ::tqt_cast<GWContactInstance *>( obj ); if ( current->dn == dn ) matches.append( current ); } @@ -141,7 +141,7 @@ void GWContactList::removeInstanceById( unsigned int id ) while ( (obj = it.current()) != 0 ) { ++it; - GWContactInstance * current = ::tqqt_cast<GWContactInstance *>( obj ); + GWContactInstance * current = ::tqt_cast<GWContactInstance *>( obj ); if ( current->id == id ) { delete current; @@ -161,7 +161,7 @@ void GWContactList::dump() TQObject *obj; while ( (obj = it.current()) != 0 ) { - GWFolder * folder = ::tqqt_cast< GWFolder * >( obj ); + GWFolder * folder = ::tqt_cast< GWFolder * >( obj ); if ( folder ) folder->dump( 1 ); ++it; @@ -208,12 +208,12 @@ void GWFolder::dump( unsigned int depth ) while ( (obj = it.current()) != 0 ) { ++it; - GWContactInstance * instance = ::tqqt_cast< GWContactInstance * >( obj ); + GWContactInstance * instance = ::tqt_cast< GWContactInstance * >( obj ); if (instance) instance->dump( depth ); else { - GWFolder * folder = ::tqqt_cast< GWFolder * >( obj ); + GWFolder * folder = ::tqt_cast< GWFolder * >( obj ); if ( folder ) folder->dump( depth ); } |