From b4d07df7854800fd3613034f54488c6fa27d94ee Mon Sep 17 00:00:00 2001 From: drw Date: Fri, 02 Apr 2004 20:16:47 +0000 Subject: Use ODebug (135 down...), and remove libopiedb2 from dependencies --- (limited to 'core/pim/addressbook/ablabel.cpp') diff --git a/core/pim/addressbook/ablabel.cpp b/core/pim/addressbook/ablabel.cpp index 70a66a0..8216d6f 100644 --- a/core/pim/addressbook/ablabel.cpp +++ b/core/pim/addressbook/ablabel.cpp @@ -20,7 +20,7 @@ #include "ablabel.h" - +#include AbLabel::AbLabel( QWidget *parent, const char *name ): QTextView( parent, name ), @@ -95,15 +95,15 @@ void AbLabel::keyPressEvent( QKeyEvent *e ) if ( !m_empty ){ switch( e->key() ) { case Qt::Key_Left: - qWarning( "Left.."); + Opie::Core::owarn << "Left.." << oendl; case Qt::Key_Right: - qWarning( "Right.."); + Opie::Core::owarn << "Right.." << oendl; case Qt::Key_F33: - qWarning( "OK.."); + Opie::Core::owarn << "OK.." << oendl; emit signalOkPressed(); break; case Qt::Key_Up: - qWarning( "UP.."); + Opie::Core::owarn << "Up.." << oendl; if ( ( visibleHeight() < contentsHeight() ) && ( verticalScrollBar()->value() > verticalScrollBar()->minValue() ) ) scrollBy( 0, -(visibleHeight()-20) ); @@ -117,10 +117,10 @@ void AbLabel::keyPressEvent( QKeyEvent *e ) break; case Qt::Key_Down: - qWarning( "DOWN.."); -// qWarning( "visible: %d, content: %d",visibleHeight(),contentsHeight()); -// qWarning( "value: %d; barMaxValue: %d", verticalScrollBar()->value() -// , verticalScrollBar()->maxValue() ); + Opie::Core::owarn << "Down.." << oendl; +// Opie::Core::owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; +// Opie::Core::owarn << "Value: " << verticalScrollBar()->value() +// << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl; if ( ( visibleHeight() < contentsHeight() ) && ( verticalScrollBar()->value() < verticalScrollBar()->maxValue() ) ) scrollBy( 0, visibleHeight()-20 ); -- cgit v0.9.0.2