From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../groupwise/libgroupwise/userdetailsmanager.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp') diff --git a/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp b/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp index ceb29632..315a60d0 100644 --- a/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp +++ b/kopete/protocols/groupwise/libgroupwise/userdetailsmanager.cpp @@ -20,8 +20,8 @@ #include "userdetailsmanager.h" -UserDetailsManager::UserDetailsManager( Client * parent, const char *name) - : TQObject(parent, name), m_client( parent ) +UserDetailsManager::UserDetailsManager( Client * tqparent, const char *name) + : TQObject(tqparent, name), m_client( tqparent ) { } @@ -41,8 +41,8 @@ bool UserDetailsManager::known( const TQString & dn ) { if ( dn == m_client->userDN() ) return true; - // TODO: replace with m_detailsMap.contains( dn ); - TQStringList::Iterator found = m_detailsMap.keys().find( dn ); + // TODO: replace with m_detailsMap.tqcontains( dn ); + TQStringList::Iterator found = m_detailsMap.keys().tqfind( dn ); // we always know the local user's details, so don't look them up return ( found !=m_detailsMap.keys().end() ); } @@ -85,10 +85,10 @@ void UserDetailsManager::requestDetails( const TQStringList & dnList, bool onlyU // don't request details we already have unless the caller specified this if ( onlyUnknown && known( *it ) ) break; - TQStringList::Iterator found = m_pendingDNs.find( *it ); + TQStringList::Iterator found = m_pendingDNs.tqfind( *it ); if ( found == m_pendingDNs.end() ) { - m_client->debug( TQString( "UserDetailsManager::requestDetails - including %1" ).arg( (*it) ) ); + m_client->debug( TQString( "UserDetailsManager::requestDetails - including %1" ).tqarg( (*it) ) ); requestList.append( *it ); m_pendingDNs.append( *it ); } @@ -110,7 +110,7 @@ void UserDetailsManager::requestDetails( const TQStringList & dnList, bool onlyU void UserDetailsManager::requestDetails( const TQString & dn, bool onlyUnknown ) { - m_client->debug( TQString( "UserDetailsManager::requestDetails for %1" ).arg( dn ) ); + m_client->debug( TQString( "UserDetailsManager::requestDetails for %1" ).tqarg( dn ) ); TQStringList list; list.append( dn ); requestDetails( list, onlyUnknown ); -- cgit v1.2.1