[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/libkdepim/tests
From: Szombathelyi György <gyurco () freemail ! hu>
Date: 2006-09-24 15:24:39
Message-ID: 1159111479.879959.4641.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 587965 by gyurco:
Use the correct signals.
M +3 -3 testldapclient.cpp
M +1 -1 testldapclient.h
--- trunk/KDE/kdepim/libkdepim/tests/testldapclient.cpp #587964:587965
@@ -100,8 +100,8 @@
// But this certainly looks fishy, it might break on non-utf8 systems.
QString filter = "&(|(objectclass=person)(objectclass=groupofnames)(mail=*))(|(cn=*Ägypten \
MDK*)(sn=*Ägypten MDK*))";
- connect( mClient, SIGNAL( result( const KPIM::LdapObject& ) ),
- this, SLOT( slotLDAPResult( const KPIM::LdapObject& ) ) );
+ connect( mClient, SIGNAL( result( const LdapClient&, const KLDAP::LdapObject& ) ),
+ this, SLOT( slotLDAPResult( const LdapClient&, const KLDAP::LdapObject& ) \
) ); connect( mClient, SIGNAL( done() ),
this, SLOT( slotLDAPDone() ) );
connect( mClient, SIGNAL( error( const QString& ) ),
@@ -144,7 +144,7 @@
return res;
}
-void TestLDAPClient::slotLDAPResult( const KLDAP::LdapObject& obj )
+void TestLDAPClient::slotLDAPResult( const LdapClient&, const KLDAP::LdapObject& obj \
) {
QString cn = join( obj.attributes()[ "cn" ], ", " );
kDebug() << " cn:" << cn << endl;
--- trunk/KDE/kdepim/libkdepim/tests/testldapclient.h #587964:587965
@@ -41,7 +41,7 @@
void leaveModality();
private Q_SLOTS:
- void slotLDAPResult( const KLDAP::LdapObject& );
+ void slotLDAPResult( const LdapClient&, const KLDAP::LdapObject& );
void slotLDAPError( const QString& );
void slotLDAPDone();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic