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

Opie::Core::ODevice Class Reference

A small class for device specific options. More...

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

Inheritance diagram for Opie::Core::ODevice:

Inheritance graph
[legend]
Collaboration diagram for Opie::Core::ODevice:

Collaboration graph
[legend]
List of all members.

Signals

void buttonMappingChanged ()

Public Member Functions

virtual ~ODevice ()
QString modelString () const
OModel model () const
OModel series () const
QString vendorString () const
OVendor vendor () const
QString systemString () const
OSystem system () const
QString systemVersionString () const
virtual Transformation rotation () const
virtual ODirection direction () const
QString qteDriver () const
virtual bool suspend ()
virtual bool setDisplayStatus (bool on)
virtual bool setDisplayBrightness (int brightness)
virtual int displayBrightnessResolution () const
virtual bool setDisplayContrast (int contrast)
virtual int displayContrastResolution () const
virtual void playAlarmSound ()
virtual void playKeySound ()
virtual void playTouchSound ()
virtual QValueList< OLedledList () const
virtual QValueList< OLedStateledStateList (OLed led) const
virtual OLedState ledState (OLed led) const
virtual bool setLedState (OLed led, OLedState st)
virtual bool hasLightSensor () const
virtual int readLightSensor ()
virtual int lightSensorResolution () const
virtual bool hasHingeSensor () const
virtual OHingeStatus readHingeSensor () const
const QStrListallowedCpuFrequencies () const
bool setCurrentCpuFrequency (uint index)
const QValueList< ODeviceButton > & buttons ()
const ODeviceButtonbuttonForKeycode (ushort keyCode)
void remapPressedAction (int button, const OQCopMessage &qcopMessage)
void remapHeldAction (int button, const OQCopMessage &qcopMessage)
uint buttonHoldTime () const

Static Public Member Functions

static ODeviceinst ()

Protected Member Functions

 ODevice ()
virtual void init (const QString &)
virtual void initButtons ()
void addPreHandler (QWSServer::KeyboardFilter *aFilter)
 Prepend the QWSServer::KeyboardFilter to the list of installed KeyFilters.
void remPreHandler (QWSServer::KeyboardFilter *aFilter)
 Remove the QWSServer::KeyboardFilter in the param from the list.
void reloadButtonMapping ()
void changeMixerForAlarm (int mixer, const char *file, Sound *snd)
 Change the Volume for the Alarm and set it back after playing is finished.
virtual void virtual_hook (int id, void *data)

Static Protected Member Functions

static void sendSuspendmsg ()
 Send a QCOP Message before suspending.

Protected Attributes

ODeviceDatad

Private Slots

void systemMessage (const QCString &, const QByteArray &)
void playingStopped ()

Private Member Functions

 ODevice (const ODevice &)

Detailed Description

A small class for device specific options.

A singleton which gives informations about device specefic option like the Hardware used, LEDs, the Base Distribution and hardware key mappings.

See also:
QObject
Author:
Robert Griebl
Version:
1.0

Definition at line 230 of file odevice.h.


Constructor & Destructor Documentation

Opie::Core::ODevice::ODevice const ODevice  )  [private]
 

Opie::Core::ODevice::ODevice  )  [protected]
 

Definition at line 169 of file odevice.cpp.

References Opie::Core::CW, d, Opie::Core::distributions, QFile::exists(), f, i, IO_ReadOnly, Opie::Core::ODeviceData::m_buttons, Opie::Core::ODeviceData::m_cpu_frequencies, Opie::Core::ODeviceData::m_direction, Opie::Core::ODeviceData::m_holdtime, Opie::Core::ODeviceData::m_initializedButtonQcop, Opie::Core::ODeviceData::m_mixer, Opie::Core::ODeviceData::m_model, Opie::Core::ODeviceData::m_modelstr, Opie::Core::ODeviceData::m_qteDriver, Opie::Core::ODeviceData::m_rotation, Opie::Core::ODeviceData::m_sound, Opie::Core::ODeviceData::m_system, Opie::Core::ODeviceData::m_systemstr, Opie::Core::ODeviceData::m_sysverstr, Opie::Core::ODeviceData::m_vendor, Opie::Core::ODeviceData::m_vendorstr, Opie::Core::ODeviceData::m_vol, Opie::Core::Model_Unknown, QFile::open(), QTextStream::readLine(), Rot0, Opie::Core::System_Unknown, and Opie::Core::Vendor_Unknown.

Referenced by inst().

Opie::Core::ODevice::~ODevice  )  [virtual]
 

Definition at line 252 of file odevice.cpp.

References d.


Member Function Documentation

void Opie::Core::ODevice::addPreHandler QWSServer::KeyboardFilter aFilter  )  [protected]
 

Prepend the QWSServer::KeyboardFilter to the list of installed KeyFilters.

Prepend a QWSServer::KeyboardFilter to the List of Keyboard Filters. This function is the only way to prepend a KeyFilter.

Parameters:
aFilter The KeyFilter to be prepended to the list of filters
See also:
Opie::Core::OKeyFilter

Opie::Core::OKeyFilter::inst()

Definition at line 722 of file odevice.cpp.

References Opie::Core::OKeyFilter::inst().

Referenced by Opie::Core::Internal::Zaurus::initButtons(), Opie::Core::Internal::MyPal::initButtons(), Opie::Core::Internal::iPAQ::initButtons(), and Opie::Core::Internal::GenuineIntel::initButtons().

const QStrList & Opie::Core::ODevice::allowedCpuFrequencies  )  const
 

Returns:
a list with CPU frequencies supported by the hardware

Definition at line 534 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_cpu_frequencies.

const ODeviceButton * Opie::Core::ODevice::buttonForKeycode ushort  keyCode  ) 
 

Returns the DeviceButton for the keyCode. If keyCode is not found, it returns 0L

Definition at line 592 of file odevice.cpp.

References QValueList< T >::begin(), d, QValueList< T >::end(), initButtons(), and Opie::Core::ODeviceData::m_buttons.

uint Opie::Core::ODevice::buttonHoldTime  )  const
 

How long (in ms) you have to press a button for a "hold" action

Definition at line 580 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_holdtime.

void Opie::Core::ODevice::buttonMappingChanged  )  [signal]
 

const QValueList< ODeviceButton > & Opie::Core::ODevice::buttons  ) 
 

Returns the available buttons on this device. The number and location of buttons will vary depending on the device. Button numbers will be assigned by the device manufacturer and will be from most preferred button to least preffered button. Note that this list only contains "user mappable" buttons.

Todo:
Make method const and take care of calling initButtons or make that const too

Definition at line 570 of file odevice.cpp.

References d, initButtons(), and Opie::Core::ODeviceData::m_buttons.

void Opie::Core::ODevice::changeMixerForAlarm int  mixer,
const char *  file,
Sound snd
[protected]
 

Change the Volume for the Alarm and set it back after playing is finished.

If you play an Alarm Sound you might want to change the Mixer to full volume and ignore the user setting. After it

See also:
Sound::isFinished you would turn the volume back to the user preference. The problem is that we used to enter the event loop while waiting for the sound to be finished triggering all kind of reentrance problems what a library shouldn't introduce. Instead of manually waiting for the sound to be finished use this Method and it will automatically restore the Mixer to the user configuration after the sound finished playing.
Note: The onwership of
Parameters:
snd is not transfered and playing is not started in this method. If 'snd' gets deleted before playing is finished the volume doesn't get set back to the user preference!
 static Sound snd("alarm");
 if(!snd.isFinished())
    return;

 changeMixerForAlarm( my_channel, "/dev/mixer", &snd );
 snd.play()

Parameters:
mixer The mixer number/channel to use
file The file name. If you convert from QString use QFile::encodeName
snd The sound to wait for finishing

Definition at line 794 of file odevice.cpp.

References d, Opie::Core::ODeviceData::m_mixer, Opie::Core::ODeviceData::m_sound, Opie::Core::ODeviceData::m_vol, playingStopped(), and register_qpe_sound_finished().

Referenced by Opie::Core::Internal::Zaurus::buzzer(), Opie::Core::Internal::Ramses::playAlarmSound(), Opie::Core::Internal::MyPal::playAlarmSound(), Opie::Core::Internal::iPAQ::playAlarmSound(), and Opie::Core::Internal::GenuineIntel::playAlarmSound().

ODirection Opie::Core::ODevice::direction  )  const [virtual]
 

Returns:
the current rotation direction

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 403 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_direction.

int Opie::Core::ODevice::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 in Opie::Core::Internal::Beagle, Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::Ramses, Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus.

Definition at line 306 of file odevice.cpp.

References qDebug().

Referenced by Opie::Core::Internal::MyPal::displayBrightnessResolution().

int Opie::Core::ODevice::displayContrastResolution  )  const [virtual]
 

Returns:
the maximum value for the contrast settings slider or 0 if the device doesn't support setting of a contrast

Definition at line 327 of file odevice.cpp.

References qDebug().

bool Opie::Core::ODevice::hasHingeSensor  )  const [virtual]
 

Returns:
if the device has a hinge sensor

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 518 of file odevice.cpp.

bool Opie::Core::ODevice::hasLightSensor  )  const [virtual]
 

Returns:
if the device has a light sensor

Reimplemented in Opie::Core::Internal::GenuineIntel, and Opie::Core::Internal::iPAQ.

Definition at line 494 of file odevice.cpp.

void Opie::Core::ODevice::init const QString  )  [protected, virtual]
 

Reimplemented in Opie::Core::Internal::Beagle, Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::Ramses, Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus.

Definition at line 224 of file odevice.cpp.

Referenced by inst().

void Opie::Core::ODevice::initButtons  )  [protected, virtual]
 

This method initialises the button mapping

Reimplemented in Opie::Core::Internal::Beagle, Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus.

Definition at line 231 of file odevice.cpp.

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

Referenced by buttonForKeycode(), buttons(), reloadButtonMapping(), remapHeldAction(), and remapPressedAction().

ODevice * Opie::Core::ODevice::inst  )  [static]
 

Definition at line 121 of file odevice.cpp.

References QTextStream::atEnd(), f, init(), IO_ReadOnly, ODevice(), QFile::open(), Opie::Core::PATH_PROC_CPUINFO, qDebug(), qWarning(), QTextStream::readLine(), s, and QString::startsWith().

Referenced by Sensor::accept(), LightSettings::accept(), BluepingPlugin::authenticate(), MediaPlayer::blank(), RotateApplet::channelReceived(), DateBookEvent::editEventSlot(), Opie::Core::OKeyPair::hardwareKeys(), initEnvironment(), LightSettings::LightSettings(), LoginWindowImpl::LoginWindowImpl(), main(), OpieScreenSaver::OpieScreenSaver(), BatteryStatus::paintEvent(), OpieScreenSaver::restore(), OpieScreenSaver::save(), Sensor::Sensor(), OpieScreenSaver::setBacklight(), OpieScreenSaver::setBacklightInternal(), LightSettings::setContrast(), OpieScreenSaver::setDisplayState(), LightSettings::setFrequency(), CameraMainWindow::shutterClicked(), CameraMainWindow::startVideoCapture(), CameraMainWindow::stopVideoCapture(), LoginWindowImpl::suspend(), OpieScreenSaver::timerEvent(), BatteryStatus::UpdateBatteryStatus(), and VersionInfo::VersionInfo().

QValueList< OLed > Opie::Core::ODevice::ledList  )  const [virtual]
 

This method will return a list of leds available on this device

Returns:
a list of LEDs.

Reimplemented in Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 457 of file odevice.cpp.

Referenced by MailApplet::ledOnOff().

OLedState Opie::Core::ODevice::ledState OLed  led  )  const [virtual]
 

Returns:
the state for a given OLed

Reimplemented in Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 473 of file odevice.cpp.

References Opie::Core::Led_Off.

QValueList< OLedState > Opie::Core::ODevice::ledStateList OLed  led  )  const [virtual]
 

This does return the state of the LEDs

Reimplemented in Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 465 of file odevice.cpp.

Referenced by MailApplet::ledOnOff().

int Opie::Core::ODevice::lightSensorResolution  )  const [virtual]
 

Returns:
the light sensor resolution

Reimplemented in Opie::Core::Internal::GenuineIntel, and Opie::Core::Internal::iPAQ.

Definition at line 510 of file odevice.cpp.

OModel Opie::Core::ODevice::model  )  const
 

This does return the OModel used

Definition at line 363 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_model.

Referenced by Opie::Core::Internal::MyPal::displayBrightnessResolution(), Opie::Core::Internal::iPAQ::displayBrightnessResolution(), Opie::Core::Internal::Zaurus::init(), Opie::Core::Internal::Jornada::init(), series(), Opie::Core::Internal::MyPal::setDisplayBrightness(), Opie::Core::Internal::iPAQ::setDisplayBrightness(), Opie::Core::Internal::MyPal::setDisplayStatus(), and Opie::Core::Internal::iPAQ::setDisplayStatus().

QString Opie::Core::ODevice::modelString  )  const
 

This returns the model as a string

Returns:
A string representing the model

Definition at line 355 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_modelstr.

void Opie::Core::ODevice::playAlarmSound  )  [virtual]
 

This plays an alarm sound

Reimplemented in Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::MyPal, Opie::Core::Internal::Ramses, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 416 of file odevice.cpp.

References snd.

void Opie::Core::ODevice::playingStopped  )  [private, slot]
 

For internal use only.

See also:
changeMixerForAlarm

Definition at line 747 of file odevice.cpp.

References d, Opie::Core::ODeviceData::m_mixer, Opie::Core::ODeviceData::m_sound, and Opie::Core::ODeviceData::m_vol.

Referenced by changeMixerForAlarm().

void Opie::Core::ODevice::playKeySound  )  [virtual]
 

This plays a key sound

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 429 of file odevice.cpp.

References snd.

void Opie::Core::ODevice::playTouchSound  )  [virtual]
 

This plays a touch sound

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 442 of file odevice.cpp.

References snd.

QString Opie::Core::ODevice::qteDriver  )  const
 

Definition at line 408 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_qteDriver.

OHingeStatus Opie::Core::ODevice::readHingeSensor  )  const [virtual]
 

Returns:
a value from the hinge sensor

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 526 of file odevice.cpp.

References Opie::Core::CASE_UNKNOWN.

int Opie::Core::ODevice::readLightSensor  )  [virtual]
 

Returns:
a value from the light sensor

Reimplemented in Opie::Core::Internal::GenuineIntel, and Opie::Core::Internal::iPAQ.

Definition at line 502 of file odevice.cpp.

void Opie::Core::ODevice::reloadButtonMapping  )  [protected]
 

Definition at line 603 of file odevice.cpp.

References d, i, initButtons(), Opie::Core::ODeviceData::m_buttons, Opie::Core::ODeviceData::m_initializedButtonQcop, QString::number(), and systemMessage().

Referenced by Opie::Core::Internal::Zaurus::initButtons(), Opie::Core::Internal::Yopy::initButtons(), Opie::Core::Internal::MyPal::initButtons(), Opie::Core::Internal::Jornada::initButtons(), Opie::Core::Internal::iPAQ::initButtons(), Opie::Core::Internal::GenuineIntel::initButtons(), Opie::Core::Internal::Beagle::initButtons(), initButtons(), Opie::Core::Internal::Zaurus::systemMessage(), and systemMessage().

void Opie::Core::ODevice::remapHeldAction int  button,
const OQCopMessage qcopMessage
 

Reassigns the held action for button. To return to the factory default pass an empty string as qcopMessage.

Definition at line 665 of file odevice.cpp.

References channel, QValueList< T >::count(), d, initButtons(), Opie::Core::ODeviceData::m_buttons, message, and QString::number().

void Opie::Core::ODevice::remapPressedAction int  button,
const OQCopMessage qcopMessage
 

Reassigns the pressed action for button. To return to the factory default pass an empty string as qcopMessage.

Definition at line 641 of file odevice.cpp.

References channel, QValueList< T >::count(), d, initButtons(), Opie::Core::ODeviceData::m_buttons, message, and QString::number().

void Opie::Core::ODevice::remPreHandler QWSServer::KeyboardFilter aFilter  )  [protected]
 

Remove the QWSServer::KeyboardFilter in the param from the list.

Remove the QWSServer::KeyboardFilter

aFilter from the List
of Keyfilters. Call this when you delete the KeyFilter!
Parameters:
aFilter The filter to be removed from the Opie::Core::OKeyFilter
See also:
Opie::Core::ODevice::addPreHandler

Definition at line 736 of file odevice.cpp.

References Opie::Core::OKeyFilter::inst().

Transformation Opie::Core::ODevice::rotation  )  const [virtual]
 

Returns:
the current Transformation

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 395 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_rotation.

void Opie::Core::ODevice::sendSuspendmsg  )  [static, protected]
 

Send a QCOP Message before suspending.

Sends a QCOP message to channel QPE/System with the message "aboutToSuspend()" if this is the windowing server.

Call this in your custom

See also:
suspend() Method before going to suspend.

Definition at line 703 of file odevice.cpp.

References Opie::Core::isQWS().

Referenced by Opie::Core::Internal::Ramses::suspend().

OModel Opie::Core::ODevice::series  )  const [inline]
 

Definition at line 254 of file odevice.h.

References model(), and Opie::Core::Model_Series_Mask.

bool Opie::Core::ODevice::setCurrentCpuFrequency uint  index  ) 
 

Set desired CPU frequency

Parameters:
index index into d->m_cpu_frequencies of the frequency to be set

Definition at line 545 of file odevice.cpp.

References QPtrList< type >::at(), QPtrList< type >::count(), d, Opie::Core::ODeviceData::m_cpu_frequencies, qWarning(), and write().

bool Opie::Core::ODevice::setDisplayBrightness int  b  )  [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 in Opie::Core::Internal::Beagle, Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::Ramses, Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus.

Definition at line 291 of file odevice.cpp.

References qDebug().

Referenced by Opie::Core::Internal::MyPal::setDisplayBrightness().

bool Opie::Core::ODevice::setDisplayContrast int  p  )  [virtual]
 

This sets the display contrast

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

Definition at line 317 of file odevice.cpp.

References qDebug().

bool Opie::Core::ODevice::setDisplayStatus bool  on  )  [virtual]
 

This sets the display on or off

Reimplemented in Opie::Core::OAbstractMobileDevice, Opie::Core::Internal::Beagle, Opie::Core::Internal::iPAQ, Opie::Core::Internal::Jornada, Opie::Core::Internal::MyPal, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 279 of file odevice.cpp.

References qDebug().

bool Opie::Core::ODevice::setLedState OLed  which,
OLedState  st
[virtual]
 

Set the state for a LED

Parameters:
which Which OLed to use
st The state to set
Returns:
success or failure

Reimplemented in Opie::Core::Internal::GenuineIntel, Opie::Core::Internal::iPAQ, Opie::Core::Internal::SIMpad, and Opie::Core::Internal::Zaurus.

Definition at line 484 of file odevice.cpp.

Referenced by MailApplet::ledOnOff().

bool Opie::Core::ODevice::suspend  )  [virtual]
 

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

Returns:
if the device got suspended

Reimplemented in Opie::Core::OAbstractMobileDevice, Opie::Core::Internal::Ramses, Opie::Core::Internal::SIMpad, Opie::Core::Internal::Yopy, and Opie::Core::Internal::Zaurus.

Definition at line 271 of file odevice.cpp.

OSystem Opie::Core::ODevice::system  )  const
 

Return System as OSystem value

Definition at line 379 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_system.

Referenced by Opie::Core::Internal::MyPal::setDisplayBrightness(), Opie::Core::Internal::Jornada::setDisplayBrightness(), Opie::Core::Internal::iPAQ::setDisplayBrightness(), Opie::Core::Internal::MyPal::setDisplayStatus(), Opie::Core::Internal::Jornada::setDisplayStatus(), Opie::Core::Internal::iPAQ::setDisplayStatus(), Opie::Core::Internal::Zaurus::suspend(), and Opie::Core::OAbstractMobileDevice::suspend().

void Opie::Core::ODevice::systemMessage const QCString ,
const QByteArray
[private, slot]
 

Reimplemented in Opie::Core::Internal::Zaurus.

Definition at line 217 of file odevice.cpp.

References reloadButtonMapping().

Referenced by reloadButtonMapping().

QString Opie::Core::ODevice::systemString  )  const
 

This does return the systen name

Definition at line 371 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_systemstr.

QString Opie::Core::ODevice::systemVersionString  )  const
 

Returns:
the version string of the base system

Definition at line 387 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_sysverstr.

OVendor Opie::Core::ODevice::vendor  )  const
 

This returns the vendor as one of the values of OVendor

Returns:
OVendor

Definition at line 346 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_vendor.

QString Opie::Core::ODevice::vendorString  )  const
 

This returns the vendor as string

Returns:
Vendor as QString

Definition at line 337 of file odevice.cpp.

References d, and Opie::Core::ODeviceData::m_vendorstr.

void Opie::Core::ODevice::virtual_hook int  id,
void *  data
[protected, virtual]
 

For internal use only.

Definition at line 688 of file odevice.cpp.


Member Data Documentation

ODeviceData* Opie::Core::ODevice::d [protected]
 

Definition at line 244 of file odevice.h.

Referenced by allowedCpuFrequencies(), buttonForKeycode(), buttonHoldTime(), buttons(), Opie::Core::Internal::Zaurus::buzzer(), changeMixerForAlarm(), Opie::Core::Internal::Zaurus::direction(), direction(), Opie::Core::Internal::Jornada::displayBrightnessResolution(), Opie::Core::Internal::MyPal::filter(), Opie::Core::Internal::iPAQ::filter(), Opie::Core::Internal::Zaurus::hasHingeSensor(), Opie::Core::Internal::Zaurus::init(), Opie::Core::Internal::Yopy::init(), Opie::Core::Internal::Ramses::init(), Opie::Core::Internal::MyPal::init(), Opie::Core::Internal::Jornada::init(), Opie::Core::Internal::iPAQ::init(), Opie::Core::Internal::GenuineIntel::init(), Opie::Core::Internal::Beagle::init(), Opie::Core::Internal::Zaurus::initButtons(), Opie::Core::Internal::Yopy::initButtons(), Opie::Core::Internal::MyPal::initButtons(), Opie::Core::Internal::Jornada::initButtons(), Opie::Core::Internal::iPAQ::initButtons(), Opie::Core::Internal::GenuineIntel::initButtons(), Opie::Core::Internal::Beagle::initButtons(), initButtons(), Opie::Core::Internal::iPAQ::ledList(), Opie::Core::Internal::iPAQ::ledStateList(), model(), modelString(), ODevice(), playingStopped(), qteDriver(), reloadButtonMapping(), remapHeldAction(), remapPressedAction(), Opie::Core::Internal::Zaurus::rotation(), rotation(), setCurrentCpuFrequency(), Opie::Core::Internal::Jornada::setDisplayBrightness(), Opie::Core::Internal::Jornada::setDisplayStatus(), system(), systemString(), systemVersionString(), vendor(), vendorString(), and ~ODevice().


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