-rw-r--r-- | libopie/odevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index dea24a8..9931684 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -141,68 +141,68 @@ OSystem ODevice::system ( ) | |||
141 | } | 141 | } |
142 | 142 | ||
143 | void ODevice::alarmSound ( ) | 143 | void ODevice::alarmSound ( ) |
144 | { | 144 | { |
145 | #ifndef QT_QWS_EBX | 145 | #ifndef QT_QWS_EBX |
146 | #ifndef QT_NO_SOUND | 146 | #ifndef QT_NO_SOUND |
147 | static Sound snd ( "alarm" ); | 147 | static Sound snd ( "alarm" ); |
148 | 148 | ||
149 | if ( snd. isFinished ( )) | 149 | if ( snd. isFinished ( )) |
150 | snd. play ( ); | 150 | snd. play ( ); |
151 | #endif | 151 | #endif |
152 | #endif | 152 | #endif |
153 | } | 153 | } |
154 | 154 | ||
155 | void ODevice::keySound ( ) | 155 | void ODevice::keySound ( ) |
156 | { | 156 | { |
157 | #ifndef QT_QWS_EBX | 157 | #ifndef QT_QWS_EBX |
158 | #ifndef QT_NO_SOUND | 158 | #ifndef QT_NO_SOUND |
159 | static Sound snd ( "keysound" ); | 159 | static Sound snd ( "keysound" ); |
160 | 160 | ||
161 | if ( snd. isFinished ( )) | 161 | if ( snd. isFinished ( )) |
162 | snd. play ( ); | 162 | snd. play ( ); |
163 | #endif | 163 | #endif |
164 | #endif | 164 | #endif |
165 | } | 165 | } |
166 | 166 | ||
167 | void ODevice::touchSound ( ) | 167 | void ODevice::touchSound ( ) |
168 | { | 168 | { |
169 | 169 | ||
170 | #ifndef QT_QWS_EBX | 170 | #ifndef QT_QWS_EBX |
171 | #ifndef QT_NO_SOUND | 171 | #ifndef QT_NO_SOUND |
172 | static Sound snd ( "touchsound" ); | 172 | static Sound snd ( "touchsound" ); |
173 | qDebug("touchSound"); | 173 | //qDebug("touchSound"); |
174 | if ( snd. isFinished ( )) { | 174 | if ( snd. isFinished ( )) { |
175 | snd. play ( ); | 175 | snd. play ( ); |
176 | qDebug("sound should play"); | 176 | // qDebug("sound should play"); |
177 | } | 177 | } |
178 | #endif | 178 | #endif |
179 | #endif | 179 | #endif |
180 | } | 180 | } |
181 | 181 | ||
182 | uint ODevice::hasLeds ( ) const | 182 | uint ODevice::hasLeds ( ) const |
183 | { | 183 | { |
184 | return 0; | 184 | return 0; |
185 | } | 185 | } |
186 | 186 | ||
187 | OLedState ODevice::led ( uint /*which*/ ) const | 187 | OLedState ODevice::led ( uint /*which*/ ) const |
188 | { | 188 | { |
189 | return OLED_Off; | 189 | return OLED_Off; |
190 | } | 190 | } |
191 | 191 | ||
192 | bool ODevice::setLed ( uint /*which*/, OLedState /*st*/ ) | 192 | bool ODevice::setLed ( uint /*which*/, OLedState /*st*/ ) |
193 | { | 193 | { |
194 | return false; | 194 | return false; |
195 | } | 195 | } |
196 | 196 | ||
197 | 197 | ||
198 | 198 | ||
199 | 199 | ||
200 | //#if defined( QT_QWS_IPAQ ) // IPAQ | 200 | //#if defined( QT_QWS_IPAQ ) // IPAQ |
201 | 201 | ||
202 | 202 | ||
203 | void ODeviceIPAQ::init ( ) | 203 | void ODeviceIPAQ::init ( ) |
204 | { | 204 | { |
205 | d-> m_vendorstr = "HP"; | 205 | d-> m_vendorstr = "HP"; |
206 | d-> m_vendor = OVENDOR_HP; | 206 | d-> m_vendor = OVENDOR_HP; |
207 | 207 | ||
208 | QFile f ( "/proc/hal/model" ); | 208 | QFile f ( "/proc/hal/model" ); |