diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:26:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-20 16:26:45 -0600 |
commit | 45f3927b0ffec2599bc0e1ce361c5386474a85f4 (patch) | |
tree | 29e1842fe4d93f4e99481385a771e8bef061158b /tdeabc/tests/testldapclient.cpp | |
parent | 04105ef07304a9358e87eff0cb1a6d6f2a725192 (diff) | |
download | tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.tar.gz tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.zip |
Rename KABC namespace
Diffstat (limited to 'tdeabc/tests/testldapclient.cpp')
-rw-r--r-- | tdeabc/tests/testldapclient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeabc/tests/testldapclient.cpp b/tdeabc/tests/testldapclient.cpp index df9fd6226..71a34ee5e 100644 --- a/tdeabc/tests/testldapclient.cpp +++ b/tdeabc/tests/testldapclient.cpp @@ -97,8 +97,8 @@ void TestLDAPClient::testIntevation() // But this certainly looks fishy, it might break on non-utf8 systems. TQString filter = "&(|(objectclass=person)(objectclass=groupofnames)(mail=*))(|(cn=*Ägypten MDK*)(sn=*Ägypten MDK*))"; - connect( mClient, TQT_SIGNAL( result( const KABC::LdapObject& ) ), - this, TQT_SLOT( slotLDAPResult( const KABC::LdapObject& ) ) ); + connect( mClient, TQT_SIGNAL( result( const TDEABC::LdapObject& ) ), + this, TQT_SLOT( slotLDAPResult( const TDEABC::LdapObject& ) ) ); connect( mClient, TQT_SIGNAL( done() ), this, TQT_SLOT( slotLDAPDone() ) ); connect( mClient, TQT_SIGNAL( error( const TQString& ) ), @@ -123,11 +123,11 @@ static TQString asUtf8( const TQByteArray &val ) return TQString::fromUtf8( data, val.size() ); } -static TQString join( const KABC::LdapAttrValue& lst, const TQString& sep ) +static TQString join( const TDEABC::LdapAttrValue& lst, const TQString& sep ) { TQString res; bool already = false; - for ( KABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) { + for ( TDEABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) { if ( already ) res += sep; already = TRUE; @@ -136,7 +136,7 @@ static TQString join( const KABC::LdapAttrValue& lst, const TQString& sep ) return res; } -void TestLDAPClient::slotLDAPResult( const KABC::LdapObject& obj ) +void TestLDAPClient::slotLDAPResult( const TDEABC::LdapObject& obj ) { TQString cn = join( obj.attrs[ "cn" ], ", " ); kdDebug() << " cn:" << cn << endl; |