summaryrefslogtreecommitdiffstats
path: root/libemailfunctions
diff options
context:
space:
mode:
Diffstat (limited to 'libemailfunctions')
-rw-r--r--libemailfunctions/idmapper.cpp12
-rw-r--r--libemailfunctions/idmapper.h2
2 files changed, 7 insertions, 7 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() );
}
diff --git a/libemailfunctions/idmapper.h b/libemailfunctions/idmapper.h
index 7c6c98cf2..50075aefb 100644
--- a/libemailfunctions/idmapper.h
+++ b/libemailfunctions/idmapper.h
@@ -147,7 +147,7 @@ class KDE_EXPORT IdMapper
TQString filename();
private:
- TQMap<TQString, TQVariant> mIdMap;
+ TQStringVariantMap mIdMap;
TQMap<TQString, TQString> mFingerprintMap;
TQString mPath;