-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 * ) | |||
153 | err = system( ( const char * ) cmd ); | 153 | err = system( ( const char * ) cmd ); |
154 | if ( err != 0 ) | 154 | if ( err != 0 ) |
155 | { | 155 | { |
156 | qDebug( "Could not execute `/sbin/cardctl eject 0'! err=%d", | 156 | odebug << "Could not execute `/sbin/cardctl eject 0'! err=" << err << oendl; |
157 | err ); | ||
158 | popUp( tr( "CF/PCMCIA card eject failed!" ) ); | 157 | popUp( tr( "CF/PCMCIA card eject failed!" ) ); |
159 | } | 158 | } |
160 | } | 159 | } |
@@ -180,8 +179,7 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) | |||
180 | err = system( ( const char * ) cmd ); | 179 | err = system( ( const char * ) cmd ); |
181 | if ( err != 0 ) | 180 | if ( err != 0 ) |
182 | { | 181 | { |
183 | qDebug( "Could not execute `/sbin/cardctl eject 1'! err=%d", | 182 | odebug << "Could not execute `/sbin/cardctl eject 1'! err=" << err << oendl; |
184 | err ); | ||
185 | popUp( tr( "CF/PCMCIA card eject failed!" ) ); | 183 | popUp( tr( "CF/PCMCIA card eject failed!" ) ); |
186 | } | 184 | } |
187 | } | 185 | } |
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 ) | |||
223 | this, SLOT(receive(const QCString&,const QByteArray&)) ); | 223 | this, SLOT(receive(const QCString&,const QByteArray&)) ); |
224 | 224 | ||
225 | if( toggleKey != -1 ) { | 225 | if( toggleKey != -1 ) { |
226 | qDebug("Register key %d", toggleKey); | 226 | odebug << "Register key " << toggleKey << "" << oendl; |
227 | QCopEnvelope e("QPE/Launcher", "keyRegister(int,QCString,QCString)"); | 227 | QCopEnvelope e("QPE/Launcher", "keyRegister(int,QCString,QCString)"); |
228 | // e << 4096; // Key_Escape | 228 | // e << 4096; // Key_Escape |
229 | // e << Key_F5; //4148 | 229 | // e << Key_F5; //4148 |
@@ -476,8 +476,8 @@ int VMemo::openWAV(const char *filename) { | |||
476 | wh.bit_p_spl = resolution; | 476 | wh.bit_p_spl = resolution; |
477 | wh.data_chunk = DATA; | 477 | wh.data_chunk = DATA; |
478 | wh.data_length= 0; | 478 | wh.data_length= 0; |
479 | // qDebug("Write header channels %d, speed %d, b/s %d, blockalign %d, bitrate %d" | 479 | // odebug << "Write header channels " << wh.modus << ", speed " << wh.sample_fq << ", b/s " |
480 | // , wh.modus, wh.sample_fq, wh.byte_p_sec, wh.byte_p_spl, wh.bit_p_spl ); | 480 | // << wh.byte_p_sec << ", blockalign " << wh.byte_p_spl << ", bitrate " << wh.bit_p_spl << oendl; |
481 | write (wav, &wh, sizeof(WaveHeader)); | 481 | write (wav, &wh, sizeof(WaveHeader)); |
482 | 482 | ||
483 | return 1; | 483 | return 1; |
@@ -559,8 +559,7 @@ bool VMemo::record() { | |||
559 | } | 559 | } |
560 | } | 560 | } |
561 | } | 561 | } |
562 | // qDebug("file has length of %d lasting %d seconds", | 562 | // odebug << "file has length of " << length << " lasting " << (( length / speed) / channels) / 2 ) << " seconds" << oendl; |
563 | // length, (( length / speed) / channels) / 2 ); | ||
564 | 563 | ||
565 | value = length + 36; | 564 | value = length + 36; |
566 | 565 | ||