-rw-r--r-- | libqtaux/oticker.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libqtaux/oticker.cpp b/libqtaux/oticker.cpp index e954cc8..29478fd 100644 --- a/libqtaux/oticker.cpp +++ b/libqtaux/oticker.cpp @@ -33,2 +33,4 @@ /* OPIE */ +#include <opie2/odebug.h> + #include <qpe/config.h> @@ -74,3 +76,3 @@ void OTicker::setText( const QString& text ) scrollText = text; - qDebug( scrollText ); + odebug << scrollText << oendl; @@ -81,3 +83,3 @@ void OTicker::setText( const QString& text ) int pixelTextLen = fontMetrics().width( text ); - qDebug( "<<<<<<<height %d, width %d, text width %d %d\n", contHeight, contWidth, pixelTextLen, scrollText.length() ); + odebug << "<<<<<<<height " << contHeight << ", width " << contWidth << ", text width " << pixelTextLen << " " << scrollText.length() << "\n" << oendl; if ( pixelTextLen < contWidth ) @@ -102,3 +104,3 @@ void OTicker::setText( const QString& text ) killTimers(); - // qDebug("Scrollupdate %d", updateTimerTime); + // odebug << "Scrollupdate " << updateTimerTime << "" << oendl; if ( bigger /*pixelTextLen > contWidth*/ ) @@ -125,3 +127,3 @@ void OTicker::mouseReleaseEvent( QMouseEvent * ) { - // qDebug("<<<<<<<>>>>>>>>>"); + // odebug << "<<<<<<<>>>>>>>>>" << oendl; emit mousePressed(); |