[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/libkdepim
From: Tobias Koenig <tokoe () kde ! org>
Date: 2010-12-16 8:41:09
Message-ID: 20101216084109.A80F0AC8A8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1206961 by tokoe:
Remove debug statements for WinCE
The freeze has been fixed now.
M +0 -18 addresseelineedit.cpp
--- trunk/KDE/kdepim/libkdepim/addresseelineedit.cpp #1206960:1206961
@@ -209,9 +209,7 @@
if ( m_useCompletion ) {
if ( !s_static->ldapTimer ) {
s_static->ldapTimer = new QTimer;
- fprintf( stderr, "tokoe_debug: before 'new KLDAP::LdapClientSearch'\n" );
s_static->ldapSearch = new KLDAP::LdapClientSearch;
- fprintf( stderr, "tokoe_debug: after 'new KLDAP::LdapClientSearch'\n" );
}
updateLDAPWeights();
@@ -240,7 +238,6 @@
void AddresseeLineEdit::Private::startLoadingLDAPEntries()
{
- fprintf( stderr, "tokoe_debug: entering startLoadingLDAPEntries()\n" );
QString text( s_static->ldapText );
// TODO cache last?
@@ -252,25 +249,20 @@
}
if ( text.isEmpty() ) {
- fprintf( stderr, "tokoe_debug: leaving startLoadingLDAPEntries()\n" );
return;
}
s_static->ldapSearch->startSearch( text );
- fprintf( stderr, "tokoe_debug: leaving startLoadingLDAPEntries()\n" );
}
void AddresseeLineEdit::Private::stopLDAPLookup()
{
- fprintf( stderr, "tokoe_debug: entering stopLDAPLookup()\n" );
s_static->ldapSearch->cancelSearch();
s_static->ldapLineEdit = 0;
- fprintf( stderr, "tokoe_debug: leaving stopLDAPLookup()\n" );
}
void AddresseeLineEdit::Private::updateLDAPWeights()
{
- fprintf( stderr, "tokoe_debug: entering updateLDAPWeights()\n" );
/* Add completion sources for all ldap server, 0 to n. Added first so
* that they map to the LdapClient::clientNumber() */
s_static->ldapSearch->updateCompletionWeights();
@@ -284,7 +276,6 @@
clientIndex++;
}
- fprintf( stderr, "tokoe_debug: leaving updateLDAPWeights()\n" );
}
void AddresseeLineEdit::Private::setCompletedItems( const QStringList &items, bool \
autoSuggest ) @@ -671,38 +662,30 @@
void AddresseeLineEdit::Private::slotStartLDAPLookup()
{
- fprintf( stderr, "tokoe_debug: entering slotStartLDAPLookup( unconnected=%d )\n", \
(Solid::Networking::status() == Solid::Networking::Unconnected) ); if ( \
Solid::Networking::status() == Solid::Networking::Unconnected ) {
- fprintf( stderr, "tokoe_debug: leaving slotStartLDAPLookup( state=%d )\n", \
Solid::Networking::status() ); return;
}
const KGlobalSettings::Completion mode = q->completionMode();
if ( mode == KGlobalSettings::CompletionNone ) {
- fprintf( stderr, "tokoe_debug: leaving slotStartLDAPLookup()\n" );
return;
}
if ( !s_static->ldapSearch->isAvailable() ) {
- fprintf( stderr, "tokoe_debug: leaving slotStartLDAPLookup()\n" );
return;
}
if ( s_static->ldapLineEdit != q ) {
- fprintf( stderr, "tokoe_debug: leaving slotStartLDAPLookup()\n" );
return;
}
startLoadingLDAPEntries();
- fprintf( stderr, "tokoe_debug: leaving slotStartLDAPLookup()\n" );
}
void AddresseeLineEdit::Private::slotLDAPSearchData( const KLDAP::LdapResult::List \
&results ) {
- fprintf( stderr, "tokoe_debug: entering slotLDAPSearchData()\n" );
if ( results.isEmpty() || s_static->ldapLineEdit != q ) {
- fprintf( stderr, "tokoe_debug: leaving slotLDAPSearchData()\n" );
return;
}
@@ -730,7 +713,6 @@
doCompletion( m_lastSearchMode );
}
}
- fprintf( stderr, "tokoe_debug: leaving slotLDAPSearchData()\n" );
}
void AddresseeLineEdit::Private::slotEditCompletionOrder()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic