From 3f261fa6eac46b8d0d4ac8b8bb95b385435004da Mon Sep 17 00:00:00 2001 From: ar Date: Sat, 07 Feb 2004 23:00:09 +0000 Subject: correct sound calls for use with libopie2 --- (limited to 'noncore/net/wellenreiter/gui') diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index ca53471..48fe89c 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp @@ -319,8 +319,8 @@ void WellenreiterConfigWindow::performAction( const QString& type, switch( action ) { case 0: /* Ignore */ return; - case 1: /* Play Alarm */ ODevice::inst()->alarmSound(); return; - case 2: /* Play Click */ ODevice::inst()->touchSound(); return; + case 1: /* Play Alarm */ ODevice::inst()->playAlarmSound(); return; + case 2: /* Play Click */ ODevice::inst()->playTouchSound(); return; case 3: /* Blink LED */ break; //FIXME: Implement this case 4: /* Run Script */ { diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 43a04e3..db68e5b 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -654,11 +654,11 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa { #ifdef QWS if ( action == "TouchSound" ) - ODevice::inst()->touchSound(); + ODevice::inst()->playTouchSound(); else if ( action == "AlarmSound" ) - ODevice::inst()->alarmSound(); + ODevice::inst()->playAlarmSound(); else if ( action == "KeySound" ) - ODevice::inst()->keySound(); + ODevice::inst()->playKeySound(); else if ( action == "LedOn" ) ODevice::inst()->setLedState( Led_Mail, Led_On ); else if ( action == "LedOff" ) -- cgit v0.9.0.2