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

Opie::Core::Internal::Beagle Class Reference

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

Inheritance diagram for Opie::Core::Internal::Beagle:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Beagle ()
 ~Beagle ()
void init (const QString &init)
void initButtons ()
bool setDisplayStatus (bool on)
int displayBrightnessResolution () const
bool setDisplayBrightness (int brightness)

Constructor & Destructor Documentation

Opie::Core::Internal::Beagle::Beagle  ) 
 

Definition at line 112 of file odevice_beagle.cpp.

Opie::Core::Internal::Beagle::~Beagle  ) 
 

Definition at line 114 of file odevice_beagle.cpp.


Member Function Documentation

int Opie::Core::Internal::Beagle::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 174 of file odevice_beagle.cpp.

void Opie::Core::Internal::Beagle::init const QString init  )  [virtual]
 

Reimplemented from Opie::Core::ODevice.

Definition at line 119 of file odevice_beagle.cpp.

References Opie::Core::ODevice::d, 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, Opie::Core::Model_Beagle_PA100, Rot0, and Opie::Core::Vendor_MasterIA.

void Opie::Core::Internal::Beagle::initButtons  )  [virtual]
 

This method initialises the button mapping

Reimplemented from Opie::Core::ODevice.

Definition at line 139 of file odevice_beagle.cpp.

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

bool Opie::Core::Internal::Beagle::setDisplayBrightness int  brightness  )  [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 185 of file odevice_beagle.cpp.

References _SA1100_FL_IOCTL_INTENSITY, and FL_FILE.

bool Opie::Core::Internal::Beagle::setDisplayStatus bool  on  )  [virtual]
 

This sets the display on or off

Reimplemented from Opie::Core::OAbstractMobileDevice.

Definition at line 162 of file odevice_beagle.cpp.

References _SA1100_FL_IOCTL_OFF, _SA1100_FL_IOCTL_ON, and FL_FILE.


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