From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libemailfunctions/idmapper.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libemailfunctions/idmapper.cpp') diff --git a/libemailfunctions/idmapper.cpp b/libemailfunctions/idmapper.cpp index d90ad8171..52cfeed83 100644 --- a/libemailfunctions/idmapper.cpp +++ b/libemailfunctions/idmapper.cpp @@ -98,7 +98,7 @@ bool IdMapper::save() TQMap::Iterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) { TQString fingerprint( "" ); - if ( mFingerprintMap.tqcontains( it.key() ) ) + if ( mFingerprintMap.contains( it.key() ) ) fingerprint = mFingerprintMap[ it.key() ]; content += it.key() + "\x02\x02" + it.data().toString() + "\x02\x02" + fingerprint + "\r\n"; } @@ -117,7 +117,7 @@ void IdMapper::clear() void IdMapper::setRemoteId( const TQString &localId, const TQString &remoteId ) { - mIdMap.tqreplace( localId, remoteId ); + mIdMap.replace( localId, remoteId ); } void IdMapper::removeRemoteId( const TQString &remoteId ) @@ -134,7 +134,7 @@ void IdMapper::removeRemoteId( const TQString &remoteId ) TQString IdMapper::remoteId( const TQString &localId ) const { TQMap::ConstIterator it; - it = mIdMap.tqfind( localId ); + it = mIdMap.find( localId ); if ( it != mIdMap.end() ) return it.data().toString(); @@ -159,7 +159,7 @@ TQString IdMapper::asString() const TQMap::ConstIterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) { TQString fp; - if ( mFingerprintMap.tqcontains( it.key() ) ) + if ( mFingerprintMap.contains( it.key() ) ) fp = mFingerprintMap[ it.key() ]; content += it.key() + "\t" + it.data().toString() + "\t" + fp + "\r\n"; } @@ -174,7 +174,7 @@ void IdMapper::setFingerprint( const TQString &localId, const TQString &fingerpr const TQString& IdMapper::fingerprint( const TQString &localId ) const { - if ( mFingerprintMap.tqcontains( localId ) ) + if ( mFingerprintMap.contains( localId ) ) return mFingerprintMap[ localId ]; else return TQString(); -- cgit v1.2.1