summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/ldapkio
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch)
tree36613dfe2f86f8ccb96a30f3880507341228eeb0 /kabc/plugins/ldapkio
parent1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff)
downloadtdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz
tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/plugins/ldapkio')
-rw-r--r--kabc/plugins/ldapkio/resourceldapkio.cpp42
-rw-r--r--kabc/plugins/ldapkio/resourceldapkioconfig.cpp2
2 files changed, 22 insertions, 22 deletions
diff --git a/kabc/plugins/ldapkio/resourceldapkio.cpp b/kabc/plugins/ldapkio/resourceldapkio.cpp
index 893a4a90f..0385f541c 100644
--- a/kabc/plugins/ldapkio/resourceldapkio.cpp
+++ b/kabc/plugins/ldapkio/resourceldapkio.cpp
@@ -330,49 +330,49 @@ void ResourceLDAPKIO::init()
handle them in the load() method below.
These are the default values
*/
- if ( !mAttributes.tqcontains("objectClass") )
+ if ( !mAttributes.contains("objectClass") )
mAttributes.insert( "objectClass", "inetOrgPerson" );
- if ( !mAttributes.tqcontains("commonName") )
+ if ( !mAttributes.contains("commonName") )
mAttributes.insert( "commonName", "cn" );
- if ( !mAttributes.tqcontains("formattedName") )
+ if ( !mAttributes.contains("formattedName") )
mAttributes.insert( "formattedName", "displayName" );
- if ( !mAttributes.tqcontains("familyName") )
+ if ( !mAttributes.contains("familyName") )
mAttributes.insert( "familyName", "sn" );
- if ( !mAttributes.tqcontains("givenName") )
+ if ( !mAttributes.contains("givenName") )
mAttributes.insert( "givenName", "givenName" );
- if ( !mAttributes.tqcontains("mail") )
+ if ( !mAttributes.contains("mail") )
mAttributes.insert( "mail", "mail" );
- if ( !mAttributes.tqcontains("mailAlias") )
+ if ( !mAttributes.contains("mailAlias") )
mAttributes.insert( "mailAlias", "" );
- if ( !mAttributes.tqcontains("phoneNumber") )
+ if ( !mAttributes.contains("phoneNumber") )
mAttributes.insert( "phoneNumber", "homePhone" );
- if ( !mAttributes.tqcontains("telephoneNumber") )
+ if ( !mAttributes.contains("telephoneNumber") )
mAttributes.insert( "telephoneNumber", "telephoneNumber" );
- if ( !mAttributes.tqcontains("facsimileTelephoneNumber") )
+ if ( !mAttributes.contains("facsimileTelephoneNumber") )
mAttributes.insert( "facsimileTelephoneNumber", "facsimileTelephoneNumber" );
- if ( !mAttributes.tqcontains("mobile") )
+ if ( !mAttributes.contains("mobile") )
mAttributes.insert( "mobile", "mobile" );
- if ( !mAttributes.tqcontains("pager") )
+ if ( !mAttributes.contains("pager") )
mAttributes.insert( "pager", "pager" );
- if ( !mAttributes.tqcontains("description") )
+ if ( !mAttributes.contains("description") )
mAttributes.insert( "description", "description" );
- if ( !mAttributes.tqcontains("title") )
+ if ( !mAttributes.contains("title") )
mAttributes.insert( "title", "title" );
- if ( !mAttributes.tqcontains("street") )
+ if ( !mAttributes.contains("street") )
mAttributes.insert( "street", "street" );
- if ( !mAttributes.tqcontains("state") )
+ if ( !mAttributes.contains("state") )
mAttributes.insert( "state", "st" );
- if ( !mAttributes.tqcontains("city") )
+ if ( !mAttributes.contains("city") )
mAttributes.insert( "city", "l" );
- if ( !mAttributes.tqcontains("organization") )
+ if ( !mAttributes.contains("organization") )
mAttributes.insert( "organization", "o" );
- if ( !mAttributes.tqcontains("postalcode") )
+ if ( !mAttributes.contains("postalcode") )
mAttributes.insert( "postalcode", "postalCode" );
- if ( !mAttributes.tqcontains("uid") )
+ if ( !mAttributes.contains("uid") )
mAttributes.insert( "uid", "uid" );
- if ( !mAttributes.tqcontains("jpegPhoto") )
+ if ( !mAttributes.contains("jpegPhoto") )
mAttributes.insert( "jpegPhoto", "jpegPhoto" );
d->mLDAPUrl = KURL();
diff --git a/kabc/plugins/ldapkio/resourceldapkioconfig.cpp b/kabc/plugins/ldapkio/resourceldapkioconfig.cpp
index c23bd22da..271328525 100644
--- a/kabc/plugins/ldapkio/resourceldapkioconfig.cpp
+++ b/kabc/plugins/ldapkio/resourceldapkioconfig.cpp
@@ -281,7 +281,7 @@ AttributesDialog::AttributesDialog( const TQMap<TQString, TQString> &attributes,
for ( i = 1; i < mMapCombo->count(); i++ ) {
TQDictIterator<KLineEdit> it2( mLineEditDict );
for ( ; it2.current(); ++it2 ) {
- if ( mMapList[ i ].tqcontains( it2.currentKey() ) ) {
+ if ( mMapList[ i ].contains( it2.currentKey() ) ) {
if ( mMapList[ i ][ it2.currentKey() ] != it2.current()->text() ) break;
} else {
if ( mDefaultMap[ it2.currentKey() ] != it2.current()->text() ) break;