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
@@ -309,125 +309,125 @@ QString ODevice::modelString() const
309* This does return the OModel used 309* This does return the OModel used
310*/ 310*/
311OModel ODevice::model() const 311OModel ODevice::model() const
312{ 312{
313 return d->m_model; 313 return d->m_model;
314} 314}
315 315
316/** 316/**
317* This does return the systen name 317* This does return the systen name
318*/ 318*/
319QString ODevice::systemString() const 319QString ODevice::systemString() const
320{ 320{
321 return d->m_systemstr; 321 return d->m_systemstr;
322} 322}
323 323
324/** 324/**
325* Return System as OSystem value 325* Return System as OSystem value
326*/ 326*/
327OSystem ODevice::system() const 327OSystem ODevice::system() const
328{ 328{
329 return d->m_system; 329 return d->m_system;
330} 330}
331 331
332/** 332/**
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{
410 return QValueList <OLedState>(); 410 return QValueList <OLedState>();
411} 411}
412 412
413/** 413/**
414* @return the state for a given OLed 414* @return the state for a given OLed
415*/ 415*/
416OLedState ODevice::ledState ( OLed /*which*/ ) const 416OLedState ODevice::ledState ( OLed /*which*/ ) const
417{ 417{
418 return Led_Off; 418 return Led_Off;
419} 419}
420 420
421/** 421/**
422* Set the state for a LED 422* Set the state for a LED
423* @param which Which OLed to use 423* @param which Which OLed to use
424* @param st The state to set 424* @param st The state to set
425* @return success or failure 425* @return success or failure
426*/ 426*/
427bool ODevice::setLedState ( OLed which, OLedState st ) 427bool ODevice::setLedState ( OLed which, OLedState st )
428{ 428{
429 Q_UNUSED( which ) 429 Q_UNUSED( which )
430 Q_UNUSED( st ) 430 Q_UNUSED( st )
431 return false; 431 return false;
432} 432}
433 433