From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: 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 --- korn/pop3_proto.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'korn/pop3_proto.cpp') diff --git a/korn/pop3_proto.cpp b/korn/pop3_proto.cpp index b42a63ec2..6f9046144 100644 --- a/korn/pop3_proto.cpp +++ b/korn/pop3_proto.cpp @@ -64,18 +64,18 @@ void Pop3_Protocol::configFields( TQPtrVector< TQWidget >* vector, const TQObjec void Pop3_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=APOP" ) ); } void Pop3_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" ); @@ -87,7 +87,7 @@ void Pop3_Protocol::writeEntries( TQMap< TQString, TQString >* map ) const map->erase( "encryption" ); } - if( map->contains( "auth" ) ) + if( map->tqcontains( "auth" ) ) { if( !metadata.isEmpty() && ! (*map->find( "auth" )).isEmpty() ) metadata += ","; -- cgit v1.2.1