author | schurig <schurig> | 2003-06-06 07:43:08 (UTC) |
---|---|---|
committer | schurig <schurig> | 2003-06-06 07:43:08 (UTC) |
commit | e7d5436f3379f45d9c165a2826b1f4ae5adaeea4 (patch) (unidiff) | |
tree | c05f10f573167fd2a0289715a6e7272cfa45fad4 /libopie/odevice.h | |
parent | 4f987e0199430d04a4ac86007f0a79c631c2e611 (diff) | |
download | opie-e7d5436f3379f45d9c165a2826b1f4ae5adaeea4.zip opie-e7d5436f3379f45d9c165a2826b1f4ae5adaeea4.tar.gz opie-e7d5436f3379f45d9c165a2826b1f4ae5adaeea4.tar.bz2 |
ramses stuff
better doc-strings setDisplayBrightness(), setDisplayContrast() and their
...Resolution() friends
-rw-r--r-- | libopie/odevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libopie/odevice.h b/libopie/odevice.h index 6c4830e..0974e8d 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -100,65 +100,64 @@ enum OLedState { | |||
100 | Led_BlinkSlow, | 100 | Led_BlinkSlow, |
101 | Led_BlinkFast | 101 | Led_BlinkFast |
102 | }; | 102 | }; |
103 | 103 | ||
104 | enum OLed { | 104 | enum OLed { |
105 | Led_Mail, | 105 | Led_Mail, |
106 | Led_Power, | 106 | Led_Power, |
107 | Led_BlueTooth | 107 | Led_BlueTooth |
108 | }; | 108 | }; |
109 | 109 | ||
110 | enum OHardKey { | 110 | enum OHardKey { |
111 | HardKey_Datebook = Qt::Key_F9, | 111 | HardKey_Datebook = Qt::Key_F9, |
112 | HardKey_Contacts = Qt::Key_F10, | 112 | HardKey_Contacts = Qt::Key_F10, |
113 | HardKey_Menu = Qt::Key_F11, | 113 | HardKey_Menu = Qt::Key_F11, |
114 | HardKey_Home = Qt::Key_F12, | 114 | HardKey_Home = Qt::Key_F12, |
115 | HardKey_Mail = Qt::Key_F13, | 115 | HardKey_Mail = Qt::Key_F13, |
116 | HardKey_Record = Qt::Key_F24, | 116 | HardKey_Record = Qt::Key_F24, |
117 | HardKey_Suspend = Qt::Key_F34, | 117 | HardKey_Suspend = Qt::Key_F34, |
118 | HardKey_Backlight = Qt::Key_F35, | 118 | HardKey_Backlight = Qt::Key_F35, |
119 | }; | 119 | }; |
120 | 120 | ||
121 | enum ODirection { | 121 | enum ODirection { |
122 | CW = 0, | 122 | CW = 0, |
123 | CCW = 1, | 123 | CCW = 1, |
124 | Flip = 2, | 124 | Flip = 2, |
125 | }; | 125 | }; |
126 | 126 | ||
127 | /** | 127 | /** |
128 | * A singleton which gives informations about device specefic option | 128 | * A singleton which gives informations about device specefic option |
129 | * like the Hardware used, LEDs, the Base Distribution and | 129 | * like the Hardware used, LEDs, the Base Distribution and |
130 | * hardware key mappings. | 130 | * hardware key mappings. |
131 | * | 131 | * |
132 | * | ||
133 | * @short A small class for device specefic options | 132 | * @short A small class for device specefic options |
134 | * @see QObject | 133 | * @see QObject |
135 | * @author Robert Griebl | 134 | * @author Robert Griebl |
136 | * @version 1.0 | 135 | * @version 1.0 |
137 | */ | 136 | */ |
138 | class ODevice : public QObject { | 137 | class ODevice : public QObject { |
139 | Q_OBJECT | 138 | Q_OBJECT |
140 | 139 | ||
141 | private: | 140 | private: |
142 | /* disable copy */ | 141 | /* disable copy */ |
143 | ODevice ( const ODevice & ); | 142 | ODevice ( const ODevice & ); |
144 | 143 | ||
145 | protected: | 144 | protected: |
146 | ODevice ( ); | 145 | ODevice ( ); |
147 | virtual void init ( ); | 146 | virtual void init ( ); |
148 | virtual void initButtons ( ); | 147 | virtual void initButtons ( ); |
149 | 148 | ||
150 | ODeviceData *d; | 149 | ODeviceData *d; |
151 | 150 | ||
152 | public: | 151 | public: |
153 | // sandman do we want to allow destructions? -zecke? | 152 | // sandman do we want to allow destructions? -zecke? |
154 | virtual ~ODevice ( ); | 153 | virtual ~ODevice ( ); |
155 | 154 | ||
156 | 155 | ||
157 | static ODevice *inst ( ); | 156 | static ODevice *inst ( ); |
158 | 157 | ||
159 | // information | 158 | // information |
160 | 159 | ||
161 | QString modelString ( ) const; | 160 | QString modelString ( ) const; |
162 | OModel model ( ) const; | 161 | OModel model ( ) const; |
163 | inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); } | 162 | inline OModel series ( ) const { return (OModel) ( model ( ) & Model_Series_Mask ); } |
164 | 163 | ||