summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kabtools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kabtools.cpp')
-rw-r--r--kaddressbook/kabtools.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/kabtools.cpp b/kaddressbook/kabtools.cpp
index 7e6b5c9cd..83571a7a9 100644
--- a/kaddressbook/kabtools.cpp
+++ b/kaddressbook/kabtools.cpp
@@ -39,12 +39,12 @@ static TQString uniqueFileName( const KABC::Addressee &addressee, TQStringList &
uint number = 0;
do {
name = addressee.givenName() + "_" + addressee.familyName() + uniquePart + ".vcf";
- name.replace( ' ', '_' );
- name.replace( '/', '_' );
+ name.tqreplace( ' ', '_' );
+ name.tqreplace( '/', '_' );
++number;
uniquePart = TQString( "_%1" ).arg( number );
- } while ( existingFiles.contains( name ) );
+ } while ( existingFiles.tqcontains( name ) );
existingFiles.append( name );
@@ -65,7 +65,7 @@ void KABTools::mailVCards( const TQStringList &uids, KABC::AddressBook *ab )
TQStringList::ConstIterator it( uids.begin() );
const TQStringList::ConstIterator endIt( uids.end() );
for ( ; it != endIt; ++it ) {
- KABC::Addressee addressee = ab->findByUid( *it );
+ KABC::Addressee addressee = ab->tqfindByUid( *it );
if ( addressee.isEmpty() )
continue;
@@ -141,7 +141,7 @@ KABC::Addressee KABTools::mergeContacts( const KABC::Addressee::List &list )
KABC::Address::List::ConstIterator addrIt( addresses.begin() );
const KABC::Address::List::ConstIterator addrEndIt( addresses.end() );
for ( ; addrIt != addrEndIt; ++addrIt ) {
- if ( !masterAddresses.contains( *addrIt ) )
+ if ( !masterAddresses.tqcontains( *addrIt ) )
masterAddressee.insertAddress( *addrIt );
}
@@ -156,7 +156,7 @@ KABC::Addressee KABTools::mergeContacts( const KABC::Addressee::List &list )
TQStringList::ConstIterator it( categories.begin() );
TQStringList::ConstIterator endIt( categories.end() );
for ( it = categories.begin(); it != endIt; ++it )
- if ( !masterCategories.contains( *it ) )
+ if ( !masterCategories.tqcontains( *it ) )
newCategories.append( *it );
masterAddressee.setCategories( newCategories );
@@ -169,7 +169,7 @@ KABC::Addressee KABTools::mergeContacts( const KABC::Addressee::List &list )
const TQStringList masterEmails = masterAddressee.emails();
endIt = emails.end();
for ( it = emails.begin(); it != endIt; ++it )
- if ( !masterEmails.contains( *it ) )
+ if ( !masterEmails.tqcontains( *it ) )
masterAddressee.insertEmail( *it, false );
// FN
@@ -239,7 +239,7 @@ KABC::Addressee KABTools::mergeContacts( const KABC::Addressee::List &list )
KABC::PhoneNumber::List::ConstIterator phoneIt( phones.begin() );
const KABC::PhoneNumber::List::ConstIterator phoneEndIt( phones.end() );
for ( ; phoneIt != phoneEndIt; ++phoneIt )
- if ( !masterPhones.contains( *phoneIt ) )
+ if ( !masterPhones.tqcontains( *phoneIt ) )
masterAddressee.insertPhoneNumber( *phoneIt );
// TITLE
@@ -262,7 +262,7 @@ KABC::Addressee KABTools::mergeContacts( const KABC::Addressee::List &list )
TQStringList newCustoms( masterCustoms );
endIt = customs.end();
for ( it = customs.begin(); it != endIt; ++it )
- if ( !masterCustoms.contains( *it ) )
+ if ( !masterCustoms.tqcontains( *it ) )
newCustoms.append( *it );
masterAddressee.setCustoms( newCustoms );
}