summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice.cpp
Unidiff
Diffstat (limited to 'libopie2/opiecore/device/odevice.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp8
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*/
335QString ODevice::systemVersionString() const 335QString 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*/
343Transformation ODevice::rotation() const 343Transformation 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*/
351ODirection ODevice::direction() const 351ODirection 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*/
359void ODevice::alarmSound() 359void 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*/
372void ODevice::keySound() 372void 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*/
385void ODevice::touchSound() 385void 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*/
400QValueList <OLed> ODevice::ledList() const 400QValueList <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*/
408QValueList <OLedState> ODevice::ledStateList ( OLed /*which*/ ) const 408QValueList <OLedState> ODevice::ledStateList ( OLed /*which*/ ) const
409{ 409{