-rw-r--r-- | core/pim/addressbook/ablabel.cpp | 14 | ||||
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 46 | ||||
-rw-r--r-- | core/pim/addressbook/abview.cpp | 52 | ||||
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 58 | ||||
-rw-r--r-- | core/pim/addressbook/configdlg.cpp | 10 | ||||
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 58 | ||||
-rw-r--r-- | core/pim/addressbook/picker.cpp | 2 |
7 files changed, 120 insertions, 120 deletions
diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp index b81a3b9..6b8e4dd 100644 --- a/core/pim/addressbook/ablabel.cpp +++ b/core/pim/addressbook/ablabel.cpp | |||
@@ -96,13 +96,13 @@ void AbLabel::keyPressEvent( QKeyEvent *e ) | |||
96 | switch( e->key() ) { | 96 | switch( e->key() ) { |
97 | case Qt::Key_Left: | 97 | case Qt::Key_Left: |
98 | owarn << "Left.." << oendl; | 98 | odebug << "Left.." << oendl; |
99 | case Qt::Key_Right: | 99 | case Qt::Key_Right: |
100 | owarn << "Right.." << oendl; | 100 | odebug << "Right.." << oendl; |
101 | case Qt::Key_F33: | 101 | case Qt::Key_F33: |
102 | owarn << "OK.." << oendl; | 102 | odebug << "OK.." << oendl; |
103 | emit signalOkPressed(); | 103 | emit signalOkPressed(); |
104 | break; | 104 | break; |
105 | case Qt::Key_Up: | 105 | case Qt::Key_Up: |
106 | owarn << "Up.." << oendl; | 106 | odebug << "Up.." << oendl; |
107 | if ( ( visibleHeight() < contentsHeight() ) && | 107 | if ( ( visibleHeight() < contentsHeight() ) && |
108 | ( verticalScrollBar()->value() > verticalScrollBar()->minValue() ) ) | 108 | ( verticalScrollBar()->value() > verticalScrollBar()->minValue() ) ) |
@@ -118,7 +118,7 @@ void AbLabel::keyPressEvent( QKeyEvent *e ) | |||
118 | break; | 118 | break; |
119 | case Qt::Key_Down: | 119 | case Qt::Key_Down: |
120 | owarn << "Down.." << oendl; | 120 | odebug << "Down.." << oendl; |
121 | // owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; | 121 | // odebug << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; |
122 | // owarn << "Value: " << verticalScrollBar()->value() | 122 | // odebug << "Value: " << verticalScrollBar()->value() |
123 | // << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl; | 123 | // << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl; |
124 | if ( ( visibleHeight() < contentsHeight() ) && | 124 | if ( ( visibleHeight() < contentsHeight() ) && |
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 3fb2214..30d749c 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp | |||
@@ -122,5 +122,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name | |||
122 | countNested( 0 ) | 122 | countNested( 0 ) |
123 | { | 123 | { |
124 | //owarn << "C'tor start" << oendl; | 124 | //odebug << "C'tor start" << oendl; |
125 | setSelectionMode( NoSelection ); | 125 | setSelectionMode( NoSelection ); |
126 | init(); | 126 | init(); |
@@ -130,5 +130,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name | |||
130 | 130 | ||
131 | // contactList.clear(); | 131 | // contactList.clear(); |
132 | //owarn << "C'tor end" << oendl; | 132 | //odebug << "C'tor end" << oendl; |
133 | } | 133 | } |
134 | 134 | ||
@@ -152,5 +152,5 @@ void AbTable::init() | |||
152 | void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList ) | 152 | void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList ) |
153 | { | 153 | { |
154 | owarn << "AbTable::setContacts()" << oendl; | 154 | odebug << "AbTable::setContacts()" << oendl; |
155 | 155 | ||
156 | clear(); | 156 | clear(); |
@@ -184,5 +184,5 @@ void AbTable::setOrderedList( const QValueList<int> ordered ) | |||
184 | bool AbTable::selectContact( int UID ) | 184 | bool AbTable::selectContact( int UID ) |
185 | { | 185 | { |
186 | owarn << "AbTable::selectContact( " << UID << " )" << oendl; | 186 | odebug << "AbTable::selectContact( " << UID << " )" << oendl; |
187 | int rows = numRows(); | 187 | int rows = numRows(); |
188 | Opie::OPimContact* foundContact = 0l; | 188 | Opie::OPimContact* foundContact = 0l; |
@@ -190,5 +190,5 @@ bool AbTable::selectContact( int UID ) | |||
190 | 190 | ||
191 | setPaintingEnabled( FALSE ); | 191 | setPaintingEnabled( FALSE ); |
192 | owarn << "Search start" << oendl; | 192 | odebug << "Search start" << oendl; |
193 | for ( int r = 0; r < rows; ++r ) { | 193 | for ( int r = 0; r < rows; ++r ) { |
194 | if ( m_viewList.uidAt( r ) == UID ){ | 194 | if ( m_viewList.uidAt( r ) == UID ){ |
@@ -199,5 +199,5 @@ bool AbTable::selectContact( int UID ) | |||
199 | } | 199 | } |
200 | } | 200 | } |
201 | owarn << "Search end" << oendl; | 201 | odebug << "Search end" << oendl; |
202 | 202 | ||
203 | if ( !found ){ | 203 | if ( !found ){ |
@@ -214,5 +214,5 @@ bool AbTable::selectContact( int UID ) | |||
214 | void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row ) | 214 | void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row ) |
215 | { | 215 | { |
216 | owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, " | 216 | odebug << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, " |
217 | << row << " )" << oendl; | 217 | << row << " )" << oendl; |
218 | QString strName; | 218 | QString strName; |
@@ -284,5 +284,5 @@ int AbTable::currentEntry_UID() | |||
284 | void AbTable::clear() | 284 | void AbTable::clear() |
285 | { | 285 | { |
286 | owarn << "void AbTable::clear()" << oendl; | 286 | odebug << "void AbTable::clear()" << oendl; |
287 | // contactList.clear(); | 287 | // contactList.clear(); |
288 | 288 | ||
@@ -335,5 +335,5 @@ void AbTable::keyPressEvent( QKeyEvent *e ) | |||
335 | moveTo( key ); | 335 | moveTo( key ); |
336 | 336 | ||
337 | // owarn << "Received key .." << oendl; | 337 | // odebug << "Received key .." << oendl; |
338 | switch( e->key() ) { | 338 | switch( e->key() ) { |
339 | case Qt::Key_Space: | 339 | case Qt::Key_Space: |
@@ -343,9 +343,9 @@ void AbTable::keyPressEvent( QKeyEvent *e ) | |||
343 | break; | 343 | break; |
344 | // case Qt::Key_Up: | 344 | // case Qt::Key_Up: |
345 | // owarn << "a" << oendl; | 345 | // odebug << "a" << oendl; |
346 | // emit signalKeyUp(); | 346 | // emit signalKeyUp(); |
347 | // break; | 347 | // break; |
348 | // case Qt::Key_Down: | 348 | // case Qt::Key_Down: |
349 | // owarn << "b" << oendl; | 349 | // odebug << "b" << oendl; |
350 | // emit signalKeyDown(); | 350 | // emit signalKeyDown(); |
351 | // break; | 351 | // break; |
@@ -358,5 +358,5 @@ void AbTable::keyPressEvent( QKeyEvent *e ) | |||
358 | void AbTable::moveTo( char c ) | 358 | void AbTable::moveTo( char c ) |
359 | { | 359 | { |
360 | owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; | 360 | odebug << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; |
361 | 361 | ||
362 | #if 0 | 362 | #if 0 |
@@ -424,5 +424,5 @@ void AbTable::resizeRows() { | |||
424 | void AbTable::realignTable() | 424 | void AbTable::realignTable() |
425 | { | 425 | { |
426 | //owarn << "void AbTable::realignTable()" << oendl; | 426 | //odebug << "void AbTable::realignTable()" << oendl; |
427 | 427 | ||
428 | setPaintingEnabled( FALSE ); | 428 | setPaintingEnabled( FALSE ); |
@@ -474,5 +474,5 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch ) | |||
474 | void AbTable::fitColumns() | 474 | void AbTable::fitColumns() |
475 | { | 475 | { |
476 | owarn << "void AbTable::fitColumns()" << oendl; | 476 | odebug << "void AbTable::fitColumns()" << oendl; |
477 | int contentsWidth = visibleWidth() / 2; | 477 | int contentsWidth = visibleWidth() / 2; |
478 | // Fix to better value | 478 | // Fix to better value |
@@ -486,5 +486,5 @@ void AbTable::fitColumns() | |||
486 | } | 486 | } |
487 | 487 | ||
488 | //owarn << "Width: " << contentsWidth << oendl; | 488 | //odebug << "Width: " << contentsWidth << oendl; |
489 | 489 | ||
490 | setColumnWidth( 0, contentsWidth ); | 490 | setColumnWidth( 0, contentsWidth ); |
@@ -498,5 +498,5 @@ void AbTable::fitColumns() | |||
498 | void AbTable::show() | 498 | void AbTable::show() |
499 | { | 499 | { |
500 | //owarn << "void AbTable::show()" << oendl; | 500 | //odebug << "void AbTable::show()" << oendl; |
501 | realignTable(); | 501 | realignTable(); |
502 | QTable::show(); | 502 | QTable::show(); |
@@ -522,9 +522,9 @@ void AbTable::setChoiceNames( const QStringList& list) | |||
522 | void AbTable::itemClicked(int,int col) | 522 | void AbTable::itemClicked(int,int col) |
523 | { | 523 | { |
524 | //owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl; | 524 | //odebug << "AbTable::itemClicked(int, col: " << col << ")" << oendl; |
525 | if ( col == 2 ) { | 525 | if ( col == 2 ) { |
526 | return; | 526 | return; |
527 | } else { | 527 | } else { |
528 | //owarn << "Emitting signalSwitch()" << oendl; | 528 | //odebug << "Emitting signalSwitch()" << oendl; |
529 | emit signalSwitch(); | 529 | emit signalSwitch(); |
530 | } | 530 | } |
@@ -563,5 +563,5 @@ QStringList AbTable::choiceSelection(int /*index*/) const | |||
563 | void AbTable::updateVisible() | 563 | void AbTable::updateVisible() |
564 | { | 564 | { |
565 | //owarn << "void AbTable::updateVisible()" << oendl; | 565 | //odebug << "void AbTable::updateVisible()" << oendl; |
566 | 566 | ||
567 | int visible, | 567 | int visible, |
@@ -599,5 +599,5 @@ void AbTable::updateVisible() | |||
599 | void AbTable::setPaintingEnabled( bool e ) | 599 | void AbTable::setPaintingEnabled( bool e ) |
600 | { | 600 | { |
601 | //owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: " | 601 | //odebug << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: " |
602 | // << countNested << oendl; | 602 | // << countNested << oendl; |
603 | 603 | ||
@@ -616,10 +616,10 @@ void AbTable::setPaintingEnabled( bool e ) | |||
616 | setUpdatesEnabled( false ); | 616 | setUpdatesEnabled( false ); |
617 | } | 617 | } |
618 | //owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: " | 618 | //odebug << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: " |
619 | // << countNested << oendl; | 619 | // << countNested << oendl; |
620 | } | 620 | } |
621 | 621 | ||
622 | void AbTable::viewportPaintEvent( QPaintEvent* e ) { | 622 | void AbTable::viewportPaintEvent( QPaintEvent* e ) { |
623 | //owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> " | 623 | //odebug << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> " |
624 | // << enablePainting << oendl; | 624 | // << enablePainting << oendl; |
625 | if ( enablePainting ) | 625 | if ( enablePainting ) |
@@ -632,5 +632,5 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool ) | |||
632 | p->save(); | 632 | p->save(); |
633 | 633 | ||
634 | //owarn << "Paint row: " << row << oendl; | 634 | //odebug << "Paint row: " << row << oendl; |
635 | 635 | ||
636 | Opie::OPimContact act_contact = m_viewList[row]; | 636 | Opie::OPimContact act_contact = m_viewList[row]; |
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 ): | |||
53 | m_orderedFields( ordered ) | 53 | m_orderedFields( 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.. ! |
57 | m_contactdb = new Opie::OPimContactAccess ( "addressbook", 0l, 0l, false ); | 57 | m_contactdb = new Opie::OPimContactAccess ( "addressbook", 0l, 0l, false ); |
@@ -101,5 +101,5 @@ AbView::~AbView() | |||
101 | void AbView::setView( Views view ) | 101 | 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; |
105 | load(); | 105 | load(); |
@@ -108,5 +108,5 @@ void AbView::setView( Views view ) | |||
108 | void AbView::addEntry( const Opie::OPimContact &newContact ) | 108 | 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 ); |
112 | load(); | 112 | load(); |
@@ -115,5 +115,5 @@ void AbView::addEntry( const Opie::OPimContact &newContact ) | |||
115 | void AbView::removeEntry( const int UID ) | 115 | 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 ); |
119 | load(); | 119 | load(); |
@@ -122,5 +122,5 @@ void AbView::removeEntry( const int UID ) | |||
122 | void AbView::replaceEntry( const Opie::OPimContact &contact ) | 122 | 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 ); |
126 | load(); | 126 | load(); |
@@ -146,5 +146,5 @@ Opie::OPimContact AbView::currentEntry() | |||
146 | bool AbView::save() | 146 | bool AbView::save() |
147 | { | 147 | { |
148 | //owarn << "AbView::Save data" << oendl; | 148 | //odebug << "AbView::Save data" << oendl; |
149 | 149 | ||
150 | return m_contactdb->save(); | 150 | return m_contactdb->save(); |
@@ -153,5 +153,5 @@ bool AbView::save() | |||
153 | void AbView::load() | 153 | void AbView::load() |
154 | { | 154 | { |
155 | owarn << "AbView::Load data" << oendl; | 155 | odebug << "AbView::Load data" << oendl; |
156 | 156 | ||
157 | // Letter Search is stopped at this place | 157 | // Letter Search is stopped at this place |
@@ -167,5 +167,5 @@ void AbView::load() | |||
167 | } | 167 | } |
168 | 168 | ||
169 | owarn << "Number of contacts: " << m_list.count() << oendl; | 169 | odebug << "Number of contacts: " << m_list.count() << oendl; |
170 | 170 | ||
171 | updateView( true ); | 171 | updateView( true ); |
@@ -175,5 +175,5 @@ void AbView::load() | |||
175 | void AbView::reload() | 175 | void AbView::reload() |
176 | { | 176 | { |
177 | owarn << "AbView::::reload()" << oendl; | 177 | odebug << "AbView::::reload()" << oendl; |
178 | 178 | ||
179 | m_contactdb->reload(); | 179 | m_contactdb->reload(); |
@@ -188,5 +188,5 @@ void AbView::clear() | |||
188 | void AbView::setShowByCategory( const QString& cat ) | 188 | 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 | ||
192 | int intCat = 0; | 192 | int intCat = 0; |
@@ -200,5 +200,5 @@ void AbView::setShowByCategory( const QString& cat ) | |||
200 | // Just do anything if we really change the category | 200 | // Just do anything if we really change the category |
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; |
204 | 204 | ||
@@ -213,8 +213,8 @@ void AbView::setShowByCategory( const QString& cat ) | |||
213 | void AbView::setShowToView( Views view ) | 213 | 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; |
220 | m_curr_View = view; | 220 | m_curr_View = view; |
@@ -227,5 +227,5 @@ void AbView::setShowToView( Views view ) | |||
227 | void AbView::setShowByLetter( char c, AbConfig::LPSearchMode mode ) | 227 | 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 | ||
231 | assert( mode < AbConfig::LASTELEMENT ); | 231 | assert( mode < AbConfig::LASTELEMENT ); |
@@ -280,5 +280,5 @@ QString AbView::showCategory() const | |||
280 | void AbView::showPersonal( bool personal ) | 280 | void AbView::showPersonal( bool personal ) |
281 | { | 281 | { |
282 | owarn << "void AbView::showPersonal( " << personal << " )" << oendl; | 282 | odebug << "void AbView::showPersonal( " << personal << " )" << oendl; |
283 | 283 | ||
284 | if ( personal ){ | 284 | if ( personal ){ |
@@ -350,5 +350,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
350 | } | 350 | } |
351 | 351 | ||
352 | //owarn << "Find in Category " << category << oendl; | 352 | //odebug << "Find in Category " << category << oendl; |
353 | 353 | ||
354 | QRegExp r( str ); | 354 | QRegExp r( str ); |
@@ -359,5 +359,5 @@ void AbView::slotDoFind( const QString &str, bool caseSensitive, bool useRegExp, | |||
359 | m_list = m_contactdb->matchRegexp( r ); | 359 | m_list = m_contactdb->matchRegexp( r ); |
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 ){ |
363 | emit signalNotFound(); | 363 | emit signalNotFound(); |
@@ -383,14 +383,14 @@ void AbView::offSearch() | |||
383 | 383 | ||
384 | void AbView::slotSwitch(){ | 384 | void AbView::slotSwitch(){ |
385 | //owarn << "AbView::slotSwitch()" << oendl; | 385 | //odebug << "AbView::slotSwitch()" << oendl; |
386 | 386 | ||
387 | m_prev_View = m_curr_View; | 387 | m_prev_View = m_curr_View; |
388 | switch ( (int) m_curr_View ){ | 388 | switch ( (int) m_curr_View ){ |
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; |
392 | break; | 392 | break; |
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; |
396 | break; | 396 | break; |
@@ -411,5 +411,5 @@ void AbView::clearForCategory() | |||
411 | for ( it = allList.begin(); it != allList.end(); ++it ){ | 411 | for ( it = allList.begin(); it != allList.end(); ++it ){ |
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() ); |
415 | } | 415 | } |
@@ -421,5 +421,5 @@ void AbView::clearForCategory() | |||
421 | bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | 421 | 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; |
425 | 425 | ||
@@ -428,5 +428,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
428 | cats = cnt.categories(); | 428 | cats = cnt.categories(); |
429 | 429 | ||
430 | //owarn << "Number of categories: " << cats.count() << oendl; | 430 | //odebug << "Number of categories: " << cats.count() << oendl; |
431 | 431 | ||
432 | returnMe = false; | 432 | returnMe = false; |
@@ -437,5 +437,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
437 | int i; | 437 | int i; |
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 ) { |
441 | returnMe = true; | 441 | returnMe = true; |
@@ -444,5 +444,5 @@ bool AbView::contactCompare( const Opie::OPimContact &cnt, int category ) | |||
444 | } | 444 | } |
445 | } | 445 | } |
446 | //owarn << "Return: " << returnMe << oendl; | 446 | //odebug << "Return: " << returnMe << oendl; |
447 | return returnMe; | 447 | return returnMe; |
448 | } | 448 | } |
@@ -457,5 +457,5 @@ void AbView::updateListinViews() | |||
457 | void AbView::updateView( bool newdata ) | 457 | void AbView::updateView( bool newdata ) |
458 | { | 458 | { |
459 | //owarn << "AbView::updateView()" << oendl; | 459 | //odebug << "AbView::updateView()" << oendl; |
460 | 460 | ||
461 | if ( m_viewStack -> visibleWidget() ){ | 461 | if ( m_viewStack -> visibleWidget() ){ |
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 35d0f41..835038a 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -268,8 +268,8 @@ void AddressbookWindow::slotConfig() | |||
268 | dlg -> setConfig( m_config ); | 268 | dlg -> setConfig( m_config ); |
269 | if ( QPEApplication::execDialog( dlg ) ) { | 269 | if ( QPEApplication::execDialog( dlg ) ) { |
270 | owarn << "Config Dialog accepted!" << oendl; | 270 | odebug << "Config Dialog accepted!" << oendl; |
271 | m_config = dlg -> getConfig(); | 271 | m_config = dlg -> getConfig(); |
272 | if ( m_curFontSize != m_config.fontSize() ){ | 272 | if ( m_curFontSize != m_config.fontSize() ){ |
273 | owarn << "Font was changed!" << oendl; | 273 | odebug << "Font was changed!" << oendl; |
274 | m_curFontSize = m_config.fontSize(); | 274 | m_curFontSize = m_config.fontSize(); |
275 | emit slotSetFont( m_curFontSize ); | 275 | emit slotSetFont( m_curFontSize ); |
@@ -284,5 +284,5 @@ void AddressbookWindow::slotConfig() | |||
284 | void AddressbookWindow::slotSetFont( int size ) | 284 | void AddressbookWindow::slotSetFont( int size ) |
285 | { | 285 | { |
286 | owarn << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl; | 286 | odebug << "void AddressbookWindow::slotSetFont( " << size << " )" << oendl; |
287 | 287 | ||
288 | if (size > 2 || size < 0) | 288 | if (size > 2 || size < 0) |
@@ -326,8 +326,8 @@ void AddressbookWindow::importvCard() { | |||
326 | void AddressbookWindow::exportvCard() | 326 | void AddressbookWindow::exportvCard() |
327 | { | 327 | { |
328 | owarn << "void AddressbookWindow::exportvCard()" << oendl; | 328 | odebug << "void AddressbookWindow::exportvCard()" << oendl; |
329 | QString filename = Opie::Ui::OFileDialog::getSaveFileName( 1,"/home/"); //,"", "*", this ); | 329 | QString filename = Opie::Ui::OFileDialog::getSaveFileName( 1,"/home/"); //,"", "*", this ); |
330 | if( !filename.isEmpty() && ( filename[filename.length()-1] != '/' ) ){ | 330 | if( !filename.isEmpty() && ( filename[filename.length()-1] != '/' ) ){ |
331 | owarn << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl; | 331 | odebug << " Save to file " << filename << ", (" << filename.length()-1 << ")" << oendl; |
332 | Opie::OPimContact curCont = m_abView->currentEntry(); | 332 | Opie::OPimContact curCont = m_abView->currentEntry(); |
333 | if ( !curCont.isEmpty() ){ | 333 | if ( !curCont.isEmpty() ){ |
@@ -351,5 +351,5 @@ void AddressbookWindow::exportvCard() | |||
351 | void AddressbookWindow::setDocument( const QString &filename ) | 351 | void AddressbookWindow::setDocument( const QString &filename ) |
352 | { | 352 | { |
353 | owarn << "void AddressbookWindow::setDocument( " << filename << " )" << oendl; | 353 | odebug << "void AddressbookWindow::setDocument( " << filename << " )" << oendl; |
354 | 354 | ||
355 | if ( filename.find(".vcf") != int(filename.length()) - 4 ){ | 355 | if ( filename.find(".vcf") != int(filename.length()) - 4 ){ |
@@ -363,8 +363,8 @@ void AddressbookWindow::setDocument( const QString &filename ) | |||
363 | 2 ) ) { // Escape == button 2 | 363 | 2 ) ) { // Escape == button 2 |
364 | case 0: | 364 | case 0: |
365 | owarn << "YES clicked" << oendl; | 365 | odebug << "YES clicked" << oendl; |
366 | break; | 366 | break; |
367 | case 1: | 367 | case 1: |
368 | owarn << "NO clicked" << oendl; | 368 | odebug << "NO clicked" << oendl; |
369 | return; | 369 | return; |
370 | break; | 370 | break; |
@@ -376,5 +376,5 @@ void AddressbookWindow::setDocument( const QString &filename ) | |||
376 | Opie::OPimContactAccess* access = new Opie::OPimContactAccess ( "addressbook", QString::null , vcard_backend, true ); | 376 | Opie::OPimContactAccess* access = new Opie::OPimContactAccess ( "addressbook", QString::null , vcard_backend, true ); |
377 | Opie::OPimContactAccess::List allList = access->allRecords(); | 377 | Opie::OPimContactAccess::List allList = access->allRecords(); |
378 | owarn << "Found number of contacts in File: " << allList.count() << oendl; | 378 | odebug << "Found number of contacts in File: " << allList.count() << oendl; |
379 | 379 | ||
380 | if ( !allList.count() ) { | 380 | if ( !allList.count() ) { |
@@ -387,5 +387,5 @@ void AddressbookWindow::setDocument( const QString &filename ) | |||
387 | Opie::OPimContactAccess::List::Iterator it; | 387 | Opie::OPimContactAccess::List::Iterator it; |
388 | for ( it = allList.begin(); it != allList.end(); ++it ){ | 388 | for ( it = allList.begin(); it != allList.end(); ++it ){ |
389 | owarn << "Adding Contact from: " << (*it).fullName() << oendl; | 389 | odebug << "Adding Contact from: " << (*it).fullName() << oendl; |
390 | if ( doAsk ){ | 390 | if ( doAsk ){ |
391 | switch( QMessageBox::information( this, tr ( "Add Contact?" ), | 391 | switch( QMessageBox::information( this, tr ( "Add Contact?" ), |
@@ -396,12 +396,12 @@ void AddressbookWindow::setDocument( const QString &filename ) | |||
396 | 2 ) ) { // Escape == button 2 | 396 | 2 ) ) { // Escape == button 2 |
397 | case 0: | 397 | case 0: |
398 | owarn << "YES clicked" << oendl; | 398 | odebug << "YES clicked" << oendl; |
399 | m_abView->addEntry( *it ); | 399 | m_abView->addEntry( *it ); |
400 | break; | 400 | break; |
401 | case 1: | 401 | case 1: |
402 | owarn << "NO clicked" << oendl; | 402 | odebug << "NO clicked" << oendl; |
403 | break; | 403 | break; |
404 | case 2: | 404 | case 2: |
405 | owarn << "YesAll clicked" << oendl; | 405 | odebug << "YesAll clicked" << oendl; |
406 | doAsk = false; | 406 | doAsk = false; |
407 | break; | 407 | break; |
@@ -539,7 +539,7 @@ void AddressbookWindow::writeMail() | |||
539 | // switch to the other one.. | 539 | // switch to the other one.. |
540 | if ( m_config.useQtMail() ){ | 540 | if ( m_config.useQtMail() ){ |
541 | owarn << "Accessing: " << (basepath + "/bin/qtmail") << oendl; | 541 | odebug << "Accessing: " << (basepath + "/bin/qtmail") << oendl; |
542 | if ( QFile::exists( basepath + "/bin/qtmail" ) ){ | 542 | if ( QFile::exists( basepath + "/bin/qtmail" ) ){ |
543 | owarn << "QCop" << oendl; | 543 | odebug << "QCop" << oendl; |
544 | QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)"); | 544 | QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)"); |
545 | e << name << email; | 545 | e << name << email; |
@@ -549,7 +549,7 @@ void AddressbookWindow::writeMail() | |||
549 | } | 549 | } |
550 | if ( m_config.useOpieMail() ){ | 550 | if ( m_config.useOpieMail() ){ |
551 | owarn << "Accessing: " << (basepath + "/bin/opiemail") << oendl; | 551 | odebug << "Accessing: " << (basepath + "/bin/opiemail") << oendl; |
552 | if ( QFile::exists( basepath + "/bin/opiemail" ) ){ | 552 | if ( QFile::exists( basepath + "/bin/opiemail" ) ){ |
553 | owarn << "QCop" << oendl; | 553 | odebug << "QCop" << oendl; |
554 | QCopEnvelope e("QPE/Application/opiemail", "writeMail(QString,QString)"); | 554 | QCopEnvelope e("QPE/Application/opiemail", "writeMail(QString,QString)"); |
555 | e << name << email; | 555 | e << name << email; |
@@ -593,5 +593,5 @@ void AddressbookWindow::slotBeam() | |||
593 | } | 593 | } |
594 | 594 | ||
595 | owarn << "Beaming: " << beamFilename << oendl; | 595 | odebug << "Beaming: " << beamFilename << oendl; |
596 | 596 | ||
597 | Ir *ir = new Ir( this ); | 597 | Ir *ir = new Ir( this ); |
@@ -640,5 +640,5 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data) | |||
640 | { | 640 | { |
641 | bool needShow = FALSE; | 641 | bool needShow = FALSE; |
642 | owarn << "Receiving QCop-Call with message " << msg << oendl; | 642 | odebug << "Receiving QCop-Call with message " << msg << oendl; |
643 | 643 | ||
644 | 644 | ||
@@ -683,5 +683,5 @@ void AddressbookWindow::appMessage(const QCString &msg, const QByteArray &data) | |||
683 | stream >> uid; | 683 | stream >> uid; |
684 | 684 | ||
685 | owarn << "Showing uid: " << uid << oendl; | 685 | odebug << "Showing uid: " << uid << oendl; |
686 | 686 | ||
687 | // Deactivate Personal View.. | 687 | // Deactivate Personal View.. |
@@ -763,5 +763,5 @@ void AddressbookWindow::editPersonal() | |||
763 | // but take care of the menu, too | 763 | // but take care of the menu, too |
764 | if ( ! actionPersonal->isOn() ){ | 764 | if ( ! actionPersonal->isOn() ){ |
765 | owarn << "*** ++++" << oendl; | 765 | odebug << "*** ++++" << oendl; |
766 | actionPersonal->setOn( true ); | 766 | actionPersonal->setOn( true ); |
767 | slotPersonalView(); | 767 | slotPersonalView(); |
@@ -782,8 +782,8 @@ void AddressbookWindow::editPersonal() | |||
782 | void AddressbookWindow::slotPersonalView() | 782 | void AddressbookWindow::slotPersonalView() |
783 | { | 783 | { |
784 | owarn << "slotPersonalView()" << oendl; | 784 | odebug << "slotPersonalView()" << oendl; |
785 | if (!actionPersonal->isOn()) { | 785 | if (!actionPersonal->isOn()) { |
786 | // we just turned it off | 786 | // we just turned it off |
787 | owarn << "slotPersonalView()-> OFF" << oendl; | 787 | odebug << "slotPersonalView()-> OFF" << oendl; |
788 | setCaption( tr("Contacts") ); | 788 | setCaption( tr("Contacts") ); |
789 | actionNew->setEnabled(TRUE); | 789 | actionNew->setEnabled(TRUE); |
@@ -798,5 +798,5 @@ void AddressbookWindow::slotPersonalView() | |||
798 | } | 798 | } |
799 | 799 | ||
800 | owarn << "slotPersonalView()-> ON" << oendl; | 800 | odebug << "slotPersonalView()-> ON" << oendl; |
801 | // XXX need to disable some QActions. | 801 | // XXX need to disable some QActions. |
802 | actionNew->setEnabled(FALSE); | 802 | actionNew->setEnabled(FALSE); |
@@ -888,5 +888,5 @@ void AddressbookWindow::slotSave() | |||
888 | void AddressbookWindow::slotNotFound() | 888 | void AddressbookWindow::slotNotFound() |
889 | { | 889 | { |
890 | owarn << "Got not found signal!" << oendl; | 890 | odebug << "Got not found signal!" << oendl; |
891 | QMessageBox::information( this, tr( "Not Found" ), | 891 | QMessageBox::information( this, tr( "Not Found" ), |
892 | "<qt>" + tr( "Unable to find a contact for this search pattern!" ) + "</qt>" ); | 892 | "<qt>" + tr( "Unable to find a contact for this search pattern!" ) + "</qt>" ); |
@@ -896,5 +896,5 @@ void AddressbookWindow::slotNotFound() | |||
896 | void AddressbookWindow::slotWrapAround() | 896 | void AddressbookWindow::slotWrapAround() |
897 | { | 897 | { |
898 | owarn << "Got wrap signal!" << oendl; | 898 | odebug << "Got wrap signal!" << oendl; |
899 | // if ( doNotifyWrapAround ) | 899 | // if ( doNotifyWrapAround ) |
900 | // QMessageBox::information( this, tr( "End of list" ), | 900 | // QMessageBox::information( this, tr( "End of list" ), |
@@ -905,5 +905,5 @@ void AddressbookWindow::slotWrapAround() | |||
905 | void AddressbookWindow::slotSetCategory( int c ) | 905 | void AddressbookWindow::slotSetCategory( int c ) |
906 | { | 906 | { |
907 | owarn << "void AddressbookWindow::slotSetCategory( " << c << " ) from " | 907 | odebug << "void AddressbookWindow::slotSetCategory( " << c << " ) from " |
908 | << catMenu->count() << oendl; | 908 | << catMenu->count() << oendl; |
909 | 909 | ||
@@ -941,5 +941,5 @@ void AddressbookWindow::slotSetCategory( int c ) | |||
941 | }else if ( i == (unsigned int)catMenu->count() - 1 ){ // last menu option (seperator is counted, too) will be Unfiled | 941 | }else if ( i == (unsigned int)catMenu->count() - 1 ){ // last menu option (seperator is counted, too) will be Unfiled |
942 | cat = "Unfiled"; | 942 | cat = "Unfiled"; |
943 | owarn << "Unfiled selected!" << oendl; | 943 | odebug << "Unfiled selected!" << oendl; |
944 | }else{ | 944 | }else{ |
945 | cat = m_abView->categories()[i - 4]; | 945 | cat = m_abView->categories()[i - 4]; |
@@ -964,5 +964,5 @@ void AddressbookWindow::slotSetCategory( int c ) | |||
964 | void AddressbookWindow::slotViewSwitched( int view ) | 964 | void AddressbookWindow::slotViewSwitched( int view ) |
965 | { | 965 | { |
966 | owarn << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl; | 966 | odebug << "void AddressbookWindow::slotViewSwitched( " << view << " )" << oendl; |
967 | int menu = 0; | 967 | int menu = 0; |
968 | 968 | ||
diff --git a/core/pim/addressbook/configdlg.cpp b/core/pim/addressbook/configdlg.cpp index 22f7291..61e6c7e 100644 --- a/core/pim/addressbook/configdlg.cpp +++ b/core/pim/addressbook/configdlg.cpp | |||
@@ -44,5 +44,5 @@ ConfigDlg::ConfigDlg( QWidget *parent, const char *name): | |||
44 | void ConfigDlg::slotItemUp() | 44 | void ConfigDlg::slotItemUp() |
45 | { | 45 | { |
46 | owarn << "void ConfigDlg::slotItemUp()" << oendl; | 46 | odebug << "void ConfigDlg::slotItemUp()" << oendl; |
47 | 47 | ||
48 | int i = fieldListBox->currentItem(); | 48 | int i = fieldListBox->currentItem(); |
@@ -58,5 +58,5 @@ void ConfigDlg::slotItemUp() | |||
58 | void ConfigDlg::slotItemDown() | 58 | void ConfigDlg::slotItemDown() |
59 | { | 59 | { |
60 | owarn << "void ConfigDlg::slotItemDown()" << oendl; | 60 | odebug << "void ConfigDlg::slotItemDown()" << oendl; |
61 | 61 | ||
62 | int i = fieldListBox->currentItem(); | 62 | int i = fieldListBox->currentItem(); |
@@ -71,10 +71,10 @@ void ConfigDlg::slotItemDown() | |||
71 | void ConfigDlg::slotItemAdd() | 71 | void ConfigDlg::slotItemAdd() |
72 | { | 72 | { |
73 | owarn << "void ConfigDlg::slotItemAdd()" << oendl; | 73 | odebug << "void ConfigDlg::slotItemAdd()" << oendl; |
74 | 74 | ||
75 | int i = allFieldListBox->currentItem(); | 75 | int i = allFieldListBox->currentItem(); |
76 | if ( i > 0 ) { | 76 | if ( i > 0 ) { |
77 | QString item = allFieldListBox->currentText(); | 77 | QString item = allFieldListBox->currentText(); |
78 | owarn << "Adding " << item << oendl; | 78 | odebug << "Adding " << item << oendl; |
79 | fieldListBox->insertItem( item ); | 79 | fieldListBox->insertItem( item ); |
80 | } | 80 | } |
@@ -83,5 +83,5 @@ void ConfigDlg::slotItemAdd() | |||
83 | void ConfigDlg::slotItemRemove() | 83 | void ConfigDlg::slotItemRemove() |
84 | { | 84 | { |
85 | owarn << "void ConfigDlg::slotItemRemove()" << oendl; | 85 | odebug << "void ConfigDlg::slotItemRemove()" << oendl; |
86 | 86 | ||
87 | int i = fieldListBox->currentItem(); | 87 | int i = fieldListBox->currentItem(); |
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 312c663..b078968 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -80,5 +80,5 @@ ContactEditor::~ContactEditor() { | |||
80 | 80 | ||
81 | void ContactEditor::init() { | 81 | void ContactEditor::init() { |
82 | owarn << "init() START" << oendl; | 82 | odebug << "init() START" << oendl; |
83 | 83 | ||
84 | uint i = 0; | 84 | uint i = 0; |
@@ -689,5 +689,5 @@ void ContactEditor::init() { | |||
689 | setPersonalView ( m_personalView ); | 689 | setPersonalView ( m_personalView ); |
690 | 690 | ||
691 | owarn << "init() END" << oendl; | 691 | odebug << "init() END" << oendl; |
692 | } | 692 | } |
693 | 693 | ||
@@ -740,5 +740,5 @@ void ContactEditor::populateDefaultEmailCmb(){ | |||
740 | bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int widgetPos ) { | 740 | bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int widgetPos ) { |
741 | QString type = slChooserNames[index]; | 741 | QString type = slChooserNames[index]; |
742 | owarn << "ContactEditor::cmbChooserChange -> Type: " << type | 742 | odebug << "ContactEditor::cmbChooserChange -> Type: " << type |
743 | << ", WidgetPos: " << widgetPos << oendl; | 743 | << ", WidgetPos: " << widgetPos << oendl; |
744 | 744 | ||
@@ -748,5 +748,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w | |||
748 | // Create and connect combobox for selecting the default email | 748 | // Create and connect combobox for selecting the default email |
749 | if ( type == "Default Email"){ | 749 | if ( type == "Default Email"){ |
750 | owarn << "Choosing default-email (defaultEmailChooserPosition= " | 750 | odebug << "Choosing default-email (defaultEmailChooserPosition= " |
751 | << defaultEmailChooserPosition << ") " << oendl; | 751 | << defaultEmailChooserPosition << ") " << oendl; |
752 | 752 | ||
@@ -782,5 +782,5 @@ bool ContactEditor::cmbChooserChange( int index, QWidgetStack* inputStack, int w | |||
782 | } else { | 782 | } else { |
783 | // Something else was selected: Hide combo.. | 783 | // Something else was selected: Hide combo.. |
784 | owarn << " Hiding default-email combo" << oendl; | 784 | odebug << " Hiding default-email combo" << oendl; |
785 | if ( defaultEmailChooserPosition == widgetPos ){ | 785 | if ( defaultEmailChooserPosition == widgetPos ){ |
786 | defaultEmailChooserPosition = -1; | 786 | defaultEmailChooserPosition = -1; |
@@ -848,5 +848,5 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
848 | 848 | ||
849 | if ( type == "Default Email"){ | 849 | if ( type == "Default Email"){ |
850 | owarn << "??? Wozu??: " << textChanged << oendl; | 850 | odebug << "??? Wozu??: " << textChanged << oendl; |
851 | defaultEmail = textChanged; | 851 | defaultEmail = textChanged; |
852 | 852 | ||
@@ -867,10 +867,10 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, | |||
867 | 867 | ||
868 | void ContactEditor::slotChooser1Change( const QString &textChanged ) { | 868 | void ContactEditor::slotChooser1Change( const QString &textChanged ) { |
869 | owarn << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; | 869 | odebug << "ContactEditor::slotChooser1Change( " << textChanged << " )" << oendl; |
870 | chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1); | 870 | chooserChange( textChanged, cmbChooserField1->currentItem(), txtChooserField1, 1); |
871 | } | 871 | } |
872 | 872 | ||
873 | void ContactEditor::slotChooser2Change( const QString &textChanged ) { | 873 | void ContactEditor::slotChooser2Change( const QString &textChanged ) { |
874 | owarn << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; | 874 | odebug << "ContactEditor::slotChooser2Change( " << textChanged << " )" << oendl; |
875 | chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2); | 875 | chooserChange( textChanged, cmbChooserField2->currentItem(), txtChooserField2, 2); |
876 | 876 | ||
@@ -878,10 +878,10 @@ void ContactEditor::slotChooser2Change( const QString &textChanged ) { | |||
878 | 878 | ||
879 | void ContactEditor::slotChooser3Change( const QString &textChanged ) { | 879 | void ContactEditor::slotChooser3Change( const QString &textChanged ) { |
880 | owarn << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; | 880 | odebug << "ContactEditor::slotChooser3Change( " << textChanged << " )" << oendl; |
881 | chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3); | 881 | chooserChange( textChanged, cmbChooserField3->currentItem(), txtChooserField3, 3); |
882 | } | 882 | } |
883 | 883 | ||
884 | void ContactEditor::slotChooser4Change( const QString &textChanged ) { | 884 | void ContactEditor::slotChooser4Change( const QString &textChanged ) { |
885 | owarn << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; | 885 | odebug << "ContactEditor::slotChooser4Change( " << textChanged << " )" << oendl; |
886 | chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4); | 886 | chooserChange( textChanged, cmbChooserField4->currentItem(), txtChooserField4, 4); |
887 | } | 887 | } |
@@ -953,5 +953,5 @@ void ContactEditor::slotCountryChange( const QString &textChanged ) { | |||
953 | 953 | ||
954 | void ContactEditor::slotCmbChooser1Change( int index ) { | 954 | void ContactEditor::slotCmbChooser1Change( int index ) { |
955 | owarn << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; | 955 | odebug << "ContactEditor::slotCmbChooser1Change( " << index << " )" << oendl; |
956 | if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){ | 956 | if ( !cmbChooserChange( cmbChooserField1->currentItem(), m_widgetStack1, 1) ){ |
957 | 957 | ||
@@ -964,5 +964,5 @@ void ContactEditor::slotCmbChooser1Change( int index ) { | |||
964 | 964 | ||
965 | void ContactEditor::slotCmbChooser2Change( int index ) { | 965 | void ContactEditor::slotCmbChooser2Change( int index ) { |
966 | owarn << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; | 966 | odebug << "ContactEditor::slotCmbChooser2Change( " << index << " )" << oendl; |
967 | 967 | ||
968 | if ( !cmbChooserChange( cmbChooserField2->currentItem(), m_widgetStack2, 2) ){ | 968 | if ( !cmbChooserChange( cmbChooserField2->currentItem(), m_widgetStack2, 2) ){ |
@@ -975,5 +975,5 @@ void ContactEditor::slotCmbChooser2Change( int index ) { | |||
975 | 975 | ||
976 | void ContactEditor::slotCmbChooser3Change( int index ) { | 976 | void ContactEditor::slotCmbChooser3Change( int index ) { |
977 | owarn << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; | 977 | odebug << "ContactEditor::slotCmbChooser3Change( " << index << " )" << oendl; |
978 | 978 | ||
979 | if ( !cmbChooserChange( cmbChooserField3->currentItem(), m_widgetStack3, 3) ){ | 979 | if ( !cmbChooserChange( cmbChooserField3->currentItem(), m_widgetStack3, 3) ){ |
@@ -986,5 +986,5 @@ void ContactEditor::slotCmbChooser3Change( int index ) { | |||
986 | 986 | ||
987 | void ContactEditor::slotCmbChooser4Change( int index ) { | 987 | void ContactEditor::slotCmbChooser4Change( int index ) { |
988 | owarn << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; | 988 | odebug << "ContactEditor::slotCmbChooser4Change( " << index << " )" << oendl; |
989 | 989 | ||
990 | if ( !cmbChooserChange( cmbChooserField4->currentItem(), m_widgetStack4, 4) ){ | 990 | if ( !cmbChooserChange( cmbChooserField4->currentItem(), m_widgetStack4, 4) ){ |
@@ -1031,5 +1031,5 @@ void ContactEditor::slotAddressTypeChange( int index ) { | |||
1031 | void ContactEditor::slotFullNameChange( const QString &textChanged ) { | 1031 | void ContactEditor::slotFullNameChange( const QString &textChanged ) { |
1032 | 1032 | ||
1033 | owarn << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; | 1033 | odebug << "ContactEditor::slotFullNameChange( " << textChanged << " )" << oendl; |
1034 | 1034 | ||
1035 | int index = cmbFileAs->currentItem(); | 1035 | int index = cmbFileAs->currentItem(); |
@@ -1055,5 +1055,5 @@ void ContactEditor::slotSuffixChange( const QString& ) { | |||
1055 | 1055 | ||
1056 | void ContactEditor::slotOrganizationChange( const QString &textChanged ){ | 1056 | void ContactEditor::slotOrganizationChange( const QString &textChanged ){ |
1057 | owarn << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; | 1057 | odebug << "ContactEditor::slotOrganizationChange( " << textChanged << " )" << oendl; |
1058 | // Special handling for storing Companies: | 1058 | // Special handling for storing Companies: |
1059 | // If no Fullname is given, we store the Company-Name as lastname | 1059 | // If no Fullname is given, we store the Company-Name as lastname |
@@ -1137,9 +1137,9 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1137 | bool haveLastName = false; | 1137 | bool haveLastName = false; |
1138 | 1138 | ||
1139 | owarn << "Fullname: " << simplifiedName << oendl; | 1139 | odebug << "Fullname: " << simplifiedName << oendl; |
1140 | 1140 | ||
1141 | commapos = simplifiedName.find( ',', 0, TRUE); | 1141 | commapos = simplifiedName.find( ',', 0, TRUE); |
1142 | if ( commapos >= 0 ) { | 1142 | if ( commapos >= 0 ) { |
1143 | owarn << " Commapos: " << commapos << oendl; | 1143 | odebug << " Commapos: " << commapos << oendl; |
1144 | 1144 | ||
1145 | // A comma (",") separates the lastname from one or | 1145 | // A comma (",") separates the lastname from one or |
@@ -1150,5 +1150,5 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1150 | simplifiedName= simplifiedName.mid( commapos + 1 ); | 1150 | simplifiedName= simplifiedName.mid( commapos + 1 ); |
1151 | haveLastName = true; | 1151 | haveLastName = true; |
1152 | owarn << "Fullname without ',': " << simplifiedName << oendl; | 1152 | odebug << "Fullname without ',': " << simplifiedName << oendl; |
1153 | 1153 | ||
1154 | // If we have any lastname, we should now split all first names. | 1154 | // If we have any lastname, we should now split all first names. |
@@ -1184,8 +1184,8 @@ QString ContactEditor::parseName( const QString fullName, int type ) { | |||
1184 | strFirstName = ""; | 1184 | strFirstName = ""; |
1185 | 1185 | ||
1186 | owarn << "strFirstName: " << strFirstName << oendl; | 1186 | odebug << "strFirstName: " << strFirstName << oendl; |
1187 | owarn << "strMiddletName: " << strMiddleName << oendl; | 1187 | odebug << "strMiddletName: " << strMiddleName << oendl; |
1188 | owarn << "strLastName: " << strLastName << oendl; | 1188 | odebug << "strLastName: " << strLastName << oendl; |
1189 | owarn << "strTitle: " << strTitle << oendl; | 1189 | odebug << "strTitle: " << strTitle << oendl; |
1190 | 1190 | ||
1191 | switch (type) { | 1191 | switch (type) { |
@@ -1330,5 +1330,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { | |||
1330 | for ( it = slDynamicEntries.begin(); itLE.current()/* != slDynamicEntries.end()*/; ++it, ++itLE) { | 1330 | for ( it = slDynamicEntries.begin(); itLE.current()/* != slDynamicEntries.end()*/; ++it, ++itLE) { |
1331 | 1331 | ||
1332 | owarn << " Filling dynamic Field: " << (*it) << oendl; | 1332 | odebug << " Filling dynamic Field: " << (*it) << oendl; |
1333 | 1333 | ||
1334 | if ( *it == "Department" ) | 1334 | if ( *it == "Department" ) |
@@ -1354,5 +1354,5 @@ void ContactEditor::setEntry( const Opie::OPimContact &entry ) { | |||
1354 | 1354 | ||
1355 | if ( *it == "Nickname" ){ | 1355 | if ( *it == "Nickname" ){ |
1356 | owarn << "**** Nichname: " << ent.nickname() << oendl; | 1356 | odebug << "**** Nichname: " << ent.nickname() << oendl; |
1357 | (*itLE)->setText( ent.nickname() ); | 1357 | (*itLE)->setText( ent.nickname() ); |
1358 | } | 1358 | } |
@@ -1587,6 +1587,6 @@ void ContactEditor::saveEntry() { | |||
1587 | parseEmailFrom( emails.join(","), defaultmail, allemail ); | 1587 | parseEmailFrom( emails.join(","), defaultmail, allemail ); |
1588 | if ( defaultEmail.isEmpty() ){ | 1588 | if ( defaultEmail.isEmpty() ){ |
1589 | owarn << "Default email was not set by user!" << oendl; | 1589 | odebug << "Default email was not set by user!" << oendl; |
1590 | owarn << "Using first email in list: " << defaultmail << oendl; | 1590 | odebug << "Using first email in list: " << defaultmail << oendl; |
1591 | ent.setDefaultEmail( defaultmail ); | 1591 | ent.setDefaultEmail( defaultmail ); |
1592 | } | 1592 | } |
@@ -1740,5 +1740,5 @@ void ContactEditor::slotBirthdayDateChanged( int year, int month, int day) | |||
1740 | void ContactEditor::slotRemoveBirthday() | 1740 | void ContactEditor::slotRemoveBirthday() |
1741 | { | 1741 | { |
1742 | owarn << "void ContactEditor::slotRemoveBirthday()" << oendl; | 1742 | odebug << "void ContactEditor::slotRemoveBirthday()" << oendl; |
1743 | ent.setBirthday( QDate() ); | 1743 | ent.setBirthday( QDate() ); |
1744 | updateDatePicker(); | 1744 | updateDatePicker(); |
@@ -1747,5 +1747,5 @@ void ContactEditor::slotRemoveBirthday() | |||
1747 | void ContactEditor::slotRemoveAnniversary() | 1747 | void ContactEditor::slotRemoveAnniversary() |
1748 | { | 1748 | { |
1749 | owarn << "void ContactEditor::slotRemoveAnniversary()" << oendl; | 1749 | odebug << "void ContactEditor::slotRemoveAnniversary()" << oendl; |
1750 | ent.setAnniversary( QDate() ); | 1750 | ent.setAnniversary( QDate() ); |
1751 | updateDatePicker(); | 1751 | updateDatePicker(); |
diff --git a/core/pim/addressbook/picker.cpp b/core/pim/addressbook/picker.cpp index 8a9c85b..b962896 100644 --- a/core/pim/addressbook/picker.cpp +++ b/core/pim/addressbook/picker.cpp | |||
@@ -240,5 +240,5 @@ void LetterPicker::clear() | |||
240 | void LetterPicker::newLetter( char letter ) | 240 | void LetterPicker::newLetter( char letter ) |
241 | { | 241 | { |
242 | owarn << "LetterClicked" << oendl; | 242 | odebug << "LetterClicked" << oendl; |
243 | emit letterClicked( letter ); | 243 | emit letterClicked( letter ); |
244 | 244 | ||