author | drw <drw> | 2004-04-02 20:16:47 (UTC) |
---|---|---|
committer | drw <drw> | 2004-04-02 20:16:47 (UTC) |
commit | b4d07df7854800fd3613034f54488c6fa27d94ee (patch) (side-by-side diff) | |
tree | e467a97fe4fe9dd0d96dd22299195dd30227bef1 /core/pim/addressbook/abtable.cpp | |
parent | 97bdc55663590ba430a4f322ad97aab9f4c02bf3 (diff) | |
download | opie-b4d07df7854800fd3613034f54488c6fa27d94ee.zip opie-b4d07df7854800fd3613034f54488c6fa27d94ee.tar.gz opie-b4d07df7854800fd3613034f54488c6fa27d94ee.tar.bz2 |
Use ODebug (135 down...), and remove libopiedb2 from dependencies
Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 57 |
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 @@ - +#include <opie2/odebug.h> #include <opie2/opimrecordlist.h> @@ -123,4 +123,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name { - // qWarning("C'tor start"); - + // Opie::Core::owarn << "C'tor start" << oendl; setSelectionMode( NoSelection ); @@ -132,3 +131,3 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name // contactList.clear(); - // qWarning("C'tor end"); + // Opie::Core::owarn << "C'tor end" << oendl; } @@ -154,3 +153,3 @@ void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList ) { - qWarning("AbTable::setContacts()"); + Opie::Core::owarn << "AbTable::setContacts()" << oendl; @@ -186,3 +185,3 @@ bool AbTable::selectContact( int UID ) { - qWarning( "AbTable::selectContact( %d )", UID ); + Opie::Core::owarn << "AbTable::selectContact( " << UID << " )" << oendl; int rows = numRows(); @@ -192,3 +191,3 @@ bool AbTable::selectContact( int UID ) setPaintingEnabled( FALSE ); - qWarning( "search start" ); + Opie::Core::owarn << "Search start" << oendl; for ( int r = 0; r < rows; ++r ) { @@ -201,3 +200,3 @@ bool AbTable::selectContact( int UID ) } - qWarning( "search end" ); + Opie::Core::owarn << "Search end" << oendl; @@ -216,3 +215,4 @@ void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row ) { - qWarning( "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, %d )", row ); + Opie::Core::owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, " + << row << " )" << oendl; QString strName; @@ -259,3 +259,3 @@ void AbTable::resort() { - qWarning( "void AbTable::resort() NOT POSSIBLE !!" ); + Opie::Core::owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl; #if 0 @@ -285,3 +285,3 @@ void AbTable::clear() { - qWarning( "void AbTable::clear()" ); + Opie::Core::owarn << "void AbTable::clear()" << oendl; // contactList.clear(); @@ -303,3 +303,3 @@ void AbTable::refresh() { - qWarning( "void AbTable::refresh() NOT IMPLEMENTED !!" ); + Opie::Core::owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl; @@ -336,3 +336,3 @@ void AbTable::keyPressEvent( QKeyEvent *e ) - // qWarning("Received key .."); + // Opie::Core::owarn << "Received key .." << oendl; switch( e->key() ) { @@ -344,3 +344,3 @@ void AbTable::keyPressEvent( QKeyEvent *e ) // case Qt::Key_Up: -// qWarning("a"); +// Opie::Core::owarn << "a" << oendl; // emit signalKeyUp(); @@ -348,3 +348,3 @@ void AbTable::keyPressEvent( QKeyEvent *e ) // case Qt::Key_Down: -// qWarning("b"); +// Opie::Core::owarn << "b" << oendl; // emit signalKeyDown(); @@ -359,3 +359,3 @@ void AbTable::moveTo( char c ) { - qWarning( "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" ); + Opie::Core::owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl; @@ -425,3 +425,3 @@ void AbTable::realignTable() { - // qWarning( "void AbTable::realignTable()" ); + // Opie::Core::owarn << "void AbTable::realignTable()" << oendl; @@ -475,3 +475,3 @@ void AbTable::fitColumns() { - qWarning( "void AbTable::fitColumns()" ); + Opie::Core::owarn << "void AbTable::fitColumns()" << oendl; int contentsWidth = visibleWidth() / 2; @@ -487,3 +487,3 @@ void AbTable::fitColumns() - // qWarning("Width: %d", contentsWidth); + // Opie::Core::owarn << "Width: " << contentsWidth << oendl; @@ -499,3 +499,3 @@ void AbTable::show() { - // qWarning( "void AbTable::show()" ); + // Opie::Core::owarn << "void AbTable::show()" << oendl; realignTable(); @@ -523,3 +523,3 @@ void AbTable::itemClicked(int,int col) { - // qWarning( "AbTable::itemClicked(int, col:%d)", col); + // Opie::Core::owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl; if ( col == 2 ) { @@ -527,3 +527,3 @@ void AbTable::itemClicked(int,int col) } else { - // qWarning ("Emitting signalSwitch()"); + // Opie::Core::owarn << "Emitting signalSwitch()" << oendl; emit signalSwitch(); @@ -564,3 +564,3 @@ void AbTable::updateVisible() { - // qWarning("void AbTable::updateVisible()"); + // Opie::Core::owarn << "void AbTable::updateVisible()" << oendl; @@ -600,3 +600,4 @@ void AbTable::setPaintingEnabled( bool e ) { - // qWarning("IN void AbTable::setPaintingEnabled( %d )->Nested: %d", e, countNested ); + // Opie::Core::owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: " + // << countNested << oendl; @@ -616,3 +617,4 @@ void AbTable::setPaintingEnabled( bool e ) } - // qWarning("OUT void AbTable::setPaintingEnabled( %d )->Nested: %d", e, countNested ); + // Opie::Core::owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: " + // << countNested << oendl; } @@ -620,3 +622,4 @@ void AbTable::setPaintingEnabled( bool e ) void AbTable::viewportPaintEvent( QPaintEvent* e ) { - // qWarning(" void AbTable::viewportPaintEvent( QPaintEvent* e ) -> %d", enablePainting); + // Opie::Core::owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> " + // << enablePainting << oendl; if ( enablePainting ) @@ -630,3 +633,3 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool ) - //qWarning( "Paint row: %d", row ); + // Opie::Core::owarn << "Paint row: " << row << oendl; |