-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 @@ -152,10 +152,9 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) cmd = "/sbin/cardctl eject 0"; 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!" ) ); } } else if ( opt == 0 ) @@ -179,10 +178,9 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) cmd = "/sbin/cardctl eject 1"; 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!" ) ); } } delete menu; 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 @@ -222,9 +222,9 @@ VMemo::VMemo( QWidget *parent, const char *_name ) connect( myChannel, SIGNAL(received(const QCString&,const QByteArray&)), 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 e << toggleKey; @@ -475,10 +475,10 @@ int VMemo::openWAV(const char *filename) { wh.byte_p_spl = channels * (resolution / 8); 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; } @@ -558,10 +558,9 @@ bool VMemo::record() { qApp->processEvents(); } } } - // 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; lseek(wav, 4, SEEK_SET); |