-rw-r--r-- | core/applets/cardmon/cardmon.cpp | 6 | ||||
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp index 3a6ad27..3af3d03 100644 --- a/core/applets/cardmon/cardmon.cpp +++ b/core/applets/cardmon/cardmon.cpp @@ -153,8 +153,7 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) err = system( ( const char * ) cmd ); if ( err != 0 ) { - qDebug( "Could not execute `/sbin/cardctl eject 0'! err=%d", - err ); + odebug << "Could not execute `/sbin/cardctl eject 0'! err=" << err << oendl; popUp( tr( "CF/PCMCIA card eject failed!" ) ); } } @@ -180,8 +179,7 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) err = system( ( const char * ) cmd ); if ( err != 0 ) { - qDebug( "Could not execute `/sbin/cardctl eject 1'! err=%d", - err ); + odebug << "Could not execute `/sbin/cardctl eject 1'! err=" << err << oendl; popUp( tr( "CF/PCMCIA card eject failed!" ) ); } } diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 835f63a..f088bef 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -223,7 +223,7 @@ VMemo::VMemo( QWidget *parent, const char *_name ) this, SLOT(receive(const QCString&,const QByteArray&)) ); if( toggleKey != -1 ) { - qDebug("Register key %d", toggleKey); + odebug << "Register key " << toggleKey << "" << oendl; QCopEnvelope e("QPE/Launcher", "keyRegister(int,QCString,QCString)"); // e << 4096; // Key_Escape // e << Key_F5; //4148 @@ -476,8 +476,8 @@ int VMemo::openWAV(const char *filename) { wh.bit_p_spl = resolution; wh.data_chunk = DATA; wh.data_length= 0; - // qDebug("Write header channels %d, speed %d, b/s %d, blockalign %d, bitrate %d" - // , wh.modus, wh.sample_fq, wh.byte_p_sec, wh.byte_p_spl, wh.bit_p_spl ); + // odebug << "Write header channels " << wh.modus << ", speed " << wh.sample_fq << ", b/s " + // << wh.byte_p_sec << ", blockalign " << wh.byte_p_spl << ", bitrate " << wh.bit_p_spl << oendl; write (wav, &wh, sizeof(WaveHeader)); return 1; @@ -559,8 +559,7 @@ bool VMemo::record() { } } } - // qDebug("file has length of %d lasting %d seconds", - // length, (( length / speed) / channels) / 2 ); + // odebug << "file has length of " << length << " lasting " << (( length / speed) / channels) / 2 ) << " seconds" << oendl; value = length + 36; |