diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:18:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 17:18:13 +0900 |
commit | 6d2f3127be206390c4c576fc174ad6edeb020dfe (patch) | |
tree | ca430a49349b46c7e556a2c6cb140730a3b00b46 /libemailfunctions/idmapper.cpp | |
parent | 2852e8272a186108d3c8b2bc133e67fd8624e99c (diff) | |
download | tdepim-6d2f3127be206390c4c576fc174ad6edeb020dfe.tar.gz tdepim-6d2f3127be206390c4c576fc174ad6edeb020dfe.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libemailfunctions/idmapper.cpp')
-rw-r--r-- | libemailfunctions/idmapper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libemailfunctions/idmapper.cpp b/libemailfunctions/idmapper.cpp index 296b3af61..34bcf6cc0 100644 --- a/libemailfunctions/idmapper.cpp +++ b/libemailfunctions/idmapper.cpp @@ -95,7 +95,7 @@ bool IdMapper::save() TQString content; - TQMap<TQString, TQVariant>::Iterator it; + TQStringVariantMap::Iterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) { TQString fingerprint( "" ); if ( mFingerprintMap.contains( it.key() ) ) @@ -122,7 +122,7 @@ void IdMapper::setRemoteId( const TQString &localId, const TQString &remoteId ) void IdMapper::removeRemoteId( const TQString &remoteId ) { - TQMap<TQString, TQVariant>::Iterator it; + TQStringVariantMap::Iterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) if ( it.data().toString() == remoteId ) { mIdMap.remove( it ); @@ -133,7 +133,7 @@ void IdMapper::removeRemoteId( const TQString &remoteId ) TQString IdMapper::remoteId( const TQString &localId ) const { - TQMap<TQString, TQVariant>::ConstIterator it; + TQStringVariantMap::ConstIterator it; it = mIdMap.find( localId ); if ( it != mIdMap.end() ) @@ -144,7 +144,7 @@ TQString IdMapper::remoteId( const TQString &localId ) const TQString IdMapper::localId( const TQString &remoteId ) const { - TQMap<TQString, TQVariant>::ConstIterator it; + TQStringVariantMap::ConstIterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) if ( it.data().toString() == remoteId ) return it.key(); @@ -156,7 +156,7 @@ TQString IdMapper::asString() const { TQString content; - TQMap<TQString, TQVariant>::ConstIterator it; + TQStringVariantMap::ConstIterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) { TQString fp; if ( mFingerprintMap.contains( it.key() ) ) @@ -183,7 +183,7 @@ const TQString& IdMapper::fingerprint( const TQString &localId ) const TQMap<TQString, TQString> IdMapper::remoteIdMap() const { TQMap<TQString, TQString> reverseMap; - TQMap<TQString, TQVariant>::ConstIterator it; + TQStringVariantMap::ConstIterator it; for ( it = mIdMap.begin(); it != mIdMap.end(); ++it ) { reverseMap.insert( it.data().toString(), it.key() ); } |