diff options
Diffstat (limited to 'tderesources/groupwise/tdeabc_resourcegroupwise.cpp')
-rw-r--r-- | tderesources/groupwise/tdeabc_resourcegroupwise.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tderesources/groupwise/tdeabc_resourcegroupwise.cpp b/tderesources/groupwise/tdeabc_resourcegroupwise.cpp index 1c29fc65b..7c3ed791e 100644 --- a/tderesources/groupwise/tdeabc_resourcegroupwise.cpp +++ b/tderesources/groupwise/tdeabc_resourcegroupwise.cpp @@ -31,7 +31,7 @@ #include "tdeabc_resourcegroupwise.h" -using namespace KABC; +using namespace TDEABC; ResourceGroupwise::ResourceGroupwise( const TDEConfig *config ) : ResourceCached( config ) @@ -235,9 +235,9 @@ bool ResourceGroupwise::asyncSave( Ticket* ) { if ( !mServer->login() ) return false; - KABC::Addressee::List::Iterator it; + TDEABC::Addressee::List::Iterator it; - KABC::Addressee::List addedList = addedAddressees(); + TDEABC::Addressee::List addedList = addedAddressees(); for ( it = addedList.begin(); it != addedList.end(); ++it ) { if ( mServer->insertAddressee( mPrefs->writeAddressBook(), *it ) ) { clearChange( *it ); @@ -245,13 +245,13 @@ bool ResourceGroupwise::asyncSave( Ticket* ) } } - KABC::Addressee::List changedList = changedAddressees(); + TDEABC::Addressee::List changedList = changedAddressees(); for ( it = changedList.begin(); it != changedList.end(); ++it ) { if ( mServer->changeAddressee( *it ) ) clearChange( *it ); } - KABC::Addressee::List deletedList = deletedAddressees(); + TDEABC::Addressee::List deletedList = deletedAddressees(); for ( it = deletedList.begin(); it != deletedList.end(); ++it ) { if ( mServer->removeAddressee( *it ) ) clearChange( *it ); @@ -493,7 +493,7 @@ void ResourceGroupwise::slotReadJobData( TDEIO::Job *job , const TQByteArray &da mJobData.append( data.data() ); - KABC::VCardConverter conv; + TDEABC::VCardConverter conv; TQTime profile; profile.start(); Addressee::List addressees = conv.parseVCards( mJobData ); @@ -501,7 +501,7 @@ void ResourceGroupwise::slotReadJobData( TDEIO::Job *job , const TQByteArray &da Addressee::List::ConstIterator it; for( it = addressees.begin(); it != addressees.end(); ++it ) { - KABC::Addressee addr = *it; + TDEABC::Addressee addr = *it; if ( !addr.isEmpty() ) { addr.setResource( this ); @@ -524,14 +524,14 @@ void ResourceGroupwise::slotUpdateJobData( TDEIO::Job *job, const TQByteArray &d { kdDebug() << "ResourceGroupwise::slotUpdateJobData()" << endl; kdDebug() << " Job address: " << job << endl; - KABC::VCardConverter conv; + TDEABC::VCardConverter conv; mJobData.append( data.data() ); Addressee::List addressees = conv.parseVCards( mJobData ); Addressee::List::ConstIterator it; for( it = addressees.begin(); it != addressees.end(); ++it ) { - KABC::Addressee addr = *it; + TDEABC::Addressee addr = *it; if ( !addr.isEmpty() ) { // if added or changed TQString syncType = addr.custom( "GWRESOURCE", "SYNC" ); @@ -558,7 +558,7 @@ void ResourceGroupwise::slotUpdateJobData( TDEIO::Job *job, const TQByteArray &d if ( !local.isEmpty() ) { idMapper().removeRemoteId( remote ); - KABC::Addressee addrToDelete = findByUid( local ); + TDEABC::Addressee addrToDelete = findByUid( local ); removeAddressee( addrToDelete ); } } |