author | zecke <zecke> | 2004-02-21 23:26:23 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-21 23:26:23 (UTC) |
commit | 7595c4c5e1004efb0b4a3f6dcbd4d2baf7b9c8ac (patch) (unidiff) | |
tree | a3fb948d40018eb43c2541d602607b0db7d1fe47 | |
parent | ed771f43dee91ffd1a260581187c7d50453f70ef (diff) | |
download | opie-7595c4c5e1004efb0b4a3f6dcbd4d2baf7b9c8ac.zip opie-7595c4c5e1004efb0b4a3f6dcbd4d2baf7b9c8ac.tar.gz opie-7595c4c5e1004efb0b4a3f6dcbd4d2baf7b9c8ac.tar.bz2 |
Randomly jumping in the vtable is fun :)
use libopie2 odevice
-rw-r--r-- | core/launcher/serverapp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index e18bcee..11381e6 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | #include "serverapp.h" | 21 | #include "serverapp.h" |
22 | 22 | ||
23 | #include <opie/odevice.h> | 23 | #include <opie2/odevice.h> |
24 | 24 | ||
25 | #include <qtopia/password.h> | 25 | #include <qtopia/password.h> |
26 | #include <qtopia/config.h> | 26 | #include <qtopia/config.h> |
@@ -826,19 +826,19 @@ bool ServerApplication::recoverMemory() | |||
826 | void ServerApplication::keyClick(int , bool press, bool ) | 826 | void ServerApplication::keyClick(int , bool press, bool ) |
827 | { | 827 | { |
828 | if ( press && m_keyclick_sound ) | 828 | if ( press && m_keyclick_sound ) |
829 | ODevice::inst() -> keySound(); | 829 | ODevice::inst() -> playKeySound(); |
830 | 830 | ||
831 | } | 831 | } |
832 | 832 | ||
833 | void ServerApplication::screenClick(bool press) | 833 | void ServerApplication::screenClick(bool press) |
834 | { | 834 | { |
835 | if ( press && m_screentap_sound ) | 835 | if ( press && m_screentap_sound ) |
836 | ODevice::inst() -> touchSound(); | 836 | ODevice::inst() -> playTouchSound(); |
837 | } | 837 | } |
838 | 838 | ||
839 | void ServerApplication::soundAlarm() { | 839 | void ServerApplication::soundAlarm() { |
840 | if ( me ()->m_alarm_sound ) | 840 | if ( me ()->m_alarm_sound ) |
841 | ODevice::inst()->alarmSound(); | 841 | ODevice::inst()->playAlarmSound(); |
842 | } | 842 | } |
843 | 843 | ||
844 | ServerApplication *ServerApplication::me ( ) | 844 | ServerApplication *ServerApplication::me ( ) |