#include </home/clem/local/src/opie/noncore/unsupported/libopie/odevicebutton.h>
Collaboration diagram for Opie::ODeviceButton:

Public Member Functions | |
| ODeviceButton () | |
| virtual | ~ODeviceButton () |
| ushort | keycode () const |
| QString | userText () const |
| QPixmap | pixmap () const |
| OQCopMessage | factoryPresetPressedAction () const |
| OQCopMessage | pressedAction () const |
| OQCopMessage | factoryPresetHeldAction () const |
| OQCopMessage | heldAction () const |
| void | setKeycode (ushort keycode) |
| void | setUserText (const QString &text) |
| void | setPixmap (const QPixmap &picture) |
| void | setFactoryPresetPressedAction (const OQCopMessage &qcopMessage) |
| void | setPressedAction (const OQCopMessage &qcopMessage) |
| void | setFactoryPresetHeldAction (const OQCopMessage &qcopMessage) |
| void | setHeldAction (const OQCopMessage &qcopMessage) |
Private Attributes | |
| ushort | m_Keycode |
| QString | m_UserText |
| QPixmap | m_Pixmap |
| OQCopMessage | m_FactoryPresetPressedAction |
| OQCopMessage | m_PressedAction |
| OQCopMessage | m_FactoryPresetHeldAction |
| OQCopMessage | m_HeldAction |
| Private * | d |
This class represents a physical button on a Qtopia device. A device may have n "user programmable" buttons, which are number 1..n. The location and number of buttons will vary from device to device. userText() and pixmap() may be used to describe this button to the user in help documentation.
Definition at line 71 of file odevicebutton.h.
|
|
Definition at line 129 of file odevicebutton.cpp. |
|
|
Definition at line 133 of file odevicebutton.cpp. |
|
|
This function returns the factory preset (default) action for when this button is pressed and held. The return value is a legal QCop message. Definition at line 187 of file odevicebutton.cpp. References m_FactoryPresetHeldAction. Referenced by heldAction(). |
|
|
This function returns the factory preset (default) action for when this button is pressed. The return value is a legal QCop message. Definition at line 167 of file odevicebutton.cpp. References m_FactoryPresetPressedAction. Referenced by pressedAction(). |
|
|
This function returns the user assigned action for when this button is pressed and held. If no action is assigned, factoryPresetAction() is returned. Definition at line 196 of file odevicebutton.cpp. References Opie::OQCopMessage::channel(), factoryPresetHeldAction(), and m_HeldAction. |
|
|
Returns the button's keycode. Definition at line 140 of file odevicebutton.cpp. References m_Keycode. |
|
|
This function returns the pixmap for this button. If there isn't one it will return an empty (null) pixmap. Definition at line 158 of file odevicebutton.cpp. References m_Pixmap. |
|
|
This function returns the user assigned action for when this button is pressed. If no action is assigned, factoryPresetAction() is returned. Definition at line 176 of file odevicebutton.cpp. References Opie::OQCopMessage::channel(), factoryPresetPressedAction(), and m_PressedAction. |
|
|
Definition at line 229 of file odevicebutton.cpp. References m_FactoryPresetHeldAction. |
|
|
Definition at line 218 of file odevicebutton.cpp. References m_FactoryPresetPressedAction. |
|
|
Definition at line 234 of file odevicebutton.cpp. References m_HeldAction. |
|
|
Definition at line 203 of file odevicebutton.cpp. References m_Keycode. |
|
|
Definition at line 213 of file odevicebutton.cpp. References m_Pixmap. |
|
|
Definition at line 224 of file odevicebutton.cpp. References m_PressedAction. |
|
|
Definition at line 208 of file odevicebutton.cpp. References m_UserText. |
|
|
This function returns a human readable, translated description of the button. Definition at line 149 of file odevicebutton.cpp. References m_UserText. |
|
|
Definition at line 101 of file odevicebutton.h. |
|
|
Definition at line 99 of file odevicebutton.h. Referenced by factoryPresetHeldAction(), and setFactoryPresetHeldAction(). |
|
|
Definition at line 97 of file odevicebutton.h. Referenced by factoryPresetPressedAction(), and setFactoryPresetPressedAction(). |
|
|
Definition at line 100 of file odevicebutton.h. Referenced by heldAction(), and setHeldAction(). |
|
|
Definition at line 94 of file odevicebutton.h. Referenced by keycode(), and setKeycode(). |
|
|
Definition at line 96 of file odevicebutton.h. Referenced by pixmap(), and setPixmap(). |
|
|
Definition at line 98 of file odevicebutton.h. Referenced by pressedAction(), and setPressedAction(). |
|
|
Definition at line 95 of file odevicebutton.h. Referenced by setUserText(), and userText(). |
1.4.2