summaryrefslogtreecommitdiffstats
path: root/korn/pop3_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/pop3_proto.cpp')
-rw-r--r--korn/pop3_proto.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korn/pop3_proto.cpp b/korn/pop3_proto.cpp
index 6f904614..e97fd82c 100644
--- a/korn/pop3_proto.cpp
+++ b/korn/pop3_proto.cpp
@@ -64,10 +64,10 @@ void Pop3_Protocol::configFields( TQPtrVector< TQWidget >* vector, const TQObjec
void Pop3_Protocol::readEntries( TQMap< TQString, TQString >* map, TQMap< TQString, TQString > *metadata ) const
{
- if( map->tqcontains( "ssl" ) && *map->find( "ssl" ) == "true" )
+ if( map->tqcontains( "ssl" ) && *map->tqfind( "ssl" ) == "true" )
map->insert( "encryption", "ssl" );
if( metadata->tqcontains( "tls" ) )
- map->insert( "encryption", TQString( "tls=%1" ).arg( *metadata->find( "tls" ) ) );
+ map->insert( "encryption", TQString( "tls=%1" ).arg( *metadata->tqfind( "tls" ) ) );
if( metadata->tqcontains( "auth" ) )
map->insert( "auth", TQString( "auth=APOP" ) );
}
@@ -77,21 +77,21 @@ void Pop3_Protocol::writeEntries( TQMap< TQString, TQString >* map ) const
TQString metadata;
if( map->tqcontains( "encryption" ) )
{
- if( *map->find( "encryption" ) == "ssl" )
+ if( *map->tqfind( "encryption" ) == "ssl" )
map->insert( "ssl", "true" );
else
{
map->insert( "ssl", "false" );
- metadata += *map->find( "encryption" );
+ metadata += *map->tqfind( "encryption" );
}
map->erase( "encryption" );
}
if( map->tqcontains( "auth" ) )
{
- if( !metadata.isEmpty() && ! (*map->find( "auth" )).isEmpty() )
+ if( !metadata.isEmpty() && ! (*map->tqfind( "auth" )).isEmpty() )
metadata += ",";
- metadata += *map->find( "auth" );
+ metadata += *map->tqfind( "auth" );
map->erase( "auth" );
}