summaryrefslogtreecommitdiffstats
path: root/korn/kio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/kio.cpp')
-rw-r--r--korn/kio.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korn/kio.cpp b/korn/kio.cpp
index 8015595c0..6fdacdcd6 100644
--- a/korn/kio.cpp
+++ b/korn/kio.cpp
@@ -180,11 +180,11 @@ void KKioDrop::setKioServer(const TQString & proto, const TQString & server, int
_ssl = ssl;
//Checking for authentication-settings.
- //if( _metadata->contains("auth") )
+ //if( _metadata->tqcontains("auth") )
//{
// auth = (*_metadata)["auth"];
// *_metadata = metadata;
- // if( ! _metadata->contains("auth") )
+ // if( ! _metadata->tqcontains("auth") )
// (*_metadata)["auth"] = auth;
//} else
*_metadata = metadata;
@@ -201,7 +201,7 @@ void KKioDrop::setUser(const TQString & user, const TQString & password,
_kurl->setPath( mailbox );
if( ! auth.isEmpty() && auth != "Plain" )
(*_metadata)["auth"] = auth;
- else if( _metadata->contains( "auth" ) )
+ else if( _metadata->tqcontains( "auth" ) )
_metadata->erase( "auth" );
_valid = _kurl->isValid();
@@ -241,7 +241,7 @@ TQString KKioDrop::mailbox() const
}
TQString KKioDrop::auth() const
{
- return ( _metadata->contains("auth")?(*_metadata)["auth"]:"" );
+ return ( _metadata->tqcontains("auth")?(*_metadata)["auth"]:"" );
}
void KKioDrop::recheck()
@@ -337,8 +337,8 @@ bool KKioDrop::readConfigGroup( const TQMap< TQString, TQString > &map, const Pr
{
TQString val, val2;
- if( !map.contains( "server" ) || !map.contains( "port" ) || !map.contains( "ssl" ) || !map.contains( "username" ) ||
- !map.contains( "mailbox" ) || !map.contains( "password" ) || !map.contains( "metadata" ) || !map.contains( "name" ) )
+ if( !map.tqcontains( "server" ) || !map.tqcontains( "port" ) || !map.tqcontains( "ssl" ) || !map.tqcontains( "username" ) ||
+ !map.tqcontains( "mailbox" ) || !map.tqcontains( "password" ) || !map.tqcontains( "metadata" ) || !map.tqcontains( "name" ) )
{
kdWarning() << "Bug: map niet compleet" << endl;
return false;