Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index cb57342..3fb2214 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 | //Opie::Core::owarn << "C'tor start" << oendl; | 124 | //owarn << "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 | //Opie::Core::owarn << "C'tor end" << oendl; | 132 | //owarn << "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 | Opie::Core::owarn << "AbTable::setContacts()" << oendl; | 154 | owarn << "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 | Opie::Core::owarn << "AbTable::selectContact( " << UID << " )" << oendl; | 186 | owarn << "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 | Opie::Core::owarn << "Search start" << oendl; | 192 | owarn << "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 | Opie::Core::owarn << "Search end" << oendl; | 201 | owarn << "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 | Opie::Core::owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, " | 216 | owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, " |
217 | << row << " )" << oendl; | 217 | << row << " )" << oendl; |
218 | QString strName; | 218 | QString strName; |
@@ -258,5 +258,5 @@ void AbTable::columnClicked( int col ) | |||
258 | void AbTable::resort() | 258 | void AbTable::resort() |
259 | { | 259 | { |
260 | Opie::Core::owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl; | 260 | owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl; |
261 | #if 0 | 261 | #if 0 |
262 | setPaintingEnabled( FALSE ); | 262 | setPaintingEnabled( FALSE ); |
@@ -284,5 +284,5 @@ int AbTable::currentEntry_UID() | |||
284 | void AbTable::clear() | 284 | void AbTable::clear() |
285 | { | 285 | { |
286 | Opie::Core::owarn << "void AbTable::clear()" << oendl; | 286 | owarn << "void AbTable::clear()" << oendl; |
287 | // contactList.clear(); | 287 | // contactList.clear(); |
288 | 288 | ||
@@ -302,5 +302,5 @@ void AbTable::clear() | |||
302 | void AbTable::refresh() | 302 | void AbTable::refresh() |
303 | { | 303 | { |
304 | Opie::Core::owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl; | 304 | owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl; |
305 | 305 | ||
306 | #if 0 | 306 | #if 0 |
@@ -335,5 +335,5 @@ void AbTable::keyPressEvent( QKeyEvent *e ) | |||
335 | moveTo( key ); | 335 | moveTo( key ); |
336 | 336 | ||
337 | // Opie::Core::owarn << "Received key .." << oendl; | 337 | // owarn << "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 | // Opie::Core::owarn << "a" << oendl; | 345 | // owarn << "a" << oendl; |
346 | // emit signalKeyUp(); | 346 | // emit signalKeyUp(); |
347 | // break; | 347 | // break; |
348 | // case Qt::Key_Down: | 348 | // case Qt::Key_Down: |
349 | // Opie::Core::owarn << "b" << oendl; | 349 | // owarn << "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 | Opie::Core::owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; | 360 | owarn << "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 | //Opie::Core::owarn << "void AbTable::realignTable()" << oendl; | 426 | //owarn << "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 | Opie::Core::owarn << "void AbTable::fitColumns()" << oendl; | 476 | owarn << "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 | //Opie::Core::owarn << "Width: " << contentsWidth << oendl; | 488 | //owarn << "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 | //Opie::Core::owarn << "void AbTable::show()" << oendl; | 500 | //owarn << "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 | //Opie::Core::owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl; | 524 | //owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl; |
525 | if ( col == 2 ) { | 525 | if ( col == 2 ) { |
526 | return; | 526 | return; |
527 | } else { | 527 | } else { |
528 | //Opie::Core::owarn << "Emitting signalSwitch()" << oendl; | 528 | //owarn << "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 | //Opie::Core::owarn << "void AbTable::updateVisible()" << oendl; | 565 | //owarn << "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 | //Opie::Core::owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: " | 601 | //owarn << "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 | //Opie::Core::owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: " | 618 | //owarn << "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 | //Opie::Core::owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> " | 623 | //owarn << "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 | //Opie::Core::owarn << "Paint row: " << row << oendl; | 634 | //owarn << "Paint row: " << row << oendl; |
635 | 635 | ||
636 | Opie::OPimContact act_contact = m_viewList[row]; | 636 | Opie::OPimContact act_contact = m_viewList[row]; |