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 | |||
@@ -54,3 +54,3 @@ AbView::AbView ( QWidget* parent, const QValueList<int>& ordered ): | |||
54 | { | 54 | { |
55 | owarn << "AbView::c'tor" << oendl; | 55 | odebug << "AbView::c'tor" << oendl; |
56 | // Load default database and handle syncing myself.. ! | 56 | // Load default database and handle syncing myself.. ! |
@@ -102,3 +102,3 @@ void AbView::setView( Views view ) | |||
102 | { | 102 | { |
103 | owarn << "AbView::setView( Views view )" << oendl; | 103 | odebug << "AbView::setView( Views view )" << oendl; |
104 | m_curr_View = view; | 104 | m_curr_View = view; |
@@ -109,3 +109,3 @@ void AbView::addEntry( const Opie::OPimContact &newContact ) | |||
109 | { | 109 | { |
110 | owarn << "AbView::AddContact" << oendl; | 110 | odebug << "AbView::AddContact" << oendl; |
111 | m_contactdb->add ( newContact ); | 111 | m_contactdb->add ( newContact ); |
@@ -116,3 +116,3 @@ void AbView::removeEntry( const int UID ) | |||
116 | { | 116 | { |
117 | owarn << "AbView;:RemoveContact" << oendl; | 117 | odebug << "AbView;:RemoveContact" << oendl; |
118 | m_contactdb->remove( UID ); | 118 | m_contactdb->remove( UID ); |
@@ -123,3 +123,3 @@ void AbView::replaceEntry( const Opie::OPimContact &contact ) | |||
123 | { | 123 | { |
124 | owarn << "AbView::ReplaceContact" << oendl; | 124 | odebug << "AbView::ReplaceContact" << oendl; |
125 | m_contactdb->replace( contact ); | 125 | m_contactdb->replace( contact ); |
@@ -147,3 +147,3 @@ bool AbView::save() | |||
147 | { | 147 | { |
148 | //owarn << "AbView::Save data" << oendl; | 148 | //odebug << "AbView::Save data" << oendl; |
149 | 149 | ||
@@ -154,3 +154,3 @@ void AbView::load() | |||
154 | { | 154 | { |
155 | owarn << "AbView::Load data" << oendl; | 155 | odebug << "AbView::Load data" << oendl; |
156 | 156 | ||
@@ -168,3 +168,3 @@ void AbView::load() | |||
168 | 168 | ||
169 | owarn << "Number of contacts: " << m_list.count() << oendl; | 169 | odebug << "Number of contacts: " << m_list.count() << oendl; |
170 | 170 | ||
@@ -176,3 +176,3 @@ void AbView::reload() | |||
176 | { | 176 | { |
177 | owarn << "AbView::::reload()" << oendl; | 177 | odebug << "AbView::::reload()" << oendl; |
178 | 178 | ||
@@ -189,3 +189,3 @@ void AbView::setShowByCategory( const QString& cat ) | |||
189 | { | 189 | { |
190 | owarn << "AbView::setShowCategory( const QString& cat )" << oendl; | 190 | odebug << "AbView::setShowCategory( const QString& cat )" << oendl; |
191 | 191 | ||
@@ -201,3 +201,3 @@ void AbView::setShowByCategory( const QString& cat ) | |||
201 | if ( intCat != m_curr_category ){ | 201 | if ( intCat != m_curr_category ){ |
202 | // owarn << "Categories: Selected " << cat << ".. Number: " | 202 | // odebug << "Categories: Selected " << cat << ".. Number: " |
203 | // << m_curr_category << oendl; | 203 | // << m_curr_category << oendl; |
@@ -214,6 +214,6 @@ void AbView::setShowToView( Views view ) | |||
214 | { | 214 | { |
215 | owarn << "void AbView::setShowToView( View " << view << " )" << oendl; | 215 | odebug << "void AbView::setShowToView( View " << view << " )" << oendl; |
216 | 216 | ||
217 | if ( m_curr_View != view ){ | 217 | if ( m_curr_View != view ){ |
218 | owarn << "Change the View (Category is: " << m_curr_category << ")" << oendl; | 218 | odebug << "Change the View (Category is: " << m_curr_category << ")" << oendl; |
219 | m_prev_View = m_curr_View; | 219 | m_prev_View = m_curr_View; |
@@ -228,3 +228,3 @@ void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode ) | |||
228 | { | 228 | { |
229 | owarn << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl; | 229 | odebug << "void AbView::setShowByLetter( " << c << ", " << mode << " )" << oendl; |
230 | 230 | ||
@@ -281,3 +281,3 @@ void AbView::showPersonal( bool personal ) | |||
281 | { | 281 | { |
282 | owarn << "void AbView::showPersonal( " << personal << " )" << oendl; | 282 | odebug << "void AbView::showPersonal( " << personal << " )" << oendl; |
283 | 283 | ||
@@ -351,3 +351,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
351 | 351 | ||
352 | //owarn << "Find in Category " << category << oendl; | 352 | //odebug << "Find in Category " << category << oendl; |
353 | 353 | ||
@@ -360,3 +360,3 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
360 | 360 | ||
361 | //owarn << "Found: " << m_list.count() << oendl; | 361 | //odebug << "Found: " << m_list.count() << oendl; |
362 | if ( m_list.count() == 0 ){ | 362 | if ( m_list.count() == 0 ){ |
@@ -384,3 +384,3 @@ void AbView::offSearch() | |||
384 | void AbView::slotSwitch(){ | 384 | void AbView::slotSwitch(){ |
385 | //owarn << "AbView::slotSwitch()" << oendl; | 385 | //odebug << "AbView::slotSwitch()" << oendl; |
386 | 386 | ||
@@ -389,3 +389,3 @@ void AbView::slotSwitch(){ | |||
389 | case TableView: | 389 | case TableView: |
390 | owarn << "Switching to CardView" << oendl; | 390 | odebug << "Switching to CardView" << oendl; |
391 | m_curr_View = CardView; | 391 | m_curr_View = CardView; |
@@ -393,3 +393,3 @@ void AbView::slotSwitch(){ | |||
393 | case CardView: | 393 | case CardView: |
394 | owarn << "Switching to TableView" << oendl; | 394 | odebug << "Switching to TableView" << oendl; |
395 | m_curr_View = TableView; | 395 | m_curr_View = TableView; |
@@ -412,3 +412,3 @@ void AbView::clearForCategory() | |||
412 | if ( !contactCompare( *it, m_curr_category ) ){ | 412 | if ( !contactCompare( *it, m_curr_category ) ){ |
413 | //owarn << "Removing " << (*it).uid() << oendl; | 413 | //odebug << "Removing " << (*it).uid() << oendl; |
414 | m_list.remove( (*it).uid() ); | 414 | m_list.remove( (*it).uid() ); |
@@ -422,3 +422,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
422 | { | 422 | { |
423 | //owarn << "bool AbView::contactCompare( const Opie::OPimContact &cnt, " | 423 | //odebug << "bool AbView::contactCompare( const Opie::OPimContact &cnt, " |
424 | // << category << " )" << oendl; | 424 | // << category << " )" << oendl; |
@@ -429,3 +429,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
429 | 429 | ||
430 | //owarn << "Number of categories: " << cats.count() << oendl; | 430 | //odebug << "Number of categories: " << cats.count() << oendl; |
431 | 431 | ||
@@ -438,3 +438,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
438 | for ( i = 0; i < int(cats.count()); i++ ) { | 438 | for ( i = 0; i < int(cats.count()); i++ ) { |
439 | //owarn << "Comparing " << cats[i] << " with " << category << oendl; | 439 | //odebug << "Comparing " << cats[i] << " with " << category << oendl; |
440 | if ( cats[i] == category ) { | 440 | if ( cats[i] == category ) { |
@@ -445,3 +445,3 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
445 | } | 445 | } |
446 | //owarn << "Return: " << returnMe << oendl; | 446 | //odebug << "Return: " << returnMe << oendl; |
447 | return returnMe; | 447 | return returnMe; |
@@ -458,3 +458,3 @@ void AbView::updateView( bool newdata ) | |||
458 | { | 458 | { |
459 | //owarn << "AbView::updateView()" << oendl; | 459 | //odebug << "AbView::updateView()" << oendl; |
460 | 460 | ||