summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abtable.cpp
Unidiff
Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp57
1 files changed, 30 insertions, 27 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index cd77b13..cb57342 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -21,3 +21,3 @@
21 21
22 22#include <opie2/odebug.h>
23#include <opie2/opimrecordlist.h> 23#include <opie2/opimrecordlist.h>
@@ -123,4 +123,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
123{ 123{
124 //qWarning("C'tor start"); 124 //Opie::Core::owarn << "C'tor start" << oendl;
125
126 setSelectionMode( NoSelection ); 125 setSelectionMode( NoSelection );
@@ -132,3 +131,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
132 // contactList.clear(); 131 // contactList.clear();
133 //qWarning("C'tor end"); 132 //Opie::Core::owarn << "C'tor end" << oendl;
134} 133}
@@ -154,3 +153,3 @@ void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList )
154{ 153{
155 qWarning("AbTable::setContacts()"); 154 Opie::Core::owarn << "AbTable::setContacts()" << oendl;
156 155
@@ -186,3 +185,3 @@ bool AbTable::selectContact( int UID )
186{ 185{
187 qWarning( "AbTable::selectContact( %d )", UID ); 186 Opie::Core::owarn << "AbTable::selectContact( " << UID << " )" << oendl;
188 int rows = numRows(); 187 int rows = numRows();
@@ -192,3 +191,3 @@ bool AbTable::selectContact( int UID )
192 setPaintingEnabled( FALSE ); 191 setPaintingEnabled( FALSE );
193 qWarning( "search start" ); 192 Opie::Core::owarn << "Search start" << oendl;
194 for ( int r = 0; r < rows; ++r ) { 193 for ( int r = 0; r < rows; ++r ) {
@@ -201,3 +200,3 @@ bool AbTable::selectContact( int UID )
201 } 200 }
202 qWarning( "search end" ); 201 Opie::Core::owarn << "Search end" << oendl;
203 202
@@ -216,3 +215,4 @@ void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row )
216{ 215{
217 qWarning( "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, %d )", row ); 216 Opie::Core::owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
217 << row << " )" << oendl;
218 QString strName; 218 QString strName;
@@ -259,3 +259,3 @@ void AbTable::resort()
259{ 259{
260 qWarning( "void AbTable::resort() NOT POSSIBLE !!" ); 260 Opie::Core::owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl;
261#if 0 261#if 0
@@ -285,3 +285,3 @@ void AbTable::clear()
285{ 285{
286 qWarning( "void AbTable::clear()" ); 286 Opie::Core::owarn << "void AbTable::clear()" << oendl;
287 // contactList.clear(); 287 // contactList.clear();
@@ -303,3 +303,3 @@ void AbTable::refresh()
303{ 303{
304 qWarning( "void AbTable::refresh() NOT IMPLEMENTED !!" ); 304 Opie::Core::owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl;
305 305
@@ -336,3 +336,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
336 336
337 //qWarning("Received key .."); 337 // Opie::Core::owarn << "Received key .." << oendl;
338 switch( e->key() ) { 338 switch( e->key() ) {
@@ -344,3 +344,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
344 // case Qt::Key_Up: 344 // case Qt::Key_Up:
345 // qWarning("a"); 345 // Opie::Core::owarn << "a" << oendl;
346 // emit signalKeyUp(); 346 // emit signalKeyUp();
@@ -348,3 +348,3 @@ void AbTable::keyPressEvent( QKeyEvent *e )
348 // case Qt::Key_Down: 348 // case Qt::Key_Down:
349 // qWarning("b"); 349 // Opie::Core::owarn << "b" << oendl;
350 // emit signalKeyDown(); 350 // emit signalKeyDown();
@@ -359,3 +359,3 @@ void AbTable::moveTo( char c )
359{ 359{
360 qWarning( "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" ); 360 Opie::Core::owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
361 361
@@ -425,3 +425,3 @@ void AbTable::realignTable()
425{ 425{
426 //qWarning( "void AbTable::realignTable()" ); 426 //Opie::Core::owarn << "void AbTable::realignTable()" << oendl;
427 427
@@ -475,3 +475,3 @@ void AbTable::fitColumns()
475{ 475{
476 qWarning( "void AbTable::fitColumns()" ); 476 Opie::Core::owarn << "void AbTable::fitColumns()" << oendl;
477 int contentsWidth = visibleWidth() / 2; 477 int contentsWidth = visibleWidth() / 2;
@@ -487,3 +487,3 @@ void AbTable::fitColumns()
487 487
488 //qWarning("Width: %d", contentsWidth); 488 //Opie::Core::owarn << "Width: " << contentsWidth << oendl;
489 489
@@ -499,3 +499,3 @@ void AbTable::show()
499{ 499{
500 //qWarning( "void AbTable::show()" ); 500 //Opie::Core::owarn << "void AbTable::show()" << oendl;
501 realignTable(); 501 realignTable();
@@ -523,3 +523,3 @@ void AbTable::itemClicked(int,int col)
523{ 523{
524 //qWarning( "AbTable::itemClicked(int, col:%d)", col); 524 //Opie::Core::owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
525 if ( col == 2 ) { 525 if ( col == 2 ) {
@@ -527,3 +527,3 @@ void AbTable::itemClicked(int,int col)
527 } else { 527 } else {
528 // qWarning ("Emitting signalSwitch()"); 528 //Opie::Core::owarn << "Emitting signalSwitch()" << oendl;
529 emit signalSwitch(); 529 emit signalSwitch();
@@ -564,3 +564,3 @@ void AbTable::updateVisible()
564{ 564{
565 //qWarning("void AbTable::updateVisible()"); 565 //Opie::Core::owarn << "void AbTable::updateVisible()" << oendl;
566 566
@@ -600,3 +600,4 @@ void AbTable::setPaintingEnabled( bool e )
600{ 600{
601 //qWarning("IN void AbTable::setPaintingEnabled( %d )->Nested: %d", e, countNested ); 601 //Opie::Core::owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
602 // << countNested << oendl;
602 603
@@ -616,3 +617,4 @@ void AbTable::setPaintingEnabled( bool e )
616 } 617 }
617 //qWarning("OUT void AbTable::setPaintingEnabled( %d )->Nested: %d", e, countNested ); 618 //Opie::Core::owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
619 // << countNested << oendl;
618} 620}
@@ -620,3 +622,4 @@ void AbTable::setPaintingEnabled( bool e )
620void AbTable::viewportPaintEvent( QPaintEvent* e ) { 622void AbTable::viewportPaintEvent( QPaintEvent* e ) {
621 //qWarning(" void AbTable::viewportPaintEvent( QPaintEvent* e ) -> %d", enablePainting); 623 //Opie::Core::owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
624 // << enablePainting << oendl;
622 if ( enablePainting ) 625 if ( enablePainting )
@@ -630,3 +633,3 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool )
630 633
631 //qWarning( "Paint row: %d", row ); 634 //Opie::Core::owarn << "Paint row: " << row << oendl;
632 635