-rw-r--r-- | libopie/odevice.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 25c9826..2d2f7db 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -303,41 +303,35 @@ QString ODevice::systemVersionString ( ) const } void ODevice::alarmSound ( ) { -#ifndef QT_QWS_EBX #ifndef QT_NO_SOUND static Sound snd ( "alarm" ); if ( snd. isFinished ( )) snd. play ( ); #endif -#endif } void ODevice::keySound ( ) { -#ifndef QT_QWS_EBX #ifndef QT_NO_SOUND static Sound snd ( "keysound" ); if ( snd. isFinished ( )) snd. play ( ); #endif -#endif } void ODevice::touchSound ( ) { -#ifndef QT_QWS_EBX #ifndef QT_NO_SOUND static Sound snd ( "touchsound" ); if ( snd. isFinished ( )) snd. play ( ); #endif -#endif } QValueList <OLed> ODevice::ledList ( ) const @@ -591,9 +585,8 @@ void iPAQ::timerEvent ( QTimerEvent * ) void iPAQ::alarmSound ( ) { -#if defined( QT_QWS_IPAQ ) // IPAQ #ifndef QT_NO_SOUND static Sound snd ( "alarm" ); int fd; int vol; @@ -627,9 +620,8 @@ void iPAQ::alarmSound ( ) ::ioctl ( fd, MIXER_WRITE( 0 ), &vol ); ::close ( fd ); } #endif -#endif } bool iPAQ::setSoftSuspend ( bool soft ) |