summaryrefslogtreecommitdiff
path: root/noncore
authorar <ar>2004-02-07 23:00:09 (UTC)
committer ar <ar>2004-02-07 23:00:09 (UTC)
commit3f261fa6eac46b8d0d4ac8b8bb95b385435004da (patch) (side-by-side diff)
tree3ce8d25b96a287e2df7b194513f2c3c0a27ecd0a /noncore
parent83a8f6fd9db949943d58d2f2a80304d516cf45d3 (diff)
downloadopie-3f261fa6eac46b8d0d4ac8b8bb95b385435004da.zip
opie-3f261fa6eac46b8d0d4ac8b8bb95b385435004da.tar.gz
opie-3f261fa6eac46b8d0d4ac8b8bb95b385435004da.tar.bz2
correct sound calls for use with libopie2
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/configwindow.cpp4
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp6
2 files changed, 5 insertions, 5 deletions
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" )