#include </home/clem/local/src/opie/libopie2/opiecore/device/odevice_simpad.h>
Inheritance diagram for Opie::Core::Internal::SIMpad:


Public Member Functions | |
| virtual bool | suspend () |
| virtual bool | setDisplayStatus (bool on) |
| virtual bool | setDisplayBrightness (int b) |
| virtual int | displayBrightnessResolution () const |
| virtual void | playAlarmSound () |
| virtual QValueList< OLed > | ledList () const |
| virtual QValueList< OLedState > | ledStateList (OLed led) const |
| virtual OLedState | ledState (OLed led) const |
| virtual bool | setLedState (OLed led, OLedState st) |
Protected Member Functions | |
| virtual void | init (const QString &) |
| virtual void | initButtons () |
| virtual void | timerEvent (QTimerEvent *te) |
Protected Attributes | |
| int | m_power_timer |
| OLedState | m_leds [2] |
Static Private Member Functions | |
| static void | updateAllWidgets () |
|
|
Reimplemented from Opie::Core::ODevice. Definition at line 376 of file odevice_simpad.cpp. |
|
|
|
This method initialises the button mapping Reimplemented from Opie::Core::ODevice. Definition at line 160 of file odevice_simpad.cpp. References QValueList< T >::append(), s_button::code, Opie::ODevice::d, s_button::fheldaction, s_button::fheldservice, s_button::fpressedaction, s_button::fpressedservice, i, Resource::loadPixmap(), Opie::Core::ODeviceData::m_buttons, Opie::Core::ODeviceData::m_model, Opie::Core::makeChannel(), s_button::model, s_button::pix, Opie::ODevice::reloadButtonMapping(), Opie::Core::Internal::simpad_buttons, size, tr, and s_button::utext. |
|
|
This method will return a list of leds available on this device
Reimplemented from Opie::Core::ODevice. Definition at line 266 of file odevice_simpad.cpp. References Opie::Core::Led_Power. |
|
|
Reimplemented from Opie::Core::ODevice. Definition at line 285 of file odevice_simpad.cpp. References Opie::Core::Led_Off, Opie::Core::Led_Power, and SIMpad::m_leds. |
|
|
This does return the state of the LEDs Reimplemented from Opie::Core::ODevice. Definition at line 274 of file odevice_simpad.cpp. References Opie::Core::Led_Off, Opie::Core::Led_On, and Opie::Core::Led_Power. |
|
|
This plays an alarm sound Reimplemented from Opie::Core::ODevice. Definition at line 317 of file odevice_simpad.cpp. References Sound::isFinished(), and snd. |
|
|
This sets the display brightness
Reimplemented from Opie::Core::ODevice. Definition at line 356 of file odevice_simpad.cpp. References QFile::encodeName(), QCString::length(), QString::number(), qDebug(), SIMPAD_BACKLIGHT_CONTROL, str, and write(). |
|
|
This sets the display on or off Reimplemented from Opie::Core::OAbstractMobileDevice. Definition at line 348 of file odevice_simpad.cpp. References qDebug(), Opie::Core::Internal::setCS3Bit(), and SIMPAD_DISPLAY_ON. |
|
||||||||||||
|
Set the state for a LED
Reimplemented from Opie::Core::ODevice. Definition at line 297 of file odevice_simpad.cpp. References Opie::Core::Led_On, Opie::Core::Led_Power, SIMpad::m_leds, Opie::Core::Internal::setCS3Bit(), and SIMPAD_LED2_ON. |
|
|
This method will try to suspend the device It only works if the user is the QWS Server and the apm application is installed. It tries to suspend and then waits some time cause some distributions do have asynchronus apm implementations. This method will either fail and return false or it'll suspend the device and return once the device got woken up
Reimplemented from Opie::Core::OAbstractMobileDevice. Definition at line 331 of file odevice_simpad.cpp. References Opie::Core::isQWS(). |
|
|
Definition at line 308 of file odevice_simpad.cpp. References Opie::Core::HardKey_Backlight, SIMpad::m_power_timer, and QWSServer::sendKeyEvent(). |
|
|
Definition at line 386 of file odevice_simpad.cpp. |
|
|
Definition at line 67 of file odevice_simpad.h. |
|
|
Definition at line 65 of file odevice_simpad.h. |
1.4.2