Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (ignore 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 | |||
@@ -333,77 +333,77 @@ OSystem ODevice::system() const | |||
333 | * @return the version string of the base system | 333 | * @return the version string of the base system |
334 | */ | 334 | */ |
335 | QString ODevice::systemVersionString() const | 335 | QString ODevice::systemVersionString() const |
336 | { | 336 | { |
337 | return d->m_sysverstr; | 337 | return d->m_sysverstr; |
338 | } | 338 | } |
339 | 339 | ||
340 | /** | 340 | /** |
341 | * @return the current Transformation | 341 | * @return the current Transformation |
342 | */ | 342 | */ |
343 | Transformation ODevice::rotation() const | 343 | Transformation ODevice::rotation() const |
344 | { | 344 | { |
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 |
398 | * @return a list of LEDs. | 398 | * @return a list of LEDs. |
399 | */ | 399 | */ |
400 | QValueList <OLed> ODevice::ledList() const | 400 | QValueList <OLed> ODevice::ledList() const |
401 | { | 401 | { |
402 | return QValueList <OLed>(); | 402 | return QValueList <OLed>(); |
403 | } | 403 | } |
404 | 404 | ||
405 | /** | 405 | /** |
406 | * This does return the state of the LEDs | 406 | * This does return the state of the LEDs |
407 | */ | 407 | */ |
408 | QValueList <OLedState> ODevice::ledStateList ( OLed /*which*/ ) const | 408 | QValueList <OLedState> ODevice::ledStateList ( OLed /*which*/ ) const |
409 | { | 409 | { |