Diffstat (limited to 'core/pim/addressbook/abview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abview.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp index 7a5b6d4..7abb45c 100644 --- a/core/pim/addressbook/abview.cpp +++ b/core/pim/addressbook/abview.cpp @@ -53,5 +53,5 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ): m_orderedFields( ordered ) { - owarn << "AbView::c'tor" << oendl; + odebug << "AbView::c'tor" << oendl; // Load default database and handle syncing myself.. ! m_contactdb = new Opie::OPimContactAccess ( "addressbook", 0l, 0l, false ); @@ -101,5 +101,5 @@ AbView::~AbView() void AbView::setView( Views view ) { - owarn << "AbView::setView( Views view )" << oendl; + odebug << "AbView::setView( Views view )" << oendl; m_curr_View = view; load(); @@ -108,5 +108,5 @@ void AbView::setView( Views view ) void AbView::addEntry( const Opie::OPimContact &newContact ) { - owarn << "AbView::AddContact" << oendl; + odebug << "AbView::AddContact" << oendl; m_contactdb->add ( newContact ); load(); @@ -115,5 +115,5 @@ void AbView::addEntry( const Opie::OPimContact &newContact ) void AbView::removeEntry( const int UID ) { - owarn << "AbView;:RemoveContact" << oendl; + odebug << "AbView;:RemoveContact" << oendl; m_contactdb->remove( UID ); load(); @@ -122,5 +122,5 @@ void AbView::removeEntry( const int UID ) void AbView::replaceEntry( const Opie::OPimContact &contact ) { - owarn << "AbView::ReplaceContact" << oendl; + odebug << "AbView::ReplaceContact" << oendl; m_contactdb->replace( contact ); load(); @@ -146,5 +146,5 @@ Opie::OPimContact AbView::currentEntry() bool AbView::save() { - // owarn << "AbView::Save data" << oendl; + // odebug << "AbView::Save data" << oendl; return m_contactdb->save(); @@ -153,5 +153,5 @@ bool AbView::save() void AbView::load() { - owarn << "AbView::Load data" << oendl; + odebug << "AbView::Load data" << oendl; // Letter Search is stopped at this place @@ -167,5 +167,5 @@ void AbView::load() } - owarn << "Number of contacts: " << m_list.count() << oendl; + odebug << "Number of contacts: " << m_list.count() << oendl; updateView( true ); @@ -175,5 +175,5 @@ void AbView::load() void AbView::reload() { - owarn << "AbView::::reload()" << oendl; + odebug << "AbView::::reload()" << oendl; m_contactdb->reload(); @@ -188,5 +188,5 @@ void AbView::clear() void AbView::setShowByCategory( const QString& cat ) { - owarn << "AbView::setShowCategory( const QString& cat )" << oendl; + odebug << "AbView::setShowCategory( const QString& cat )" << oendl; int intCat = 0; @@ -200,5 +200,5 @@ void AbView::setShowByCategory( const QString& cat ) // Just do anything if we really change the category if ( intCat != m_curr_category ){ - // owarn << "Categories: Selected " << cat << ".. Number: " + // odebug << "Categories: Selected " << cat << ".. Number: " // << m_curr_category << oendl; @@ -213,8 +213,8 @@ void AbView::setShowByCategory( const QString& cat ) void AbView::setShowToView( Views view ) { - owarn << "void AbView::setShowToView( View " << view << " )" << oendl; + odebug << "void AbView::setShowToView( View " << view << " )" << oendl; if ( m_curr_View != view ){ - owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl; + odebug << "Change the View (Category is: " << m_curr_category << ")" << oendl; m_prev_View = m_curr_View; m_curr_View = view; @@ -227,5 +227,5 @@ void AbView::setShowToView( Views view ) void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode ) { - owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl; + odebug << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl; assert( mode < AbConfig::LASTELEMENT ); @@ -280,5 +280,5 @@ QString AbView::showCategory() const void AbView::showPersonal( bool personal ) { - owarn << "void AbView::showPersonal( " << personal << " )" << oendl; + odebug << "void AbView::showPersonal( " << personal << " )" << oendl; if ( personal ){ @@ -350,5 +350,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, } - // owarn << "Find in Category " << category << oendl; + // odebug << "Find in Category " << category << oendl; QRegExp r( str ); @@ -359,5 +359,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, m_list = m_contactdb->matchRegexp( r ); - // owarn << "Found: " << m_list.count() << oendl; + // odebug << "Found: " << m_list.count() << oendl; if ( m_list.count() == 0 ){ emit signalNotFound(); @@ -383,14 +383,14 @@ void AbView::offSearch() void AbView::slotSwitch(){ - // owarn << "AbView::slotSwitch()" << oendl; + // odebug << "AbView::slotSwitch()" << oendl; m_prev_View = m_curr_View; switch ( (int) m_curr_View ){ case TableView: - owarn << "Switching to CardView" << oendl; + odebug << "Switching to CardView" << oendl; m_curr_View = CardView; break; case CardView: - owarn << "Switching to TableView" << oendl; + odebug << "Switching to TableView" << oendl; m_curr_View = TableView; break; @@ -411,5 +411,5 @@ void AbView::clearForCategory() for ( it = allList.begin(); it != allList.end(); ++it ){ if ( !contactCompare( *it, m_curr_category ) ){ - //owarn << "Removing " << (*it).uid() << oendl; + //odebug << "Removing " << (*it).uid() << oendl; m_list.remove( (*it).uid() ); } @@ -421,5 +421,5 @@ void AbView::clearForCategory() bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) { - // owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, " + // odebug << "bool AbView::contactCompare( const Opie::OPimContact &cnt, " // << category << " )" << oendl; @@ -428,5 +428,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) cats = cnt.categories(); - // owarn << "Number of categories: " << cats.count() << oendl; + // odebug << "Number of categories: " << cats.count() << oendl; returnMe = false; @@ -437,5 +437,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) int i; for ( i = 0; i < int(cats.count()); i++ ) { - //owarn << "Comparing " << cats[i] << " with " << category << oendl; + //odebug << "Comparing " << cats[i] << " with " << category << oendl; if ( cats[i] == category ) { returnMe = true; @@ -444,5 +444,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) } } - // owarn << "Return: " << returnMe << oendl; + // odebug << "Return: " << returnMe << oendl; return returnMe; } @@ -457,5 +457,5 @@ void AbView::updateListinViews() void AbView::updateView( bool newdata ) { - // owarn << "AbView::updateView()" << oendl; + // odebug << "AbView::updateView()" << oendl; if ( m_viewStack -> visibleWidget() ){ |