summaryrefslogtreecommitdiffstats
path: root/libtdepim/ldapclient.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:27 -0600
commit94273bcb909fac42ef9427e3d8a614cab8c29c66 (patch)
tree91b99186971ecb475db3ca41b1b12df24029e389 /libtdepim/ldapclient.cpp
parent41b65d69967ad0d35f8b4dd37ac63aad1cebdae9 (diff)
downloadtdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.tar.gz
tdepim-94273bcb909fac42ef9427e3d8a614cab8c29c66.zip
Rename KABC namespace
Diffstat (limited to 'libtdepim/ldapclient.cpp')
-rw-r--r--libtdepim/ldapclient.cpp14
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