summaryrefslogtreecommitdiffstats
path: root/tdeabc/tests/testldapclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc/tests/testldapclient.cpp')
-rw-r--r--tdeabc/tests/testldapclient.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeabc/tests/testldapclient.cpp b/tdeabc/tests/testldapclient.cpp
index a48ce043f..d8879273b 100644
--- a/tdeabc/tests/testldapclient.cpp
+++ b/tdeabc/tests/testldapclient.cpp
@@ -97,14 +97,14 @@ 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 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& ) ),
- this, TQT_SLOT( slotLDAPError( const TQString& ) ) );
+ connect( mClient, TQ_SIGNAL( result( const TDEABC::LdapObject& ) ),
+ this, TQ_SLOT( slotLDAPResult( const TDEABC::LdapObject& ) ) );
+ connect( mClient, TQ_SIGNAL( done() ),
+ this, TQ_SLOT( slotLDAPDone() ) );
+ connect( mClient, TQ_SIGNAL( error( const TQString& ) ),
+ this, TQ_SLOT( slotLDAPError( const TQString& ) ) );
mClient->startQuery( filter );
- kapp->eventLoop()->enterLoop();
+ tdeApp->eventLoop()->enterLoop();
delete mClient; mClient = 0;
}
@@ -130,7 +130,7 @@ static TQString join( const TDEABC::LdapAttrValue& lst, const TQString& sep )
for ( TDEABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
if ( already )
res += sep;
- already = TRUE;
+ already = true;
res += asUtf8( *it );
}
return res;
@@ -155,7 +155,7 @@ void TestLDAPClient::slotLDAPError( const TQString& err )
void TestLDAPClient::slotLDAPDone()
{
kdDebug() << k_funcinfo << endl;
- kapp->eventLoop()->exitLoop();
+ tdeApp->eventLoop()->exitLoop();
}
#include "testldapclient.moc"