summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kabcore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/kabcore.cpp')
-rw-r--r--kaddressbook/kabcore.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp
index 23ebc277b..db10f8f96 100644
--- a/kaddressbook/kabcore.cpp
+++ b/kaddressbook/kabcore.cpp
@@ -778,7 +778,7 @@ void KABCore::addEmail( const TQString &aStr )
const KABC::AddressBook::Iterator endIt( mAddressBook->end() );
for ( it = mAddressBook->begin(); !found && (it != endIt); ++it ) {
emailList = (*it).emails();
- if ( emailList.tqcontains( email ) > 0 ) {
+ if ( emailList.contains( email ) > 0 ) {
found = true;
(*it).setNameFromString( fullName );
editContact( (*it).uid() );
@@ -831,7 +831,7 @@ void KABCore::editContact( const TQString &uid )
KABC::Addressee addr = mAddressBook->findByUid( localUID );
if ( !addr.isEmpty() ) {
- AddresseeEditorDialog *dialog = mEditorDict.tqfind( addr.uid() );
+ AddresseeEditorDialog *dialog = mEditorDict.find( addr.uid() );
if ( !dialog ) {
if ( !addr.resource()->readOnly() )
@@ -1005,7 +1005,7 @@ TQString KABCore::getNameByPhone( const TQString &phone )
const KABC::PhoneNumber::List::Iterator phoneEndIter( phoneList.end() );
for ( ; !found && ( phoneIter != phoneEndIter ); ++phoneIter) {
// Get rid of separator chars so just the numbers are compared.
- if ( (*phoneIter).number().tqreplace( r, "" ) == localPhone.tqreplace( r, "" ) ) {
+ if ( (*phoneIter).number().replace( r, "" ) == localPhone.replace( r, "" ) ) {
ownerName = (*iter).realName();
found = true;
}
@@ -1406,7 +1406,7 @@ void KABCore::initActions()
action->setWhatsThis( i18n( "You will be presented with a dialog, that offers you all possibilities to configure KAddressBook." ) );
// misc
- action = new KAction( i18n( "&Lookup Addresses in LDAP Directory..." ), "tqfind", 0,
+ action = new KAction( i18n( "&Lookup Addresses in LDAP Directory..." ), "find", 0,
this, TQT_SLOT( openLDAPDialog() ), actionCollection(), "ldap_lookup" );
action->setWhatsThis( i18n( "Search for contacts on a LDAP server<p>You will be presented with a dialog, where you can search for contacts and select the ones you want to add to your local address book." ) );
@@ -1449,7 +1449,7 @@ void KABCore::updateCategories()
TQStringList::ConstIterator it;
const TQStringList::ConstIterator endIt( customCategories.end() );
for ( it = customCategories.begin(); it != endIt; ++it ) {
- if ( categories.tqfind( *it ) == categories.end() ) {
+ if ( categories.find( *it ) == categories.end() ) {
categories.append( *it );
}
}
@@ -1477,7 +1477,7 @@ TQStringList KABCore::allCategories() const
categories = (*it).categories();
const TQStringList::ConstIterator catEndIt( categories.end() );
for ( catIt = categories.begin(); catIt != catEndIt; ++catIt ) {
- if ( !allCategories.tqcontains( *catIt ) )
+ if ( !allCategories.contains( *catIt ) )
allCategories.append( *catIt );
}
}
@@ -1519,7 +1519,7 @@ void KABCore::categoriesSelected( const TQStringList &categories )
TQStringList::ConstIterator catIt;
const TQStringList::ConstIterator catEndIt( categories.end() );
for ( catIt = categories.begin(); catIt != catEndIt; ++catIt ) {
- if ( !addrCategories.tqcontains( *catIt ) )
+ if ( !addrCategories.contains( *catIt ) )
addrCategories.append( *catIt );
}
addr.setCategories( addrCategories );