Diffstat (limited to 'core/pim/addressbook/ablabel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/ablabel.cpp | 14 |
1 files changed, 7 insertions, 7 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 @@ -86,49 +86,49 @@ void AbLabel::sync() { QString text = (*m_itCurContact).toRichText(); setText( text ); } void AbLabel::keyPressEvent( QKeyEvent *e ) { // Commonly handled keys if ( !m_empty ){ switch( e->key() ) { case Qt::Key_Left: - owarn << "Left.." << oendl; + odebug << "Left.." << oendl; case Qt::Key_Right: - owarn << "Right.." << oendl; + odebug << "Right.." << oendl; case Qt::Key_F33: - owarn << "OK.." << oendl; + odebug << "OK.." << oendl; emit signalOkPressed(); break; case Qt::Key_Up: - owarn << "Up.." << oendl; + odebug << "Up.." << oendl; if ( ( visibleHeight() < contentsHeight() ) && ( verticalScrollBar()->value() > verticalScrollBar()->minValue() ) ) scrollBy( 0, -(visibleHeight()-20) ); else { --m_itCurContact; if ( *m_itCurContact != Opie::OPimContact() ) sync(); else m_itCurContact = m_viewList.end(); } break; case Qt::Key_Down: - owarn << "Down.." << oendl; -// owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; -// owarn << "Value: " << verticalScrollBar()->value() + odebug << "Down.." << oendl; +// odebug << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; +// odebug << "Value: " << verticalScrollBar()->value() // << ", barMaxValue: " << verticalScrollBar()->maxValue() << oendl; if ( ( visibleHeight() < contentsHeight() ) && ( verticalScrollBar()->value() < verticalScrollBar()->maxValue() ) ) scrollBy( 0, visibleHeight()-20 ); else { ++m_itCurContact; if ( *m_itCurContact != Opie::OPimContact() ) sync(); else m_itCurContact = m_viewList.begin(); } break; |