fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / kdeui / util / kckey.cpp
blobbd0e95e5ae8860f18445be1c6c64e701bcfbb79a
1 // This file has been automatically generated by "generate_keys.sh"
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Library General Public
5 // License as published by the Free Software Foundation; either
6 // version 2 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Library General Public License for more details.
13 // You should have received a copy of the GNU Library General Public License
14 // along with this library; see the file COPYING.LIB. If not, write to
15 // the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 #include <QtCore/QCOORD>
18 #include "kckey.h"
20 const KKeys kde_KKEYS[NB_KEYS] = {
21 { "Escape", 0x1000 }, // translated
22 { "Tab", 0x1001 }, // translated
23 { "Backtab", 0x1002 }, // translated
24 { "Backspace", 0x1003 }, // translated
25 { "Return", 0x1004 }, // translated
26 { "Enter", 0x1005 }, // translated
27 { "Insert", 0x1006 }, // translated
28 { "Delete", 0x1007 }, // translated
29 { "Pause", 0x1008 }, // translated
30 { "Print", 0x1009 }, // translated
31 { "SysReq", 0x100a }, // translated
32 { "Clear", 0x100b },
33 { "Home", 0x1010 }, // translated
34 { "End", 0x1011 }, // translated
35 { "Left", 0x1012 }, // translated
36 { "Up", 0x1013 }, // translated
37 { "Right", 0x1014 }, // translated
38 { "Down", 0x1015 }, // translated
39 { "Prior", 0x1016 }, // translated
40 { "Next", 0x1017 }, // translated
41 { "Shift", 0x1020 }, // translated
42 { "Control", 0x1021 }, // translated
43 { "Meta", 0x1022 }, // translated
44 { "Alt", 0x1023 }, // translated
45 { "CapsLock", 0x1024 }, // translated
46 { "NumLock", 0x1025 }, // translated
47 { "ScrollLock", 0x1026 }, // translated
48 { "F1", 0x1030 },
49 { "F2", 0x1031 },
50 { "F3", 0x1032 },
51 { "F4", 0x1033 },
52 { "F5", 0x1034 },
53 { "F6", 0x1035 },
54 { "F7", 0x1036 },
55 { "F8", 0x1037 },
56 { "F9", 0x1038 },
57 { "F10", 0x1039 },
58 { "F11", 0x103a },
59 { "F12", 0x103b },
60 { "F13", 0x103c },
61 { "F14", 0x103d },
62 { "F15", 0x103e },
63 { "F16", 0x103f },
64 { "F17", 0x1040 },
65 { "F18", 0x1041 },
66 { "F19", 0x1042 },
67 { "F20", 0x1043 },
68 { "F21", 0x1044 },
69 { "F22", 0x1045 },
70 { "F23", 0x1046 },
71 { "F24", 0x1047 },
72 { "F25", 0x1048 },
73 { "F26", 0x1049 },
74 { "F27", 0x104a },
75 { "F28", 0x104b },
76 { "F29", 0x104c },
77 { "F30", 0x104d },
78 { "F31", 0x104e },
79 { "F32", 0x104f },
80 { "F33", 0x1050 },
81 { "F34", 0x1051 },
82 { "F35", 0x1052 },
83 { "Super_L", 0x1053 },
84 { "Super_R", 0x1054 },
85 { "Menu", 0x1055 }, // translated
86 { "Hyper_L", 0x1056 },
87 { "Hyper_R", 0x1057 },
88 { "Help", 0x1058 }, // translated
89 { "Direction_L", 0x1059 },
90 { "Direction_R", 0x1060 },
91 { "Space", 0x20 }, // translated
92 { "Any", Qt::Key_Space },
93 { "Exclam", 0x21 }, // translated
94 { "QuoteDbl", 0x22 },
95 { "NumberSign", 0x23 }, // translated
96 { "Dollar", 0x24 }, // translated
97 { "Percent", 0x25 }, // translated
98 { "Ampersand", 0x26 }, // translated
99 { "Apostrophe", 0x27 }, // translated
100 { "ParenLeft", 0x28 }, // translated
101 { "ParenRight", 0x29 }, // translated
102 { "Asterisk", 0x2a }, // translated
103 { "Plus", 0x2b }, // translated
104 { "Comma", 0x2c }, // translated
105 { "Minus", 0x2d }, // translated
106 { "Period", 0x2e }, // translated
107 { "Slash", 0x2f }, // translated
108 { "0", 0x30 },
109 { "1", 0x31 },
110 { "2", 0x32 },
111 { "3", 0x33 },
112 { "4", 0x34 },
113 { "5", 0x35 },
114 { "6", 0x36 },
115 { "7", 0x37 },
116 { "8", 0x38 },
117 { "9", 0x39 },
118 { "Colon", 0x3a }, // translated
119 { "Semicolon", 0x3b }, // translated
120 { "Less", 0x3c }, // translated
121 { "Equal", 0x3d }, // translated
122 { "Greater", 0x3e }, // translated
123 { "Question", 0x3f }, // translated
124 { "At", 0x40 },
125 { "A", 0x41 },
126 { "B", 0x42 },
127 { "C", 0x43 },
128 { "D", 0x44 },
129 { "E", 0x45 },
130 { "F", 0x46 },
131 { "G", 0x47 },
132 { "H", 0x48 },
133 { "I", 0x49 },
134 { "J", 0x4a },
135 { "K", 0x4b },
136 { "L", 0x4c },
137 { "M", 0x4d },
138 { "N", 0x4e },
139 { "O", 0x4f },
140 { "P", 0x50 },
141 { "Q", 0x51 },
142 { "R", 0x52 },
143 { "S", 0x53 },
144 { "T", 0x54 },
145 { "U", 0x55 },
146 { "V", 0x56 },
147 { "W", 0x57 },
148 { "X", 0x58 },
149 { "Y", 0x59 },
150 { "Z", 0x5a },
151 { "BracketLeft", 0x5b }, // translated
152 { "Backslash", 0x5c }, // translated
153 { "BracketRight", 0x5d }, // translated
154 { "AsciiCircum", 0x5e }, // translated
155 { "Underscore", 0x5f }, // translated
156 { "QuoteLeft", 0x60 }, // translated
157 { "BraceLeft", 0x7b }, // translated
158 { "Bar", 0x7c },
159 { "BraceRight", 0x7d }, // translated
160 { "AsciiTilde", 0x7e }, // translated
161 { "nobreakspace", 0x0a0 },
162 { "exclamdown", 0x0a1 },
163 { "cent", 0x0a2 },
164 { "sterling", 0x0a3 },
165 { "currency", 0x0a4 },
166 { "yen", 0x0a5 },
167 { "brokenbar", 0x0a6 },
168 { "section", 0x0a7 },
169 { "diaeresis", 0x0a8 },
170 { "copyright", 0x0a9 },
171 { "ordfeminine", 0x0aa },
172 { "guillemotleft", 0x0ab },
173 { "notsign", 0x0ac },
174 { "hyphen", 0x0ad },
175 { "registered", 0x0ae },
176 { "macron", 0x0af },
177 { "degree", 0x0b0 },
178 { "plusminus", 0x0b1 },
179 { "twosuperior", 0x0b2 },
180 { "threesuperior", 0x0b3 },
181 { "acute", 0x0b4 },
182 { "mu", 0x0b5 },
183 { "paragraph", 0x0b6 },
184 { "periodcentered", 0x0b7 },
185 { "cedilla", 0x0b8 },
186 { "onesuperior", 0x0b9 },
187 { "masculine", 0x0ba },
188 { "guillemotright", 0x0bb },
189 { "onequarter", 0x0bc },
190 { "onehalf", 0x0bd },
191 { "threequarters", 0x0be },
192 { "questiondown", 0x0bf },
193 { "Agrave", 0x0c0 },
194 { "Aacute", 0x0c1 },
195 { "Acircumflex", 0x0c2 },
196 { "Atilde", 0x0c3 },
197 { "Adiaeresis", 0x0c4 },
198 { "Aring", 0x0c5 },
199 { "AE", 0x0c6 },
200 { "Ccedilla", 0x0c7 },
201 { "Egrave", 0x0c8 },
202 { "Eacute", 0x0c9 },
203 { "Ecircumflex", 0x0ca },
204 { "Ediaeresis", 0x0cb },
205 { "Igrave", 0x0cc },
206 { "Iacute", 0x0cd },
207 { "Icircumflex", 0x0ce },
208 { "Idiaeresis", 0x0cf },
209 { "ETH", 0x0d0 },
210 { "Ntilde", 0x0d1 },
211 { "Ograve", 0x0d2 },
212 { "Oacute", 0x0d3 },
213 { "Ocircumflex", 0x0d4 },
214 { "Otilde", 0x0d5 },
215 { "Odiaeresis", 0x0d6 },
216 { "multiply", 0x0d7 },
217 { "Ooblique", 0x0d8 },
218 { "Ugrave", 0x0d9 },
219 { "Uacute", 0x0da },
220 { "Ucircumflex", 0x0db },
221 { "Udiaeresis", 0x0dc },
222 { "Yacute", 0x0dd },
223 { "THORN", 0x0de },
224 { "ssharp", 0x0df },
225 { "agrave", 0x0e0 },
226 { "aacute", 0x0e1 },
227 { "acircumflex", 0x0e2 },
228 { "atilde", 0x0e3 },
229 { "adiaeresis", 0x0e4 },
230 { "aring", 0x0e5 },
231 { "ae", 0x0e6 },
232 { "ccedilla", 0x0e7 },
233 { "egrave", 0x0e8 },
234 { "eacute", 0x0e9 },
235 { "ecircumflex", 0x0ea },
236 { "ediaeresis", 0x0eb },
237 { "igrave", 0x0ec },
238 { "iacute", 0x0ed },
239 { "icircumflex", 0x0ee },
240 { "idiaeresis", 0x0ef },
241 { "eth", 0x0f0 },
242 { "ntilde", 0x0f1 },
243 { "ograve", 0x0f2 },
244 { "oacute", 0x0f3 },
245 { "ocircumflex", 0x0f4 },
246 { "otilde", 0x0f5 },
247 { "odiaeresis", 0x0f6 },
248 { "division", 0x0f7 },
249 { "oslash", 0x0f8 },
250 { "ugrave", 0x0f9 },
251 { "uacute", 0x0fa },
252 { "ucircumflex", 0x0fb },
253 { "udiaeresis", 0x0fc },
254 { "yacute", 0x0fd },
255 { "thorn", 0x0fe },
256 { "ydiaeresis", 0x0ff },
257 { "Back ", 0x1061 },
258 { "Forward ", 0x1062 },
259 { "Stop ", 0x1063 },
260 { "Refresh ", 0x1064 },
261 { "VolumeDown", 0x1070 },
262 { "VolumeMute ", 0x1071 },
263 { "VolumeUp", 0x1072 },
264 { "BassBoost", 0x1073 },
265 { "BassUp", 0x1074 },
266 { "BassDown", 0x1075 },
267 { "TrebleUp", 0x1076 },
268 { "TrebleDown", 0x1077 },
269 { "MediaPlay ", 0x1080 },
270 { "MediaStop ", 0x1081 },
271 { "MediaPrev ", 0x1082 },
272 { "MediaNext ", 0x1083 },
273 { "MediaRecord", 0x1084 },
274 { "HomePage ", 0x1090 },
275 { "Favorites ", 0x1091 },
276 { "Search ", 0x1092 },
277 { "Standby", 0x1093 },
278 { "OpenUrl", 0x1094 },
279 { "LaunchMail ", 0x10a0 },
280 { "LaunchMedia", 0x10a1 },
281 { "Launch0 ", 0x10a2 },
282 { "Launch1 ", 0x10a3 },
283 { "Launch2 ", 0x10a4 },
284 { "Launch3 ", 0x10a5 },
285 { "Launch4 ", 0x10a6 },
286 { "Launch5 ", 0x10a7 },
287 { "Launch6 ", 0x10a8 },
288 { "Launch7 ", 0x10a9 },
289 { "Launch8 ", 0x10aa },
290 { "Launch9 ", 0x10ab },
291 { "LaunchA ", 0x10ac },
292 { "LaunchB ", 0x10ad },
293 { "LaunchC ", 0x10ae },
294 { "LaunchD ", 0x10af },
295 { "LaunchE ", 0x10b0 },
296 { "LaunchF ", 0x10b1 },
297 { "MediaLast", 0x1fff },
298 { "unknown", 0xffff }