Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 6c8432f..72b9ac7 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -345,53 +345,53 @@ Transformation ODevice::rotation() const | |||
345 | return d->m_rotation; | 345 | return d->m_rotation; |
346 | } | 346 | } |
347 | 347 | ||
348 | /** | 348 | /** |
349 | * @return the current rotation direction | 349 | * @return the current rotation direction |
350 | */ | 350 | */ |
351 | ODirection ODevice::direction() const | 351 | ODirection ODevice::direction() const |
352 | { | 352 | { |
353 | return d->m_direction; | 353 | return d->m_direction; |
354 | } | 354 | } |
355 | 355 | ||
356 | /** | 356 | /** |
357 | * This plays an alarmSound | 357 | * This plays an alarm sound |
358 | */ | 358 | */ |
359 | void ODevice::alarmSound() | 359 | void ODevice::playAlarmSound() |
360 | { | 360 | { |
361 | #ifndef QT_NO_SOUND | 361 | #ifndef QT_NO_SOUND |
362 | static Sound snd ( "alarm" ); | 362 | static Sound snd ( "alarm" ); |
363 | 363 | ||
364 | if ( snd. isFinished()) | 364 | if ( snd. isFinished()) |
365 | snd. play(); | 365 | snd. play(); |
366 | #endif | 366 | #endif |
367 | } | 367 | } |
368 | 368 | ||
369 | /** | 369 | /** |
370 | * This plays a key sound | 370 | * This plays a key sound |
371 | */ | 371 | */ |
372 | void ODevice::keySound() | 372 | void ODevice::playKeySound() |
373 | { | 373 | { |
374 | #ifndef QT_NO_SOUND | 374 | #ifndef QT_NO_SOUND |
375 | static Sound snd ( "keysound" ); | 375 | static Sound snd ( "keysound" ); |
376 | 376 | ||
377 | if ( snd. isFinished()) | 377 | if ( snd. isFinished()) |
378 | snd. play(); | 378 | snd. play(); |
379 | #endif | 379 | #endif |
380 | } | 380 | } |
381 | 381 | ||
382 | /** | 382 | /** |
383 | * This plays a touch sound | 383 | * This plays a touch sound |
384 | */ | 384 | */ |
385 | void ODevice::touchSound() | 385 | void ODevice::playTouchSound() |
386 | { | 386 | { |
387 | #ifndef QT_NO_SOUND | 387 | #ifndef QT_NO_SOUND |
388 | static Sound snd ( "touchsound" ); | 388 | static Sound snd ( "touchsound" ); |
389 | 389 | ||
390 | if ( snd. isFinished()) | 390 | if ( snd. isFinished()) |
391 | snd. play(); | 391 | snd. play(); |
392 | #endif | 392 | #endif |
393 | } | 393 | } |
394 | 394 | ||
395 | /** | 395 | /** |
396 | * This method will return a list of leds | 396 | * This method will return a list of leds |
397 | * available on this device | 397 | * available on this device |