Diffstat (limited to 'libopie2/opiecore/device/odevice_simpad.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.h b/libopie2/opiecore/device/odevice_simpad.h index 615effc..3287ee8 100644 --- a/libopie2/opiecore/device/odevice_simpad.h +++ b/libopie2/opiecore/device/odevice_simpad.h | |||
@@ -30,49 +30,49 @@ | |||
30 | #ifndef ODEVICE_SIMPAD | 30 | #ifndef ODEVICE_SIMPAD |
31 | #define ODEVICE_SIMPAD | 31 | #define ODEVICE_SIMPAD |
32 | 32 | ||
33 | #include <opie2/odevice.h> | 33 | #include <opie2/odevice.h> |
34 | 34 | ||
35 | /* QT */ | 35 | /* QT */ |
36 | #include <qwindowsystem_qws.h> | 36 | #include <qwindowsystem_qws.h> |
37 | 37 | ||
38 | using namespace Opie; | 38 | using namespace Opie; |
39 | 39 | ||
40 | class SIMpad : public ODevice, public QWSServer::KeyboardFilter | 40 | class SIMpad : public ODevice, public QWSServer::KeyboardFilter |
41 | { | 41 | { |
42 | protected: | 42 | protected: |
43 | virtual void init(); | 43 | virtual void init(); |
44 | virtual void initButtons(); | 44 | virtual void initButtons(); |
45 | 45 | ||
46 | public: | 46 | public: |
47 | virtual bool setSoftSuspend( bool soft ); | 47 | virtual bool setSoftSuspend( bool soft ); |
48 | virtual bool suspend(); | 48 | virtual bool suspend(); |
49 | 49 | ||
50 | virtual bool setDisplayStatus( bool on ); | 50 | virtual bool setDisplayStatus( bool on ); |
51 | virtual bool setDisplayBrightness( int b ); | 51 | virtual bool setDisplayBrightness( int b ); |
52 | virtual int displayBrightnessResolution() const; | 52 | virtual int displayBrightnessResolution() const; |
53 | 53 | ||
54 | virtual void alarmSound(); | 54 | virtual void playAlarmSound(); |
55 | 55 | ||
56 | virtual QValueList <OLed> ledList() const; | 56 | virtual QValueList <OLed> ledList() const; |
57 | virtual QValueList <OLedState> ledStateList( OLed led ) const; | 57 | virtual QValueList <OLedState> ledStateList( OLed led ) const; |
58 | virtual OLedState ledState( OLed led ) const; | 58 | virtual OLedState ledState( OLed led ) const; |
59 | virtual bool setLedState( OLed led, OLedState st ); | 59 | virtual bool setLedState( OLed led, OLedState st ); |
60 | 60 | ||
61 | protected: | 61 | protected: |
62 | virtual bool filter( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ); | 62 | virtual bool filter( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat ); |
63 | virtual void timerEvent( QTimerEvent *te ); | 63 | virtual void timerEvent( QTimerEvent *te ); |
64 | 64 | ||
65 | int m_power_timer; | 65 | int m_power_timer; |
66 | 66 | ||
67 | OLedState m_leds [1]; | 67 | OLedState m_leds [1]; |
68 | }; | 68 | }; |
69 | 69 | ||
70 | struct s_button { | 70 | struct s_button { |
71 | uint model; | 71 | uint model; |
72 | Qt::Key code; | 72 | Qt::Key code; |
73 | char *utext; | 73 | char *utext; |
74 | char *pix; | 74 | char *pix; |
75 | char *fpressedservice; | 75 | char *fpressedservice; |
76 | char *fpressedaction; | 76 | char *fpressedaction; |
77 | char *fheldservice; | 77 | char *fheldservice; |
78 | char *fheldaction; | 78 | char *fheldaction; |