Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::Core::Internal::Jornada Class Reference

#include </home/clem/local/src/opie/libopie2/opiecore/device/odevice_jornada.h>

Inheritance diagram for Opie::Core::Internal::Jornada:

Inheritance graph
[legend]
Collaboration diagram for Opie::Core::Internal::Jornada:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool setDisplayBrightness (int b)
virtual bool setDisplayStatus (bool on)
virtual int displayBrightnessResolution () const

Protected Member Functions

virtual void init (const QString &)
virtual void initButtons ()

Member Function Documentation

int Jornada::displayBrightnessResolution  )  const [virtual]
 

Returns:
the number of steppings on the brightness slider in the Light-'n-Power settings. Values smaller than zero and bigger than 255 do not make sense.
See also:
QSlider::setLineStep

QSlider::setPageStep

Reimplemented from Opie::Core::ODevice.

Definition at line 161 of file odevice_jornada.cpp.

References Opie::Core::ODevice::d, Opie::Core::ODeviceData::m_model, Opie::Core::Model_Jornada_56x, and Opie::Core::Model_Jornada_720.

void Jornada::init const QString  )  [protected, virtual]
 

Reimplemented from Opie::Core::ODevice.

Definition at line 113 of file odevice_jornada.cpp.

References Opie::Core::ODevice::d, QString::find(), loc, Opie::Core::ODeviceData::m_model, Opie::Core::ODeviceData::m_modelstr, Opie::Core::ODeviceData::m_rotation, Opie::Core::ODeviceData::m_vendor, Opie::Core::ODeviceData::m_vendorstr, QString::mid(), Opie::Core::ODevice::model(), Opie::Core::Model_Jornada_56x, Opie::Core::Model_Jornada_720, Rot0, and Opie::Core::Vendor_HP.

void Jornada::initButtons  )  [protected, virtual]
 

This method initialises the button mapping

Reimplemented from Opie::Core::ODevice.

Definition at line 137 of file odevice_jornada.cpp.

References QValueList< T >::append(), Opie::Core::Internal::j_button::code, Opie::Core::ODevice::d, Opie::Core::Internal::j_button::fheldaction, Opie::Core::Internal::j_button::fheldservice, Opie::Core::Internal::j_button::fpressedaction, Opie::Core::Internal::j_button::fpressedservice, i, Opie::Core::OResource::loadPixmap(), Opie::Core::ODeviceData::m_buttons, Opie::Core::ODeviceData::m_model, Opie::Core::makeChannel(), Opie::Core::Internal::j_button::model, Opie::Core::Internal::j_button::pix, Opie::Core::ODevice::reloadButtonMapping(), tr, and Opie::Core::Internal::j_button::utext.

bool Jornada::setDisplayBrightness int  bright  )  [virtual]
 

This sets the display brightness

Parameters:
b The brightness to be set on a scale from 0 to 255
Returns:
success or failure

Reimplemented from Opie::Core::ODevice.

Definition at line 172 of file odevice_jornada.cpp.

References Opie::Core::ODevice::d, QFile::encodeName(), QString::fromLatin1(), Opie::Core::ODeviceData::m_model, Opie::Core::Model_Jornada_56x, Opie::Core::Model_Jornada_720, and Opie::Core::ODevice::system().

bool Jornada::setDisplayStatus bool  on  )  [virtual]
 

This sets the display on or off

Reimplemented from Opie::Core::OAbstractMobileDevice.

Definition at line 199 of file odevice_jornada.cpp.

References Opie::Core::ODevice::d, QFile::encodeName(), QString::fromLatin1(), Opie::Core::ODeviceData::m_model, Opie::Core::Model_Jornada_56x, Opie::Core::Model_Jornada_720, and Opie::Core::ODevice::system().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:01 2005 for OPIE by  doxygen 1.4.2