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 8216d6f..b81a3b9 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: - Opie::Core::owarn << "Left.." << oendl; + owarn << "Left.." << oendl; case Qt::Key_Right: - Opie::Core::owarn << "Right.." << oendl; + owarn << "Right.." << oendl; case Qt::Key_F33: - Opie::Core::owarn << "OK.." << oendl; + owarn << "OK.." << oendl; emit signalOkPressed(); break; case Qt::Key_Up: - Opie::Core::owarn << "Up.." << oendl; + owarn << "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: - Opie::Core::owarn << "Down.." << oendl; -// Opie::Core::owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; -// Opie::Core::owarn << "Value: " << verticalScrollBar()->value() + owarn << "Down.." << oendl; +// owarn << "Visible: " << visibleHeight() << ", content: " << contentHeight() << oendl; +// owarn << "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; |