

Public Member Functions | |
| virtual bool | setSoftSuspend (bool soft) |
| virtual bool | setDisplayBrightness (int b) |
| virtual int | displayBrightnessResolution () const |
| virtual void | alarmSound () |
| virtual void | keySound () |
| virtual void | touchSound () |
| 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) |
| bool | hasHingeSensor () const |
| OHingeStatus | readHingeSensor () |
| virtual bool | suspend () |
| Transformation | rotation () const |
| ODirection | direction () const |
Static Public Member Functions | |
| static bool | isZaurus () |
Protected Member Functions | |
| virtual void | init () |
| virtual void | initButtons () |
| virtual void | buzzer (int snd) |
| void | virtual_hook (int id, void *data) |
Protected Attributes | |
| OLedState | m_leds [1] |
| bool | m_embedix |
|
|
This plays an alarmSound Reimplemented from Opie::ODevice. Definition at line 1878 of file odevice.cpp. References buzzer(), and SHARP_BUZ_SCHEDULE_ALARM. |
|
|
Definition at line 1804 of file odevice.cpp. References Opie::ODevice::d, QString::isEmpty(), ODeviceData::m_model, Opie::Core::Model_Zaurus_SLB600, Opie::Core::Model_Zaurus_SLC7x0, qApp, SHARP_BUZ_KEYSOUND, SHARP_BUZ_SCHEDULE_ALARM, SHARP_BUZ_TOUCHSOUND, SHARP_BUZZER_MAKESOUND, and snd. Referenced by alarmSound(), keySound(), and touchSound(). |
|
|
Reimplemented from Opie::ODevice. Definition at line 2100 of file odevice.cpp. References Opie::Core::CCW, Opie::Core::CW, Opie::ODevice::d, Opie::Core::Model_Zaurus_SL5000, Opie::Core::Model_Zaurus_SL5500, Opie::Core::Model_Zaurus_SLA300, Opie::Core::Model_Zaurus_SLB600, Opie::Core::Model_Zaurus_SLC7x0, and SHARP_IOCTL_GET_ROTATION. Referenced by init(), and virtual_hook(). |
|
|
Reimplemented from Opie::ODevice. Definition at line 2131 of file odevice.cpp. References Opie::ODevice::d, m_embedix, ODeviceData::m_model, and Opie::Core::Model_Zaurus_SLC7x0. |
|
|
Reimplemented from Opie::ODevice. Definition at line 2139 of file odevice.cpp. References Opie::ODevice::d, ODeviceData::m_model, and Opie::Core::Model_Zaurus_SLC7x0. Referenced by virtual_hook(). |
|
|
Reimplemented from Opie::ODevice. Definition at line 1594 of file odevice.cpp. References Opie::ODevice::d, direction(), QFile::exists(), f, IO_ReadOnly, Opie::Core::Led_Off, loc, m_embedix, m_leds, Opie::ODevice::model(), Opie::Core::Model_Zaurus_SL5000, Opie::Core::Model_Zaurus_SL5500, Opie::Core::Model_Zaurus_SLA300, Opie::Core::Model_Zaurus_SLB600, Opie::Core::Model_Zaurus_SLC7x0, QFile::open(), Rot0, Rot270, rotation(), Opie::Core::System_OpenZaurus, Opie::Core::System_Zaurus, and Opie::Core::Vendor_Sharp. |
|
|
This method initialises the button mapping Reimplemented from Opie::ODevice. Definition at line 1693 of file odevice.cpp. References ARRAY_SIZE, code, Opie::ODevice::d, fheldaction, fheldservice, fpressedaction, fpressedservice, i, Resource::loadPixmap(), Opie::Core::makeChannel(), Opie::Core::Model_Zaurus_SLC7x0, pix, Opie::ODevice::reloadButtonMapping(), Opie::ODevice::systemMessage(), tr, utext, and z_buttons. |
|
|
Definition at line 1555 of file odevice.cpp. References QFile::exists(), f, IO_ReadOnly, loc, and Opie::ODevice::model(). Referenced by Opie::ODevice::inst(). |
|
|
This plays a key sound Reimplemented from Opie::ODevice. Definition at line 1888 of file odevice.cpp. References buzzer(), and SHARP_BUZ_KEYSOUND. |
|
|
This method will return a list of leds available on this device
Reimplemented from Opie::ODevice. Definition at line 1894 of file odevice.cpp. References Opie::Core::Led_Mail. |
|
|
Reimplemented from Opie::ODevice. Definition at line 1910 of file odevice.cpp. References Opie::Core::Led_Mail, Opie::Core::Led_Off, and m_leds. |
|
|
This does return the state of the LEDs Reimplemented from Opie::ODevice. Definition at line 1901 of file odevice.cpp. References Opie::Core::Led_BlinkSlow, Opie::Core::Led_Mail, Opie::Core::Led_Off, and Opie::Core::Led_On. |
|
|
Reimplemented from Opie::ODevice. Definition at line 2144 of file odevice.cpp. References Opie::Core::CASE_CLOSED, Opie::Core::CASE_LANDSCAPE, Opie::Core::CASE_PORTRAIT, Opie::Core::CASE_UNKNOWN, qDebug(), qWarning(), and SHARP_IOCTL_GET_ROTATION. Referenced by virtual_hook(). |
|
|
Reimplemented from Opie::ODevice. Definition at line 2068 of file odevice.cpp. References Opie::ODevice::d, Opie::Core::Model_Zaurus_SL5000, Opie::Core::Model_Zaurus_SL5500, Opie::Core::Model_Zaurus_SLA300, Opie::Core::Model_Zaurus_SLB600, Opie::Core::Model_Zaurus_SLC7x0, Rot0, Rot270, and SHARP_IOCTL_GET_ROTATION. Referenced by init(), and virtual_hook(). |
|
|
This sets the display brightness
Reimplemented from Opie::ODevice. Definition at line 1986 of file odevice.cpp. References Opie::ODevice::d, FB_BACKLIGHT_SET_BRIGHTNESS, FL_IOCTL_STEP_CONTRAST, m_embedix, ODeviceData::m_model, Opie::Core::Model_Zaurus_SLC7x0, and write(). |
|
||||||||||||
|
Set the state for a LED
Reimplemented from Opie::ODevice. Definition at line 1918 of file odevice.cpp. References Opie::Core::Led_BlinkSlow, Opie::Core::Led_Mail, LED_MAIL_NEWMAIL_EXISTS, LED_MAIL_NO_UNREAD_MAIL, LED_MAIL_UNREAD_MAIL_EX, Opie::Core::Led_Off, Opie::Core::Led_On, m_embedix, m_leds, SHARP_LED_MAIL_EXISTS, SHARP_LED_SETSTATUS, and sharp_led_status::status. |
|
|
Reimplemented from Opie::ODevice. Definition at line 1948 of file odevice.cpp. References APM_EVT_POWER_BUTTON, APM_IOCGEVTSRC, APM_IOCSEVTSRC, m_embedix, and Opie::Core::perror(). |
|
|
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::ODevice. Definition at line 2035 of file odevice.cpp. References Opie::ODevice::d, Opie::Core::isQWS(), Opie::Core::Model_Unknown, qDebug(), and Opie::ODevice::system(). |
|
|
This plays a touch sound Reimplemented from Opie::ODevice. Definition at line 1883 of file odevice.cpp. References buzzer(), and SHARP_BUZ_TOUCHSOUND. |
|
||||||||||||
|
Reimplemented from Opie::ODevice. Definition at line 2170 of file odevice.cpp. References direction(), hasHingeSensor(), readHingeSensor(), rotation(), Opie::ODevice::VIRTUAL_DIRECTION, Opie::ODevice::VIRTUAL_HAS_HINGE, Opie::ODevice::VIRTUAL_HINGE, and Opie::ODevice::VIRTUAL_ROTATION. |
|
|
Definition at line 157 of file odevice.cpp. Referenced by displayBrightnessResolution(), init(), setDisplayBrightness(), setLedState(), and setSoftSuspend(). |
|
|
Definition at line 156 of file odevice.cpp. Referenced by init(), ledState(), and setLedState(). |
1.4.2