author | ar <ar> | 2004-05-02 14:59:14 (UTC) |
---|---|---|
committer | ar <ar> | 2004-05-02 14:59:14 (UTC) |
commit | 4e7ab937501b6495ce5635a7515e66a75e04d37e (patch) (side-by-side diff) | |
tree | 6cecc2081d0a15a101b7fca0a7a61c6c992d73bc | |
parent | bb9c5e1bbf2692dc9b669e5f573edcdd92615476 (diff) | |
download | opie-4e7ab937501b6495ce5635a7515e66a75e04d37e.zip opie-4e7ab937501b6495ce5635a7515e66a75e04d37e.tar.gz opie-4e7ab937501b6495ce5635a7515e66a75e04d37e.tar.bz2 |
- convert qDebug to odebug
-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 @@ -154,6 +154,5 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) 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!" ) ); } @@ -181,6 +180,5 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) 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 @@ -224,5 +224,5 @@ VMemo::VMemo( QWidget *parent, const char *_name ) 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 @@ -477,6 +477,6 @@ int VMemo::openWAV(const char *filename) { 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)); @@ -560,6 +560,5 @@ 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; |