summaryrefslogtreecommitdiffstats
path: root/korn/kio.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/kio.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/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;