-rw-r--r-- | libopie/odevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 82a0099..35d6cb4 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -277,51 +277,51 @@ struct z_button { | |||
277 | { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), | 277 | { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), |
278 | "devicebuttons/z_mail", | 278 | "devicebuttons/z_mail", |
279 | "mail", "raise()", | 279 | "mail", "raise()", |
280 | "mail", "newMail()" }, | 280 | "mail", "newMail()" }, |
281 | }; | 281 | }; |
282 | 282 | ||
283 | struct z_button z_buttons_c700 [] = { | 283 | struct z_button z_buttons_c700 [] = { |
284 | { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), | 284 | { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), |
285 | "devicebuttons/z_calendar", | 285 | "devicebuttons/z_calendar", |
286 | "datebook", "nextView()", | 286 | "datebook", "nextView()", |
287 | "today", "raise()" }, | 287 | "today", "raise()" }, |
288 | { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), | 288 | { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), |
289 | "devicebuttons/z_contact", | 289 | "devicebuttons/z_contact", |
290 | "addressbook", "raise()", | 290 | "addressbook", "raise()", |
291 | "addressbook", "beamBusinessCard()" }, | 291 | "addressbook", "beamBusinessCard()" }, |
292 | { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"), | 292 | { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"), |
293 | "devicebuttons/z_home", | 293 | "devicebuttons/z_home", |
294 | "QPE/Launcher", "home()", | 294 | "QPE/Launcher", "home()", |
295 | "buttonsettings", "raise()" }, | 295 | "buttonsettings", "raise()" }, |
296 | { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"), | 296 | { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"), |
297 | "devicebuttons/z_menu", | 297 | "devicebuttons/z_menu", |
298 | "QPE/TaskBar", "toggleMenu()", | 298 | "QPE/TaskBar", "toggleMenu()", |
299 | "QPE/TaskBar", "toggleStartMenu()" }, | 299 | "QPE/TaskBar", "toggleStartMenu()" }, |
300 | { Qt::Key_F14, QT_TRANSLATE_NOOP("Button", "Display Rotate"), | 300 | { Qt::Key_F14, QT_TRANSLATE_NOOP("Button", "Display Rotate"), |
301 | "", | 301 | "devicebuttons/z_hinge", |
302 | "QPE/Rotation", "rotateDefault()", | 302 | "QPE/Rotation", "rotateDefault()", |
303 | "QPE/Rotation", "rotateDefault()" }, | 303 | "QPE/Dummy", "doNothing()" }, |
304 | }; | 304 | }; |
305 | 305 | ||
306 | struct s_button { | 306 | struct s_button { |
307 | uint model; | 307 | uint model; |
308 | Qt::Key code; | 308 | Qt::Key code; |
309 | char *utext; | 309 | char *utext; |
310 | char *pix; | 310 | char *pix; |
311 | char *fpressedservice; | 311 | char *fpressedservice; |
312 | char *fpressedaction; | 312 | char *fpressedaction; |
313 | char *fheldservice; | 313 | char *fheldservice; |
314 | char *fheldaction; | 314 | char *fheldaction; |
315 | } simpad_buttons [] = { | 315 | } simpad_buttons [] = { |
316 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, | 316 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, |
317 | Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Lower+Up"), | 317 | Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Lower+Up"), |
318 | "devicebuttons/simpad_lower_up", | 318 | "devicebuttons/simpad_lower_up", |
319 | "datebook", "nextView()", | 319 | "datebook", "nextView()", |
320 | "today", "raise()" }, | 320 | "today", "raise()" }, |
321 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, | 321 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, |
322 | Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Lower+Down"), | 322 | Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Lower+Down"), |
323 | "devicebuttons/simpad_lower_down", | 323 | "devicebuttons/simpad_lower_down", |
324 | "addressbook", "raise()", | 324 | "addressbook", "raise()", |
325 | "addressbook", "beamBusinessCard()" }, | 325 | "addressbook", "beamBusinessCard()" }, |
326 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, | 326 | { Model_SIMpad_CL4 | Model_SIMpad_SL4 | Model_SIMpad_SLC | Model_SIMpad_TSinus, |
327 | Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Lower+Right"), | 327 | Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Lower+Right"), |