summaryrefslogtreecommitdiffstats
path: root/korn/imap_proto.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korn/imap_proto.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/imap_proto.cpp')
-rw-r--r--korn/imap_proto.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korn/imap_proto.cpp b/korn/imap_proto.cpp
index caedb4597..735f5de6d 100644
--- a/korn/imap_proto.cpp
+++ b/korn/imap_proto.cpp
@@ -65,18 +65,18 @@ void Imap_Protocol::configFields( TQPtrVector< TQWidget >* vector, const TQObjec
void Imap_Protocol::readEntries( TQMap< TQString, TQString >* map, TQMap< TQString, TQString > *metadata ) const
{
- if( map->contains( "ssl" ) && *map->find( "ssl" ) == "true" )
+ if( map->tqcontains( "ssl" ) && *map->find( "ssl" ) == "true" )
map->insert( "encryption", "ssl" );
- if( metadata->contains( "tls" ) )
+ if( metadata->tqcontains( "tls" ) )
map->insert( "encryption", TQString( "tls=%1" ).arg( *metadata->find( "tls" ) ) );
- if( metadata->contains( "auth" ) )
+ if( metadata->tqcontains( "auth" ) )
map->insert( "auth", TQString( "auth=%1" ).arg( *metadata->find( "auth" ) ) );
}
void Imap_Protocol::writeEntries( TQMap< TQString, TQString >* map ) const
{
TQString metadata;
- if( map->contains( "encryption" ) )
+ if( map->tqcontains( "encryption" ) )
{
if( *map->find( "encryption" ) == "ssl" )
map->insert( "ssl", "true" );
@@ -88,7 +88,7 @@ void Imap_Protocol::writeEntries( TQMap< TQString, TQString >* map ) const
map->erase( "encryption" );
}
- if( map->contains( "auth" ) )
+ if( map->tqcontains( "auth" ) )
{
if( !metadata.isEmpty() )
metadata += ",";