diff options
Diffstat (limited to 'libtdepim/ldapclient.cpp')
-rw-r--r-- | libtdepim/ldapclient.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/ldapclient.cpp b/libtdepim/ldapclient.cpp index 290238403..8e4783882 100644 --- a/libtdepim/ldapclient.cpp +++ b/libtdepim/ldapclient.cpp @@ -53,7 +53,7 @@ TQString LdapObject::toString() const for ( LdapAttrMap::ConstIterator it = attrs.begin(); it != attrs.end(); ++it ) { TQString attr = it.key(); for ( LdapAttrValue::ConstIterator it2 = (*it).begin(); it2 != (*it).end(); ++it2 ) { - result += TQString::fromUtf8( KABC::LDIF::assembleLine( attr, *it2, 76 ) ) + "\n"; + result += TQString::fromUtf8( TDEABC::LDIF::assembleLine( attr, *it2, 76 ) ) + "\n"; } } @@ -105,7 +105,7 @@ void LdapClient::setAttrs( const TQStringList& attrs ) void LdapClient::startQuery( const TQString& filter ) { cancelQuery(); - KABC::LDAPUrl url; + TDEABC::LDAPUrl url; url.setProtocol( ( mServer.security() == LdapServer::SSL ) ? "ldaps" : "ldap" ); if ( mServer.auth() != LdapServer::Anonymous ) { @@ -129,7 +129,7 @@ void LdapClient::startQuery( const TQString& filter ) TQString::number( mServer.sizeLimit() ) ); url.setAttributes( mAttrs ); - url.setScope( mScope == "one" ? KABC::LDAPUrl::One : KABC::LDAPUrl::Sub ); + url.setScope( mScope == "one" ? TDEABC::LDAPUrl::One : TDEABC::LDAPUrl::Sub ); url.setFilter( "("+filter+")" ); kdDebug(5300) << "LdapClient: Doing query: " << url.prettyURL() << endl; @@ -232,12 +232,12 @@ void LdapClient::parseLDIF( const TQByteArray& data ) mLdif.endLDIF(); } - KABC::LDIF::ParseVal ret; + TDEABC::LDIF::ParseVal ret; TQString name; do { ret = mLdif.nextItem(); switch ( ret ) { - case KABC::LDIF::Item: + case TDEABC::LDIF::Item: { name = mLdif.attr(); // Must make a copy! TQByteArray is explicitely shared @@ -250,13 +250,13 @@ void LdapClient::parseLDIF( const TQByteArray& data ) //kdDebug(5300) << "LdapClient::parseLDIF(): name=" << name << " value=" << TQCString(value.data(), value.size()+1) << endl; } break; - case KABC::LDIF::EndEntry: + case TDEABC::LDIF::EndEntry: finishCurrentObject(); break; default: break; } - } while ( ret != KABC::LDIF::MoreData ); + } while ( ret != TDEABC::LDIF::MoreData ); } int LdapClient::clientNumber() const |